Commit f8064213 authored by Byron Nikolaidis's avatar Byron Nikolaidis

Update driver to 6-40-0006

parent 519ad246
...@@ -319,7 +319,7 @@ char tempBuf[TEXT_FIELD_SIZE+5]; ...@@ -319,7 +319,7 @@ char tempBuf[TEXT_FIELD_SIZE+5];
len = stmt->bindings[stmt->current_col].data_left; len = stmt->bindings[stmt->current_col].data_left;
} }
else else
stmt->bindings[stmt->current_col].data_left = strlen(value); stmt->bindings[stmt->current_col].data_left = strlen(ptr);
} }
if (cbValueMax > 0) { if (cbValueMax > 0) {
...@@ -922,7 +922,7 @@ int lobj_fd, retval; ...@@ -922,7 +922,7 @@ int lobj_fd, retval;
/* the oid of the large object -- just put that in for the /* the oid of the large object -- just put that in for the
parameter marker -- the data has already been sent to the large object parameter marker -- the data has already been sent to the large object
*/ */
sprintf(param_string, "%d", lobj_oid); sprintf(param_string, "'%d'", lobj_oid);
strcpy(&new_statement[npos], param_string); strcpy(&new_statement[npos], param_string);
npos += strlen(param_string); npos += strlen(param_string);
......
...@@ -39,8 +39,8 @@ typedef UInt4 Oid; ...@@ -39,8 +39,8 @@ typedef UInt4 Oid;
#define DRIVERNAME "PostgreSQL ODBC" #define DRIVERNAME "PostgreSQL ODBC"
#define DBMS_NAME "PostgreSQL" #define DBMS_NAME "PostgreSQL"
#define DBMS_VERSION "06.40.0004 PostgreSQL 6.4" #define DBMS_VERSION "06.40.0006 PostgreSQL 6.4"
#define POSTGRESDRIVERVERSION "06.40.0004" #define POSTGRESDRIVERVERSION "06.40.0006"
#ifdef WIN32 #ifdef WIN32
#define DRIVER_FILE_NAME "PSQLODBC.DLL" #define DRIVER_FILE_NAME "PSQLODBC.DLL"
...@@ -154,7 +154,7 @@ typedef struct QueryInfo_ { ...@@ -154,7 +154,7 @@ typedef struct QueryInfo_ {
#define OID_ATTNUM -2 /* the attnum in pg_index of the oid */ #define OID_ATTNUM -2 /* the attnum in pg_index of the oid */
/* sizes */ /* sizes */
#define TEXT_FIELD_SIZE 4094 /* size of text fields (not including null term) */ #define TEXT_FIELD_SIZE 8190 /* size of text fields (not including null term) */
#define NAME_FIELD_SIZE 32 /* size of name fields */ #define NAME_FIELD_SIZE 32 /* size of name fields */
#define MAX_VARCHAR_SIZE 254 /* maximum size of a varchar (not including null term) */ #define MAX_VARCHAR_SIZE 254 /* maximum size of a varchar (not including null term) */
......
...@@ -204,8 +204,8 @@ END ...@@ -204,8 +204,8 @@ END
// //
VS_VERSION_INFO VERSIONINFO VS_VERSION_INFO VERSIONINFO
FILEVERSION 6,40,0,4 FILEVERSION 6,40,0,6
PRODUCTVERSION 6,40,0,4 PRODUCTVERSION 6,40,0,6
FILEFLAGSMASK 0x3L FILEFLAGSMASK 0x3L
#ifdef _DEBUG #ifdef _DEBUG
FILEFLAGS 0x1L FILEFLAGS 0x1L
...@@ -223,12 +223,12 @@ BEGIN ...@@ -223,12 +223,12 @@ BEGIN
VALUE "Comments", "PostgreSQL ODBC driver for Windows 95\0" VALUE "Comments", "PostgreSQL ODBC driver for Windows 95\0"
VALUE "CompanyName", "Insight Distribution Systems\0" VALUE "CompanyName", "Insight Distribution Systems\0"
VALUE "FileDescription", "PostgreSQL Driver\0" VALUE "FileDescription", "PostgreSQL Driver\0"
VALUE "FileVersion", " 6.40.0004\0" VALUE "FileVersion", " 6.40.0006\0"
VALUE "InternalName", "psqlodbc\0" VALUE "InternalName", "psqlodbc\0"
VALUE "LegalTrademarks", "ODBC(TM) is a trademark of Microsoft Corporation. Microsoft is a registered trademark of Microsoft Corporation. Windows(TM) is a trademark of Microsoft Corporation.\0" VALUE "LegalTrademarks", "ODBC(TM) is a trademark of Microsoft Corporation. Microsoft is a registered trademark of Microsoft Corporation. Windows(TM) is a trademark of Microsoft Corporation.\0"
VALUE "OriginalFilename", "psqlodbc.dll\0" VALUE "OriginalFilename", "psqlodbc.dll\0"
VALUE "ProductName", "Microsoft Open Database Connectivity\0" VALUE "ProductName", "Microsoft Open Database Connectivity\0"
VALUE "ProductVersion", " 6.40.0004\0" VALUE "ProductVersion", " 6.40.0006\0"
END END
END END
BLOCK "VarFileInfo" BLOCK "VarFileInfo"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment