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

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

Issue 1610963002: Import SQLite 3.10.2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 unified diff | Download patch
« no previous file with comments | « third_party/sqlite/src/test/atof1.test ('k') | third_party/sqlite/src/test/autoindex1.test » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # 2003 April 4 1 # 2003 April 4
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 841 matching lines...) Expand 10 before | Expand all | Expand 10 after
852 SELECT name FROM noname.sqlite_master; 852 SELECT name FROM noname.sqlite_master;
853 SELECT name FROM inmem.sqlite_master; 853 SELECT name FROM inmem.sqlite_master;
854 } 854 }
855 } {noname inmem} 855 } {noname inmem}
856 do_test attach-10.2 { 856 do_test attach-10.2 {
857 lrange [execsql { 857 lrange [execsql {
858 PRAGMA database_list; 858 PRAGMA database_list;
859 }] 9 end 859 }] 9 end
860 } {4 noname {} 5 inmem {}} 860 } {4 noname {} 5 inmem {}}
861 861
862 # Attach with a very long URI filename.
863 #
864 db close
865 sqlite3 db test.db -uri 1
866 do_execsql_test attach-11.1 {
867 ATTACH printf('file:%09000x/x.db?mode=memory&cache=shared',1) AS aux1;
868 CREATE TABLE aux1.t1(x,y);
869 INSERT INTO aux1.t1(x,y) VALUES(1,2),(3,4);
870 SELECT * FROM aux1.t1;
871 } {1 2 3 4}
872
873
862 finish_test 874 finish_test
OLDNEW
« no previous file with comments | « third_party/sqlite/src/test/atof1.test ('k') | third_party/sqlite/src/test/autoindex1.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698