Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(14)

Unified Diff: third_party/sqlite/sqlite-src-3080704/test/tkt2822.test

Issue 883353008: [sql] Import reference version of SQLite 3.8.7.4. (Closed) Base URL: http://chromium.googlesource.com/chromium/src.git@master
Patch Set: Hold back encoding change which is messing up patch. Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/sqlite/sqlite-src-3080704/test/tkt2822.test
diff --git a/third_party/sqlite/src/test/tkt2822.test b/third_party/sqlite/sqlite-src-3080704/test/tkt2822.test
similarity index 96%
copy from third_party/sqlite/src/test/tkt2822.test
copy to third_party/sqlite/sqlite-src-3080704/test/tkt2822.test
index 281e5dc91fc3adf9dc6610958b99247a774f0290..d0b16338c6b842a81ed0aaf2daacc8e10dbfa5ba 100644
--- a/third_party/sqlite/src/test/tkt2822.test
+++ b/third_party/sqlite/sqlite-src-3080704/test/tkt2822.test
@@ -273,11 +273,21 @@ do_test tkt2822-7.1 {
SELECT * FROM t7 ORDER BY 0;
}
} {1 {1st ORDER BY term out of range - should be between 1 and 25}}
-do_test tkt2822-7.2 {
+do_test tkt2822-7.2.1 {
catchsql {
SELECT * FROM t7 ORDER BY 1, 0;
}
} {1 {2nd ORDER BY term out of range - should be between 1 and 25}}
+do_test tkt2822-7.2.2 {
+ catchsql {
+ SELECT * FROM t7 ORDER BY 1, 26;
+ }
+} {1 {2nd ORDER BY term out of range - should be between 1 and 25}}
+do_test tkt2822-7.2.3 {
+ catchsql {
+ SELECT * FROM t7 ORDER BY 1, 65536;
+ }
+} {1 {2nd ORDER BY term out of range - should be between 1 and 25}}
do_test tkt2822-7.3 {
catchsql {
SELECT * FROM t7 ORDER BY 1, 2, 0;
« no previous file with comments | « third_party/sqlite/sqlite-src-3080704/test/tkt2820.test ('k') | third_party/sqlite/sqlite-src-3080704/test/tkt2832.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698