OLD | NEW |
1 # 2007 May 15 | 1 # 2007 May 15 |
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 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
134 } {0 {x 80F0808080FF}} | 134 } {0 {x 80F0808080FF}} |
135 do_test badutf-4.6 { | 135 do_test badutf-4.6 { |
136 sqlite3_exec db {SELECT hex(trim('%ff%80%f0%80%80%80%ff','%ff%80')) AS x} | 136 sqlite3_exec db {SELECT hex(trim('%ff%80%f0%80%80%80%ff','%ff%80')) AS x} |
137 } {0 {x F0808080FF}} | 137 } {0 {x F0808080FF}} |
138 do_test badutf-4.7 { | 138 do_test badutf-4.7 { |
139 sqlite3_exec db {SELECT hex(trim('%ff%80%f0%80%80%80%ff','%ff%80%80')) AS x} | 139 sqlite3_exec db {SELECT hex(trim('%ff%80%f0%80%80%80%ff','%ff%80%80')) AS x} |
140 } {0 {x FF80F0808080FF}} | 140 } {0 {x FF80F0808080FF}} |
141 | 141 |
142 db2 close | 142 db2 close |
143 finish_test | 143 finish_test |
OLD | NEW |