mirror of
https://github.com/sqlite/sqlite.git
synced 2026-01-06 08:01:16 +03:00
Avoid reloading the schema when an expired statement is finalized or reset.
This is only necessary when the in-memory schema does not match the file-system schema. (CVS 4194) FossilOrigin-Name: 61de5b52daa0a862a04147dbaf71fafb696052f6
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
#
|
||||
#***********************************************************************
|
||||
#
|
||||
# $Id: shared.test,v 1.24 2007/05/05 18:39:25 drh Exp $
|
||||
# $Id: shared.test,v 1.25 2007/08/03 07:33:10 danielk1977 Exp $
|
||||
|
||||
set testdir [file dirname $argv0]
|
||||
source $testdir/tester.tcl
|
||||
@@ -667,12 +667,16 @@ ifcapable utf16 {
|
||||
} db2
|
||||
string range [execsql {PRAGMA encoding;} db2] 0 end-2
|
||||
} {UTF-16}
|
||||
|
||||
# Bug #2547 is causing this to fail.
|
||||
if 0 {
|
||||
do_test shared-$av.8.2.3 {
|
||||
catchsql {
|
||||
SELECT * FROM aux.sqlite_master;
|
||||
}
|
||||
} {1 {attached databases must use the same text encoding as main database}}
|
||||
}
|
||||
}
|
||||
|
||||
catch {db close}
|
||||
catch {db2 close}
|
||||
|
||||
Reference in New Issue
Block a user