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-10-10 16:57:21 +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-23 00:38:01 +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-05-13 11:15:11 +03:00
2003-05-13 11:15:11 +03:00
2003-09-24 11:29:38 +02:00
2003-08-05 21:14:15 +02:00
2003-06-27 16:29:10 +03: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-08-05 12:52:37 +05:00
2003-09-24 11:29:38 +02:00
2003-09-02 19:56:55 +03:00
2003-09-24 11:29:38 +02:00
2003-09-03 15:40:19 +02:00
2003-09-28 12:00:30 +03:00
2003-09-24 11:29:38 +02:00
2003-06-20 14:53:37 +05:00
2003-08-21 16:15:06 +02:00
2003-07-02 13:12:18 +03:00
2003-07-02 13:12:18 +03:00
2003-09-22 11:39:29 +05:00
2003-09-03 15:40:19 +02:00
2003-09-24 11:29:38 +02:00
2003-09-14 09:40:57 +03:00
2003-09-24 11:29:38 +02:00
2003-09-07 15:14:32 +03:00
2003-08-21 14:15:25 +05:00
2003-08-29 16:24:03 +03:00
2003-08-29 13:44:35 +03:00
2003-09-28 12:00:30 +03:00
2003-09-28 12:00:30 +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-16 14:26:08 +02:00
2003-09-24 11:29:38 +02:00
2003-09-24 11:29:38 +02:00
2003-09-24 08:35:02 +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-10-10 16:57:21 +02:00
2003-10-10 16:57:21 +02:00
2003-10-10 16:57:21 +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-15 16:31:04 +05:00
2003-09-24 11:29:38 +02:00
2003-09-14 01:57:09 +04:00
2003-07-03 16:01:31 +02:00
2003-09-24 15:26:20 +02:00
2003-10-14 12:59:28 +02:00
2003-10-10 16:57:21 +02:00
2003-10-10 16:57:21 +02:00
2003-10-10 16:57:21 +02:00
2003-10-14 12:59:28 +02:00
2003-10-14 12:59:28 +02:00
2003-09-24 15:26:20 +02:00
2003-07-01 18:14:24 +02:00
2003-06-20 14:53:37 +05:00
2003-06-20 14:53:37 +05:00
2003-09-24 11:29:38 +02:00
2003-09-03 14:12:10 +04:00
2003-08-05 12:52:37 +05:00
2003-07-02 18:34:43 +05:00
2003-09-24 11:29:38 +02:00
2003-09-24 15:26:20 +02:00
2003-08-26 16:42:49 +03:00
2003-10-14 12:59:28 +02:00
2003-10-14 12:59:28 +02:00
2003-07-14 16:38:51 +05:00
2003-07-18 18:25:54 +04: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-10-10 16:57:21 +02:00
2003-06-10 21:42:29 +03:00
2003-08-11 22:44:43 +03:00
2003-09-24 11:29:38 +02:00
2003-05-14 21:51:33 +03:00
2003-10-14 12:59:28 +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-14 09:40:57 +03:00
2003-09-24 11:29:38 +02:00
2003-04-24 14:33:33 +03:00
2003-06-04 18:28:51 +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-08-27 22:30:50 +03:00
2003-09-24 11:29:38 +02:00
2003-09-24 11:29:38 +02:00
2003-10-14 12:59:28 +02:00
2003-04-24 14:33:33 +03:00
2003-09-19 14:44:31 +05:00
2003-10-14 12:59:28 +02: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
2003-06-30 13:23:54 +03:00
2003-08-11 18:18:34 +05:00