Sql tokens are case insensitive in msi.dll.

This commit is contained in:
Mike McCormack 2003-10-30 22:46:59 +00:00 committed by Alexandre Julliard
parent 14231aa83b
commit 6e86a2a81a
1 changed files with 2 additions and 0 deletions

View File

@ -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))