mirror of
https://github.com/sqlite/sqlite.git
synced 2025-11-11 01:42:22 +03:00
Use memcpy() rather than "=" to copy a structure, in order to work around
a bug in the XLC compiler on AIX. Ticket #3344. (CVS 6003) FossilOrigin-Name: 18bbcafc16bb985a7c74e07ffb9c4f28273a7cfd
This commit is contained in:
12
manifest
12
manifest
@@ -1,5 +1,5 @@
|
|||||||
C Remove\ssome\sobsolete\smarkup\sfrom\ssqlite.h.in.\s(CVS\s6002)
|
C Use\smemcpy()\srather\sthan\s"="\sto\scopy\sa\sstructure,\sin\sorder\sto\swork\saround\na\sbug\sin\sthe\sXLC\scompiler\son\sAIX.\s\sTicket\s#3344.\s(CVS\s6003)
|
||||||
D 2008-12-10T11:44:30
|
D 2008-12-10T11:49:06
|
||||||
F Makefile.arm-wince-mingw32ce-gcc fcd5e9cd67fe88836360bb4f9ef4cb7f8e2fb5a0
|
F Makefile.arm-wince-mingw32ce-gcc fcd5e9cd67fe88836360bb4f9ef4cb7f8e2fb5a0
|
||||||
F Makefile.in f7e4c81c347b04f7b0f1c1b081a168645d7b8af7
|
F Makefile.in f7e4c81c347b04f7b0f1c1b081a168645d7b8af7
|
||||||
F Makefile.linux-gcc d53183f4aa6a9192d249731c90dbdffbd2c68654
|
F Makefile.linux-gcc d53183f4aa6a9192d249731c90dbdffbd2c68654
|
||||||
@@ -200,7 +200,7 @@ F src/vdbeInt.h e6e80a99ce634983b7cc2498843b4d2e5540900a
|
|||||||
F src/vdbeapi.c 20722164e7701a0747eaea03cddbbe0de5cb37bf
|
F src/vdbeapi.c 20722164e7701a0747eaea03cddbbe0de5cb37bf
|
||||||
F src/vdbeaux.c bdf1b3cdf97692eedd4ab4d60510531ab3019683
|
F src/vdbeaux.c bdf1b3cdf97692eedd4ab4d60510531ab3019683
|
||||||
F src/vdbeblob.c b0dcebfafedcf9c0addc7901ad98f6f986c08935
|
F src/vdbeblob.c b0dcebfafedcf9c0addc7901ad98f6f986c08935
|
||||||
F src/vdbemem.c 4f45d0f86804ffeb7f177e371d75ac2393ee9172
|
F src/vdbemem.c 15dc139e0b9e328e63971e02a7552e8da73b16e8
|
||||||
F src/vtab.c 02c51eac45dbff1a1d6e73f58febf92ecb563f7f
|
F src/vtab.c 02c51eac45dbff1a1d6e73f58febf92ecb563f7f
|
||||||
F src/walker.c 488c2660e13224ff70c0c82761118efb547f8f0d
|
F src/walker.c 488c2660e13224ff70c0c82761118efb547f8f0d
|
||||||
F src/where.c c5a21be6d5705d1c2c6f5d56a97785e4752791d2
|
F src/where.c c5a21be6d5705d1c2c6f5d56a97785e4752791d2
|
||||||
@@ -664,7 +664,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 228ebe4115cfb2deafd504a52a230bf646fcd8f1
|
P d1d05e2a8a6e474e4921742ba055200d7f4d21ce
|
||||||
R 7c1a07b82dea099cdd5a50467294f97c
|
R 3cb1e54e772a65be57b4db65ef2876e3
|
||||||
U drh
|
U drh
|
||||||
Z e78d9ac45abf0ead5f64aa5a8530178b
|
Z 967f0ee55c615c78cea9e570be2fe2d2
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
d1d05e2a8a6e474e4921742ba055200d7f4d21ce
|
18bbcafc16bb985a7c74e07ffb9c4f28273a7cfd
|
||||||
@@ -15,7 +15,7 @@
|
|||||||
** only within the VDBE. Interface routines refer to a Mem using the
|
** only within the VDBE. Interface routines refer to a Mem using the
|
||||||
** name sqlite_value
|
** name sqlite_value
|
||||||
**
|
**
|
||||||
** $Id: vdbemem.c,v 1.130 2008/12/09 02:51:24 drh Exp $
|
** $Id: vdbemem.c,v 1.131 2008/12/10 11:49:06 drh Exp $
|
||||||
*/
|
*/
|
||||||
#include "sqliteInt.h"
|
#include "sqliteInt.h"
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
@@ -255,7 +255,7 @@ int sqlite3VdbeMemFinalize(Mem *pMem, FuncDef *pFunc){
|
|||||||
pFunc->xFinalize(&ctx);
|
pFunc->xFinalize(&ctx);
|
||||||
assert( 0==(pMem->flags&MEM_Dyn) && !pMem->xDel );
|
assert( 0==(pMem->flags&MEM_Dyn) && !pMem->xDel );
|
||||||
sqlite3DbFree(pMem->db, pMem->zMalloc);
|
sqlite3DbFree(pMem->db, pMem->zMalloc);
|
||||||
*pMem = ctx.s;
|
memcpy(pMem, &ctx.s, sizeof(ctx.s));
|
||||||
rc = (ctx.isError?SQLITE_ERROR:SQLITE_OK);
|
rc = (ctx.isError?SQLITE_ERROR:SQLITE_OK);
|
||||||
}
|
}
|
||||||
return rc;
|
return rc;
|
||||||
|
|||||||
Reference in New Issue
Block a user