found problem removed
sql/sql_parse.cc: allow query_tables_own_last work correctly sql/table.cc: fixed returning value for libmysqld
This commit is contained in:
parent
b601d8f079
commit
3c76331f4c
@ -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],
|
||||
|
@ -2538,11 +2538,11 @@ bool st_table_list::prepare_security(THD *thd)
|
||||
tbl->table->grant= grant;
|
||||
}
|
||||
thd->security_ctx= save_security_ctx;
|
||||
DBUG_RETURN(FALSE);
|
||||
#else
|
||||
while ((tbl= tb++))
|
||||
tbl->grant.privilege= ~NO_ACCESS;
|
||||
#endif
|
||||
DBUG_RETURN(FALSE);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user