diff options
author | monty@mysql.com <> | 2004-03-31 03:32:38 +0300 |
---|---|---|
committer | monty@mysql.com <> | 2004-03-31 03:32:38 +0300 |
commit | ddafa2cc16da61bb8da21338c6f60c629b2e75a1 (patch) | |
tree | 0404bd0f500145286f101ddeb518678df83896d7 /sql/sql_yacc.yy | |
parent | fede76ddf28b68d9121d392e0139b3f63352c802 (diff) | |
download | mariadb-git-ddafa2cc16da61bb8da21338c6f60c629b2e75a1.tar.gz |
simple optimzation
Portability fixes
Diffstat (limited to 'sql/sql_yacc.yy')
-rw-r--r-- | sql/sql_yacc.yy | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sql/sql_yacc.yy b/sql/sql_yacc.yy index 58d22091e28..845f0d42f26 100644 --- a/sql/sql_yacc.yy +++ b/sql/sql_yacc.yy @@ -1798,10 +1798,10 @@ alter_list_item: YYABORT; } LEX *lex= Lex; - lex->create_info.table_charset= $5; - lex->create_info.used_fields|= HA_CREATE_USED_CHARSET; - lex->create_info.default_table_charset= $5; - lex->create_info.used_fields|= HA_CREATE_USED_DEFAULT_CHARSET; + lex->create_info.table_charset= + lex->create_info.default_table_charset= $5; + lex->create_info.used_fields|= (HA_CREATE_USED_CHARSET | + HA_CREATE_USED_DEFAULT_CHARSET); lex->simple_alter= 0; } | create_table_options_space_separated { Lex->simple_alter=0; } |