-C Fix\san\sobsolete\scomment\sthat\sresulted\sin\sincorrect\sdocumentation.\nTicket\s#1003.\s(CVS\s2109)
-D 2004-11-18T02:10:55
+C Speed\simprovement\son\sthe\sLIKE\scommand.\s(CVS\s2110)
+D 2004-11-18T13:49:26
F Makefile.in e747bb5ba34ccbdd81f79dcf1b2b33c02817c21d
F Makefile.linux-gcc a9e5a0d309fa7c38e7c14d3ecf7690879d3a5457
F README a01693e454a00cc117967e3f9fdab2d4d52e9bc1
F src/date.c 65536e7ea04fdde6e0551264fca15966966e171f
F src/delete.c be9d039b819f4a5d0fdfaeceace139ba189ef819
F src/expr.c 4ee3e47358c92a919062255b14057a7a8f641e01
-F src/func.c 897c1c130af08b29cdd89dd89f8c1832bab766b4
+F src/func.c 1a5e23e206ecb81b73e4b97ef1a9654775b53f1e
F src/hash.c a97721a55440b7bea31ffe471bb2f6b4123cddd5
F src/hash.h 1b0c445e1c89ff2aaad9b4605ba61375af001e84
F src/insert.c 9524a6c3e86cbdbae3313f6a083bb9a3e7a2462b
F www/vdbe.tcl 095f106d93875c94b47367384ebc870517431618
F www/version3.tcl 092a01f5ef430d2c4acc0ae558d74c4bb89638a0
F www/whentouse.tcl fdacb0ba2d39831e8a6240d05a490026ad4c4e4c
-P ae45ad863b0854b96da31321c500e3168ef103ad
-R 058dba7580f8046da9393524c9e0b47a
+P c93a9e18d2bf53690f577a901e0defd8a449d56a
+R 41f63229808e62aecab58ec2f7d5cad7
U drh
-Z c7a24402458bd079da88801ec8f8c5f3
+Z 1e586546872d49a1225e64744cd9ac4a
-c93a9e18d2bf53690f577a901e0defd8a449d56a
\ No newline at end of file
+85d56beb7494ce63e70ab1ffc3797c2ee4c36749
\ No newline at end of file
** sqliteRegisterBuildinFunctions() found at the bottom of the file.
** All other code has file scope.
**
-** $Id: func.c,v 1.88 2004/11/17 16:41:30 danielk1977 Exp $
+** $Id: func.c,v 1.89 2004/11/18 13:49:26 drh Exp $
*/
#include <ctype.h>
#include <math.h>
}
zPattern++;
}
- if( c && sqlite3ReadUtf8(&zPattern[1])==esc ){
+ if( c && esc && sqlite3ReadUtf8(&zPattern[1])==esc ){
u8 const *zTemp = &zPattern[1];
sqliteNextChar(zTemp);
c = *zTemp;
if( c2==0 || (seen ^ invert)==0 ) return 0;
sqliteNextChar(zString);
zPattern++;
- }else if( !prevEscape && sqlite3ReadUtf8(zPattern)==esc){
+ }else if( esc && !prevEscape && sqlite3ReadUtf8(zPattern)==esc){
prevEscape = 1;
sqliteNextChar(zPattern);
}else{