Sergey Petrunya
097b644006
MDEV-5600: Wrong result on 2nd execution of PS depending on the length of the query
...
- Item_direct_view_ref didn't clear its pointer to item_equal in ::cleanup.
- Some Item_direct_view_ref objects have statement lifetime (i.e. they
survive across multiple EXECUTE commands). Item_equal objects live only for
the duration of one EXECUTE. This caused Item_direct_view_ref to have a stale pointer,
which could cause all sorts of effects. (In this bug's testcase it was pointing to
the wrong Item_equal, causing wrong query result)
- Fixed by doing what Item_field::cleanup() does - don't keep item_equal pointer value.
- There is no testcase because the only testcase I've got is highly fragile (e.g. the
bug will not show up if @@datadir is of the wrong length).
2014-02-19 17:45:33 +04:00
..
2011-06-30 17:31:31 +02:00
2012-11-09 10:11:20 +02:00
2013-01-08 13:29:11 +01:00
2011-11-24 18:48:58 +02:00
2011-11-24 18:48:58 +02:00
2012-04-05 23:07:18 +02:00
2012-09-26 18:29:49 +02:00
2011-05-10 18:19:11 +02:00
2011-12-11 11:34:44 +02:00
2011-11-21 19:13:14 +02:00
2011-12-11 11:34:44 +02:00
2011-06-12 15:52:07 +02:00
2011-12-11 11:34:44 +02:00
2010-09-24 01:00:32 +03:00
2011-12-11 11:34:44 +02:00
2011-11-24 18:48:58 +02:00
2011-12-11 11:34:44 +02:00
2011-11-24 18:48:58 +02:00
2011-05-28 05:11:32 +03:00
2011-03-01 13:24:36 +01:00
2012-08-22 16:45:25 +02:00
2011-11-24 18:48:58 +02:00
2010-09-24 01:00:32 +03:00
2013-07-03 09:46:20 +02:00
2014-01-21 09:41:28 +01:00
2013-09-09 15:32:25 +04:00
2013-07-03 09:46:20 +02:00
2012-04-29 18:08:11 +05:00
2011-12-08 16:29:45 +04:00
2011-12-16 10:21:46 +04:00
2011-11-20 12:30:43 +04:00
2012-11-06 11:52:55 +02:00
2011-12-11 11:34:44 +02:00
2011-09-21 12:50:03 +05:00
2013-01-10 15:40:21 +01:00
2011-12-11 11:34:44 +02:00
2010-10-10 17:18:11 +03:00
2013-02-28 21:48:47 +01:00
2012-11-09 10:11:20 +02:00
2012-11-09 10:11:20 +02:00
2012-03-28 13:58:14 +03:00
2010-09-24 01:00:32 +03:00
2013-01-09 23:51:51 +01:00
2011-12-11 11:34:44 +02:00
2013-11-22 13:13:03 -08:00
2013-11-21 15:19:25 -08:00
2013-03-26 19:09:47 +01:00
2011-12-11 11:34:44 +02:00
2014-01-27 13:15:40 +04:00
2013-12-03 15:08:43 +04:00
2014-02-18 17:15:25 +04:00
2013-09-25 15:30:13 +03:00
2013-01-25 16:56:57 +02:00
2011-12-11 11:34:44 +02:00
2014-01-28 12:25:29 +04:00
2013-09-25 15:30:13 +03:00
2014-02-13 20:18:07 +01:00
2014-02-13 20:18:07 +01:00
2013-11-21 11:46:36 +04:00
2012-02-26 00:19:07 -08:00
2014-01-27 13:15:40 +04:00
2014-01-24 16:50:39 +04:00
2013-09-25 15:30:13 +03:00
2013-09-25 15:30:13 +03:00
2014-02-13 10:15:03 +01:00
2014-02-19 17:45:33 +04:00
2011-12-11 11:34:44 +02:00
2011-12-11 11:34:44 +02:00
2012-03-26 13:29:45 +03:00
2012-08-24 14:02:32 +02:00
2012-08-24 14:02:32 +02:00
2013-02-28 21:48:47 +01:00
2013-02-28 21:48:47 +01:00
2013-01-10 15:40:21 +01:00
2012-11-20 13:57:49 +01:00
2013-02-28 21:48:47 +01:00
2012-04-18 13:14:05 +02:00
2011-11-21 19:13:14 +02:00
2013-04-06 15:51:08 +02:00
2011-04-02 14:04:45 +04:00
2011-12-11 11:34:44 +02:00
2012-04-05 23:07:18 +02:00
2012-04-16 15:28:33 +02:00
2014-01-28 12:25:29 +04:00
2011-05-20 01:38:42 +02:00
2013-10-21 13:36:29 +04:00
2011-06-30 17:31:31 +02:00
2012-02-16 20:15:57 +04:00
2011-02-25 20:15:27 +02:00
2013-04-11 19:35:39 +02:00
2013-04-01 18:03:14 +04:00
2014-02-15 01:21:46 +04:00
2014-02-07 20:51:31 +04:00
2012-05-11 11:40:23 +03:00
2013-11-27 17:43:16 +04:00
2012-04-20 21:09:16 +02:00
2012-04-20 21:09:16 +02:00
2011-02-22 20:28:01 +02:00
2011-11-24 18:48:58 +02:00
2011-06-30 17:37:13 +02:00
2012-04-06 12:04:07 +03:00
2011-05-04 23:20:17 +05:00
2012-08-22 16:45:25 +02:00
2011-12-11 11:34:44 +02:00
2012-06-05 15:53:39 +02:00
2011-12-11 11:34:44 +02:00
2011-06-30 17:37:13 +02:00
2011-11-24 18:48:58 +02:00
2011-11-21 19:13:14 +02:00
2011-12-11 11:34:44 +02:00
2011-12-11 11:34:44 +02:00
2012-03-13 16:38:43 +02:00
2012-03-13 16:38:43 +02:00
2012-03-13 16:38:43 +02:00
2012-03-13 16:38:43 +02:00
2011-06-30 17:37:13 +02:00
2011-06-30 17:37:13 +02:00
2012-08-22 16:45:25 +02:00
2012-08-22 16:45:25 +02:00
2011-06-30 17:37:13 +02:00
2012-08-22 16:45:25 +02:00
2012-08-22 11:40:39 +02:00
2014-02-13 10:15:03 +01:00
2014-01-28 12:25:29 +04:00
2011-06-30 17:31:31 +02:00
2012-05-20 14:57:29 +02:00
2013-10-21 13:36:29 +04:00
2011-12-11 11:34:44 +02:00
2011-11-21 19:13:14 +02:00
2013-01-10 15:40:21 +01:00
2012-04-05 12:01:52 +02:00
2011-06-30 17:37:13 +02:00
2011-06-30 17:37:13 +02:00
2011-11-24 18:48:58 +02:00
2011-04-12 14:26:06 +02:00
2011-11-24 18:48:58 +02:00
2011-11-24 18:48:58 +02:00
2014-02-18 17:15:25 +04:00
2013-08-15 14:04:20 -07:00
2013-05-20 11:13:07 +02:00
2011-11-24 18:48:58 +02:00
2011-11-21 19:13:14 +02:00
2010-09-24 01:00:32 +03:00
2014-01-28 10:23:11 +01:00
2011-12-11 11:34:44 +02:00
2011-05-16 22:39:43 -07:00
2013-02-28 21:48:47 +01:00
2012-02-03 16:56:12 +02:00
2014-01-28 12:25:29 +04:00
2013-02-11 10:55:58 +02:00
2013-01-10 15:40:21 +01:00
2011-11-21 19:13:14 +02:00
2011-11-21 19:13:14 +02:00
2013-10-02 17:59:56 -07:00
2013-01-10 15:40:21 +01:00
2012-11-20 13:57:49 +01:00
2014-01-28 23:23:14 +02:00
2011-12-11 11:34:44 +02:00
2011-08-12 13:54:41 +03:00
2011-08-12 13:54:41 +03:00
2012-03-23 18:22:39 +02:00
2011-01-04 00:55:41 +02:00
2011-12-11 11:34:44 +02:00
2013-01-28 09:12:23 +01:00
2013-03-06 22:22:24 +01:00
2012-02-16 08:49:10 +02:00
2014-01-23 12:05:10 +02:00
2013-12-18 15:59:51 +02:00
2011-02-19 13:43:01 +01:00
2013-02-20 18:01:36 -08:00
2012-09-22 17:50:51 +05:30
2011-06-30 17:37:13 +02:00
2012-01-02 23:52:31 +01:00
2011-12-11 11:34:44 +02:00
2013-01-25 10:20:45 +01:00
2011-11-24 18:48:58 +02:00
2011-11-21 19:13:14 +02:00
2011-07-01 15:08:30 +03:00
2012-04-02 11:45:07 +03:00
2011-11-24 18:48:58 +02:00
2013-10-21 13:45:49 +03:00
2013-01-10 15:40:21 +01:00
2013-01-09 23:51:51 +01:00
2011-12-11 11:34:44 +02:00
2013-02-28 21:48:47 +01:00
2014-02-15 01:21:46 +04:00
2014-02-15 01:21:46 +04:00
2011-11-24 18:48:58 +02:00
2013-11-08 22:50:01 +04:00
2012-09-27 13:18:07 +05:00
2010-09-13 15:22:11 -07:00
2012-08-24 14:02:32 +02:00
2012-11-09 10:11:20 +02:00
2013-02-28 21:48:47 +01:00
2011-11-21 19:13:14 +02:00
2011-12-11 11:34:44 +02:00
2013-02-28 21:48:47 +01:00
2011-12-11 11:34:44 +02:00
2011-11-24 18:48:58 +02:00
2014-02-13 20:21:57 +01:00
2013-02-11 10:55:58 +02:00
2014-01-28 10:23:11 +01:00
2011-06-30 17:37:13 +02:00
2013-12-18 15:59:51 +02:00
2011-11-21 19:13:14 +02:00
2011-12-11 11:34:44 +02:00
2014-01-23 12:05:10 +02:00
2013-09-25 15:30:13 +03:00
2011-11-24 18:48:58 +02:00
2014-01-27 13:15:40 +04:00
2013-11-13 18:34:12 +04:00
2011-12-11 11:34:44 +02:00
2011-11-21 19:13:14 +02:00
2013-01-21 21:29:19 -08:00
2012-06-23 15:00:05 -07:00
2012-06-23 15:00:05 -07:00
2012-03-12 12:14:04 +01:00
2011-01-30 22:42:02 +01:00