Commit efbdd24c authored by bell@sanja.is.com.ua's avatar bell@sanja.is.com.ua

found problem removed

parent 35cc6325
...@@ -1767,6 +1767,8 @@ bool dispatch_command(enum enum_server_command command, THD *thd, ...@@ -1767,6 +1767,8 @@ bool dispatch_command(enum enum_server_command command, THD *thd,
/* Saved variable value */ /* Saved variable value */
my_bool old_innodb_table_locks= my_bool old_innodb_table_locks=
IF_INNOBASE_DB(thd->variables.innodb_table_locks, FALSE); 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], statistic_increment(thd->status_var.com_stat[SQLCOM_SHOW_FIELDS],
......
...@@ -2538,11 +2538,11 @@ bool st_table_list::prepare_security(THD *thd) ...@@ -2538,11 +2538,11 @@ bool st_table_list::prepare_security(THD *thd)
tbl->table->grant= grant; tbl->table->grant= grant;
} }
thd->security_ctx= save_security_ctx; thd->security_ctx= save_security_ctx;
DBUG_RETURN(FALSE);
#else #else
while ((tbl= tb++)) while ((tbl= tb++))
tbl->grant.privilege= ~NO_ACCESS; tbl->grant.privilege= ~NO_ACCESS;
#endif #endif
DBUG_RETURN(FALSE);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment