1
0
mirror of https://github.com/MariaDB/server.git synced 2025-11-30 05:23:50 +03:00
Files
mariadb/sql
Sergey Petrunya 75a3527777 MDEV-5606: range optimizer: "x < y" is sargable, while "y > x" is not
Port to mariadb-1.0 the following fix from mysql-5.6:

  Revision ID: jorgen.loland@oracle.com-20120314131055-ml54x9deueqfsff4
  BUG#13701206: WHERE A>=B DOES NOT GIVE SAME EXECUTION PLAN
                AS WHERE B<=A (RANGE OPTIMIZER)
 
that fix didn't have a public testcase, so I created one.
2014-02-04 13:27:10 +04:00
..
2013-12-22 17:06:50 +01:00
2013-09-25 19:42:22 +02:00
2013-09-25 19:42:22 +02:00
2013-09-21 10:14:42 +02:00
2013-07-02 20:43:35 +03:00
2013-07-21 16:39:19 +02:00
2013-07-21 16:39:19 +02:00
2013-11-13 23:03:48 +01:00
2013-07-21 16:39:19 +02:00
2013-07-21 16:39:19 +02:00
2013-12-16 13:02:21 +01:00
2013-12-16 13:02:21 +01:00
2013-12-16 13:02:21 +01:00
2013-12-16 13:02:21 +01:00
2013-08-12 22:05:23 +02:00
2013-10-29 22:20:45 +02:00
2013-09-21 10:14:42 +02:00
2013-02-25 15:26:00 +01:00
2013-12-16 13:02:21 +01:00
2013-07-21 16:39:19 +02:00
2013-12-16 13:02:21 +01:00
2013-12-16 13:02:21 +01:00
2013-12-22 17:06:50 +01:00
2013-06-27 12:51:34 +03:00
2013-06-27 12:51:34 +03:00
2013-03-26 00:03:13 +02:00
2013-11-23 00:50:54 +01:00
2013-10-15 10:26:08 +04:00
2013-12-16 13:02:21 +01:00
2013-12-16 13:02:21 +01:00
2013-09-25 17:16:13 +03:00
2013-09-25 17:16:13 +03:00
2013-09-25 21:07:06 +03:00
2013-03-27 23:41:02 +01:00
2013-12-16 13:02:21 +01:00
2013-07-17 21:24:29 +02:00
2013-12-16 13:02:21 +01:00
2013-12-16 13:02:21 +01:00
2013-09-25 17:16:13 +03:00
2013-12-16 13:02:21 +01:00
2013-12-16 13:02:21 +01:00
2013-10-29 15:08:44 +01:00
2013-07-21 16:39:19 +02:00
2013-12-16 13:02:21 +01:00
2013-12-16 13:02:21 +01:00
2013-12-16 13:02:21 +01:00
2013-12-11 00:31:04 +09:00
2013-12-16 12:26:20 +04:00
2013-09-25 21:07:06 +03:00
2013-09-26 21:20:15 +03:00
2013-10-16 13:38:42 +04:00
2013-07-18 16:46:57 +02:00
2013-06-06 21:32:29 +02:00
2013-12-16 13:02:21 +01:00
2013-12-22 17:06:50 +01:00
2013-07-21 16:39:19 +02:00
2013-07-21 16:39:19 +02:00
2013-10-16 13:38:42 +04:00
2013-12-16 13:02:21 +01:00
2013-09-25 21:07:06 +03:00
2013-11-13 23:03:48 +01:00
2013-12-16 13:02:21 +01:00
2013-12-16 13:02:21 +01:00
2013-07-21 16:39:19 +02:00
2012-09-27 20:09:46 +02:00
2013-07-17 21:24:29 +02:00
2013-07-21 16:39:19 +02:00
2013-10-15 10:26:08 +04:00
2013-11-11 23:40:53 +02:00
2013-11-05 12:01:26 +01:00
2013-12-16 13:02:21 +01:00
2013-11-08 15:14:18 +01:00
2013-12-16 13:02:21 +01:00
2013-04-15 15:09:22 +02:00
2013-10-29 15:08:44 +01:00
2013-09-21 10:14:42 +02:00
2013-12-16 13:02:21 +01:00
2013-10-28 13:24:56 +01:00
2013-12-16 13:02:21 +01:00
2013-07-05 15:20:39 +04:00
2013-07-21 16:39:19 +02:00
2013-07-21 16:39:19 +02:00
2013-07-21 16:39:19 +02:00
2013-09-21 10:14:42 +02:00
2013-10-29 15:08:44 +01:00
2013-12-16 13:02:21 +01:00
2013-07-21 16:39:19 +02:00
2013-03-26 00:03:13 +02:00
2013-07-21 16:39:19 +02:00
2013-10-29 15:08:44 +01:00
2013-09-21 10:14:42 +02:00
2013-12-16 13:02:21 +01:00
2013-12-16 13:02:21 +01:00
2013-12-16 13:02:21 +01:00
2013-08-12 14:17:51 +02:00
2013-12-16 13:02:21 +01:00
2013-03-26 00:03:13 +02:00
2013-10-29 15:08:44 +01:00
2013-10-02 17:59:56 -07:00
2013-12-16 13:02:21 +01:00
2013-10-16 13:38:42 +04:00
2013-10-29 22:20:45 +02:00
2013-07-21 16:39:19 +02:00
2013-10-16 20:20:20 +04:00
2013-10-17 17:50:30 +04:00
2013-07-17 21:24:29 +02:00
2013-06-19 22:57:46 +03:00
2013-12-16 13:02:21 +01:00
2013-07-16 19:09:54 +02:00
2013-10-18 12:36:03 -07:00
2013-10-16 13:38:42 +04:00
2013-10-16 13:38:42 +04:00
2013-12-19 17:54:02 +04:00
2013-12-16 13:02:21 +01:00
2013-02-28 22:47:29 +01:00
2013-12-16 13:02:21 +01:00
2013-12-16 13:02:21 +01:00
2013-11-13 23:03:48 +01:00
2013-11-11 23:40:53 +02:00
2013-12-16 13:02:21 +01:00
2013-07-21 16:39:19 +02:00
2013-03-26 00:03:13 +02:00
2013-02-25 15:26:00 +01:00
2013-09-21 10:14:42 +02:00
2013-09-21 10:14:42 +02:00
2013-04-09 16:07:35 +02:00
2013-12-16 13:02:21 +01:00
2013-10-29 22:20:45 +02:00
2013-02-25 15:26:00 +01:00
2013-12-16 13:02:21 +01:00
2013-07-16 19:09:54 +02:00
2013-07-21 16:39:19 +02:00
2013-07-21 16:39:19 +02:00
2013-10-16 13:38:42 +04:00
2013-12-16 13:02:21 +01:00
2013-11-04 21:47:54 +01:00
2013-12-16 13:02:21 +01:00
2013-12-16 13:02:21 +01:00
2013-10-29 15:08:44 +01:00
2013-01-23 16:18:09 +01:00
2013-12-16 13:02:21 +01:00
2013-10-16 13:38:42 +04:00
2013-12-16 13:02:21 +01:00
2013-12-09 12:38:30 +01:00
2013-07-21 16:39:19 +02:00
2013-10-29 15:08:44 +01:00
2013-12-16 13:02:21 +01:00
2013-09-21 10:14:42 +02:00
2013-11-11 23:40:53 +02:00
2012-11-03 12:28:51 +01:00
2013-12-16 13:02:21 +01:00
2013-12-16 13:02:21 +01:00
2013-04-06 15:36:28 -07:00
2013-07-21 16:39:19 +02:00
2013-07-21 16:39:19 +02:00