Remove the syncOk argument to pager_recycle. Now that sqlite3_memory_release uses a global lru list of page, it is no longer required. (CVS 4364)
FossilOrigin-Name: fb27692ab10b22851b265348bb6b3e1dececd60f
This commit is contained in:
+11
-1
@@ -13,7 +13,7 @@
|
||||
# including the sqlite3_bind_zeroblob(), sqlite3_result_zeroblob(),
|
||||
# and the built-in zeroblob() SQL function.
|
||||
#
|
||||
# $Id: zeroblob.test,v 1.7 2007/09/01 11:04:28 danielk1977 Exp $
|
||||
# $Id: zeroblob.test,v 1.8 2007/09/01 16:16:16 danielk1977 Exp $
|
||||
|
||||
set testdir [file dirname $argv0]
|
||||
source $testdir/tester.tcl
|
||||
@@ -190,4 +190,14 @@ do_test zeroblob-7.3 {
|
||||
sqlite3_finalize $::STMT
|
||||
} {SQLITE_OK}
|
||||
|
||||
# Test that MakeRecord can handle a value with some real content
|
||||
# and a zero-blob tail.
|
||||
#
|
||||
do_test zeroblob-8.1 {
|
||||
llength [execsql {
|
||||
SELECT 'hello' AS a, zeroblob(10) as b from t1 ORDER BY a, b;
|
||||
}]
|
||||
} {8}
|
||||
|
||||
|
||||
finish_test
|
||||
|
||||
Reference in New Issue
Block a user