Commit 6e86a2a8 authored by Mike McCormack's avatar Mike McCormack Committed by Alexandre Julliard

Sql tokens are case insensitive in msi.dll.

parent 14231aa8
......@@ -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))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment