1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00

after review patch

commant for function


sql/item_subselect.cc:
  redusing number of parameters
sql/sql_derived.cc:
  redusing number of parameters
sql/sql_lex.cc:
  redusing number of parameters
  comment for function
sql/sql_lex.h:
  redusing number of parameters
sql/sql_parse.cc:
  redusing number of parameters
sql/sql_select.cc:
  redusing number of parameters
sql/sql_union.cc:
  redusing number of parameters
This commit is contained in:
unknown
2004-03-29 22:40:49 +03:00
parent 8cd70922ff
commit 0a073770c9
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))
{