资源简介

ibm_db-3.0.1离线安装包,ntx64_odbc_cli已经下载在目录中,python3.7 64-bit安装通过,安装方式:下载解压到目录,进入目录:python setup.py install 安装完成。

资源截图

代码片段和文件信息

/*
+--------------------------------------------------------------------------+
| Licensed Materials - Property of IBM                                     |
|                                                                          |
| (C) Copyright IBM Corporation 2006-2015                                  |
+--------------------------------------------------------------------------+
| This module complies with SQLAlchemy 0.4 and is                          |
| Licensed under the Apache License Version 2.0 (the “License“);          |
| you may not use this file except in compliance with the License.         |
| You may obtain a copy of the License at                                  |
| http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable |
| law or agreed to in writing software distributed under the License is   |
| distributed on an “AS IS“ BASIS WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| KIND either express or implied. See the License for the specific        |
| language governing permissions and limitations under the License.        |
+--------------------------------------------------------------------------+
| Authors: Manas Dadarkar Salvador Ledezma Sushant Koduru               |
|   Lynh Nguyen Kanchana Padmanabhan Dan Scott Helmut Tessarek         |
|   Sam Ruby Kellen Bombardier Tony Cairns Abhigyan Agrawal            |
|   Tarun Pasrija Rahul Priyadarshi Akshay Anand Saba Kauser           |
|   Hemlata Bhatt                                                          |
+--------------------------------------------------------------------------+
*/

#define MODULE_RELEASE “3.0.1“

#include 
#include 
#include “ibm_db.h“
#include 
#ifdef _WIN32
#include 
#else
#include 
#endif

/* True global resources - no need for thread safety here */
static struct _ibm_db_globals *ibm_db_globals;

static void _python_ibm_db_check_sql_errors( SQLHANDLE handle SQLSMALLINT hType int rc int cpy_to_global char* ret_str int API SQLSMALLINT recno );
static int _python_ibm_db_assign_options( void* handle int type long opt_key Pyobject *data );
static SQLWCHAR* getUnicodeDataAsSQLWCHAR(Pyobject *pyobj int *isNewBuffer);
static Pyobject* getSQLWCharAsPyUnicodeobject(SQLWCHAR* sqlwcharData int sqlwcharBytesLen);

const int _check_i = 1;
#define is_bigendian() ( (*(char*)&_check_i) == 0 )
static int is_systemi is_informix;      /* 1 == TRUE; 0 == FALSE; */
#ifdef _WIN32
#define DLOPEN LoadLibrary
#define DLSYM GetProcAddress
#define DLCLOSE FreeLibrary
#define LIBDB2 “db2cli64.dll“
#elif _AIX
#define DLOPEN dlopen
#define DLSYM dlsym
#define DLCLOSE dlclose
#define LIBDB2 “libdb2.a“
#else
#define DLOPEN dlopen
#define DLSYM dlsym
#define DLCLOSE dlclose
#define LIBDB2 “libdb2.so.1“
#endif

/* Defines a linked list structure for error messages */
typedef struct _error_msg_node {
    char err_msg[DB2

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2019-12-19 15:06  ibm_db-3.0.1\
     目录           0  2019-12-19 15:01  ibm_db-3.0.1\build\
     目录           0  2019-12-19 08:59  ibm_db-3.0.1\build\bdist.win-amd64\
     目录           0  2019-12-19 08:59  ibm_db-3.0.1\build\bdist.win32\
     目录           0  2019-12-19 15:01  ibm_db-3.0.1\build\lib\
     目录           0  2019-12-19 15:01  ibm_db-3.0.1\build\lib\certs\
     文件        3024  2019-02-15 11:44  ibm_db-3.0.1\build\lib\certs\ibm_certs.pem
     文件           0  2019-03-08 16:24  ibm_db-3.0.1\build\lib\certs\__init__.py
     目录           0  2019-12-19 15:01  ibm_db-3.0.1\build\lib\clidriver\
     目录           0  2019-12-19 15:01  ibm_db-3.0.1\build\lib\clidriver\bin\
     文件    25309696  2019-06-30 14:42  ibm_db-3.0.1\build\lib\clidriver\bin\db2app.dll
     文件       25088  2019-06-30 14:42  ibm_db-3.0.1\build\lib\clidriver\bin\db2cli.dll
     文件      867328  2019-08-28 08:50  ibm_db-3.0.1\build\lib\clidriver\bin\db2cli.exe
     文件       22016  2019-06-30 14:42  ibm_db-3.0.1\build\lib\clidriver\bin\db2clixml4c.dll
     文件      530432  2019-08-28 08:50  ibm_db-3.0.1\build\lib\clidriver\bin\db2diag.exe
     文件       20992  2019-08-28 08:50  ibm_db-3.0.1\build\lib\clidriver\bin\db2drdat.exe
     文件      103936  2019-08-28 08:50  ibm_db-3.0.1\build\lib\clidriver\bin\db2dsdcfgfill.exe
     文件      539648  2019-06-30 14:42  ibm_db-3.0.1\build\lib\clidriver\bin\db2ldap.dll
     文件      223744  2019-06-30 14:42  ibm_db-3.0.1\build\lib\clidriver\bin\db2ldapm.dll
     文件       18432  2019-08-28 08:50  ibm_db-3.0.1\build\lib\clidriver\bin\db2ldcfg.exe
     文件       23552  2019-08-28 08:50  ibm_db-3.0.1\build\lib\clidriver\bin\db2level.exe
     文件       39936  2019-06-30 14:42  ibm_db-3.0.1\build\lib\clidriver\bin\db2odbc.dll
     文件     2263040  2019-06-30 14:42  ibm_db-3.0.1\build\lib\clidriver\bin\db2odbch.dll
     文件       95232  2019-08-28 08:50  ibm_db-3.0.1\build\lib\clidriver\bin\db2oreg1.exe
     文件     3253248  2019-06-30 14:42  ibm_db-3.0.1\build\lib\clidriver\bin\db2osse.dll
     文件      123904  2019-08-28 08:50  ibm_db-3.0.1\build\lib\clidriver\bin\db2support.exe
     文件     1329664  2019-08-28 08:50  ibm_db-3.0.1\build\lib\clidriver\bin\db2trc.exe
     文件       71168  2019-06-30 14:42  ibm_db-3.0.1\build\lib\clidriver\bin\db2trcapi.dll
     文件       10752  2019-08-28 08:50  ibm_db-3.0.1\build\lib\clidriver\bin\db2trcd.exe
     文件     3329024  2019-06-30 14:42  ibm_db-3.0.1\build\lib\clidriver\bin\DB2xml4c_cli_5_8.dll
     文件         384  2019-06-30 14:42  ibm_db-3.0.1\build\lib\clidriver\bin\DB2xml4c_cli_5_8.dll.2.manifest
............此处省略647个文件信息

评论

共有 条评论