Alistair Leslie-Hughes : msdasql: Correct default dialect logic.

Alexandre Julliard julliard at winehq.org
Mon Nov 8 15:45:06 CST 2021


Module: wine
Branch: master
Commit: c8b0e5b138723702a31c7618998b1ad676146deb
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=c8b0e5b138723702a31c7618998b1ad676146deb

Author: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Date:   Mon Nov  8 21:29:10 2021 +1100

msdasql: Correct default dialect logic.

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

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




More information about the wine-cvs mailing list