mirror of
https://github.com/mdbtools/mdbtools.git
synced 2025-11-26 10:29:27 +08:00
Get ODBC driver to work for iODBC
This commit is contained in:
@@ -93,7 +93,7 @@ void FreeConnectParams (ConnectParams* params)
|
||||
}
|
||||
|
||||
#if !HAVE_SQLGETPRIVATEPROFILESTRING
|
||||
int LoadDSN (
|
||||
static int LoadDSN (
|
||||
const gchar* iniFileName, const gchar* dsnName, GHashTable* table)
|
||||
{
|
||||
FILE* stream;
|
||||
@@ -500,6 +500,7 @@ static gboolean cleanup (gpointer key, gpointer value, gpointer user_data)
|
||||
#define ODBCINST_PROMPTTYPE_COMBOBOX 3
|
||||
#define ODBCINST_PROMPTTYPE_FILENAME 4
|
||||
#define ODBCINST_PROMPTTYPE_HIDDEN 5
|
||||
#define ODBCINST_PROMPTTYPE_TEXTEDIT_PASSWORD 6
|
||||
|
||||
typedef struct tODBCINSTPROPERTY
|
||||
{
|
||||
|
||||
@@ -17,13 +17,8 @@
|
||||
* Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
#ifdef UNIXODBC
|
||||
#include <sql.h>
|
||||
#include <sqlext.h>
|
||||
#else
|
||||
#include "isql.h"
|
||||
#include "isqlext.h"
|
||||
#endif
|
||||
|
||||
#include <mdbodbc.h>
|
||||
|
||||
@@ -32,7 +27,7 @@
|
||||
|
||||
#include "connectparams.h"
|
||||
|
||||
static char software_version[] = "$Id: odbc.c,v 1.24 2004/09/23 05:07:12 whydoubt Exp $";
|
||||
static char software_version[] = "$Id: odbc.c,v 1.25 2004/10/16 14:21:16 whydoubt Exp $";
|
||||
static void *no_unused_var_warn[] = {software_version,
|
||||
no_unused_var_warn};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user