summaryrefslogtreecommitdiff
path: root/sql/sql_yacc.yy
diff options
context:
space:
mode:
authorunknown <Sinisa@sinisa.nasamreza.org>2002-02-19 15:10:12 +0200
committerunknown <Sinisa@sinisa.nasamreza.org>2002-02-19 15:10:12 +0200
commitddb2a895997ffb671d720918f832bd55c93d095e (patch)
treec17af52565dd28a13c10028fc596f3e180427964 /sql/sql_yacc.yy
parent00f6850dfe6f1e4af17a4dae48e798b7593309c9 (diff)
downloadmariadb-git-ddb2a895997ffb671d720918f832bd55c93d095e.tar.gz
small fix for 2.95.4 compiler
Diffstat (limited to 'sql/sql_yacc.yy')
-rw-r--r--sql/sql_yacc.yy4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/sql_yacc.yy b/sql/sql_yacc.yy
index 5c4297bc707..591000bc36a 100644
--- a/sql/sql_yacc.yy
+++ b/sql/sql_yacc.yy
@@ -784,7 +784,7 @@ opt_table_options:
table_options:
table_option { $$=$1; }
- | table_option table_options { $$= $1 | $2 }
+ | table_option table_options { $$= $1 | $2; }
table_option:
TEMPORARY { $$=HA_LEX_CREATE_TMP_TABLE; }
@@ -2836,7 +2836,7 @@ literal:
| FLOAT_NUM { $$ = new Item_float($1.str, $1.length); }
| NULL_SYM { $$ = new Item_null();
Lex->next_state=STATE_OPERATOR_OR_IDENT;}
- | HEX_NUM { $$ = new Item_varbinary($1.str,$1.length)};
+ | HEX_NUM { $$ = new Item_varbinary($1.str,$1.length);}
| DATE_SYM text_literal { $$ = $2; }
| TIME_SYM text_literal { $$ = $2; }
| TIMESTAMP text_literal { $$ = $2; }