Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Greenplum
Gpdb
提交
2df4087a
G
Gpdb
项目概览
Greenplum
/
Gpdb
通知
7
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
G
Gpdb
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
2df4087a
编写于
9月 24, 2001
作者:
H
Hiroshi Inoue
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
1) Fix compile errors on Windows.
2) Change *Common* --> *Default*.
上级
c0a92837
变更
6
显示空白变更内容
内联
并排
Showing
6 changed file
with
26 addition
and
9 deletion
+26
-9
src/interfaces/odbc/convert.c
src/interfaces/odbc/convert.c
+2
-1
src/interfaces/odbc/environ.c
src/interfaces/odbc/environ.c
+3
-0
src/interfaces/odbc/odbcapi.c
src/interfaces/odbc/odbcapi.c
+2
-3
src/interfaces/odbc/odbcapi30.c
src/interfaces/odbc/odbcapi30.c
+1
-2
src/interfaces/odbc/psqlodbc.h
src/interfaces/odbc/psqlodbc.h
+16
-1
src/interfaces/odbc/psqlodbc.rc
src/interfaces/odbc/psqlodbc.rc
+2
-2
未找到文件。
src/interfaces/odbc/convert.c
浏览文件 @
2df4087a
...
...
@@ -1013,7 +1013,8 @@ copy_statement_with_parameters(StatementClass *stmt)
stmt
->
options
.
scroll_concurrency
=
SQL_CONCUR_READ_ONLY
;
else
if
(
!
stmt
->
ti
||
stmt
->
ntab
!=
1
)
stmt
->
options
.
scroll_concurrency
=
SQL_CONCUR_READ_ONLY
;
else
search_from_pos
=
TRUE
;
else
search_from_pos
=
TRUE
;
}
#endif
/* DRIVER_CURSOR_IMPLEMENT */
...
...
src/interfaces/odbc/environ.c
浏览文件 @
2df4087a
...
...
@@ -514,6 +514,9 @@ EN_Destructor(EnvironmentClass *self)
free
(
self
);
mylog
(
"exit EN_Destructor: rv = %d
\n
"
,
rv
);
#ifdef _MEMORY_DEBUG_
debug_memory_inouecheck
();
#endif
/* _MEMORY_DEBUG_ */
return
rv
;
}
...
...
src/interfaces/odbc/odbcapi.c
浏览文件 @
2df4087a
...
...
@@ -26,11 +26,10 @@
*-------
*/
#include "psqlodbc.h"
#ifdef WIN32
#undef ODBCVER
#define ODBCVER 0x3000
#define ODBCVER_REP 0x3000
#endif
#include "psqlodbc.h"
#include <stdio.h>
#include <string.h>
...
...
src/interfaces/odbc/odbcapi30.c
浏览文件 @
2df4087a
...
...
@@ -18,9 +18,8 @@
*-------
*/
#define ODBCVER_REP 0x0300
#include "psqlodbc.h"
#undef ODBCVER
#define ODBCVER 0x0300
#include <stdio.h>
#include <string.h>
...
...
src/interfaces/odbc/psqlodbc.h
浏览文件 @
2df4087a
...
...
@@ -5,7 +5,7 @@
*
* Comments: See "notice.txt" for copyright and license information.
*
* $Id: psqlodbc.h,v 1.
49 2001/09/22 22:54:33 peter
e Exp $
* $Id: psqlodbc.h,v 1.
50 2001/09/24 00:05:59 inou
e Exp $
*
*/
...
...
@@ -21,7 +21,11 @@
#include <stdio.h>
/* for FILE* pointers: see GLOBAL_VALUES */
/* Must come before sql.h */
#ifdef ODBCVER_REP
#define ODBCVER ODBCVER_REP
#else
#define ODBCVER 0x0250
#endif
/* ODBCVER_REP */
#if defined(WIN32) || defined(WITH_UNIXODBC) || defined(WITH_IODBC)
...
...
@@ -232,4 +236,15 @@ queries used in info.c inoue 2001/05/17 */
#include "misc.h"
#ifdef _MEMORY_DEBUG_
void
*
debug_alloc
(
size_t
);
void
*
debug_realloc
(
void
*
,
size_t
);
char
*
debug_strdup
(
const
char
*
);
void
debug_free
(
void
*
);
void
debug_memory_check
(
void
);
#define malloc debug_alloc
#define realloc debug_realloc
#define strdup debug_strdup
#define free debug_free
#endif
/* _MEMORY_DEBUG_ */
#endif
src/interfaces/odbc/psqlodbc.rc
浏览文件 @
2df4087a
...
...
@@ -134,7 +134,7 @@ BEGIN
DEFPUSHBUTTON "OK",IDOK,59,201,50,14,WS_GROUP
PUSHBUTTON "Cancel",IDCANCEL,124,201,50,14
PUSHBUTTON "Defaults",IDDEFAULTS,189,201,50,15
CONTROL "
Common
",DRV_OR_DSN,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT |
CONTROL "
Default
",DRV_OR_DSN,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT |
BS_NOTIFY | WS_TABSTOP,233,208,40,10
END
...
...
@@ -251,7 +251,7 @@ BEGIN
DEFPUSHBUTTON "OK",IDOK,45,220,50,14,WS_GROUP
PUSHBUTTON "Cancel",IDCANCEL,110,220,50,14
PUSHBUTTON "Defaults",IDDEFAULTS,175,220,50,15
CONTROL "
Common
",DRV_OR_DSN,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT |
CONTROL "
Default
",DRV_OR_DSN,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT |
BS_NOTIFY | WS_TABSTOP,233,224,40,10
END
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录