From 422caf216171c23a38c5d4d059f2babca0fea11d Mon Sep 17 00:00:00 2001 From: Alistair Leslie-Hughes Date: Wed, 17 Nov 2021 21:23:24 +1100 Subject: [PATCH] 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 Signed-off-by: Alexandre Julliard --- 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 =