diff options
author | unknown <monty@mashka.mysql.fi> | 2002-11-20 22:56:57 +0200 |
---|---|---|
committer | unknown <monty@mashka.mysql.fi> | 2002-11-20 22:56:57 +0200 |
commit | 9b9546edbc095e061167588f672549103627bf98 (patch) | |
tree | 1deb846a75b9e1e5c1491e20df66b4d74fc6fa0b /sql/sql_yacc.yy | |
parent | 33d678fcdc2d0b431c0f08e11e0b6715cd37cda0 (diff) | |
download | mariadb-git-9b9546edbc095e061167588f672549103627bf98.tar.gz |
Try to optimize the cache buffer size needed for bulk_insert
Fix for shutdown on Mac OS X
include/my_tree.h:
Try to optimize the cache buffer size needed for bulk_insert
myisam/mi_write.c:
Try to optimize the cache buffer size needed for bulk_insert
mysql-test/r/bdb.result:
Make test repeatable
mysql-test/t/bdb.test:
Make test repeatable
mysys/tree.c:
Try to optimize the cache buffer size needed for bulk_insert
sql/mysql_priv.h:
Small optimization
sql/mysqld.cc:
Fix for shutdown on Mac OS X
sql/sql_insert.cc:
Try to optimize the cache buffer size needed for bulk_insert
sql/sql_yacc.yy:
Call thd->strmake() instead of sql_strmake()
sql/table.cc:
Try to optimize the cache buffer size needed for bulk_insert
sql/table.h:
Try to optimize the cache buffer size needed for bulk_insert
Diffstat (limited to 'sql/sql_yacc.yy')
-rw-r--r-- | sql/sql_yacc.yy | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/sql/sql_yacc.yy b/sql/sql_yacc.yy index 92b49549a06..f6a0c483bb9 100644 --- a/sql/sql_yacc.yy +++ b/sql/sql_yacc.yy @@ -3107,12 +3107,13 @@ ident: IDENT { $$=$1; } | keyword { - LEX *lex; - $$.str=sql_strmake($1.str,$1.length); + LEX *lex= Lex; + $$.str= lex->thd->strmake($1.str,$1.length); $$.length=$1.length; - if ((lex=Lex)->next_state != STATE_END) + if (lex->next_state != STATE_END) lex->next_state=STATE_OPERATOR_OR_IDENT; - }; + } + ; ident_or_text: ident { $$=$1;} |