summaryrefslogtreecommitdiff
path: root/ext/pdo/php_pdo_driver.h
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'pull-request/341'Stanislav Malyshev2013-06-101-1/+1
| | | | | * pull-request/341: (23 commits) typofixes
* Happy New YearXinchen Hui2013-01-011-1/+1
|
* Merge branch 'PHP-5.3' into PHP-5.4Xinchen Hui2012-10-091-0/+0
|\
| * Fixed bug #63236 (Executable permission on various source files)Xinchen Hui2012-10-091-0/+0
| |
| * - Year++Felipe Pena2012-01-011-1/+1
| |
| * - Year++Felipe Pena2011-01-011-1/+1
| |
| * Fixed bug #51943 (Several files are out of ANSI spec)Kalle Sommer Nielsen2010-07-131-2/+2
| | | | | | | | # Based on patch by CoreyStup at gmail dot com
| * Removed the in_transaction handler for 5.3 to avoid BC break due to ↵Ilia Alshanetsky2010-06-151-1/+0
| | | | | | | | structure change
| * Added inTransaction() method to PDO, with specialized support for PostgresIlia Alshanetsky2010-06-101-0/+1
| |
* | - Year++Felipe Pena2012-01-011-1/+1
| |
* | - Year++Felipe Pena2011-01-011-1/+1
| |
* | Fixed bug #51943 (Several files are out of ANSI spec)Kalle Sommer Nielsen2010-07-131-2/+2
| | | | | | | | # Based on patch by CoreyStup at gmail dot com
* | Added inTransaction() method to PDO, with specialized support for PostgresIlia Alshanetsky2010-06-101-0/+1
| |
* | Fixed PDO objects binary incompatibilityDmitry Stogov2010-05-061-8/+2
|/
* sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.phpSebastian Bergmann2010-01-031-1/+1
|
* MFH: Bump copyright year, 3 of 3.Sebastian Bergmann2008-12-311-1/+1
|
* MFH: Add mysqlnd support for PDO_mysql, fixes at least bug#41997,#42499,Johannes Schlüter2008-07-211-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | pecl#12794, pecl#12401 # Running the tests: # (Note: Doesn't work currnetly on HEAD, see: # http://news.php.net/php.qa/64378) # # PDO_MYSQL_TEST_DSN - DSN # For example: mysql:dbname=test;host=localhost;port=3306 # # PDO_MYSQL_TEST_HOST - database host # PDO_MYSQL_TEST_DB - database (schema) name # PDO_MYSQL_TEST_SOCKET - database server socket # PDO_MYSQL_TEST_ENGINE - storage engine to use # PDO_MYSQL_TEST_USER - database user # PDO_MYSQL_TEST_PASS - database user password # PDO_MYSQL_TEST_CHARSET - database charset # # NOTE: if any of PDO_MYSQL_TEST_[HOST|DB|SOCKET|ENGINE|CHARSET] is # part of PDO_MYSQL_TEST_DSN, the values must match. That is, for example, # for PDO_MYSQL_TEST_DSN = mysql:dbname=test you MUST set PDO_MYSQL_TEST_DB=test.
* MFH: Bump copyright year, 2 of 2.Sebastian Bergmann2007-12-311-1/+1
|
* MFH:- Fixed bug #43365 (Several enums have trailing commas)Jani Taskinen2007-11-261-1/+1
|
* Improved memory usage by movig constants to read only memory. (Dmitry, Pierre)Dmitry Stogov2007-09-271-1/+1
|
* MFH: syncJani Taskinen2007-07-231-2/+2
|
* [DOC] Added PDO::FETCH_KEY_PAIR mode that will fetch a 2 column result setIlia Alshanetsky2007-05-161-0/+1
| | | | | into an associated array.
* MFH: Bump year.Sebastian Bergmann2007-01-011-1/+1
|
* MFHAntony Dovgal2006-09-281-1/+1
|
* MFHAntony Dovgal2006-09-281-1/+1
|
* - MFHMarcus Boerger2006-05-111-3/+10
| | | | | | | | . Fix iterator based access . Add new attribute ATTR_DEFAULT_FETCH_MODE: $bdh->setAttribute() . Add new fetch mode: FETCH_PROPS_LATE, this fills object member variables after calling the constructor (fixes #36428).
* Add "ATTR_EMULATE_PREPARES" general attribute to replace the customWez Furlong2006-04-091-1/+2
| | | | | | attributes employed by mysql and postgres drivers. No functional change.
* The fix for #35332 caused #35671 (and thus PECL #6504).Wez Furlong2006-03-271-2/+3
| | | | | | Partially back out that fix and introduce an extra optional step for drivers to canonicalize the "name" that is used for registering parameters.
* bump year and license versionfoobar2006-01-011-3/+3
|
* MFH: nuke php3 legacyfoobar2005-12-061-1/+1
|
* API for connection dependent objects to add/del refs to dbh's.Wez Furlong2005-11-281-1/+4
|
* improve test portability.Wez Furlong2005-10-311-1/+5
| | | | | improve infrastructure for LOB support.
* MFH: commit forgotten partAntony Dovgal2005-10-271-0/+10
|
* use correct enum type for the argAntony Dovgal2005-10-251-1/+1
|
* Fix Bug #34687; error information from query() not passed backWez Furlong2005-10-021-2/+8
|
* - Add PDO::setAttribute(PDO::ATTR_STATEMENT_CLASS)Marcus Boerger2005-10-021-0/+4
|
* Declare functions used by driver as PDO_API in php_pdo_driver.hEdin Kadribasic2005-09-241-0/+3
|
* Proper handling for databases that need to pre-calculate length of largeIlia Alshanetsky2005-07-201-0/+1
| | | | | columns, which is not normally done for performance reasons.
* expand oracle null handling compatability by offering the ability to convertWez Furlong2005-07-121-4/+11
| | | | | | | | NULLs into empty strings as well as the other way around. It still doesn't help a great deal in the long run, but at least the option is there. Make sure hash tables are nulled out to avoid double freeing them.
* Added:Wez Furlong2005-07-091-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | proto bool PDOStatement::closeCursor() Closes the cursor, leaving the statement ready for re-execution. The purpose of the function is to free up the connection to the server so that other queries may be issued, but leaving the statement in a state that it can be re-executed. This is implemented either as an optional driver specific method (allowing for maximum efficiency), or as the generic PDO fallback if no driver specific function is installed. The PDO generic fallback is semantically the same as writing the following code in your PHP script: do { while ($stmt->fetch()) ; if (!$stmt->nextRowset()) break; } while (true);
* Fix Bug #33111Wez Furlong2005-07-081-3/+3
|
* add a bit of a hack to cater for pgsql prepared statements.Wez Furlong2005-07-081-0/+4
| | | | | | | | | These are effectively named statements with strong constraints on the naming format. We cater for this in a fairly generic way: allow a driver to replace the format string we use to generate names from positional parameters. In addition, if that format is set, we always force a rewrite from regular names to the strongly enforced names.
* Add a PDO_ATTR_STRINGIFY_FETCHES attribute, which is used to convert integer orWez Furlong2005-07-081-2/+6
| | | | | | | | floating point values into strings during fetch. This is a compatibility hack for drivers that return native types rather than string representations. We use this flag in the test suite to persuade postgres tests to pass.
* add an attribute for returning the driver nameWez Furlong2005-07-071-1/+4
|
* Add PDO_FETCH_NAMED; closes PECL #4641 by providing a way to access columnsWez Furlong2005-07-031-19/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | by name, even when multiple columns have the same name: $sql = "SELECT 1 a, 2 a, 3 b, 4 c, 5 d, 6 c, 7 a"; echo "$sql\n"; print_r($db->query($sql)->fetchAll(PDO_FETCH_NAMED)); Array ( [0] => Array ( [a] => Array ( [0] => 1 [1] => 2 [2] => 7 ) [b] => 3 [c] => Array ( [0] => 4 [1] => 6 ) [d] => 5 ) ) Also added two new attributes for use at prepare time; PDO_ATTR_FETCH_TABLE_NAMES and PDO_ATTR_FETCH_CATALOG_NAMES instruct the driver that the names of the columns that they return to PDO should include the table and catalog names respectively. Both attributes may be used together or independently. The catalog, table and column name components should be separated by a . character.
* Fix a dumb bug that would effecively ignore persistent connections and create aWez Furlong2005-06-101-2/+8
| | | | | | | | | | | | new one each time. Add a hook for persistent connections: it is called when the object goes out of scope, and offers the driver an opportunity to release per-request scoped data at the right time. This hook is used by pdo_sqlite to unregister UDFs, which are dangerous to keep registered between requests.
* Various compiler warning fixes.Ilia Alshanetsky2005-05-181-5/+5
|
* - Reserve some bits for flagsMarcus Boerger2005-02-281-3/+4
|
* - Add some fetch column related capailitiesMarcus Boerger2005-02-271-1/+2
| | | | | - Add direct (classtype based) unserializing capabilities
* Alan: moved your fields away, but reserved you a pointer.Wez Furlong2005-02-261-7/+15
| | | | | | | | | | | | | Changed PDO::lastInsertId() to have following proto: string PDO::lastInsertId([string name]) this allows arbitrary unique identitifers to be returned from the driver. The optional name parameter is for databases that require additional contextual information to be able to return the correct identifier. None currently use it, but pgsql will be on the list of drivers that do.