[PATCH 1/3] msdasql: ICommandPrepare Un/Prepare return S_OK

Alistair Leslie-Hughes leslie_alistair at hotmail.com
Tue Nov 16 23:48:45 CST 2021


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>
---
 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 =
-- 
2.33.0




More information about the wine-devel mailing list