1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

after review patch

commant for function
This commit is contained in:
bell@sanja.is.com.ua
2004-03-29 22:40:49 +03:00
parent b3936e426d
commit 9bd49d489c
7 changed files with 22 additions and 25 deletions

View File

@ -2179,8 +2179,7 @@ mysql_execute_command(THD *thd)
if (tables && check_table_access(thd, SELECT_ACL, tables,0))
goto error; // Error message is given
select_lex->options|= SELECT_NO_UNLOCK;
unit->set_limit(select_lex->select_limit, select_lex->offset_limit,
select_lex);
unit->set_limit(select_lex, select_lex);
if (!(res=open_and_lock_tables(thd,tables)))
{
@ -2580,8 +2579,7 @@ mysql_execute_command(THD *thd)
select_lex->options|= SELECT_NO_UNLOCK;
select_result *result;
unit->set_limit(select_lex->select_limit, select_lex->offset_limit,
select_lex);
unit->set_limit(select_lex, select_lex);
if (find_real_table_in_list(tables->next, tables->db, tables->real_name))
{