Commit 08d1398d authored by Mike McCormack's avatar Mike McCormack Committed by Alexandre Julliard

msi: Double quotes are not valid in queries.

parent ef1af6ad
......@@ -672,7 +672,7 @@ static void test_msibadqueries(void)
ok(r == ERROR_BAD_QUERY_SYNTAX, "query failed\n");
r = try_query( hdb, "select * from c where b = \"x\"");
todo_wine ok(r == ERROR_BAD_QUERY_SYNTAX, "query failed\n");
ok(r == ERROR_BAD_QUERY_SYNTAX, "query failed\n");
r = try_query( hdb, "select * from c where b = 'x'");
ok(r == ERROR_SUCCESS, "query failed\n");
......
......@@ -255,7 +255,7 @@ int sqliteGetToken(const WCHAR *z, int *tokenType){
case ',':
*tokenType = TK_COMMA;
return 1;
case '`': case '\'': case '"': {
case '`': case '\'': {
int delim = z[0];
for(i=1; z[i]; i++){
if( z[i]==delim ){
......
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