Sql tokens are case insensitive in msi.dll.
This commit is contained in:
parent
14231aa83b
commit
6e86a2a81a
|
@ -154,6 +154,8 @@ int sqliteKeywordCode(const WCHAR *z, int n){
|
|||
char buffer[0x10];
|
||||
|
||||
len = WideCharToMultiByte( CP_ACP, 0, z, n, buffer, sizeof buffer, NULL, NULL );
|
||||
for(i=0; i<len; i++)
|
||||
buffer[i] = toupper(buffer[i]);
|
||||
for(i=0; i<KEYWORD_COUNT; i++)
|
||||
{
|
||||
if(memcmp(buffer, aKeywordTable[i].zName, len))
|
||||
|
|
Loading…
Reference in New Issue