summaryrefslogtreecommitdiff
path: root/ext/pdo_odbc/php_pdo_odbc_int.h
Commit message (Collapse)AuthorAgeFilesLines
* Fix [-Wundef] warning in PDO ODBC extensionGeorge Peter Banyard2020-05-201-17/+17
|
* Merge branch 'PHP-7.4'Christoph M. Becker2020-02-171-1/+2
|\ | | | | | | | | * PHP-7.4: Fix #79038: PDOStatement::nextRowset() leaks column values
| * Merge branch 'PHP-7.3' into PHP-7.4Christoph M. Becker2020-02-171-1/+2
| |\ | | | | | | | | | | | | * PHP-7.3: Fix #79038: PDOStatement::nextRowset() leaks column values
| | * Fix #79038: PDOStatement::nextRowset() leaks column valuesChristoph M. Becker2020-02-171-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Firstly, we must not rely on `stmt->column_count` when freeing the driver specific column values, but rather store the column count in the driver data. Since the column count is a `short`, 16 bit are sufficient, so we can store it in reserved bits of `pdo_odbc_stmt`. Furthermore, we must not allocate new column value storage when the statement is not executed, but rather when the column value storage has not been allocated. Finally, we have to introduce a driver specific `cursor_closer` to avoid that `::closeCursor()` calls `odbc_stmt_next_rowset()` which then frees the column value storage, because it may be still needed for bound columns.
* | | 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
|/
* 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.
* 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 invalid pointer on 64-bitAnatol Belski2016-03-101-2/+2
|
* 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-1/+1
| |
* | first shot remove TSRMLS_* thingsAnatol Belski2014-12-131-4/+4
| |
* | s/PHP 5/PHP 7/Johannes Schlüter2014-09-191-1/+1
| |
* | master renames phase 1Anatol Belski2014-08-251-2/+2
| |
* | ported from pdo - pgsql, odbc, mysql, firebirt, dblibAnatol Belski2014-08-191-2/+2
|/
* Fix #50444: PDO-ODBC changes for 64-bitAndrew Kehrig2014-04-201-1/+1
| | | | | | | | | This bug is also referenced in [#61777](https://bugs.php.net/bug.php?id=61777) and is still present in the latest stable release of the 5.5 branch. I see two tickets exist for this problem already, and I'm just submitting these changes via github as a reminder that this is a serious problem for anyone using PDO_ODBC on the x64 builds.
* Bump yearXinchen Hui2014-01-031-1/+1
|
* Happy New YearXinchen Hui2013-01-011-1/+1
|
* Fixed bug #63236 (Executable permission on various source files)Xinchen Hui2012-10-091-0/+0
|
* - Year++Felipe Pena2012-01-011-1/+1
|
* - Fixed data type usage in 64bitFelipe Pena2011-06-271-1/+1
| | | | | Reported by: Leonildo Costa
* - 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
|
* [DOC] adds new odbc driver specific ODBC_ATTR_ASSUME_UTF8 to deal with ↵Elizabeth Marie Smith2008-03-131-1/+11
| | | | unicode coming out of Microsoft SQL Server and is only relevant on windows, use it if unicode output from the server is garbled and it will autoconvert text - original patch by wez
* MFH: Bump copyright year, 2 of 2.Sebastian Bergmann2007-12-311-1/+1
|
* MFH: Bump year.Sebastian Bergmann2007-01-011-1/+1
|
* Fix for PECL bug #8944. Could also be the same problem as pecl #7775.Wez Furlong2006-10-111-1/+2
|
* Fix for #36342; ODBC won't let you bind variables by buffer after "long"Wez Furlong2006-03-271-1/+3
| | | | | | | | | | | columns. We simply add a flag that indicates if we've seen any long columns and will continue to bind the columns the slow way. While we're at it, increase the maximum length of the column names that we can handle.
* Fix handling of parameter binding.Wez Furlong2005-07-071-1/+2
| | | | | | | | | | We need to guess at parameter sizing in some cases (eg: MS Access) as the SQLDescribeParam() API is an optional feature. Tidy up error handling. Add workaround for a shutdown bug that I see with MS ODBC implementation. (working to determine the precise cause of this). PDO core test suite now passes all tests.
* This might allow piecewise sending of LOB data for input parameters.Wez Furlong2005-02-071-0/+5
|
* centralize this defineWez Furlong2005-02-071-0/+9
|
* Add configure support for ODBCRouter and generic ODBC libs.Wez Furlong2005-01-121-0/+4
| | | | | | | | | | Note that ODBCRouter doesn't directly implement ODBC 3.0, so using it here won't really work. Expand the ODBC 3 check to better explain what happened and how to make progress (e.g.: use an ODBC manager library like unixODBC).
* Add flag to control the use of the ODBC cursor emulation library.Wez Furlong2004-05-251-0/+4
| | | | | | | The default (which should be safe) is to use the cursor library if it is needed. If for some reason either the driver or the emulation is broken, you may override this from your script.
* Enable ODBC Connection Pooling.Wez Furlong2004-05-221-0/+5
| | | | | | | | | | | | | | | | | Theoretically better than PHP persistent connections, since ODBC itself takes care of resetting the connections back to a "ground" state. Connection pooling defaults to ON, since this is generally useful. You can turn it off by using: pdo_odbc.connection_pooling=off in your php.ini file. You may configure how ODBC matches connection details to existing connections by setting this value to "strict" (the default) or "relaxed". You are encouraged to read the ODBC specs before changing this value.
* Fix doer()Wez Furlong2004-05-221-5/+16
| | | | | Implement error handling for ODBC
* Let is build under unix.Wez Furlong2004-05-171-8/+8
| | | | | | Tested against IBM DB2 and unixODBC. Could work with others.
* ODBC (v3 ish) driver for PDO.Wez Furlong2004-05-171-0/+143
Will not build under unix yet.