/ Check-in [9f591ac078]
Login

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

Overview
Comment:Remove a "puts" statement accidentally left in a test script.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | reuse-schema
Files: files | file ages | folders
SHA3-256: 9f591ac07871958d173ae4cf9065c8000a9efb80676d158935d2700fff61a361
User & Date: dan 2019-03-26 19:14:50
Wiki:reuse-schema
Context
2019-04-15
15:35
Merge recent changes from trunk into reuse-schema check-in: 5c6c9e7f6f user: drh tags: reuse-schema
2019-03-26
19:14
Remove a "puts" statement accidentally left in a test script. check-in: 9f591ac078 user: dan tags: reuse-schema
18:40
Add a few extra tests for SQLITE_STATUS_SCHEMA_USED with shared-schema databases. check-in: e399fede7b user: dan tags: reuse-schema
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to test/reuse3.test.

336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
  expr ($N1==0 && $N2==0)
} {1}

do_test 6.3 {
  execsql { SELECT * FROM main.t1 }
  set N1 [lindex [sqlite3_db_status db SCHEMA_USED 0] 1]
  set N2 [lindex [sqlite3_db_status db SCHEMA_USED 0] 1]
  puts $N1
  expr {$N1>0 && $N2>0 && $N1==$N2}
} {1}

do_test 6.4 {
  execsql { SELECT * FROM aux1.t1 }
  set N3 [lindex [sqlite3_db_status db SCHEMA_USED 0] 1]
  set N4 [lindex [sqlite3_db_status db SCHEMA_USED 0] 1]
  expr {$N3==$N1 && $N4==$N1}
} {1}

finish_test








<












336
337
338
339
340
341
342

343
344
345
346
347
348
349
350
351
352
353
354
  expr ($N1==0 && $N2==0)
} {1}

do_test 6.3 {
  execsql { SELECT * FROM main.t1 }
  set N1 [lindex [sqlite3_db_status db SCHEMA_USED 0] 1]
  set N2 [lindex [sqlite3_db_status db SCHEMA_USED 0] 1]

  expr {$N1>0 && $N2>0 && $N1==$N2}
} {1}

do_test 6.4 {
  execsql { SELECT * FROM aux1.t1 }
  set N3 [lindex [sqlite3_db_status db SCHEMA_USED 0] 1]
  set N4 [lindex [sqlite3_db_status db SCHEMA_USED 0] 1]
  expr {$N3==$N1 && $N4==$N1}
} {1}

finish_test