/ Check-in [bb8ee3b1]
Login
SQLite training in Houston TX on 2019-11-05 (details)
Part of the 2019 Tcl Conference

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Disable tests for json_each() and json_tree() on builds where virtual tables are not supported
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: bb8ee3b140a0a8b7c89f5debf22369f204ceef0b
User & Date: drh 2015-09-10 15:22:35
Context
2015-09-10
15:24
Make the sqlite3ext.h header file responsive to -DSQLITE_OMIT_LOAD_EXTENSION. check-in: 47a46a9f user: drh tags: trunk
15:22
Disable tests for json_each() and json_tree() on builds where virtual tables are not supported check-in: bb8ee3b1 user: drh tags: trunk
15:20
Fix the --help option on test/releasetest.tcl. Also fix the final error count so that it includes a count of subtest crashes. check-in: 9ecf684d user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to test/json102.test.

   133    133   do_execsql_test json102-470 {
   134    134     SELECT json_valid('{"x":35}');
   135    135   } {{1}}
   136    136   do_execsql_test json102-480 {
   137    137     SELECT json_valid('{"x":35'); -- }
   138    138   } {{0}}
   139    139   
          140  +ifcapable vtab {
   140    141   do_execsql_test json102-500 {
   141    142     CREATE TABLE user(name,phone);
   142    143     INSERT INTO user(name,phone) VALUES
   143    144        ('Alice','["919-555-2345","804-555-3621"]'),
   144    145        ('Bob','["201-555-8872"]'),
   145    146        ('Cindy','["704-555-9983"]'),
   146    147        ('Dave','["336-555-8421","704-555-4321","803-911-4421"]');
................................................................................
   229    230   } {123}
   230    231   do_execsql_test json102-632 {
   231    232     SELECT DISTINCT json_extract(big.json,'$.id')
   232    233       FROM big, json_tree(big.json)
   233    234      WHERE json_tree.key='uuid'
   234    235        AND json_tree.value='6fa5181e-5721-11e5-a04e-57f3d7b32808';
   235    236   } {123}
   236         -
          237  +} ;# end ifcapable vtab
   237    238   
   238    239   finish_test