php.net |  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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: rward at mcind dot com
New email:
PHP Version: OS:

 

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


Patches

Pull Requests

History

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:

<?php

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

?>

Look for more full documentation on this soon.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Jan 15 16:01:31 2025 UTC