1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-06 15:49:35 +03:00

Fix for ticket #1575. (CVS 2844)

FossilOrigin-Name: 1586921b54da5ba3bea80e8e656a11d32996ab3a
This commit is contained in:
drh
2005-12-29 12:53:09 +00:00
parent a073384f08
commit aa81608eb0
3 changed files with 9 additions and 9 deletions

View File

@@ -1,5 +1,5 @@
C Add\ssupport\sfor\sDROP\sTABLE\sIF\sEXISTS.\s(CVS\s2843) C Fix\sfor\sticket\s#1575.\s(CVS\s2844)
D 2005-12-29T01:11:37 D 2005-12-29T12:53:10
F Makefile.in e3c6b3a38d734d41574c04f2fc90d18de2b87102 F Makefile.in e3c6b3a38d734d41574c04f2fc90d18de2b87102
F Makefile.linux-gcc aee18d8a05546dcf1888bd4547e442008a49a092 F Makefile.linux-gcc aee18d8a05546dcf1888bd4547e442008a49a092
F README 9c4e2d6706bdcc3efdd773ce752a8cdab4f90028 F README 9c4e2d6706bdcc3efdd773ce752a8cdab4f90028
@@ -67,7 +67,7 @@ F src/prepare.c 1417a396efe55e2767f9f97f694d21b8cac2f4d6
F src/printf.c f47a2f4b5387cd2ebb12e9117a1a5d6bd9a2b812 F src/printf.c f47a2f4b5387cd2ebb12e9117a1a5d6bd9a2b812
F src/random.c ff5e9a8cad790e2a51cd4d2e7737dc8540e09d1d F src/random.c ff5e9a8cad790e2a51cd4d2e7737dc8540e09d1d
F src/select.c 2292b065bc6be61e01aad39a2e1b93e332fb7e57 F src/select.c 2292b065bc6be61e01aad39a2e1b93e332fb7e57
F src/shell.c 4872acee1d2a826c73c914961e469e563204b7f9 F src/shell.c 66b073375efbdee19045e7e0cd38b85f9aff71da
F src/sqlite.h.in 015e02efa9e8bafa31b6c270116369ddff4e9803 F src/sqlite.h.in 015e02efa9e8bafa31b6c270116369ddff4e9803
F src/sqliteInt.h 361a613a1b7b1bdf1f040f11fd82e2c3a80a4259 F src/sqliteInt.h 361a613a1b7b1bdf1f040f11fd82e2c3a80a4259
F src/table.c 486dcfce532685b53b5a2b5da8bba0ded6fb2316 F src/table.c 486dcfce532685b53b5a2b5da8bba0ded6fb2316
@@ -331,7 +331,7 @@ F www/tclsqlite.tcl ddcf912ea48695603c8ed7efb29f0812ef8d1b49
F www/vdbe.tcl 87a31ace769f20d3627a64fa1fade7fed47b90d0 F www/vdbe.tcl 87a31ace769f20d3627a64fa1fade7fed47b90d0
F www/version3.tcl a99cf5f6d8bd4d5537584a2b342f0fb9fa601d8b F www/version3.tcl a99cf5f6d8bd4d5537584a2b342f0fb9fa601d8b
F www/whentouse.tcl 97e2b5cd296f7d8057e11f44427dea8a4c2db513 F www/whentouse.tcl 97e2b5cd296f7d8057e11f44427dea8a4c2db513
P 326fc9cc11c86f2d96763537d60757200ce21a84 P a4c547de83d8b27f06a58f9e530a7c983ec1dc3a
R e9c7dff42fb262ec45dcd10426410517 R d2eb26dccbd5fff18c55c4a521df8e83
U drh U drh
Z d9e01061cde9ac664aadc0ebc289bbab Z 8810d9bb0581dec82c81c2f588a4d368

View File

@@ -1 +1 @@
a4c547de83d8b27f06a58f9e530a7c983ec1dc3a 1586921b54da5ba3bea80e8e656a11d32996ab3a

View File

@@ -12,7 +12,7 @@
** This file contains code to implement the "sqlite" command line ** This file contains code to implement the "sqlite" command line
** utility for accessing SQLite databases. ** utility for accessing SQLite databases.
** **
** $Id: shell.c,v 1.129 2005/12/09 14:25:08 danielk1977 Exp $ ** $Id: shell.c,v 1.130 2005/12/29 12:53:10 drh Exp $
*/ */
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
@@ -830,7 +830,7 @@ static void resolve_backslashes(char *z){
}else if( c=='r' ){ }else if( c=='r' ){
c = '\r'; c = '\r';
}else if( c>='0' && c<='7' ){ }else if( c>='0' && c<='7' ){
c =- '0'; c -= '0';
if( z[i+1]>='0' && z[i+1]<='7' ){ if( z[i+1]>='0' && z[i+1]<='7' ){
i++; i++;
c = (c<<3) + z[i] - '0'; c = (c<<3) + z[i] - '0';