Mattias Jonsson
6ca4be9c03
Bug#14621190: HA_INNOBASE::INDEX_NEXT SKIPS A RECORD IF PREVIOUS
...
INDEX_READ_MAP HAD NO MATCH
If index_read_map is called for exact search and no matching records
exists it will position the cursor on the next record, but still having the
relative position to BTR_PCUR_ON.
This will make a call for index_next to read yet another next record,
instead of returning the record the cursor points to.
Fixed by setting pcur->rel_pos = BTR_PCUR_BEFORE if an exact
[prefix] search is done, but failed.
Also avoids optimistic restoration if rel_pos != BTR_PCUR_ON,
since btr_cur may be different than old_rec.
rb#3324, approved by Marko and Jimmy
2013-10-01 10:05:45 +02:00
..
2010-06-03 13:28:40 +03:00
2010-04-16 19:19:07 +03:00
2011-01-14 23:24:47 -08:00
2010-06-03 13:28:40 +03:00
2010-04-16 19:19:07 +03:00
2010-04-16 19:19:07 +03:00
2010-04-16 19:19:07 +03:00
2010-04-12 14:56:24 +03:00
2010-04-12 14:56:24 +03:00
2010-06-06 13:19:29 +02:00
2010-04-16 19:19:07 +03:00
2010-04-12 14:56:24 +03:00
2010-04-16 19:19:07 +03:00
2010-04-12 14:56:24 +03:00
2010-04-16 19:19:07 +03:00
2010-04-16 19:19:07 +03:00
2010-06-03 13:28:40 +03:00
2010-04-12 14:56:24 +03:00
2010-04-16 19:19:07 +03:00
2010-04-16 19:19:07 +03:00
2010-04-16 19:19:07 +03:00
2010-04-16 19:19:07 +03:00
2010-04-12 14:56:24 +03:00
2010-06-17 02:13:53 -07:00
2010-04-16 19:19:07 +03:00
2010-04-16 19:19:07 +03:00
2010-04-16 19:19:07 +03:00
2010-05-14 16:31:44 +03:00
2010-05-10 15:14:45 +02:00
2010-04-16 19:19:07 +03:00
2010-05-04 12:40:41 +03:00
2010-06-29 14:32:48 +03:00
2010-05-04 12:51:25 +03:00
2012-06-29 14:12:21 +04:00
2010-11-03 12:07:16 +02:00
2010-05-11 19:18:28 +03:00
2012-09-01 11:27:53 +05:30
2010-06-02 04:04:00 -07:00
2010-06-02 14:37:33 +03:00
2011-02-10 00:58:23 -08:00
2011-08-19 09:06:50 +02:00
2010-10-14 04:39:42 -07:00
2010-10-19 09:35:14 +03:00
2010-10-04 13:38:05 +03:00
2010-10-11 11:59:43 +03:00
2010-10-18 13:48:11 +03:00
2010-10-06 03:41:26 -07:00
2010-11-30 12:25:52 -06:00
2011-02-15 11:29:56 +02:00
2011-04-05 11:08:36 +03:00
2011-04-07 21:12:54 +03:00
2011-08-15 12:18:34 +03:00
2011-02-15 12:12:27 +02:00
2011-04-26 12:55:52 -05:00
2011-12-07 18:44:52 -08:00
2012-02-06 12:44:59 +02:00
2012-03-09 11:07:16 +05:30
2012-01-10 14:18:58 +09:00
2011-10-25 16:46:38 +03:00
2012-04-17 16:54:02 +05:30
2013-10-01 10:05:45 +02:00
2012-03-01 11:05:51 +05:30
2012-05-10 10:18:31 +05:30
2013-02-20 18:25:18 +05:30
2012-11-12 22:31:30 +09:00
2012-10-17 14:48:19 +05:30
2011-12-07 09:12:53 -05:00
2012-10-08 19:40:30 +05:30
2011-10-05 15:14:14 +02:00
2011-02-02 16:53:56 +03:00
2011-10-05 15:14:14 +02:00
2012-07-25 10:48:16 +05:30
2010-07-26 03:07:36 -07:00
2010-06-03 13:28:40 +03:00
2012-09-01 11:27:53 +05:30
2010-12-14 12:33:03 +03:00
2010-06-03 13:28:40 +03:00
2013-01-14 10:58:17 +01:00
2010-06-03 13:28:40 +03:00
2012-09-03 11:57:25 +05:30
2011-10-05 15:14:14 +02:00
2011-11-10 12:49:31 +02:00
2010-06-03 13:28:40 +03:00
2010-04-16 19:19:07 +03:00
2010-04-12 14:56:24 +03:00
2010-11-24 14:36:00 +11:00
2010-04-16 19:19:07 +03:00
2010-11-30 21:44:06 +11:00
2010-06-03 13:28:40 +03:00
2012-08-27 15:42:11 +05:30
2012-02-17 11:52:51 +02:00
2010-04-16 19:19:07 +03:00
2010-11-02 16:54:23 -05:00
2010-04-12 14:56:24 +03:00
2012-12-11 10:51:24 +05:30
2011-11-10 16:50:34 +02:00
2010-04-16 19:19:07 +03:00
2010-06-09 10:46:24 +02:00
2011-01-07 14:16:28 +01:00
2010-10-06 11:34:28 -03:00
2010-06-03 13:28:40 +03:00
2011-06-28 15:28:21 +03:00
2012-09-01 11:27:53 +05:30
2012-09-01 11:27:53 +05:30