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

Side by Side Diff: third_party/sqlite/sqlite-src-3080704/test/badutf.test

Issue 883353008: [sql] Import reference version of SQLite 3.8.7.4. (Closed) Base URL: http://chromium.googlesource.com/chromium/src.git@master
Patch Set: Hold back encoding change which is messing up patch. Created 5 years, 10 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 # 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
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
OLDNEW
« no previous file with comments | « third_party/sqlite/sqlite-src-3080704/test/backup_malloc.test ('k') | third_party/sqlite/sqlite-src-3080704/test/badutf2.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698