~ubuntu-branches/ubuntu/wily/sqlite3/wily

« back to all changes in this revision

Viewing changes to test/vtab1.test

  • Committer: Package Import Robot
  • Author(s): Laszlo Boszormenyi (GCS)
  • Date: 2012-06-13 21:43:48 UTC
  • mfrom: (0.34.1) (0.32.2) (9.1.36 sid)
  • Revision ID: package-import@ubuntu.com-20120613214348-2pg18uml05o7h2k5
Tags: 3.7.13-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1222
1222
  }
1223
1223
} {}
1224
1224
 
 
1225
do_test vtab1-17.2 {
 
1226
  execsql { DELETE FROM sqlite_master WHERE sql LIKE 'insert%' }
 
1227
} {}
 
1228
 
1225
1229
#-------------------------------------------------------------------------
1226
1230
# The following tests - vtab1-18.* - test that the optimization of LIKE
1227
1231
# constraints in where.c plays well with virtual tables.
1275
1279
}
1276
1280
do_execsql_test 18.2.x {  PRAGMA case_sensitive_like = OFF }
1277
1281
 
 
1282
#-------------------------------------------------------------------------
 
1283
# Test that an existing module may not be overridden.
 
1284
#
 
1285
do_test 19.1 {
 
1286
  sqlite3 db2 test.db
 
1287
  register_echo_module [sqlite3_connection_pointer db2]
 
1288
} SQLITE_OK
 
1289
do_test 19.2 {
 
1290
  register_echo_module [sqlite3_connection_pointer db2]
 
1291
} SQLITE_MISUSE
 
1292
do_test 19.3 {
 
1293
  db2 close
 
1294
} {}
 
1295
 
1278
1296
finish_test