Navigation Menu

Skip to content

Commit

Permalink
test: add missing DESC
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Oct 24, 2012
1 parent 6b4a508 commit f665bda
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Expand Up @@ -10,10 +10,10 @@ INSERT INTO ranges VALUES (2, 1901, 2155);
INSERT INTO ranges VALUES (3, 2012, 2155);
INSERT INTO ranges VALUES (4, 2155, 1901);
SELECT * FROM ranges FORCE INDEX(range_key)
ORDER BY start, end;
ORDER BY start DESC, end DESC;
id start end
1 1901 2012
2 1901 2155
3 2012 2155
4 2155 1901
3 2012 2155
2 1901 2155
1 1901 2012
DROP TABLE ranges;
Expand Up @@ -34,7 +34,7 @@ INSERT INTO ranges VALUES (3, 2012, 2155);
INSERT INTO ranges VALUES (4, 2155, 1901);

SELECT * FROM ranges FORCE INDEX(range_key)
ORDER BY start, end;
ORDER BY start DESC, end DESC;

DROP TABLE ranges;

Expand Down

0 comments on commit f665bda

Please sign in to comment.