| OLD | NEW |
| 1 # 2006 January 09 | 1 # 2006 January 09 |
| 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 11 matching lines...) Expand all Loading... |
| 22 # Skip this whole file if the server testing code is not enabled | 22 # Skip this whole file if the server testing code is not enabled |
| 23 # | 23 # |
| 24 if {[llength [info command client_step]]==0 || [sqlite3 -has-codec]} { | 24 if {[llength [info command client_step]]==0 || [sqlite3 -has-codec]} { |
| 25 finish_test | 25 finish_test |
| 26 return | 26 return |
| 27 } | 27 } |
| 28 | 28 |
| 29 # The sample server implementation does not work right when memory | 29 # The sample server implementation does not work right when memory |
| 30 # management is enabled. | 30 # management is enabled. |
| 31 # | 31 # |
| 32 ifcapable memorymanage { | 32 ifcapable (memorymanage||mutex_noop) { |
| 33 finish_test | 33 finish_test |
| 34 return | 34 return |
| 35 } | 35 } |
| 36 | 36 |
| 37 # Create some data to work with | 37 # Create some data to work with |
| 38 # | 38 # |
| 39 do_test server1-1.1 { | 39 do_test server1-1.1 { |
| 40 execsql { | 40 execsql { |
| 41 CREATE TABLE t1(a,b); | 41 CREATE TABLE t1(a,b); |
| 42 INSERT INTO t1 VALUES(1,'abcdefgh'); | 42 INSERT INTO t1 VALUES(1,'abcdefgh'); |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 162 client_compile C {INSERT INTO t1 VALUES(98,99)} | 162 client_compile C {INSERT INTO t1 VALUES(98,99)} |
| 163 client_step C | 163 client_step C |
| 164 client_result C | 164 client_result C |
| 165 client_finalize C | 165 client_finalize C |
| 166 client_result C | 166 client_result C |
| 167 } SQLITE_OK | 167 } SQLITE_OK |
| 168 | 168 |
| 169 client_halt * | 169 client_halt * |
| 170 sqlite3_enable_shared_cache 0 | 170 sqlite3_enable_shared_cache 0 |
| 171 finish_test | 171 finish_test |
| OLD | NEW |