OLD | NEW |
1 # 2010 August 27 | 1 # 2010 August 27 |
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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 do_test func3-4.1 { | 62 do_test func3-4.1 { |
63 set destroyed 0 | 63 set destroyed 0 |
64 set rc [catch { | 64 set rc [catch { |
65 sqlite3_create_function_v2 db f3 -1 any -func f3 -step f3 -destroy destroy | 65 sqlite3_create_function_v2 db f3 -1 any -func f3 -step f3 -destroy destroy |
66 } msg] | 66 } msg] |
67 list $rc $msg | 67 list $rc $msg |
68 } {1 SQLITE_MISUSE} | 68 } {1 SQLITE_MISUSE} |
69 do_test func3-4.2 { set destroyed } 1 | 69 do_test func3-4.2 { set destroyed } 1 |
70 | 70 |
71 finish_test | 71 finish_test |
OLD | NEW |