[PATCH] msi: Dont error when an ODBC Data Source fails to register

Alistair Leslie-Hughes leslie_alistair at hotmail.com
Tue Aug 27 20:05:50 CDT 2019


Signed-off-by: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
---
 dlls/msi/action.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/dlls/msi/action.c b/dlls/msi/action.c
index 55f978cd4c..f6f7ffbcf4 100644
--- a/dlls/msi/action.c
+++ b/dlls/msi/action.c
@@ -6783,10 +6783,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 );
-- 
2.23.0.rc1




More information about the wine-devel mailing list