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

Side by Side Diff: third_party/sqlite/src/test/instr.test

Issue 2751253002: [sql] Import SQLite 3.17.0. (Closed)
Patch Set: also clang on Linux i386 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 unified diff | Download patch
OLDNEW
1 # 2012 October 24 1 # 2012 October 24
2 # 2 #
3 # The author disclaims copyright to this source code. In place of 3 # The author disclaims copyright to this source code. In place of
4 # a legal notice, here is a blessing: 4 # a legal notice, here is a blessing:
5 # 5 #
6 # May you do good and not evil. 6 # May you do good and not evil.
7 # May you find forgiveness for yourself and forgive others. 7 # May you find forgiveness for yourself and forgive others.
8 # May you share freely, never taking more than you give. 8 # May you share freely, never taking more than you give.
9 # 9 #
10 #*********************************************************************** 10 #***********************************************************************
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after
241 do_execsql_test instr-1.60 { 241 do_execsql_test instr-1.60 {
242 SELECT coalesce(instr(NULL,'abc'), 999); 242 SELECT coalesce(instr(NULL,'abc'), 999);
243 } {999} 243 } {999}
244 do_execsql_test instr-1.61 { 244 do_execsql_test instr-1.61 {
245 SELECT coalesce(instr('abc',NULL), 999); 245 SELECT coalesce(instr('abc',NULL), 999);
246 } {999} 246 } {999}
247 do_execsql_test instr-1.62 { 247 do_execsql_test instr-1.62 {
248 SELECT coalesce(instr(NULL,NULL), 999); 248 SELECT coalesce(instr(NULL,NULL), 999);
249 } {999} 249 } {999}
250 250
251 do_execsql_test instr-1.63 {
252 SELECT instr(X'', 'abc')
253 } 0
254 do_execsql_test instr-1.64 {
255 CREATE TABLE x1(a, b);
256 INSERT INTO x1 VALUES(X'', 'abc');
257 SELECT instr(a, b) FROM x1;
258 } 0
259
251 finish_test 260 finish_test
OLDNEW
« no previous file with comments | « third_party/sqlite/src/test/indexexpr1.test ('k') | third_party/sqlite/src/test/instrfault.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698