[PATCH v2 5/6] msdasql: Correct default dialect logic

Alistair Leslie-Hughes leslie_alistair at hotmail.com
Sun Nov 7 01:12:11 CST 2021


Signed-off-by: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
---
 dlls/msdasql/session.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/msdasql/session.c b/dlls/msdasql/session.c
index 98a1fc50220..e52e8cd18d8 100644
--- a/dlls/msdasql/session.c
+++ b/dlls/msdasql/session.c
@@ -847,7 +847,7 @@ static HRESULT WINAPI command_SetCommandText(ICommandText *iface, REFGUID dialec
     struct command *command = impl_from_ICommandText( iface );
     TRACE("%p, %s, %s\n", command, debugstr_guid(dialect), debugstr_w(commandstr));
 
-    if (IsEqualGUID(&DBGUID_DEFAULT, dialect))
+    if (!IsEqualGUID(&DBGUID_DEFAULT, dialect))
         FIXME("Currently non Default Dialect isn't supported\n");
 
     heap_free(command->query);
-- 
2.33.0




More information about the wine-devel mailing list