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

Unified Diff: third_party/sqlite/src/test/capi3.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/sqlite/src/test/cacheflush.test ('k') | third_party/sqlite/src/test/capi3c.test » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/sqlite/src/test/capi3.test
diff --git a/third_party/sqlite/src/test/capi3.test b/third_party/sqlite/src/test/capi3.test
index 9f3d6f6916448ffc7a4f4e0e5b7260e9e3a22a5d..163bb19ada472e0bdf9a5393154eaa2ed4015487 100644
--- a/third_party/sqlite/src/test/capi3.test
+++ b/third_party/sqlite/src/test/capi3.test
@@ -452,9 +452,21 @@ proc check_data {STMT test types ints doubles strings} {
# types
do_test $test.1 {
set types [list]
- foreach i $idxlist {lappend types [sqlite3_column_type $STMT $i]}
+ foreach i $idxlist {
+ set x [sqlite3_column_type $STMT $i]
+ # EVIDENCE-OF: R-12793-43283 Every value in SQLite has one of five
+ # fundamental datatypes: 64-bit signed integer 64-bit IEEE floating
+ # point number string BLOB NULL
+ if {[lsearch {INTEGER FLOAT TEXT BLOB NULL} $x]<0} {
+ set types ERROR
+ break
+ } else {
+ lappend types $x
+ }
+ }
set types
} $types
+
# Integers
do_test $test.2 {
« no previous file with comments | « third_party/sqlite/src/test/cacheflush.test ('k') | third_party/sqlite/src/test/capi3c.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698