1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-08 14:02:16 +03:00

Fix a couple of harmless nuisance warnings. (CVS 6438)

FossilOrigin-Name: 53dac0a455b9a822f710c257711e8d319060cf84
This commit is contained in:
drh
2009-04-02 17:22:41 +00:00
parent e8902a70fe
commit de46798569
4 changed files with 12 additions and 12 deletions

View File

@@ -1,5 +1,5 @@
C Disable\sthe\squery\sflattening\soptimization\swhen\sthe\ssubquery\sis\sa\scompound\nquery\swith\san\sORDER\sBY\sclause.\s\sTicket\s#3773\sshows\swhy\sthat\scombination\ndoes\snot\swork.\s(CVS\s6437) C Fix\sa\scouple\sof\sharmless\snuisance\swarnings.\s(CVS\s6438)
D 2009-04-02T16:59:47 D 2009-04-02T17:22:42
F Makefile.arm-wince-mingw32ce-gcc fcd5e9cd67fe88836360bb4f9ef4cb7f8e2fb5a0 F Makefile.arm-wince-mingw32ce-gcc fcd5e9cd67fe88836360bb4f9ef4cb7f8e2fb5a0
F Makefile.in 583e87706abc3026960ed759aff6371faf84c211 F Makefile.in 583e87706abc3026960ed759aff6371faf84c211
F Makefile.linux-gcc d53183f4aa6a9192d249731c90dbdffbd2c68654 F Makefile.linux-gcc d53183f4aa6a9192d249731c90dbdffbd2c68654
@@ -122,14 +122,14 @@ F src/insert.c 71286d081a919a27ef22eaeccbe2718f93dc6aa9
F src/journal.c e00df0c0da8413ab6e1bb7d7cab5665d4a9000d0 F src/journal.c e00df0c0da8413ab6e1bb7d7cab5665d4a9000d0
F src/legacy.c 2ad5b52df322d0f132f66817095e0e79c8942611 F src/legacy.c 2ad5b52df322d0f132f66817095e0e79c8942611
F src/loadext.c 3f96631089fc4f3871a67f02f2e4fc7ea4d51edc F src/loadext.c 3f96631089fc4f3871a67f02f2e4fc7ea4d51edc
F src/main.c 95e13cd23b7a88e33c1acfe233c748fd9dd7e467 F src/main.c 5e36e465932ad2b80c38b85dc82d2f2bf6e0f8ae
F src/malloc.c a1f0f8ae110abb8eb546e259ab0eaea7e0f9b588 F src/malloc.c a1f0f8ae110abb8eb546e259ab0eaea7e0f9b588
F src/mem0.c f2f84062d1f35814d6535c9f9e33de3bfb3b132c F src/mem0.c f2f84062d1f35814d6535c9f9e33de3bfb3b132c
F src/mem1.c e6d5c23941288df8191b8a98c28e3f57771e2270 F src/mem1.c e6d5c23941288df8191b8a98c28e3f57771e2270
F src/mem2.c d02bd6a5b34f2d59012a852615621939d9c09548 F src/mem2.c d02bd6a5b34f2d59012a852615621939d9c09548
F src/mem3.c 67153ec933e08b70714055e872efb58a6b287939 F src/mem3.c 67153ec933e08b70714055e872efb58a6b287939
F src/mem5.c 838309b521c96a2a34507f74a5a739d28de4aac6 F src/mem5.c 838309b521c96a2a34507f74a5a739d28de4aac6
F src/memjournal.c 2fc78ced7b47ba54efbf15a129f09e0733f6adbd F src/memjournal.c d6f5cc35cdba795fc3d39812c5669cc012b5ed6f
F src/mutex.c 5e2ea0e0490a3567dc08a014bcee748c0cea727f F src/mutex.c 5e2ea0e0490a3567dc08a014bcee748c0cea727f
F src/mutex.h 9e686e83a88838dac8b9c51271c651e833060f1e F src/mutex.h 9e686e83a88838dac8b9c51271c651e833060f1e
F src/mutex_noop.c f5a07671f25a1a9bd7c10ad7107bc2585446200f F src/mutex_noop.c f5a07671f25a1a9bd7c10ad7107bc2585446200f
@@ -715,7 +715,7 @@ F tool/speedtest16.c c8a9c793df96db7e4933f0852abb7a03d48f2e81
F tool/speedtest2.tcl ee2149167303ba8e95af97873c575c3e0fab58ff F tool/speedtest2.tcl ee2149167303ba8e95af97873c575c3e0fab58ff
F tool/speedtest8.c 2902c46588c40b55661e471d7a86e4dd71a18224 F tool/speedtest8.c 2902c46588c40b55661e471d7a86e4dd71a18224
F tool/speedtest8inst1.c 293327bc76823f473684d589a8160bde1f52c14e F tool/speedtest8inst1.c 293327bc76823f473684d589a8160bde1f52c14e
P 995f2b9b1031fadc85e179701536b9dd4153654b P 23f90d50737a36ebd17152dd4667948ce7049967
R 46fe8bc037aad00af46b1a5a3fe7667b R a1a1a4239b62dbb22521cfb4e8b651fc
U drh U drh
Z e4c9dcb4224dad890dcbd3f746876a28 Z fa40ccceb3f1316325395133ac351b79

View File

@@ -1 +1 @@
23f90d50737a36ebd17152dd4667948ce7049967 53dac0a455b9a822f710c257711e8d319060cf84

View File

@@ -14,7 +14,7 @@
** other files are for internal use by SQLite and should not be ** other files are for internal use by SQLite and should not be
** accessed by users of the library. ** accessed by users of the library.
** **
** $Id: main.c,v 1.534 2009/03/23 04:33:32 danielk1977 Exp $ ** $Id: main.c,v 1.535 2009/04/02 17:22:42 drh Exp $
*/ */
#include "sqliteInt.h" #include "sqliteInt.h"
@@ -418,7 +418,7 @@ static int setupLookaside(sqlite3 *db, void *pBuf, int sz, int cnt){
if( pStart ){ if( pStart ){
int i; int i;
LookasideSlot *p; LookasideSlot *p;
assert( sz > sizeof(LookasideSlot*) ); assert( sz > (int)sizeof(LookasideSlot*) );
p = (LookasideSlot*)pStart; p = (LookasideSlot*)pStart;
for(i=cnt-1; i>=0; i--){ for(i=cnt-1; i>=0; i--){
p->pNext = db->lookaside.pFree; p->pNext = db->lookaside.pFree;

View File

@@ -14,7 +14,7 @@
** The in-memory rollback journal is used to journal transactions for ** The in-memory rollback journal is used to journal transactions for
** ":memory:" databases and when the journal_mode=MEMORY pragma is used. ** ":memory:" databases and when the journal_mode=MEMORY pragma is used.
** **
** @(#) $Id: memjournal.c,v 1.9 2009/04/01 23:09:44 drh Exp $ ** @(#) $Id: memjournal.c,v 1.10 2009/04/02 17:22:42 drh Exp $
*/ */
#include "sqliteInt.h" #include "sqliteInt.h"
@@ -31,7 +31,7 @@ typedef struct FileChunk FileChunk;
** a power-of-two allocation. This mimimizes wasted space in power-of-two ** a power-of-two allocation. This mimimizes wasted space in power-of-two
** memory allocators. ** memory allocators.
*/ */
#define JOURNAL_CHUNKSIZE (1024-sizeof(FileChunk*)) #define JOURNAL_CHUNKSIZE ((int)(1024-sizeof(FileChunk*)))
/* Macro to find the minimum of two numeric values. /* Macro to find the minimum of two numeric values.
*/ */