Alistair Leslie-Hughes : msdasql: Return S_OK in ICommandPrepare Un/Prepare.

Alexandre Julliard julliard at winehq.org
Wed Nov 17 16:27:58 CST 2021


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

Author: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Date:   Wed Nov 17 21:23:24 2021 +1100

msdasql: Return S_OK in ICommandPrepare Un/Prepare.

These functions are to attempt to optimize the query that is about
to be run.  We can safely ignore these calls.

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

---

 dlls/msdasql/session.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/dlls/msdasql/session.c b/dlls/msdasql/session.c
index 196fd1c6b81..df394264bf7 100644
--- a/dlls/msdasql/session.c
+++ b/dlls/msdasql/session.c
@@ -1096,15 +1096,15 @@ static ULONG WINAPI commandprepare_Release(ICommandPrepare *iface)
 static HRESULT WINAPI commandprepare_Prepare(ICommandPrepare *iface, ULONG runs)
 {
     struct command *command = impl_from_ICommandPrepare( iface );
-    FIXME("%p, %u\n", command, runs);
-    return E_NOTIMPL;
+    TRACE("%p, %u\n", command, runs);
+    return S_OK;
 }
 
 static HRESULT WINAPI commandprepare_Unprepare(ICommandPrepare *iface)
 {
     struct command *command = impl_from_ICommandPrepare( iface );
-    FIXME("%p\n", command);
-    return E_NOTIMPL;
+    TRACE("%p\n", command);
+    return S_OK;
 }
 
 struct ICommandPrepareVtbl commandprepareVtbl =




More information about the wine-cvs mailing list