unixODBC/unixODBC-nonvoid.patch
Michal Hrusecky (old before rename to _miska_) f987edfef0 - updated to versio 2.3.1
* reduced unixODBC, after the GUI and additional driver parts have
    been split off to their own project.
  * change to the new default SQLLEN size for 64 bit platforms
  * number of bug fixes and changes, see http://www.unixodbc.org/

OBS-URL: https://build.opensuse.org/package/show/server:database/unixODBC?expand=0&rev=13
2012-11-06 09:45:33 +00:00

35 lines
900 B
Diff

Index: DriverManager/SQLConnect.c
===================================================================
--- DriverManager/SQLConnect.c.orig
+++ DriverManager/SQLConnect.c
@@ -919,6 +919,7 @@ static void odbc_dlclose( void *handle )
}
mutex_lib_exit();
+ return 0;
}
/*
Index: cur/SQLEndTran.c
===================================================================
--- cur/SQLEndTran.c.orig
+++ cur/SQLEndTran.c
@@ -78,4 +78,5 @@ SQLRETURN CLEndTran( SQLSMALLINT handle_
default:
return SQL_ERROR;
}
+ return 0;
}
Index: odbcinst/SQLSetConfigMode.c
===================================================================
--- odbcinst/SQLSetConfigMode.c.orig
+++ odbcinst/SQLSetConfigMode.c
@@ -24,6 +24,7 @@ static int __config_mode = ODBC_BOTH_DSN
void __set_config_mode( int mode )
{
__config_mode = mode;
+ return 0;
}
int __get_config_mode( void )