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

Unified Diff: third_party/sqlite/src/test/instr.test

Issue 2765553002: [sql] Import SQLite 3.17.0. (Closed)
Patch Set: Created 3 years, 9 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/src/test/instr.test
diff --git a/third_party/sqlite/src/test/instr.test b/third_party/sqlite/src/test/instr.test
index c8be4862b930641b2c73411467b57d97e91a4370..2caf3bce3b3042d98eec378234fc767cce3c3d6b 100644
--- a/third_party/sqlite/src/test/instr.test
+++ b/third_party/sqlite/src/test/instr.test
@@ -248,4 +248,13 @@ do_execsql_test instr-1.62 {
SELECT coalesce(instr(NULL,NULL), 999);
} {999}
+do_execsql_test instr-1.63 {
+ SELECT instr(X'', 'abc')
+} 0
+do_execsql_test instr-1.64 {
+ CREATE TABLE x1(a, b);
+ INSERT INTO x1 VALUES(X'', 'abc');
+ SELECT instr(a, b) FROM x1;
+} 0
+
finish_test

Powered by Google App Engine
This is Rietveld 408576698