]> git.ipfire.org Git - thirdparty/sqlite.git/commitdiff
Patches to support linux on embedded platforms. (CVS 3049)
authordrh <drh@noemail.net>
Tue, 31 Jan 2006 20:49:13 +0000 (20:49 +0000)
committerdrh <drh@noemail.net>
Tue, 31 Jan 2006 20:49:13 +0000 (20:49 +0000)
FossilOrigin-Name: a088eb6d6eda70d89add1e5d95be5efda6c0de67

manifest
manifest.uuid
src/date.c
src/experimental.c
src/sqlite.h.in

index da368d0a3fce5535463e87d9ccc76ba0ed74549f..3dc06a10bab969d62f867da1038c024eb8bb5bd0 100644 (file)
--- a/manifest
+++ b/manifest
@@ -1,5 +1,5 @@
-C Fix\ssome\spointless\swarnings\sfrom\soverly-pedantic\scompilers.\s(CVS\s3048)
-D 2006-01-31T19:31:44
+C Patches\sto\ssupport\slinux\son\sembedded\splatforms.\s(CVS\s3049)
+D 2006-01-31T20:49:13
 F Makefile.in e936c6fc3134838318aa0335a85041e6da31f6ee
 F Makefile.linux-gcc 74ba0eadf88748a9ce3fd03d2a3ede2e6715baec
 F README 9c4e2d6706bdcc3efdd773ce752a8cdab4f90028
@@ -39,9 +39,9 @@ F src/btree.h 5663c4f43e8521546ccebc8fc95acb013b8f3184
 F src/build.c feaa61e769d7887ffeaa060d746638c7b3e994ef
 F src/callback.c 1bf497306c32229114f826707054df7ebe10abf2
 F src/complete.c 7d1a44be8f37de125fcafd3d3a018690b3799675
-F src/date.c c70a4f88e495ae2c523f6ef3848c26a021c96de8
+F src/date.c cd2bd5d1ebc6fa12d6312f69789ae5b0a2766f2e
 F src/delete.c 56ab34c3a384caa5d5ea06f5739944957e2e4213
-F src/experimental.c 50c1e3b34f752f4ac10c36f287db095c2b61766d
+F src/experimental.c 1b2d1a6cd62ecc39610e97670332ca073c50792b
 F src/expr.c 1149c3380bfce27703f5e9bec7dfb8e51baaf9d9
 F src/func.c 96b26601c092b7b43a13e440e3f988b32a385f6a
 F src/hash.c 8747cf51d12de46512880dfcf1b68b4e24072863
@@ -69,7 +69,7 @@ F src/random.c d40f8d356cecbd351ccfab6eaedd7ec1b54f5261
 F src/select.c daee9b20702ba51cf3807fc1b130edd8846e3e48
 F src/server.c 087b92a39d883e3fa113cae259d64e4c7438bc96
 F src/shell.c 738f55ed75fb36731e764bfdb40756ac43b90b08
-F src/sqlite.h.in 492580f7e3ff71eb43193eb7bb98e2d549889ce3
+F src/sqlite.h.in 0faed8909639e4d87a9641e1942065757d23adc5
 F src/sqliteInt.h 0121298397ac14eb468ab1ba9d488ac7ed7d88a1
 F src/table.c 486dcfce532685b53b5a2b5da8bba0ded6fb2316
 F src/tclsqlite.c 7764ab34df617b3d3cfd5f0fdf3444ed219c11d6
@@ -349,7 +349,7 @@ F www/tclsqlite.tcl bb0d1357328a42b1993d78573e587c6dcbc964b9
 F www/vdbe.tcl 87a31ace769f20d3627a64fa1fade7fed47b90d0
 F www/version3.tcl a99cf5f6d8bd4d5537584a2b342f0fb9fa601d8b
 F www/whentouse.tcl 97e2b5cd296f7d8057e11f44427dea8a4c2db513
-P 1e68ac590d9edd3784cd7afd6705a30f01740d0d
-R feb097bc1a919e0dd1614ba63778df07
+P b922c8e45f9a7799583d8b42875b27032fd71422
+R b8251799cdb5710fd1ee4d218b3330fc
 U drh
-Z df3a79e7f43ae3ab965d8e06e4f48612
+Z 30ced3c5bffcb60966170fd64437cef6
index 894867c2c6253209ecd715017287af5f05645e65..9d2f51843e9a672d4889345d196824b4448afa0a 100644 (file)
@@ -1 +1 @@
-b922c8e45f9a7799583d8b42875b27032fd71422
\ No newline at end of file
+a088eb6d6eda70d89add1e5d95be5efda6c0de67
\ No newline at end of file
index 4a09a4f8df5456cd7b7899573b4f683d13b3aaf9..8188f26090cc05b229547246481188f65c6ef327 100644 (file)
@@ -16,7 +16,7 @@
 ** sqlite3RegisterDateTimeFunctions() found at the bottom of the file.
 ** All other code has file scope.
 **
-** $Id: date.c,v 1.53 2006/01/24 12:09:19 danielk1977 Exp $
+** $Id: date.c,v 1.54 2006/01/31 20:49:13 drh Exp $
 **
 ** NOTES:
 **
@@ -117,8 +117,8 @@ static int getDigits(const char *zDate, ...){
     zDate++;
     cnt++;
   }while( nextC );
-  va_end(ap);
 end_getDigits:
+  va_end(ap);
   return cnt;
 }
 
index d198fca9eb33bef4d0f4c329b9c5915f50d0e55c..052eb0b6df68296d2c5a66d8d6dbff5781fc619c 100644 (file)
 ** This file contains C code routines that are not a part of the official
 ** SQLite API.  These routines are unsupported.
 **
-** $Id: experimental.c,v 1.3 2005/03/02 05:18:30 drh Exp $
+** $Id: experimental.c,v 1.4 2006/01/31 20:49:13 drh Exp $
 */
 #include "sqliteInt.h"
+#include "os.h"
 
 /*
 ** Set all the parameters in the compiled SQL statement to NULL.
index 8cc900e00c41c0f584ebbf41ffcae5927d1d9410..3e8b02266df5f1f7bfc77012f4f799146fa0d675 100644 (file)
@@ -12,7 +12,7 @@
 ** This header file defines the interface that the SQLite library
 ** presents to client programs.
 **
-** @(#) $Id: sqlite.h.in,v 1.156 2006/01/12 02:50:10 drh Exp $
+** @(#) $Id: sqlite.h.in,v 1.157 2006/01/31 20:49:13 drh Exp $
 */
 #ifndef _SQLITE3_H_
 #define _SQLITE3_H_
@@ -164,6 +164,7 @@ int sqlite3_exec(
 ** Return values for sqlite3_exec() and sqlite3_step()
 */
 #define SQLITE_OK           0   /* Successful result */
+/* beginning-of-error-codes */
 #define SQLITE_ERROR        1   /* SQL error or missing database */
 #define SQLITE_INTERNAL     2   /* NOT USED. Internal logic error in SQLite */
 #define SQLITE_PERM         3   /* Access permission denied */
@@ -192,7 +193,7 @@ int sqlite3_exec(
 #define SQLITE_NOTADB      26   /* File opened that is not a database file */
 #define SQLITE_ROW         100  /* sqlite3_step() has another row ready */
 #define SQLITE_DONE        101  /* sqlite3_step() has finished executing */
-/* end-of-return-codes */
+/* end-of-error-codes */
 
 /*
 ** Each entry in an SQLite table has a unique integer key.  (The key is