diff options
author | monty@mysql.com <> | 2004-03-10 13:46:11 +0200 |
---|---|---|
committer | monty@mysql.com <> | 2004-03-10 13:46:11 +0200 |
commit | 4ee44751d9ebcca3aa0f6c1f97f732abd7311810 (patch) | |
tree | 458c51d3c1854209d1cbc2d57f876333a083ae53 /sql/sql_yacc.yy | |
parent | 73780de1292f24d7749045b0e03adbfbaf4df9cd (diff) | |
download | mariadb-git-4ee44751d9ebcca3aa0f6c1f97f732abd7311810.tar.gz |
Fixed memory leak in DROP DATABASE when using RAID tables (Bug #2882)
Diffstat (limited to 'sql/sql_yacc.yy')
-rw-r--r-- | sql/sql_yacc.yy | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_yacc.yy b/sql/sql_yacc.yy index 5add9199ad4..52334b4830e 100644 --- a/sql/sql_yacc.yy +++ b/sql/sql_yacc.yy @@ -3246,7 +3246,7 @@ table_ident: ; table_ident_ref: - ident { LEX_STRING db={"",0}; $$=new Table_ident(db,$1,0); } + ident { LEX_STRING db={(char*) "",0}; $$=new Table_ident(db,$1,0); } | ident '.' ident { $$=new Table_ident($1,$3,0);} ; |