1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-09 14:21:03 +03:00

Make the GLOB work write with upper-case characters. Ticket #226. (CVS 831)

FossilOrigin-Name: 7ea46e706485cc159f9d1c7e69efcdd048a0bb12
This commit is contained in:
drh
2003-01-14 00:44:08 +00:00
parent e5f9c6442f
commit 7160220495
4 changed files with 45 additions and 13 deletions

View File

@@ -14,7 +14,7 @@
** This file contains functions for allocating memory, comparing
** strings, and stuff like that.
**
** $Id: util.c,v 1.55 2003/01/12 18:02:19 drh Exp $
** $Id: util.c,v 1.56 2003/01/14 00:44:09 drh Exp $
*/
#include "sqliteInt.h"
#include <stdarg.h>
@@ -1028,7 +1028,6 @@ sqliteGlobCompare(const unsigned char *zPattern, const unsigned char *zString){
zPattern++;
}
if( c==0 ) return 1;
c = UpperToLower[c];
if( c=='[' ){
while( *zString && sqliteGlobCompare(&zPattern[1],zString)==0 ){
sqliteNextChar(zString);