|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #56945 setoption support
Submitted: 2006-04-09 02:09 UTC Modified: 2006-04-12 10:34 UTC
From: rward at mcind dot com Assigned:
Status: Closed Package: ibm_db2 (PECL)
PHP Version: 5.0.5 OS: DB2/400
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
45 + 14 = ?
Subscribe to this entry?

 [2006-04-09 02:09 UTC] rward at mcind dot com
Are there plans to add setoption support like the odbc_setoption() function?


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2006-04-12 10:34 UTC] kfbombar at us dot ibm dot com
There is such an option already available.  Sorry there is no documentation on it, we will get some out there on it.  Here is a small example:


$c = db2_connect('sample', 'user', 'pass');
db2_set_option($c, array(AUTOCOMMIT=>DB2_AUTOCOMMIT_ON), 1);


Look for more full documentation on this soon.
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Fri Jun 25 12:01:23 2021 UTC