diff options
author | unknown <bell@sanja.is.com.ua> | 2005-11-02 15:17:57 +0200 |
---|---|---|
committer | unknown <bell@sanja.is.com.ua> | 2005-11-02 15:17:57 +0200 |
commit | 3c76331f4cc22b9d2d2b8be08ed218532d700a35 (patch) | |
tree | 2ca2647ea453f761767de631fa8566d887a4fe86 /sql/sql_parse.cc | |
parent | b601d8f079c74aa9becdb853c5d386bea487695d (diff) | |
download | mariadb-git-3c76331f4cc22b9d2d2b8be08ed218532d700a35.tar.gz |
found problem removed
sql/sql_parse.cc:
allow query_tables_own_last work correctly
sql/table.cc:
fixed returning value for libmysqld
Diffstat (limited to 'sql/sql_parse.cc')
-rw-r--r-- | sql/sql_parse.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/sql_parse.cc b/sql/sql_parse.cc index 51d655334f8..aab4caec5d4 100644 --- a/sql/sql_parse.cc +++ b/sql/sql_parse.cc @@ -1767,6 +1767,8 @@ bool dispatch_command(enum enum_server_command command, THD *thd, /* Saved variable value */ my_bool old_innodb_table_locks= IF_INNOBASE_DB(thd->variables.innodb_table_locks, FALSE); + /* used as fields initializator */ + lex_start(thd, 0, 0); statistic_increment(thd->status_var.com_stat[SQLCOM_SHOW_FIELDS], |