summaryrefslogtreecommitdiff
path: root/ext/pdo_firebird/php_pdo_firebird_int.h
Commit message (Collapse)AuthorAgeFilesLines
* Rewrite PDO result bindingNikita Popov2020-12-221-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | Instead of requiring the type to be determined in advance by the describer function and then requiring get_col to return a buffer of appropriate type, allow get_col to return an arbitrary zval. See UPGRADING.INTERNALS for a more detailed description of the change. This makes the result fetching simpler, more efficient and more flexible. The general possibility already existed via the special PDO_PARAM_ZVAL type, but the usage was very inconvenient and/or inefficient. Now it's possible to easily implement behavior like "return int if it fits, otherwise string" and to avoid any kind of complex management of temporary buffers. This also fixes bug #40913 (our second highest voted bug of all time, for some reason). PARAM_LOB result bindings will now consistently return a stream resource, independently of the used database driver. I've tried my best to update all PDO drivers for this change, but some of the changes may be broken, as I cannot test or even build some of these drivers (in particular PDO dblib and PDO oci). Fixes are appreciated -- a working CI setup would be even more appreciated ;)
* Fix compile warnings in PDO FirebirdNikita Popov2020-12-141-2/+1
|
* Fix PDO_Firebird numeric to string conversion on WindowsChristoph M. Becker2020-07-121-7/+2
| | | | | | | | | | | | Commit aaa1f90[1] dropped support for the `snprinf()` `I` modifier, so we use the standard `ll` modifier which is suitable for 32bit and 64bit Windows. We also replace the deprecated `I64` suffix[2] with the `LL` suffix. This fixes ext/pdo_firebird/tests/bug_64037.phpt. [1] <http://git.php.net/?p=php-src.git;a=commit;h=aaa1f90e3f90c24098fa55a7b868fdca0b89ee25> [2] <https://docs.microsoft.com/en-us/cpp/cpp/numeric-boolean-and-pointer-literals-cpp?view=vs-2019#integer-literals>
* Merge branch 'PHP-7.4'Christoph M. Becker2019-10-281-1/+3
|\ | | | | | | | | * PHP-7.4: Add support for Interbase 1 dialect
| * Add support for Interbase 1 dialectSimonov Denis2019-10-281-1/+3
| |
* | Remove mention of PHP major version in Copyright headersGabriel Caruso2019-09-251-2/+0
|/ | | | Closes GH-4732.
* Remove local variablesPeter Kokot2019-02-031-9/+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
|
* Trailing whitespaces on ext/*Gabriel Caruso2018-01-041-1/+1
| | | | Signed-off-by: Gabriel Caruso <carusogabriel34@gmail.com>
* year++Xinchen Hui2018-01-021-1/+1
|
* Turn "pdo_stmt_methods" into constants.Dmitry Stogov2017-12-141-1/+1
|
* Move constants into read-only data segmentDmitry Stogov2017-12-141-1/+1
|
* Update copyright headers to 2017Sammy Kaye Powers2017-01-021-1/+1
|
* fix ibase handle initialization, mostly compiler warningsAnatol Belski2016-06-061-0/+6
|
* 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
| |
* | trailing whitespace removalStanislav Malyshev2015-01-101-13/+13
| |
* | first shot remove TSRMLS_* thingsAnatol Belski2014-12-131-1/+1
| |
* | s/PHP 5/PHP 7/Johannes Schlüter2014-09-191-1/+1
| |
* | master renamings phase 5Anatol Belski2014-08-251-1/+1
| |
* | master renames phase 1Anatol Belski2014-08-251-1/+1
| |
* | ported from pdo - pgsql, odbc, mysql, firebirt, dblibAnatol Belski2014-08-191-2/+2
|/
* Cleanup $ is not needed for gitPopa Adrian Marius2014-04-101-2/+0
|
* Bump yearXinchen Hui2014-01-031-1/+1
|
* Happy New YearXinchen Hui2013-01-011-1/+1
|
* - Year++Felipe Pena2012-01-011-1/+1
|
* - 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
|
* - Fixed bug #43296 (Feature req: pdo_firebird: ATTR_FETCH_TABLE_NAMES support)Lars Westermann2007-11-151-0/+5
|
* - Fixed bug #43271 (pdo_firebird: closeCursor not implemented)Lars Westermann2007-11-141-1/+4
| | | | | # Actually firebird_stmt_execute() didn't close a previously opened cursor, but implemented closeCursor anyway.
* - Added default timestamp format definitions (ISO 8601) (related to bug ↵Lars Westermann2007-10-301-0/+15
| | | | #36128, Interbase PDO)
* MFH: Bump year.Sebastian Bergmann2007-01-011-1/+1
|
* bump year and license versionfoobar2006-01-011-3/+3
|
* - Bumber up yearfoobar2005-08-031-1/+1
|
* Fixed PECL bug #3527: Missing quotation marks in php_pdo_firebird_int.hArd Biesheuvel2005-02-211-1/+1
|
* Return all results as strings until I can convince the other guys thatArd Biesheuvel2004-06-231-0/+4
| | | | | it should be otherwise
* Refactored statement allocationArd Biesheuvel2004-06-151-1/+4
| | | | | Added emulated support for named input parameters
* GCC fixesArd Biesheuvel2004-06-121-1/+1
|
* Added client/server info attributesArd Biesheuvel2004-06-121-0/+6
|
* Improved error handlingArd Biesheuvel2004-06-121-0/+3
| | | | | Added some comments
* Removed dependency on regular interbase extensionArd Biesheuvel2004-06-121-1/+20
| | | | | Added support for all datatypes except BLOBs
* Nearly complete implementationArd Biesheuvel2004-06-121-8/+17
| | | | | No date/time fields yet ...
* Initial revision (incomplete)Ard Biesheuvel2004-06-111-0/+83