Skip to content

Commit

Permalink
code change #837 and readme update (#850)
Browse files Browse the repository at this point in the history
* code change #837 and readme update

Signed-off-by: ek <ek@rocketsoftware.com>
  • Loading branch information
Earammak committed May 18, 2023
1 parent 8f02cc8 commit e6680e0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
3 changes: 3 additions & 0 deletions IBM_DB/ibm_db/README.md
Expand Up @@ -29,6 +29,9 @@ e.g:

Set this environment variable to avoid automatic downloading of the clidriver during installation. You could set this to the installation path of ODBC and CLI driver in your environment. The list of supported platforms and installation file names are listed in the table under License requirements.

[ Note : For Windows, if clidriver is already installed in the system. And user already set installed path to PATH environment variable, then user need to set IBM_DB_HOME path manaully to the installed path.
If user has installed clidriver in F:\DSDRIVER. And if the "PATH" is set to F:\DSDRIVER\bin. Then user should set IBM_DB_HOME to F:\DSDRIVER. Below is example to set IBM_DB_HOME.
set IBM_DB_HOME=F:\DSDRIVER ]

### IBM_DB and DB-API wrapper (ibm_db_dbi) sanity test

Expand Down
2 changes: 1 addition & 1 deletion IBM_DB/ibm_db/ibm_db.c
Expand Up @@ -6816,7 +6816,7 @@ static int _python_ibm_db_execute_helper2(stmt_handle *stmt_res, PyObject *data,
static PyObject *_python_ibm_db_execute_helper1(stmt_handle *stmt_res, PyObject *parameters_tuple)
{
int rc, numOpts, i, bind_params = 0;
SQLSMALLINT num;
SQLSMALLINT num = 0;
SQLPOINTER valuePtr;
PyObject *data;
char error[DB2_MAX_ERR_MSG_LEN];
Expand Down
4 changes: 4 additions & 0 deletions README.md
Expand Up @@ -176,6 +176,10 @@ The ODBC and CLI Driver(clidriver) is automatically downloaded at the time of in
The ODBC and CLI driver is available for download at [Db2 LUW ODBC and CLI Driver](https://public.dhe.ibm.com/ibmdl/export/pub/software/data/db2/drivers/odbc_cli/).
Refer to ([License requirements](#Licenserequirements)) for more details on the CLI driver for manual download and installation.

[ Note : For Windows, if clidriver is already installed in the system. And user already set installed path to PATH environment variable, then user need to set IBM_DB_HOME path manaully to the installed path.
If user has installed clidriver in F:\DSDRIVER. And if the "PATH" is set to F:\DSDRIVER\bin. Then user should set IBM_DB_HOME to F:\DSDRIVER. Below is example to set IBM_DB_HOME.
set IBM_DB_HOME=F:\DSDRIVER ]

* Installing using Anaconda distribution of python
```
conda install -c conda-forge ibm_db
Expand Down

0 comments on commit e6680e0

Please sign in to comment.