mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-08 14:02:16 +03:00
Fix a couple of problems with variable initializations picked up by stricter compilers. (CVS 5691)
FossilOrigin-Name: f4293d148007515eaf8eb9738f62554a963abe8e
This commit is contained in:
14
manifest
14
manifest
@@ -1,5 +1,5 @@
|
|||||||
C Fix\ssome\strivial\scases\swhere\sdatabase\scorruption\swas\scausing\san\serror\scode\sother\sthan\sSQLITE_CORRUPT\sto\sbe\sreturned.\s(CVS\s5690)
|
C Fix\sa\scouple\sof\sproblems\swith\svariable\sinitializations\spicked\sup\sby\sstricter\scompilers.\s(CVS\s5691)
|
||||||
D 2008-09-10T17:53:36
|
D 2008-09-11T10:29:16
|
||||||
F Makefile.arm-wince-mingw32ce-gcc fcd5e9cd67fe88836360bb4f9ef4cb7f8e2fb5a0
|
F Makefile.arm-wince-mingw32ce-gcc fcd5e9cd67fe88836360bb4f9ef4cb7f8e2fb5a0
|
||||||
F Makefile.in d15a7ebfe5e057a72a49805ffb302dbb601c8329
|
F Makefile.in d15a7ebfe5e057a72a49805ffb302dbb601c8329
|
||||||
F Makefile.linux-gcc d53183f4aa6a9192d249731c90dbdffbd2c68654
|
F Makefile.linux-gcc d53183f4aa6a9192d249731c90dbdffbd2c68654
|
||||||
@@ -137,7 +137,7 @@ F src/os_common.h 24525d8b7bce66c374dfc1810a6c9043f3359b60
|
|||||||
F src/os_os2.c e391fc95adc744bbdcefd4d11e3066998185a0a0
|
F src/os_os2.c e391fc95adc744bbdcefd4d11e3066998185a0a0
|
||||||
F src/os_unix.c 075c3e474d20203153da1b2eb3f0fe3e2096f2de
|
F src/os_unix.c 075c3e474d20203153da1b2eb3f0fe3e2096f2de
|
||||||
F src/os_win.c 3209dc0ed734291764393ea8d534ba0d8696a540
|
F src/os_win.c 3209dc0ed734291764393ea8d534ba0d8696a540
|
||||||
F src/pager.c 2280eef428c33cfe9d7378f85d59cf7ea9ff5c70
|
F src/pager.c b1ea487022bf91ffba58fc4c02518398290ac2c2
|
||||||
F src/pager.h c45380ca9d0933ea5bc4ecb3a43958b6d2ec5a9c
|
F src/pager.h c45380ca9d0933ea5bc4ecb3a43958b6d2ec5a9c
|
||||||
F src/parse.y d0f76d2cb8d6883d5600dc20beb961a6022b94b8
|
F src/parse.y d0f76d2cb8d6883d5600dc20beb961a6022b94b8
|
||||||
F src/pcache.c ff79cb5eb797d0f1a244b4332c2d39cb5cfd066b
|
F src/pcache.c ff79cb5eb797d0f1a244b4332c2d39cb5cfd066b
|
||||||
@@ -156,7 +156,7 @@ F src/sqliteLimit.h f435e728c6b620ef7312814d660a81f9356eb5c8
|
|||||||
F src/status.c 237b193efae0cf6ac3f0817a208de6c6c6ef6d76
|
F src/status.c 237b193efae0cf6ac3f0817a208de6c6c6ef6d76
|
||||||
F src/table.c 22744786199c9195720c15a7a42cb97b2e2728d8
|
F src/table.c 22744786199c9195720c15a7a42cb97b2e2728d8
|
||||||
F src/tclsqlite.c a6a346f42322ae1df980228306da6c3cea4dd680
|
F src/tclsqlite.c a6a346f42322ae1df980228306da6c3cea4dd680
|
||||||
F src/test1.c 349606445a5a938e9fa9b5e410413632c6c25f87
|
F src/test1.c c4de690aad182606e5914f6f3c8f43869fbdaaa8
|
||||||
F src/test2.c eaa77124786649eedf47d3c5e94d8070c0da228f
|
F src/test2.c eaa77124786649eedf47d3c5e94d8070c0da228f
|
||||||
F src/test3.c e85b7ce5c28c3ce7fbdbf7f98e1467b19786c62b
|
F src/test3.c e85b7ce5c28c3ce7fbdbf7f98e1467b19786c62b
|
||||||
F src/test4.c 41056378671e7b00e6305fa9ac6fa27e6f96f406
|
F src/test4.c 41056378671e7b00e6305fa9ac6fa27e6f96f406
|
||||||
@@ -635,7 +635,7 @@ F tool/speedtest16.c c8a9c793df96db7e4933f0852abb7a03d48f2e81
|
|||||||
F tool/speedtest2.tcl ee2149167303ba8e95af97873c575c3e0fab58ff
|
F tool/speedtest2.tcl ee2149167303ba8e95af97873c575c3e0fab58ff
|
||||||
F tool/speedtest8.c 1dbced29de5f59ba2ebf877edcadf171540374d1
|
F tool/speedtest8.c 1dbced29de5f59ba2ebf877edcadf171540374d1
|
||||||
F tool/speedtest8inst1.c 293327bc76823f473684d589a8160bde1f52c14e
|
F tool/speedtest8inst1.c 293327bc76823f473684d589a8160bde1f52c14e
|
||||||
P 93545861a70c190d67b0d1effdd8fe038d28811c
|
P 89fda074f6b4959c32f1083badba3c73cffb4995
|
||||||
R ca5d96095f41db68c113b9e97492618c
|
R 85812e7746203ab8537445f3f86cd08c
|
||||||
U danielk1977
|
U danielk1977
|
||||||
Z 9e0933fb92abc116c50b0b29f1654435
|
Z 27c3f8ea06b509546e4bacb6e96912d7
|
||||||
|
@@ -1 +1 @@
|
|||||||
89fda074f6b4959c32f1083badba3c73cffb4995
|
f4293d148007515eaf8eb9738f62554a963abe8e
|
@@ -18,7 +18,7 @@
|
|||||||
** file simultaneously, or one process from reading the database while
|
** file simultaneously, or one process from reading the database while
|
||||||
** another is writing.
|
** another is writing.
|
||||||
**
|
**
|
||||||
** @(#) $Id: pager.c,v 1.488 2008/09/08 15:35:07 danielk1977 Exp $
|
** @(#) $Id: pager.c,v 1.489 2008/09/11 10:29:16 danielk1977 Exp $
|
||||||
*/
|
*/
|
||||||
#ifndef SQLITE_OMIT_DISKIO
|
#ifndef SQLITE_OMIT_DISKIO
|
||||||
#include "sqliteInt.h"
|
#include "sqliteInt.h"
|
||||||
@@ -578,7 +578,7 @@ static void seekJournalHdr(Pager *pPager){
|
|||||||
*/
|
*/
|
||||||
static int zeroJournalHdr(Pager *pPager, int doTruncate){
|
static int zeroJournalHdr(Pager *pPager, int doTruncate){
|
||||||
int rc = SQLITE_OK;
|
int rc = SQLITE_OK;
|
||||||
static const char zeroHdr[28] = {};
|
static const char zeroHdr[28] = {0};
|
||||||
|
|
||||||
if( pPager->journalOff ){
|
if( pPager->journalOff ){
|
||||||
i64 iLimit = pPager->journalSizeLimit;
|
i64 iLimit = pPager->journalSizeLimit;
|
||||||
|
@@ -13,7 +13,7 @@
|
|||||||
** is not included in the SQLite library. It is used for automated
|
** is not included in the SQLite library. It is used for automated
|
||||||
** testing of the SQLite library.
|
** testing of the SQLite library.
|
||||||
**
|
**
|
||||||
** $Id: test1.c,v 1.324 2008/09/02 14:07:24 danielk1977 Exp $
|
** $Id: test1.c,v 1.325 2008/09/11 10:29:16 danielk1977 Exp $
|
||||||
*/
|
*/
|
||||||
#include "sqliteInt.h"
|
#include "sqliteInt.h"
|
||||||
#include "tcl.h"
|
#include "tcl.h"
|
||||||
@@ -3781,7 +3781,7 @@ static int test_stmt_int(
|
|||||||
int col;
|
int col;
|
||||||
int (*xFunc)(sqlite3_stmt*, int);
|
int (*xFunc)(sqlite3_stmt*, int);
|
||||||
|
|
||||||
xFunc = (const void *(*)(sqlite3_stmt*, int))clientData;
|
xFunc = (int (*)(sqlite3_stmt*, int))clientData;
|
||||||
if( objc!=3 ){
|
if( objc!=3 ){
|
||||||
Tcl_AppendResult(interp, "wrong # args: should be \"",
|
Tcl_AppendResult(interp, "wrong # args: should be \"",
|
||||||
Tcl_GetString(objv[0]), " STMT column", 0);
|
Tcl_GetString(objv[0]), " STMT column", 0);
|
||||||
|
Reference in New Issue
Block a user