mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-07 02:42:48 +03:00
Make sure the *pzErrMsg return from sqlite3_get_table() is aways zeroed.
Ticket #3598. (CVS 6195) FossilOrigin-Name: 7035c35dbef72b7b4d00201a65734a6d93dd0d3e
This commit is contained in:
12
manifest
12
manifest
@@ -1,5 +1,5 @@
|
|||||||
C Fix\sthe\s--enable-tempstore\soption\son\sthe\sconfigure\sscript.\s\sTicket\s#3599\s(CVS\s6194)
|
C Make\ssure\sthe\s*pzErrMsg\sreturn\sfrom\ssqlite3_get_table()\sis\saways\szeroed.\nTicket\s#3598.\s(CVS\s6195)
|
||||||
D 2009-01-19T18:18:40
|
D 2009-01-19T20:49:10
|
||||||
F Makefile.arm-wince-mingw32ce-gcc fcd5e9cd67fe88836360bb4f9ef4cb7f8e2fb5a0
|
F Makefile.arm-wince-mingw32ce-gcc fcd5e9cd67fe88836360bb4f9ef4cb7f8e2fb5a0
|
||||||
F Makefile.in 6619a1b72de7ada2bb7be97862913e27c6f5e339
|
F Makefile.in 6619a1b72de7ada2bb7be97862913e27c6f5e339
|
||||||
F Makefile.linux-gcc d53183f4aa6a9192d249731c90dbdffbd2c68654
|
F Makefile.linux-gcc d53183f4aa6a9192d249731c90dbdffbd2c68654
|
||||||
@@ -161,7 +161,7 @@ F src/sqlite3ext.h 1db7d63ab5de4b3e6b83dd03d1a4e64fef6d2a17
|
|||||||
F src/sqliteInt.h 65b7b15aac8579b7c889416735637f10a8463002
|
F src/sqliteInt.h 65b7b15aac8579b7c889416735637f10a8463002
|
||||||
F src/sqliteLimit.h ffe93f5a0c4e7bd13e70cd7bf84cfb5c3465f45d
|
F src/sqliteLimit.h ffe93f5a0c4e7bd13e70cd7bf84cfb5c3465f45d
|
||||||
F src/status.c 237b193efae0cf6ac3f0817a208de6c6c6ef6d76
|
F src/status.c 237b193efae0cf6ac3f0817a208de6c6c6ef6d76
|
||||||
F src/table.c 23db1e5f27c03160987c122a078b4bb51ef0b2f8
|
F src/table.c 332ab0ea691e63862e2a8bdfe2c0617ee61062a3
|
||||||
F src/tclsqlite.c 7d77c3899d0244804d2773c9157e783788627762
|
F src/tclsqlite.c 7d77c3899d0244804d2773c9157e783788627762
|
||||||
F src/test1.c 58c0026d8764635efe8e7e7cea61e41faecef597
|
F src/test1.c 58c0026d8764635efe8e7e7cea61e41faecef597
|
||||||
F src/test2.c 87d2ee3aa13321f1bba55dc9c675b56d97dbc6b4
|
F src/test2.c 87d2ee3aa13321f1bba55dc9c675b56d97dbc6b4
|
||||||
@@ -697,7 +697,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 6242f113eb40d472b78685c296fecf9f749a11cd
|
P c2eabb99fe852142e54f35f423f766411d7ba6c0
|
||||||
R 78c5b8c7320f377b0f122ec8e03b8c42
|
R 1ba61171a3a984cb84660491522fd174
|
||||||
U drh
|
U drh
|
||||||
Z 535ef11b17683ab64ffd0c55a44c8c29
|
Z 586cbadb7bfc023f291cf235f4552059
|
||||||
|
@@ -1 +1 @@
|
|||||||
c2eabb99fe852142e54f35f423f766411d7ba6c0
|
7035c35dbef72b7b4d00201a65734a6d93dd0d3e
|
@@ -16,7 +16,7 @@
|
|||||||
** These routines are in a separate files so that they will not be linked
|
** These routines are in a separate files so that they will not be linked
|
||||||
** if they are not used.
|
** if they are not used.
|
||||||
**
|
**
|
||||||
** $Id: table.c,v 1.38 2008/12/10 19:26:24 drh Exp $
|
** $Id: table.c,v 1.39 2009/01/19 20:49:10 drh Exp $
|
||||||
*/
|
*/
|
||||||
#include "sqliteInt.h"
|
#include "sqliteInt.h"
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
@@ -132,6 +132,7 @@ int sqlite3_get_table(
|
|||||||
*pazResult = 0;
|
*pazResult = 0;
|
||||||
if( pnColumn ) *pnColumn = 0;
|
if( pnColumn ) *pnColumn = 0;
|
||||||
if( pnRow ) *pnRow = 0;
|
if( pnRow ) *pnRow = 0;
|
||||||
|
if( pzErrMsg ) *pzErrMsg = 0;
|
||||||
res.zErrMsg = 0;
|
res.zErrMsg = 0;
|
||||||
res.nResult = 0;
|
res.nResult = 0;
|
||||||
res.nRow = 0;
|
res.nRow = 0;
|
||||||
|
Reference in New Issue
Block a user