https://git.reactos.org/?p=reactos.git;a=commitdiff;h=16273720a924ee9d282179967845cd1ceb403b62

commit 16273720a924ee9d282179967845cd1ceb403b62
Author:     winesync <[email protected]>
AuthorDate: Sun Mar 13 18:51:45 2022 +0100
Commit:     Mark Jansen <[email protected]>
CommitDate: Sun Mar 20 19:28:23 2022 +0100

    [WINESYNC] msi: Don't error when an ODBC Data Source fails to register.
    
    Signed-off-by: Alistair Leslie-Hughes <[email protected]>
    Signed-off-by: Hans Leidekker <[email protected]>
    Signed-off-by: Alexandre Julliard <[email protected]>
    
    wine commit id e4f1f9b7bdd46bf1f18c1e337ac6864bee3b0733 by Alistair 
Leslie-Hughes <[email protected]>
---
 dll/win32/msi/action.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/dll/win32/msi/action.c b/dll/win32/msi/action.c
index c41654e2707..6eb1c5135bf 100644
--- a/dll/win32/msi/action.c
+++ b/dll/win32/msi/action.c
@@ -6797,10 +6797,7 @@ static UINT ITERATE_InstallODBCDataSource( MSIRECORD 
*rec, LPVOID param )
     attrs[len + 1] = 0;
 
     if (!SQLConfigDataSourceW(NULL, request, driver, attrs))
-    {
-        ERR("Failed to install SQL data source!\n");
-        r = ERROR_FUNCTION_FAILED;
-    }
+        WARN("Failed to install SQL data source!\n");
 
     uirow = MSI_CreateRecord( 5 );
     MSI_RecordSetStringW( uirow, 1, desc );

Reply via email to