1
0
mirror of https://github.com/MariaDB/server.git synced 2025-05-28 13:01:41 +03:00
unknown 776784b821 Fix for BUG#1495: Evaluate items before setting a local variable with SELECT INTO.
Also copy and restore order_list and group_list for selects in SPs.


mysql-test/r/sp.result:
  Test for BUG#1495, and an additional cursor test.
mysql-test/t/sp.test:
  Test for BUG#1495, and an additional cursor test.
sql/sp_head.cc:
  Fix BUG#1495: renamed eval_func_item() into sp_eval_func_item() and made it
  non-static.
  Also need to copy and restore order_list and group_list pointers before and
  after execution of a substatement. (Which means these must always be properly
  initialized for all queries.)
sql/sp_rcontext.cc:
  Fix BUG#1495: Evaluate and set a local variable (for SELECT INTO).
sql/sp_rcontext.h:
  Fix BUG#1495: Evaluate and set a local variable (for SELECT INTO).
sql/sql_class.cc:
  Fix BUG#1495: Evaluate and set a local variable (for SELECT INTO).
sql/sql_class.h:
  Fix BUG#1495: Evaluate and set a local variable (for SELECT INTO); need type for this.
sql/sql_parse.cc:
  order_list and group_list must be initialized in select_lex for all queries,
  to make SP sub statement execution work.
sql/sql_yacc.yy:
  Type needed for setting local variables.
sql/table.h:
  Need a copy of the Item* pointer when executing sub-statements in SPs. (Since
  it's modified and must be restored afterwards.)
2003-10-14 12:59:28 +02:00
..
2003-09-19 14:05:28 +05:00
2003-09-23 15:00:58 +05:00
2003-08-11 22:44:43 +03:00
2003-09-16 15:43:17 +05:00
2003-09-11 19:06:23 +03:00
2003-09-24 11:29:38 +02:00
2003-09-24 11:29:38 +02:00
2003-05-19 16:35:49 +03:00
2003-09-24 11:29:38 +02:00
2003-08-11 22:44:43 +03:00
2003-09-24 11:29:38 +02:00
2003-08-05 21:14:15 +02:00
2003-08-19 00:08:08 +03:00
2003-09-03 19:53:08 +03:00
2003-09-03 12:07:18 +02:00
2003-09-19 14:44:31 +05:00
2003-05-19 16:35:49 +03:00
2003-09-24 11:29:38 +02:00
2003-09-24 11:29:38 +02:00
2003-09-24 11:29:38 +02:00
2003-07-02 13:12:18 +03:00
2003-07-02 13:12:18 +03:00
2003-09-24 11:29:38 +02:00
2003-09-24 11:29:38 +02:00
2003-08-29 13:44:35 +03:00
2003-09-24 15:26:20 +02:00
2003-09-24 11:29:38 +02:00
2003-09-24 11:29:38 +02:00
2003-08-29 13:44:35 +03:00
2003-09-24 11:29:38 +02:00
2003-09-24 11:29:38 +02:00
2003-09-24 11:29:38 +02:00
2003-06-19 12:38:14 -04:00
2003-09-11 20:24:14 +03:00
2003-05-27 18:40:37 +03:00
2003-05-21 21:39:58 +03:00
2003-09-03 16:31:01 +02:00
2003-09-24 11:29:38 +02:00
2003-09-24 11:29:38 +02:00
2003-09-24 11:29:38 +02:00
2003-09-24 11:29:38 +02:00
2003-09-24 15:26:20 +02:00
2003-09-24 15:26:20 +02:00
2003-09-24 11:29:38 +02:00
2003-09-24 11:29:38 +02:00
2003-09-24 15:26:20 +02:00
2003-07-14 16:38:51 +05:00
2003-09-24 11:29:38 +02:00
2003-08-26 11:51:09 +02:00
2003-09-24 11:29:38 +02:00
2003-07-08 17:50:23 +02:00
2003-08-19 00:08:08 +03:00
2003-06-24 12:10:35 +03:00
2003-09-24 15:26:20 +02:00
2003-09-24 11:29:38 +02:00
2003-08-11 22:44:43 +03:00
2003-09-24 11:29:38 +02:00
2003-09-24 15:26:20 +02:00
2003-07-14 10:12:05 +03:00
2003-09-24 15:26:20 +02:00
2003-08-26 11:51:09 +02:00
2003-09-24 11:29:38 +02:00
2003-09-24 11:29:38 +02:00
2003-04-24 14:33:33 +03:00
2003-07-08 15:06:05 +05:00
2003-07-08 15:06:05 +05:00
2003-09-24 11:29:38 +02:00
2003-09-19 14:44:31 +05:00
2003-09-24 11:29:38 +02:00
2003-09-24 11:29:38 +02:00
2003-04-24 14:33:33 +03:00
2003-09-19 14:44:31 +05:00
2003-05-21 21:39:58 +03:00
2003-07-08 15:06:05 +05:00
2003-10-06 11:13:25 +03:00
2003-08-11 22:44:43 +03:00