List:Internals« Previous MessageNext Message »
From:Fournier Jocelyn [Presence-PC] Date:March 3 2002 5:37pm
Subject:Problem with sql_yacc.yy
View as plain text  
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


Thread
Problem with sql_yacc.yyFournier Jocelyn [Presence-PC]3 Mar
  • Re: Problem with sql_yacc.yyFournier Jocelyn [Presence-PC]3 Mar
    • Re: Problem with sql_yacc.yyJeremy Zawodny4 Mar
  • Re: Problem with sql_yacc.yyFournier Jocelyn [Presence-PC]4 Mar
    • Re: Problem with sql_yacc.yySinisa Milivojevic4 Mar
  • Re: Problem with sql_yacc.yyFournier Jocelyn [Presence-PC]4 Mar
    • Re: Problem with sql_yacc.yySinisa Milivojevic5 Mar
  • Re: Problem with sql_yacc.yyFournier Jocelyn [Presence-PC]5 Mar
    • Re: Problem with sql_yacc.yySinisa Milivojevic6 Mar