php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #43562 Option 'i5_decimal_sep' for db2_connect
Submitted: 2007-12-11 09:03 UTC Modified: 2007-12-11 10:52 UTC
From: rapha_thioliere at yahoo dot fr Assigned:
Status: Not a bug Package: *Database Functions
PHP Version: 5.2.5 OS: Windows
Private report: No CVE-ID: None
 [2007-12-11 09:03 UTC] rapha_thioliere at yahoo dot fr
Description:
------------
Hi,

I want to use the option 'i5_decimal_sep' of the function db2_connect.
My version of the dll ibm_db2 is 1.6

I have the following message : Incorrect option setting passed

I don't understand why ?

Thanks for your help.
Raphael

Reproduce code:
---------------
$option = array("AUTOCOMMIT" => DB2_AUTOCOMMIT_OFF, "i5_decimal_sep" => DB2_I5_SEP_PERIOD);
$var_connexion1 = db2_connect("test", "test", "test", $option);

Expected result:
----------------
I want a connexion to my database

Actual result:
--------------
Incorrect option setting passed

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-12-11 10:52 UTC] jani@php.net
Please report bugs in PECL extension at http://pecl.php.net/bugs/
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 20 14:01:29 2024 UTC