]> git.ipfire.org Git - thirdparty/sqlite.git/commitdiff
Fix the TCL test harness so that it compiles and runs on OSX with
authordrh <drh@noemail.net>
Thu, 11 Dec 2008 02:56:07 +0000 (02:56 +0000)
committerdrh <drh@noemail.net>
Thu, 11 Dec 2008 02:56:07 +0000 (02:56 +0000)
SQLITE_ENABLE_LOCKING_STYLE. (CVS 6017)

FossilOrigin-Name: 561d5de16ec07546a3bb691f308fb2495a0d0a43

manifest
manifest.uuid
src/os_unix.c
src/test1.c

index 9397d006e938edf1aafaaccb6254696ca6407af5..433d090f3b5bdd949fc3e4196f706a3f50f53794 100644 (file)
--- a/manifest
+++ b/manifest
@@ -1,5 +1,5 @@
-C Initialize\sthe\syyzerominor\sconstant\sgenerated\sby\slemon.\s(CVS\s6016)
-D 2008-12-11T02:20:44
+C Fix\sthe\sTCL\stest\sharness\sso\sthat\sit\scompiles\sand\sruns\son\sOSX\swith\nSQLITE_ENABLE_LOCKING_STYLE.\s(CVS\s6017)
+D 2008-12-11T02:56:07
 F Makefile.arm-wince-mingw32ce-gcc fcd5e9cd67fe88836360bb4f9ef4cb7f8e2fb5a0
 F Makefile.in f7e4c81c347b04f7b0f1c1b081a168645d7b8af7
 F Makefile.linux-gcc d53183f4aa6a9192d249731c90dbdffbd2c68654
@@ -137,7 +137,7 @@ F src/os.c ed93a6b46132a602c4fd7a58142e2981c829c79d
 F src/os.h 4ee25a35c00e75a569cecb5080be299b0c3e208e
 F src/os_common.h 24525d8b7bce66c374dfc1810a6c9043f3359b60
 F src/os_os2.c bed77dc26e3a95ce4a204936b9a1ca6fe612fcc5
-F src/os_unix.c 970e4a98a2d026cbeb2464694e4d13e079102b2f
+F src/os_unix.c 96b4a6e87335ba943455740f311b4dfb63f26756
 F src/os_win.c d42d591be8669de0ecf3a0433108d31a8eadcbb3
 F src/pager.c 7e8c2b7b7131031cfa88ab0fdbb2de047f5be934
 F src/pager.h 37f5173612b7803f44656c16e80df3280234bb18
@@ -160,7 +160,7 @@ F src/sqliteLimit.h f435e728c6b620ef7312814d660a81f9356eb5c8
 F src/status.c 237b193efae0cf6ac3f0817a208de6c6c6ef6d76
 F src/table.c 23db1e5f27c03160987c122a078b4bb51ef0b2f8
 F src/tclsqlite.c 23afb60549af943e135ded441a631f4745be6040
-F src/test1.c 30986773b10d75904f21bae5c3e8e8b9f20fa479
+F src/test1.c 9c0502c3627162f969099e57932782057d9139b6
 F src/test2.c 897528183edf2839c2a3c991d415905db56f1240
 F src/test3.c 88a246b56b824275300e6c899634fbac1dc94b14
 F src/test4.c f79ab52d27ff49b784b631a42e2ccd52cfd5c84c
@@ -664,7 +664,7 @@ F tool/speedtest16.c c8a9c793df96db7e4933f0852abb7a03d48f2e81
 F tool/speedtest2.tcl ee2149167303ba8e95af97873c575c3e0fab58ff
 F tool/speedtest8.c 2902c46588c40b55661e471d7a86e4dd71a18224
 F tool/speedtest8inst1.c 293327bc76823f473684d589a8160bde1f52c14e
-P 0a1888a7e6fb56e56d8078e7792379d908ba7a70
-R e2742c33458542496f07a4eaa7dd69d5
+P 76c8f6ba87f333f15444ba5444bc675ec4cfd89e
+R 531940807c37b4def476c14a49838111
 U drh
-Z bde6538d569e22f0cd048e11da7ff49f
+Z fa3c07b59ee479e86fa6ede14fabbca0
index a476c23d5aadff4bc99e616e7959ee39a112a015..499b2836634626d2d36d2d06af37f46ed402cb6d 100644 (file)
@@ -1 +1 @@
-76c8f6ba87f333f15444ba5444bc675ec4cfd89e
\ No newline at end of file
+561d5de16ec07546a3bb691f308fb2495a0d0a43
\ No newline at end of file
index 7675300d7409975c1d5ab459d4cc2540aab0570c..097c044ed3c8114976b7dbeed905ad2d029f8291 100644 (file)
@@ -43,7 +43,7 @@
 **   *  Definitions of sqlite3_vfs objects for all locking methods
 **      plus implementations of sqlite3_os_init() and sqlite3_os_end().
 **
-** $Id: os_unix.c,v 1.231 2008/12/10 19:26:24 drh Exp $
+** $Id: os_unix.c,v 1.232 2008/12/11 02:56:07 drh Exp $
 */
 #include "sqliteInt.h"
 #if SQLITE_OS_UNIX              /* This file is used on unix only */
@@ -2936,7 +2936,7 @@ static int unixFileSize(sqlite3_file *id, i64 *pSize){
   return SQLITE_OK;
 }
 
-#if SQLITE_ENABLE_LOCKING_MODE && defined(__DARWIN__)
+#if SQLITE_ENABLE_LOCKING_STYLE && defined(__DARWIN__)
 /*
 ** Handler for proxy-locking file-control verbs.  Defined below in the
 ** proxying locking division.
@@ -3451,7 +3451,7 @@ static int getTempname(int nBuf, char *zBuf){
   return SQLITE_OK;
 }
 
-#if SQLITE_ENABLE_LOCKING_MODE && defined(__DARWIN__)
+#if SQLITE_ENABLE_LOCKING_STYLE && defined(__DARWIN__)
 /*
 ** Routine to transform a unixFile into a proxy-locking unixFile.
 ** Implementation in the proxy-lock division, but used by unixOpen()
index 4e7ba565e0a96f3a32d0f90a6d670a238fb5a7c6..37f5778932011aff276f9925160fc78706e0beb9 100644 (file)
@@ -13,7 +13,7 @@
 ** is not included in the SQLite library.  It is used for automated
 ** testing of the SQLite library.
 **
-** $Id: test1.c,v 1.336 2008/12/05 17:17:08 drh Exp $
+** $Id: test1.c,v 1.337 2008/12/11 02:56:07 drh Exp $
 */
 #include "sqliteInt.h"
 #include "tcl.h"
@@ -4536,6 +4536,7 @@ static int file_control_lockproxy_test(
   {
     char *proxyPath = "test.proxy";
     char *testPath;
+    int rc;
     rc = sqlite3_file_control(db, NULL, SQLITE_SET_LOCKPROXYFILE, proxyPath);
     if( rc ){
       Tcl_SetObjResult(interp, Tcl_NewIntObj(rc)); return TCL_ERROR;