mirror of
https://github.com/sqlite/sqlite.git
synced 2025-11-11 01:42:22 +03:00
Remove a C++-ism from the code. Ticket #3912. (CVS 6752)
FossilOrigin-Name: bc729bc3e6f6e3570103e646080eb119311b0fa7
This commit is contained in:
12
manifest
12
manifest
@@ -1,5 +1,5 @@
|
|||||||
C An\sadditional\smemory\sleak\sin\sthe\sparser\sfixed.\s\sTicket\s#3911.\s(CVS\s6751)
|
C Remove\sa\sC++-ism\sfrom\sthe\scode.\s\sTicket\s#3912.\s(CVS\s6752)
|
||||||
D 2009-06-12T03:47:37
|
D 2009-06-12T11:42:12
|
||||||
F Makefile.arm-wince-mingw32ce-gcc fcd5e9cd67fe88836360bb4f9ef4cb7f8e2fb5a0
|
F Makefile.arm-wince-mingw32ce-gcc fcd5e9cd67fe88836360bb4f9ef4cb7f8e2fb5a0
|
||||||
F Makefile.in 8b8fb7823264331210cddf103831816c286ba446
|
F Makefile.in 8b8fb7823264331210cddf103831816c286ba446
|
||||||
F Makefile.linux-gcc d53183f4aa6a9192d249731c90dbdffbd2c68654
|
F Makefile.linux-gcc d53183f4aa6a9192d249731c90dbdffbd2c68654
|
||||||
@@ -197,7 +197,7 @@ F src/test_server.c f0a403b5f699c09bd2b1236b6f69830fd6221f6b
|
|||||||
F src/test_tclvar.c 9e42fa59d3d2f064b7ab8628e7ab2dc8a9fe93d4
|
F src/test_tclvar.c 9e42fa59d3d2f064b7ab8628e7ab2dc8a9fe93d4
|
||||||
F src/test_thread.c b8a1ab7ca1a632f18e8a361880d5d65eeea08eac
|
F src/test_thread.c b8a1ab7ca1a632f18e8a361880d5d65eeea08eac
|
||||||
F src/test_wsd.c 3ae5101de6cbfda2720152ab659ea84079719241
|
F src/test_wsd.c 3ae5101de6cbfda2720152ab659ea84079719241
|
||||||
F src/tokenize.c d8c6b39a6056db2b47a212607689dd7ee8031c69
|
F src/tokenize.c c0d3e8e9532fc771ff52ac99abcbdb127b14328d
|
||||||
F src/trigger.c c07c5157c58fcdb704f65d5f5e4775276e45bb8b
|
F src/trigger.c c07c5157c58fcdb704f65d5f5e4775276e45bb8b
|
||||||
F src/update.c 6ae6c26adff8dc34532d578f66e6cfde04b5d177
|
F src/update.c 6ae6c26adff8dc34532d578f66e6cfde04b5d177
|
||||||
F src/utf.c 9541d28f40441812c0b40f00334372a0542c00ff
|
F src/utf.c 9541d28f40441812c0b40f00334372a0542c00ff
|
||||||
@@ -734,7 +734,7 @@ 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
|
||||||
F tool/vdbe-compress.tcl 672f81d693a03f80f5ae60bfefacd8a349e76746
|
F tool/vdbe-compress.tcl 672f81d693a03f80f5ae60bfefacd8a349e76746
|
||||||
P bd341a103c25395b1189d05edebfe4af8a943941
|
P 6197b492714e16396941ae6ba61f90f708d54728
|
||||||
R cd135e548bd04e4130a04a18089f1ed0
|
R 35a287ed30a5a4abe3f9902d086b75b9
|
||||||
U drh
|
U drh
|
||||||
Z 1b96a3fcbabb94cf9a879e6d3b453efa
|
Z ccc38ec38f2ea3ed8385702ad4474d78
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
6197b492714e16396941ae6ba61f90f708d54728
|
bc729bc3e6f6e3570103e646080eb119311b0fa7
|
||||||
@@ -15,7 +15,7 @@
|
|||||||
** individual tokens and sends those tokens one-by-one over to the
|
** individual tokens and sends those tokens one-by-one over to the
|
||||||
** parser for analysis.
|
** parser for analysis.
|
||||||
**
|
**
|
||||||
** $Id: tokenize.c,v 1.159 2009/06/09 18:01:38 drh Exp $
|
** $Id: tokenize.c,v 1.160 2009/06/12 11:42:12 drh Exp $
|
||||||
*/
|
*/
|
||||||
#include "sqliteInt.h"
|
#include "sqliteInt.h"
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
@@ -330,8 +330,8 @@ int sqlite3GetToken(const unsigned char *z, int *tokenType){
|
|||||||
#endif
|
#endif
|
||||||
case '@': /* For compatibility with MS SQL Server */
|
case '@': /* For compatibility with MS SQL Server */
|
||||||
case ':': {
|
case ':': {
|
||||||
testcase( z[0]=='$' ); testcase( z[0]=='@' ); testcase( z[0]==':' );
|
|
||||||
int n = 0;
|
int n = 0;
|
||||||
|
testcase( z[0]=='$' ); testcase( z[0]=='@' ); testcase( z[0]==':' );
|
||||||
*tokenType = TK_VARIABLE;
|
*tokenType = TK_VARIABLE;
|
||||||
for(i=1; (c=z[i])!=0; i++){
|
for(i=1; (c=z[i])!=0; i++){
|
||||||
if( IdChar(c) ){
|
if( IdChar(c) ){
|
||||||
|
|||||||
Reference in New Issue
Block a user