Hi,
I cannot compile the latest version of mysql-4.0.2 because of problem in
sql_yacc.yy.
I solve the problem in modifying the following line :
opt_table_options:
/* empty */ { $$= 0; }
- | table_options { $$= $1;}
+ | table_options { $$= $1; }
create_table_option:
TYPE_SYM EQ table_types { Lex->create_info.db_type= $3; }
- | MAX_ROWS EQ ulonglong_num { Lex->create_info.max_rows= $3;
Lex->create_info.used_fields|= HA_CREATE_USED_MAX_ROWS;}
+ | MAX_ROWS EQ ulonglong_num { Lex->create_info.max_rows= $3;
Lex->create_info.used_fields|= HA_CREATE_USED_MAX_ROWS; }
- | MIN_ROWS EQ ulonglong_num { Lex->create_info.min_rows= $3;
Lex->create_info.used_fields|= HA_CREATE_USED_MIN_ROWS;}
+ | MIN_ROWS EQ ulonglong_num { Lex->create_info.min_rows= $3;
Lex->create_info.used_fields|= HA_CREATE_USED_MIN_ROWS; }
(missing space between semicolon and brace)
Now it works fine.
Regards,
Jocelyn Fournier