unknown
c7dc182db9
Bug #33061 : ORDER BY DESC becomes ASC in NDB partition pruning to one partition
...
When partition pruning resulted in an ordered index scan spanning only
one partition, any descending flag for the scan was wrongly discarded,
turning ORDER BY DESC into ORDER BY ASC, and similar problems.
Fixed by correctly passing descending flag in SCAN_TABREQ signal sent
to data nodes.
mysql-test/suite/ndb/r/ndb_partition_key.result:
Test case.
mysql-test/suite/ndb/r/ndb_partition_range.result:
Test case.
mysql-test/suite/ndb/t/ndb_partition_key.test:
Test case.
mysql-test/suite/ndb/t/ndb_partition_range.test:
Test case.
storage/ndb/src/ndbapi/NdbScanOperation.cpp:
Even if ordered scan not requested (no need to merge-sorts scans of
each partition), we still need to honor the descending flag.
2007-12-18 13:40:35 +01:00
..
2007-06-27 14:28:02 +02:00
2007-06-27 14:28:02 +02:00
2007-06-27 14:28:02 +02:00
2007-08-03 03:14:05 +05:00
2007-11-06 10:57:49 +01:00
2007-10-26 09:06:18 +02:00
2007-08-16 16:47:31 +03:00
2007-06-27 14:28:02 +02:00
2007-06-27 14:28:02 +02:00
2007-07-13 16:06:12 +02:00
2007-06-27 14:28:02 +02:00
2007-06-27 14:28:02 +02:00
2007-07-25 15:40:43 +02:00
2007-06-27 14:28:02 +02:00
2007-06-27 14:28:02 +02:00
2007-12-10 13:29:23 +01:00
2007-08-21 16:26:00 +02:00
2007-06-27 14:28:02 +02:00
2007-06-27 14:28:02 +02:00
2007-06-27 14:28:02 +02:00
2007-06-27 14:28:02 +02:00
2007-12-07 11:05:19 +01:00
2007-10-04 18:37:49 +02:00
2007-06-27 14:28:02 +02:00
2007-06-27 14:28:02 +02:00
2007-06-27 14:28:02 +02:00
2007-06-27 14:28:02 +02:00
2007-06-27 14:28:02 +02:00
2007-10-27 01:40:48 +05:00
2007-10-27 01:40:48 +05:00
2007-06-27 14:28:02 +02:00
2007-08-21 21:22:35 +02:00
2007-06-27 14:28:02 +02:00
2007-10-27 01:40:48 +05:00
2007-06-27 14:28:02 +02:00
2007-06-27 14:28:02 +02:00
2007-12-07 11:05:19 +01:00
2007-06-27 14:28:02 +02:00
2007-11-05 21:11:15 +01:00
2007-06-27 14:28:02 +02:00
2007-06-27 14:28:02 +02:00
2007-06-27 14:28:02 +02:00
2007-09-14 00:10:47 +02:00
2007-06-27 14:28:02 +02:00
2007-06-27 14:28:02 +02:00
2007-11-01 15:08:00 +01:00
2007-11-05 13:33:20 +01:00
2007-06-27 14:28:02 +02:00
2007-06-27 14:28:02 +02:00
2007-12-18 13:40:35 +01:00
2007-06-27 14:28:02 +02:00
2007-12-18 13:40:35 +01:00
2007-08-21 14:41:50 +02:00
2007-06-27 14:28:02 +02:00
2007-06-27 14:28:02 +02:00
2007-08-30 16:17:32 +08:00
2007-09-05 13:01:30 +00:00
2007-06-27 14:28:02 +02:00
2007-06-27 14:28:02 +02:00
2007-08-28 15:47:12 +02:00
2007-10-27 01:40:48 +05:00
2007-10-27 01:40:48 +05:00
2007-07-04 22:38:53 +02:00
2007-06-27 14:28:02 +02:00
2007-08-03 03:14:05 +05:00
2007-06-27 14:28:02 +02:00
2007-07-04 22:38:53 +02:00
2007-06-27 14:28:02 +02:00
2007-06-27 14:28:02 +02:00
2007-10-26 11:42:33 +02:00
2007-12-07 11:05:19 +01:00
2007-06-27 14:28:02 +02:00
2007-06-27 14:28:02 +02:00
2007-11-23 14:41:47 +02:00
2007-06-27 14:28:02 +02:00