summaryrefslogtreecommitdiff
path: root/ext/pdo/php_pdo_int.h
Commit message (Collapse)AuthorAgeFilesLines
* Make various failure conditions in PDO unconditional errorsGeorge Peter Banyard2020-09-281-1/+2
| | | | | | | This includes TypeErrors, ValueErrors, Error for uninitialized objects and invalid user classes/callable instanciation Closes GH-6212
* Drop php_pdo_get_exception_base() functionNikita Popov2020-08-111-1/+0
| | | | This API is more confusing than helpful.
* Use zpp for PDO fetch modeNikita Popov2020-07-201-1/+1
| | | | | | Also changing the function signatures to accept variadic args for the fetch params. If we're already breaking Doctrine anyway, we may as well do it properly.
* Remove mention of PHP major version in Copyright headersGabriel Caruso2019-09-251-2/+0
| | | | Closes GH-4732.
* Remove local variablesPeter Kokot2019-02-031-10/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch removes the so called local variables defined per file basis for certain editors to properly show tab width, and similar settings. These are mainly used by Vim and Emacs editors yet with recent changes the once working definitions don't work anymore in Vim without custom plugins or additional configuration. Neither are these settings synced across the PHP code base. A simpler and better approach is EditorConfig and fixing code using some code style fixing tools in the future instead. This patch also removes the so called modelines for Vim. Modelines allow Vim editor specifically to set some editor configuration such as syntax highlighting, indentation style and tab width to be set in the first line or the last 5 lines per file basis. Since the php test files have syntax highlighting already set in most editors properly and EditorConfig takes care of the indentation settings, this patch removes these as well for the Vim 6.0 and newer versions. With the removal of local variables for certain editors such as Emacs and Vim, the footer is also probably not needed anymore when creating extensions using ext_skel.php script. Additionally, Vim modelines for setting php syntax and some editor settings has been removed from some *.phpt files. All these are mostly not relevant for phpt files neither work properly in the middle of the file.
* Remove yearly range from copyright noticeZeev Suraski2019-01-301-1/+1
|
* Manually initialize PDORow handlersNikita Popov2019-01-101-1/+1
| | | | | Makes it easier to see what is specified and what isn't, and allows grepping...
* Remove unused Git attributes identPeter Kokot2018-07-251-2/+0
| | | | | | | | | | | | | | | The $Id$ keywords were used in Subversion where they can be substituted with filename, last revision number change, last changed date, and last user who changed it. In Git this functionality is different and can be done with Git attribute ident. These need to be defined manually for each file in the .gitattributes file and are afterwards replaced with 40-character hexadecimal blob object name which is based only on the particular file contents. This patch simplifies handling of $Id$ keywords by removing them since they are not used anymore.
* Keep initialized object_handlers structures in read-only memory.Dmitry Stogov2018-03-141-1/+1
|
* year++Xinchen Hui2018-01-021-1/+1
|
* Update copyright headers to 2017Sammy Kaye Powers2017-01-021-1/+1
|
* Merge branch 'PHP-5.6' into PHP-7.0Lior Kaplan2016-01-011-1/+1
|\ | | | | | | | | * PHP-5.6: Happy new year (Update copyright to 2016)
| * Happy new year (Update copyright to 2016)Lior Kaplan2016-01-011-1/+1
| |
| * bump yearXinchen Hui2015-01-151-1/+1
| |
* | bump yearXinchen Hui2015-01-151-1/+1
| |
* | first shot remove TSRMLS_* thingsAnatol Belski2014-12-131-12/+12
| |
* | s/PHP 5/PHP 7/Johannes Schlüter2014-09-191-1/+1
| |
* | Finished persistent PDO implementXinchen Hui2014-05-261-1/+1
| |
* | Refactor PDO (only compilable now)Xinchen Hui2014-04-221-2/+2
| |
* | Refactor PDO (incompleted)Xinchen Hui2014-04-161-3/+3
|/
* Bump yearXinchen Hui2014-01-031-1/+1
|
* Allow PDO drivers custom methods to trigger errors/exceptionsMatteo Beccati2013-06-041-13/+2
| | | | | | Moved a few definitions from php_pdo_int.h to a new php_pdo_error.h header file that can be included if drivers need PDO's own error handling to be triggered within custom methods (e.g. PDO::pgsqlLOBOpen).
* Happy New YearXinchen Hui2013-01-011-1/+1
|
* Merge branch 'PHP-5.4'Xinchen 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
| |
| * Fixes for variety of issues identified by coverity scanIlia Alshanetsky2011-08-071-1/+1
| |
| * Fix more signed 1-bit bitfield, and let's use strlcpy/strlcat instead for theseRasmus Lerdorf2011-08-071-1/+1
| | | | | | | | | | static string copies
| * Not an issue here, but a good habit to follow consistently. Never use ↵Rasmus Lerdorf2011-08-071-1/+1
| | | | | | | | strcpy/strcat.
| * - Year++Felipe Pena2011-01-011-1/+1
| |
* | - Year++Felipe Pena2012-01-011-1/+1
| |
* | Fix more signed 1-bit bitfield, and let's use strlcpy/strlcat instead for theseRasmus Lerdorf2011-08-071-1/+1
| | | | | | | | | | static string copies
* | Not an issue here, but a good habit to follow consistently. Never use ↵Rasmus Lerdorf2011-08-071-1/+1
| | | | | | | | strcpy/strcat.
* | - Year++Felipe Pena2011-01-011-1/+1
|/
* 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: Bump copyright year, 2 of 2.Sebastian Bergmann2007-12-311-1/+1
|
* Improved memory usage by movig constants to read only memory. (Dmitry, Pierre)Dmitry Stogov2007-09-271-3/+3
|
* MFH: Bump year.Sebastian Bergmann2007-01-011-1/+1
|
* - MFHMarcus Boerger2006-05-111-1/+1
| | | | | | | | . 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).
* bump year and license versionfoobar2006-01-011-3/+3
|
* MFH: nuke php3 legacyfoobar2005-12-061-3/+3
|
* Fix Bug #34687; error information from query() not passed backWez Furlong2005-10-021-1/+7
|
* - MFH PDOException baseMarcus Boerger2005-10-021-0/+1
|
* Declare functions used by driver as PDO_API in php_pdo_driver.hEdin Kadribasic2005-09-241-1/+0
|
* fix build (declare extern HashTable pdo_driver_hash)Antony Dovgal2005-09-181-0/+2
|
* - Simplify code (only implement handlers that are necessary)Marcus Boerger2005-03-211-0/+3
| | | | | | | | | - Fix handling of read only property 'queryString' - Fix overloading - Move class init code to their defining .c files for simplification - Mark class PDORow as final until there's a need to inherit this and someone implements the handlers correct then.
* - Fix warnings by doing it the Zend wayMarcus Boerger2005-03-191-2/+2
|
* prep package file for release.Wez Furlong2005-03-091-2/+2
| | | | | | fix my favourite typo. fix compile warnings
* - Allow to derive PDOStatementMarcus Boerger2005-02-221-2/+2
| | | | | | | - Verify fetch modes - Add last fetch mode PDO_FETCH_FUNC (only valid inside fetchAll()) that allows to completley customize the way data is treated on the fly