Index: third_party/sqlite/src/test/limit.test |
diff --git a/third_party/sqlite/src/test/limit.test b/third_party/sqlite/src/test/limit.test |
index 5d6ef336b26848dbd2ac4fde3930a7c6be19ae66..d72749770c574f45a4328e2d02fbf0eafcfc20ca 100644 |
--- a/third_party/sqlite/src/test/limit.test |
+++ b/third_party/sqlite/src/test/limit.test |
@@ -251,6 +251,12 @@ do_test limit-6.8 { |
# Make sure LIMIT works well with compound SELECT statements. |
# Ticket #393 |
# |
+# EVIDENCE-OF: R-13512-64012 In a compound SELECT, only the last or |
+# right-most simple SELECT may contain a LIMIT clause. |
+# |
+# EVIDENCE-OF: R-03782-50113 In a compound SELECT, the LIMIT clause |
+# applies to the entire compound, not just the final SELECT. |
+# |
ifcapable compound { |
do_test limit-7.1.1 { |
catchsql { |