Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf806421

Browse files
author
Byron Nikolaidis
committed
Update driver to 6-40-0006
1 parent519ad24 commitf806421

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

‎src/interfaces/odbc/convert.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ char tempBuf[TEXT_FIELD_SIZE+5];
319319
len=stmt->bindings[stmt->current_col].data_left;
320320
}
321321
else
322-
stmt->bindings[stmt->current_col].data_left=strlen(value);
322+
stmt->bindings[stmt->current_col].data_left=strlen(ptr);
323323
}
324324

325325
if (cbValueMax>0) {
@@ -922,7 +922,7 @@ int lobj_fd, retval;
922922
/*the oid of the large object -- just put that in for the
923923
parameter marker -- the data has already been sent to the large object
924924
*/
925-
sprintf(param_string,"%d",lobj_oid);
925+
sprintf(param_string,"'%d'",lobj_oid);
926926
strcpy(&new_statement[npos],param_string);
927927
npos+=strlen(param_string);
928928

‎src/interfaces/odbc/psqlodbc.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ typedef UInt4 Oid;
3939

4040
#defineDRIVERNAME "PostgreSQL ODBC"
4141
#defineDBMS_NAME "PostgreSQL"
42-
#defineDBMS_VERSION "06.40.0004 PostgreSQL 6.4"
43-
#definePOSTGRESDRIVERVERSION "06.40.0004"
42+
#defineDBMS_VERSION "06.40.0006 PostgreSQL 6.4"
43+
#definePOSTGRESDRIVERVERSION "06.40.0006"
4444

4545
#ifdefWIN32
4646
#defineDRIVER_FILE_NAME"PSQLODBC.DLL"
@@ -154,7 +154,7 @@ typedef struct QueryInfo_ {
154154
#defineOID_ATTNUM-2/* the attnum in pg_index of the oid */
155155

156156
/* sizes */
157-
#defineTEXT_FIELD_SIZE4094/* size of text fields (not including null term) */
157+
#defineTEXT_FIELD_SIZE8190/* size of text fields (not including null term) */
158158
#defineNAME_FIELD_SIZE32/* size of name fields */
159159
#defineMAX_VARCHAR_SIZE254/* maximum size of a varchar (not including null term) */
160160

‎src/interfaces/odbc/psqlodbc.rc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -204,8 +204,8 @@ END
204204
//
205205

206206
VS_VERSION_INFO VERSIONINFO
207-
FILEVERSION 6,40,0,4
208-
PRODUCTVERSION 6,40,0,4
207+
FILEVERSION 6,40,0,6
208+
PRODUCTVERSION 6,40,0,6
209209
FILEFLAGSMASK 0x3L
210210
#ifdef _DEBUG
211211
FILEFLAGS 0x1L
@@ -223,12 +223,12 @@ BEGIN
223223
VALUE "Comments", "PostgreSQL ODBC driver for Windows 95\0"
224224
VALUE "CompanyName", "Insight Distribution Systems\0"
225225
VALUE "FileDescription", "PostgreSQL Driver\0"
226-
VALUE "FileVersion", " 6.40.0004\0"
226+
VALUE "FileVersion", " 6.40.0006\0"
227227
VALUE "InternalName", "psqlodbc\0"
228228
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"
229229
VALUE "OriginalFilename", "psqlodbc.dll\0"
230230
VALUE "ProductName", "Microsoft Open Database Connectivity\0"
231-
VALUE "ProductVersion", " 6.40.0004\0"
231+
VALUE "ProductVersion", " 6.40.0006\0"
232232
END
233233
END
234234
BLOCK "VarFileInfo"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp