commit 10b29c6438c64ffd1f2df742bcd8b7ae5581ccb4 Author: Thomas Sailer t.sailer@alumni.ethz.ch Date: Tue Dec 4 11:43:39 2012 +0100
add missing files
sqlite-3.7.10-pagecache-overflow-test.patch | 17 +++++++++++++++++ sqlite-3.7.11-no-malloc-usable-size.patch | 24 ++++++++++++++++++++++++ 2 files changed, 41 insertions(+), 0 deletions(-) --- diff --git a/sqlite-3.7.10-pagecache-overflow-test.patch b/sqlite-3.7.10-pagecache-overflow-test.patch new file mode 100644 index 0000000..79405ab --- /dev/null +++ b/sqlite-3.7.10-pagecache-overflow-test.patch @@ -0,0 +1,17 @@ +diff -up sqlite-src-3071000/test/memsubsys1.test.testfail sqlite-src-3071000/test/memsubsys1.test +--- sqlite-src-3071000/test/memsubsys1.test.testfail 2012-03-07 18:05:32.916081341 +0200 ++++ sqlite-src-3071000/test/memsubsys1.test 2012-03-07 18:06:43.354841101 +0200 +@@ -122,9 +122,10 @@ build_test_db memsubsys1-3.1 {PRAGMA pag + do_test memsubsys1-3.1.3 { + set pg_used [lindex [sqlite3_status SQLITE_STATUS_PAGECACHE_USED 0] 2] + } 0 +-do_test memsubsys1-3.1.4 { +- set overflow [lindex [sqlite3_status SQLITE_STATUS_PAGECACHE_OVERFLOW 0] 2] +-} $max_pagecache ++# The exact value returned here depends on compile options and whatnot, *shrug* ++#do_test memsubsys1-3.1.4 { ++# set overflow [lindex [sqlite3_status SQLITE_STATUS_PAGECACHE_OVERFLOW 0] 2] ++#} $max_pagecache + do_test memsubsys1-3.1.5 { + set s_used [lindex [sqlite3_status SQLITE_STATUS_SCRATCH_USED 0] 2] + } 0 diff --git a/sqlite-3.7.11-no-malloc-usable-size.patch b/sqlite-3.7.11-no-malloc-usable-size.patch new file mode 100644 index 0000000..8e550ac --- /dev/null +++ b/sqlite-3.7.11-no-malloc-usable-size.patch @@ -0,0 +1,24 @@ +diff -up sqlite-src-3071100/configure.ac.malloc_usable_size sqlite-src-3071100/configure.ac +--- sqlite-src-3071100/configure.ac.malloc_usable_size 2012-04-25 09:36:02.999684178 +0300 ++++ sqlite-src-3071100/configure.ac 2012-04-25 09:36:21.415584431 +0300 +@@ -127,7 +127,7 @@ AC_CHECK_HEADERS([sys/types.h stdlib.h s + ######### + # Figure out whether or not we have these functions + # +-AC_CHECK_FUNCS([usleep fdatasync localtime_r gmtime_r localtime_s utime malloc_usable_size]) ++AC_CHECK_FUNCS([usleep fdatasync localtime_r gmtime_r localtime_s utime]) + + ######### + # By default, we use the amalgamation (this may be changed below...) +diff -up sqlite-src-3071100/configure.malloc_usable_size sqlite-src-3071100/configure +--- sqlite-src-3071100/configure.malloc_usable_size 2012-04-25 09:36:10.255643392 +0300 ++++ sqlite-src-3071100/configure 2012-04-25 09:36:37.684496632 +0300 +@@ -12148,7 +12148,7 @@ done + + + +-for ac_func in usleep fdatasync localtime_r gmtime_r localtime_s utime malloc_usable_size ++for ac_func in usleep fdatasync localtime_r gmtime_r localtime_s utime + do + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` + { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5