mirror of
https://github.com/reactos/wine.git
synced 2025-01-31 17:23:53 +00:00
msi: Double quotes are not valid in queries.
This commit is contained in:
parent
ef1af6ada7
commit
08d1398d97
@ -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 ){
|
||||
|
Loading…
x
Reference in New Issue
Block a user