1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-14 13:41:20 +03:00
Files
mariadb/sql
Sergey Petrunya 73cc529b51 BUG#920255: Wrong result (extra rows) with loosescan and IN subquery
The problem was that LooseScan execution code assumed that tab->key holds 
the index used for looseScan. This is only true when range or full index
scan are used. In case of ref access, the index is in tab->ref.key (and 
tab->index==0 which explains how LooseScan passed tests with ref access: they 
used one index)

Fixed by setting/using loosescan_key, which always the correct index#.
2012-01-25 18:33:57 +04:00
..
2011-06-30 17:31:31 +02:00
2011-12-11 11:34:44 +02:00
2011-11-24 18:48:58 +02:00
2011-11-24 18:48:58 +02:00
2011-12-12 13:00:33 +01:00
2011-12-11 11:34:44 +02:00
2011-12-11 11:34:44 +02:00
2011-12-11 11:34:44 +02: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-12-11 11:34:44 +02:00
2011-11-24 18:48:58 +02:00
2011-12-11 11:34:44 +02:00
2011-12-11 11:34:44 +02:00
2011-12-11 11:34:44 +02:00
2011-12-16 10:21:46 +04:00
2011-12-16 10:21:46 +04:00
2011-12-11 11:34:44 +02:00
2011-12-11 11:34:44 +02:00
2011-12-11 11:34:44 +02:00
2010-10-10 17:18:11 +03:00
2011-12-11 11:34:44 +02:00
2011-12-11 18:39:33 +02:00
2011-12-11 11:34:44 +02:00
2010-04-21 02:25:59 +02:00
2011-05-02 20:58:45 +03:00
2011-12-11 11:34:44 +02:00
2011-12-11 11:34:44 +02:00
2011-12-11 11:34:44 +02:00
2011-12-11 11:34:44 +02:00
2011-12-11 11:34:44 +02:00
2011-12-11 11:34:44 +02:00
2011-12-11 11:34:44 +02:00
2011-12-11 11:34:44 +02:00
2011-12-18 23:38:37 -08:00
2011-12-11 11:34:44 +02:00
2011-12-11 11:34:44 +02:00
2011-12-11 11:34:44 +02: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-12-11 11:34:44 +02:00
2011-12-11 11:34:44 +02:00
2011-02-20 18:51:43 +02:00
2011-12-11 11:34:44 +02:00
2011-12-11 11:34:44 +02:00
2011-12-11 11:34:44 +02:00
2011-12-11 11:34:44 +02:00
2011-12-11 11:34:44 +02:00
2010-04-21 02:25:59 +02:00
2011-12-11 11:34:44 +02:00
2011-12-11 11:34:44 +02:00
2011-06-30 17:31:31 +02:00
2011-02-25 20:15:27 +02:00
2011-12-12 13:00:33 +01:00
2011-12-11 11:34:44 +02:00
2011-11-12 18:08:12 +01:00
2011-12-11 11:34:44 +02:00
2011-11-24 18:48:58 +02:00
2011-02-22 20:28:01 +02:00
2011-11-24 18:48:58 +02:00
2011-11-28 15:08:12 +01:00
2011-05-04 23:20:17 +05:00
2010-07-10 13:37:30 +03:00
2011-12-11 11:34:44 +02:00
2011-12-11 11:34:44 +02:00
2011-12-11 11:34:44 +02: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-12-11 11:34:44 +02:00
2011-02-20 18:51:43 +02:00
2011-12-11 11:34:44 +02:00
2011-12-11 11:34:44 +02:00
2011-12-11 11:34:44 +02:00
2011-06-30 17:37:13 +02:00
2011-12-11 11:34:44 +02:00
2011-12-15 16:43:28 +04:00
2011-06-30 17:31:31 +02:00
2011-12-11 11:34:44 +02:00
2011-12-11 11:34:44 +02:00
2011-11-24 18:48:58 +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
2011-12-11 11:34:44 +02:00
2011-12-11 11:34:44 +02:00
2011-11-24 18:48:58 +02:00
2011-12-11 18:39:33 +02:00
2011-12-11 11:34:44 +02:00
2010-04-01 17:34:51 +03:00
2011-12-11 11:34:44 +02:00
2011-12-11 18:39:33 +02:00
2011-12-11 11:34:44 +02:00
2011-12-11 11:34:44 +02:00
2011-12-11 11:34:44 +02:00
2012-01-18 03:31:20 -08:00
2011-12-11 11:34:44 +02:00
2011-12-11 11:34:44 +02:00
2011-12-11 11:34:44 +02:00
2011-12-11 18:39:33 +02:00
2011-11-25 23:54:36 +04:00
2011-06-28 18:31:54 -07:00
2011-12-11 18:39:33 +02:00
2011-12-11 11:34:44 +02:00
2011-12-11 11:34:44 +02:00
2011-06-30 17:37:13 +02:00
2011-06-30 17:37:13 +02: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-12-11 18:39:33 +02:00
2011-12-11 11:34:44 +02:00
2011-12-11 11:34:44 +02:00
2011-12-11 11:34:44 +02:00
2011-11-24 18:48:58 +02:00
2011-12-14 20:36:51 +02:00
2011-06-30 17:37:13 +02:00
2011-12-11 11:34:44 +02:00
2011-12-11 11:34:44 +02:00
2011-12-11 11:34:44 +02:00
2011-12-11 11:34:44 +02:00
2011-12-11 11:34:44 +02: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-12-11 11:34:44 +02:00
2011-06-30 17:37:13 +02:00
2011-12-11 11:34:44 +02: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-12-11 11:34:44 +02:00
2011-12-11 11:34:44 +02:00
2011-12-11 11:34:44 +02:00
2011-12-11 11:34:44 +02:00
2011-12-11 11:34:44 +02:00
2011-02-15 13:04:55 +01:00