evgen@sunlight.local
f17a536e09
Fixed bug#16861: User defined variable can have a wrong value if a tmp table was
...
used.
Sorting by RAND() uses a temporary table in order to get a correct results.
User defined variable was set during filling the temporary table and later
on it is substituted for its value from the temporary table. Due to this
it contains the last value stored in the temporary table.
Now if the result_field is set for the Item_func_set_user_var object it
updates variable from the result_field value when being sent to a client.
The Item_func_set_user_var::check() now accepts a use_result_field
parameter. Depending on its value the result_field or the args[0] is used
to get current value.
2006-08-22 17:37:41 +04:00
..
2006-05-18 17:10:58 +05:00
2006-07-16 01:18:08 +04:00
2005-09-30 14:03:55 +02:00
2006-06-30 18:14:22 +04:00
2006-08-03 09:32:58 +02:00
2006-08-02 16:44:56 +04:00
2005-10-14 00:04:52 +03:00
2005-05-19 18:56:01 +05:00
2005-06-13 12:41:15 +02:00
2006-06-17 02:57:50 +04:00
2006-04-20 18:23:04 -07:00
2006-01-16 12:17:30 +01:00
2005-11-03 22:42:25 +02:00
2006-07-10 20:46:05 +02:00
2005-08-26 15:56:52 +03:00
2006-07-18 18:41:36 -07:00
2006-06-28 12:18:21 -07:00
2006-03-30 17:14:55 +04:00
2006-02-02 18:17:18 +03:00
2006-08-01 21:59:58 +02:00
2006-04-13 17:22:56 +09:30
2006-04-12 22:05:23 +05:00
2005-07-19 22:21:12 +04:00
2006-07-18 10:25:04 -07:00
2006-05-30 17:10:53 -07:00
2006-07-07 22:09:43 +04:00
2006-06-21 09:36:50 +02:00
2006-07-21 10:14:25 -07:00
2006-07-12 10:05:55 +02:00
2005-06-05 19:38:52 +02:00
2005-05-27 14:15:08 +02:00
2006-03-03 15:32:00 +04:00
2005-08-12 13:54:42 +03:00
2006-06-15 16:24:02 +05:00
2006-07-21 23:45:34 +04:00
2006-07-21 23:45:34 +04:00
2006-07-02 14:35:45 +04:00
2006-07-02 14:35:45 +04:00
2006-08-22 17:37:41 +04:00
2006-08-22 17:37:41 +04:00
2005-10-31 11:54:36 +02:00
2006-07-05 11:20:10 +02:00
2006-04-12 18:30:54 +04:00
2006-04-12 18:30:54 +04:00
2006-08-03 09:32:58 +02:00
2006-08-03 09:32:58 +02:00
2006-08-03 09:32:58 +02:00
2006-07-21 23:45:34 +04:00
2006-08-03 09:32:58 +02:00
2006-07-23 12:58:26 +05:00
2006-07-28 20:51:17 -07:00
2006-06-17 02:11:12 +04:00
2005-06-07 00:31:53 +03:00
2005-11-20 20:47:07 +02:00
2006-08-03 09:32:58 +02:00
2006-07-26 21:36:03 +04:00
2006-04-04 17:54:58 -07:00
2006-04-18 11:07:34 +02:00
2006-06-26 19:14:35 +02:00
2006-06-28 23:47:45 +04:00
2006-06-12 08:54:45 -04:00
2006-06-29 14:14:08 +02:00
2006-07-29 04:41:50 +02:00
2005-10-15 21:57:32 +05:00
2005-10-15 21:57:32 +05:00
2006-08-02 21:54:10 +04:00
2006-08-03 12:16:24 +02:00
2006-06-17 00:30:02 +02:00
2006-07-01 01:55:43 +04:00
2006-07-15 00:28:21 -07:00
2006-07-05 11:11:40 +02:00
2006-03-28 01:01:51 +04:00
2006-03-28 01:01:51 +04:00
2006-01-11 17:49:56 +03:00
2005-06-07 00:31:53 +03:00
2005-05-09 11:26:48 +02:00
2006-07-24 14:56:53 +04:00
2006-02-24 18:34:15 +02:00
2005-10-27 23:43:20 +03:00
2006-04-21 18:26:39 -07:00
2005-10-08 16:39:55 +02:00
2006-08-22 17:37:41 +04:00
2006-07-08 04:07:43 +04:00
2006-08-02 14:13:01 +04:00
2006-06-28 23:47:45 +04:00
2005-10-06 17:37:24 -07:00
2005-08-10 21:17:02 +00:00
2006-07-28 02:49:18 +04:00
2006-07-27 17:57:43 +04:00
2006-04-18 11:07:34 +02:00
2006-04-18 11:07:34 +02:00
2006-05-15 12:01:55 +02:00
2006-05-15 12:01:55 +02:00
2006-08-02 14:13:01 +04:00
2006-06-27 00:47:52 +04:00
2005-11-21 21:15:48 +02:00
2006-06-28 16:28:29 +03:00
2006-07-13 16:35:25 -07:00
2006-05-06 11:25:59 +04:00
2006-03-09 10:09:52 -08:00
2005-05-26 21:01:55 +02:00
2005-08-25 17:34:34 +04:00
2006-08-09 01:43:11 +04:00
2005-07-19 14:13:56 +02:00
2006-07-08 02:30:07 +04:00
2006-02-25 17:46:30 +02:00
2006-08-22 17:37:41 +04:00
2006-08-01 20:24:30 +02:00
2005-06-05 19:38:52 +02:00
2005-05-26 12:09:14 +02:00
2006-04-07 23:58:17 +04:00
2005-09-22 02:11:21 +04:00
2006-07-27 17:57:43 +04:00
2006-07-23 15:25:30 +05:00
2005-10-28 00:18:23 +03:00
2005-07-01 07:05:42 +03:00
2006-03-16 12:06:39 +01:00
2006-06-26 19:14:35 +02:00
2006-01-03 17:54:54 +01:00
2006-07-19 19:52:27 +02:00
2006-07-28 02:49:18 +04:00
2006-08-09 01:43:11 +04:00
2005-06-05 19:38:52 +02:00
2005-11-28 21:57:50 +02:00
2006-07-02 01:51:10 +04:00
2006-07-18 15:53:12 +05:00
2005-10-12 00:59:52 +03:00
2005-06-22 14:08:28 +05:00
2005-05-26 12:09:14 +02:00
2005-08-12 17:57:19 +03:00
2006-08-02 21:54:10 +04:00
2006-08-02 14:13:01 +04:00
2006-02-24 23:50:36 +03:00
2006-04-13 17:22:56 +09:30
2006-08-22 17:37:41 +04:00
2006-06-28 16:28:29 +03:00
2006-08-02 21:54:10 +04:00
2006-03-23 12:41:28 +04:00
2006-07-01 14:31:52 -04:00
2006-07-27 17:57:43 +04:00
2006-05-03 21:35:27 -07:00
2006-07-28 02:49:18 +04:00
2006-07-02 01:51:10 +04:00
2006-07-18 09:32:49 +02:00
2006-07-09 13:03:51 +04:00
2006-04-21 08:19:38 -07:00
2006-07-07 22:09:43 +04:00
2006-08-09 06:46:06 +04:00
2006-08-09 00:05:42 +04:00
2006-08-03 09:32:58 +02:00
2006-06-14 23:54:08 +04:00
2006-08-09 01:43:11 +04:00
2006-08-02 21:54:10 +04:00
2006-07-11 13:06:29 -04:00
2006-06-27 00:47:52 +04:00
2006-04-24 18:57:00 +04:00
2006-08-02 13:25:13 +04:00
2006-01-03 17:54:54 +01:00
2006-06-29 18:39:34 +05:00
2006-08-09 00:05:42 +04:00