diff options
author | unknown <pem@mysql.comhem.se> | 2005-05-31 12:06:15 +0200 |
---|---|---|
committer | unknown <pem@mysql.comhem.se> | 2005-05-31 12:06:15 +0200 |
commit | 2e113adab37ace8df172e2cbea11e8abcfdec267 (patch) | |
tree | 92135724fafba382d17d62ac4e47df5368b590fe /sql/item_subselect.cc | |
parent | 4701bd908ba760fe28b476a0ac7bfea7db67c55d (diff) | |
download | mariadb-git-2e113adab37ace8df172e2cbea11e8abcfdec267.tar.gz |
Post-review fixes of BUG#9937: Crash on call to stored procedure.
sql/item_cmpfunc.cc:
Put the buff parameter back in check_stack_overrun().
sql/item_func.cc:
Put the buff parameter back in check_stack_overrun().
sql/item_subselect.cc:
Put the buff parameter back in check_stack_overrun().
sql/mysql_priv.h:
Put the buff parameter back in check_stack_overrun().
sql/mysqld.cc:
Style fixes.
sql/sp_head.cc:
Put the buff parameter back in check_stack_overrun().
sql/sql_parse.cc:
Put the buff parameter back in check_stack_overrun(), and added comment explaining the purpose.
sql/table.cc:
Put the buff parameter back in check_stack_overrun().
Diffstat (limited to 'sql/item_subselect.cc')
-rw-r--r-- | sql/item_subselect.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/item_subselect.cc b/sql/item_subselect.cc index 328bc75757b..5c26f3c079c 100644 --- a/sql/item_subselect.cc +++ b/sql/item_subselect.cc @@ -138,7 +138,7 @@ bool Item_subselect::fix_fields(THD *thd_param, TABLE_LIST *tables, Item **ref) DBUG_ASSERT(fixed == 0); engine->set_thd((thd= thd_param)); - if (check_stack_overrun(thd, STACK_MIN_SIZE)) + if (check_stack_overrun(thd, STACK_MIN_SIZE, (gptr)&res)) return TRUE; res= engine->prepare(); |