Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update copyright headers to 2017 | Sammy Kaye Powers | 2017-01-04 | 1 | -1/+1 |
| | |||||
* | avoid unneeded copying | Anatol Belski | 2016-11-07 | 1 | -11/+7 |
| | |||||
* | Fixed bug #73448 odbc_errormsg returns trash, always 513 bytes | Anatol Belski | 2016-11-07 | 1 | -15/+8 |
| | |||||
* | Merge branch 'PHP-5.6' into PHP-7.0 | Remi Collet | 2016-03-17 | 1 | -7/+14 |
|\ | | | | | | | | | | | * PHP-5.6: NEWS Fix Bug #63171 Script hangs after max_execution_time | ||||
| * | Fix Bug #63171 Script hangs after max_execution_time | Remi Collet | 2016-03-17 | 1 | -7/+14 |
| | | | | | | | | | | If aborted via timer expiration, don't try to call any unixODBC function which may hangs because of internal locks | ||||
| * | Fixed bug #47803 | Anatol Belski | 2016-02-24 | 1 | -18/+22 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Executing prepared statements is succesfull only for the first two statements The reworked patch descends to the bug #69526 which is fixed by this as well. The broken logic in the current code was, that SQLDescribeParam was executed in odbc_execute every time. This piece is now moved into odbc_prepare and the results are carried on in an additional structure. Since the ext/odbc headers are not being currently installed and the corresponding structs like odbc_result are not used outside ext/odbc, the binary compatibility persists. Executing SQLDescribeParam only once in odbc_prepare is also an optimization as the filds usually won't change that fast and thus requestind the descriptions on every execution is not required. | ||||
* | | fix pointer truncation on 64 bit | Anatol Belski | 2016-03-14 | 1 | -1/+1 |
| | | |||||
* | | Move semicolon into TSRMLS_CACHE_EXTERN/DEFINE | Nikita Popov | 2016-03-03 | 1 | -1/+1 |
| | | | | | | | | Also re bug #71575. | ||||
* | | Port patch and test for bug #47803 to 7.0 | Anatol Belski | 2016-02-24 | 1 | -18/+23 |
| | | | | | | | | See ff115e285ab5192f9e12a43d5dc202d88b01f1ea | ||||
* | | Merge branch 'PHP-5.6' into PHP-7.0 | Lior Kaplan | 2016-01-01 | 1 | -1/+1 |
|\ \ | |/ | | | | | | | * PHP-5.6: Happy new year (Update copyright to 2016) | ||||
| * | Happy new year (Update copyright to 2016) | Lior Kaplan | 2016-01-01 | 1 | -1/+1 |
| | | |||||
* | | properly export ext/odbc globals | Anatol Belski | 2015-08-02 | 1 | -1/+1 |
| | | |||||
* | | Merge branch 'PHP-5.6' | Christoph M. Becker | 2015-07-03 | 1 | -2/+2 |
|\ \ | |/ | | | | | | | * PHP-5.6: fixed fix #69975 wrt. ODBCVER < 0x0300 | ||||
| * | fixed fix #69975 wrt. ODBCVER < 0x0300 | Christoph M. Becker | 2015-07-03 | 1 | -2/+2 |
| | | |||||
* | | Merge branch 'PHP-5.6' | Christoph M. Becker | 2015-07-03 | 1 | -0/+7 |
|\ \ | |/ | | | | | | | | | * PHP-5.6: updated NEWS Fix #69975: PHP segfaults when accessing nvarchar(max) defined columns | ||||
| * | Fix #69975: PHP segfaults when accessing nvarchar(max) defined columns | Christoph M. Becker | 2015-07-03 | 1 | -0/+7 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | The SQL Server Native Client 11.0 and maybe other ODBC drivers report NVARCHAR(MAX) columns as SQL_WVARCHAR with size 0. This causes too small a buffer to be emalloc'd, likely causing a segfault in the following. As we don't know the real size of the column data, we treat such colums as SQL_WLONGVARCHAR. The related bug #67437 suggests that some drivers report a size of ~4GB. It is not certain that this is really the case (there might be some integer overflow involved, and anyway, there has been no feedback), so we do not cater for this now. However, it would not be hard to treat all sizes above a certain threshold in a similar way, i.e. as SQL_WLONGVARCHAR. | ||||
| * | Fixed bug #69381 out of memory with sage odbc driver | Frederic Marchal | 2015-04-28 | 1 | -0/+9 |
| | | | | | | | | | | | | | | This is just a hotfix as there are still drivers with no full ODBC 3.x support. This patch origins from bug #68350 which was solved by the proper 3.0 migration, another driver (Sage) turned out to have the real issue. | ||||
* | | Cleanup (avoid reallocation) | Dmitry Stogov | 2015-07-02 | 1 | -9/+10 |
| | | |||||
* | | Use ZSTR_ API to access zend_string elements (this is just renaming without ↵ | Dmitry Stogov | 2015-06-30 | 1 | -14/+14 |
| | | | | | | | | semantick changes). | ||||
* | | Fix more proto comments | Rasmus Lerdorf | 2015-06-23 | 1 | -1/+1 |
| | | |||||
* | | fix bug #69381 | Anatol Belski | 2015-04-28 | 1 | -0/+21 |
| | | | | | | | | a simpler version is to be backported | ||||
* | | Merge branch 'pull-request/1239' | Stanislav Malyshev | 2015-04-18 | 1 | -1/+1 |
|\ \ | | | | | | | | | | | | | * pull-request/1239: fixes confusing SQLDescribeParam error message | ||||
| * | | fixes confusing SQLDescribeParam error message | Christoph M. Becker | 2015-04-16 | 1 | -1/+1 |
| | | | |||||
* | | | Merge branch 'PHP-5.6' | Anatol Belski | 2015-04-17 | 1 | -14/+14 |
|\ \ \ | |/ / |/| / | |/ | | | | | * PHP-5.6: fix column name attribute with ODBC 3.0 migrate SQLAllocStmt for ODBC 3.0 compliance | ||||
| * | fix column name attribute with ODBC 3.0 | Anatol Belski | 2015-04-17 | 1 | -1/+1 |
| | | |||||
| * | migrate SQLAllocStmt for ODBC 3.0 compliance | Anatol Belski | 2015-04-17 | 1 | -13/+13 |
| | | |||||
| * | further ODBC 3.0 compliance | Anatol Belski | 2015-04-04 | 1 | -1/+1 |
| | | |||||
| * | more compliance with the ODBC 3.0 | Anatol Belski | 2015-04-04 | 1 | -6/+6 |
| | | |||||
| * | Bump year | Xinchen Hui | 2015-01-15 | 1 | -1/+1 |
| | | |||||
* | | further ODBC 3.0 compliance | Anatol Belski | 2015-04-02 | 1 | -1/+1 |
| | | |||||
* | | more compliance with the ODBC 3.x | Anatol Belski | 2015-04-02 | 1 | -6/+6 |
| | | |||||
* | | integrate static tsrm_ls cache for ext/odbc | Anatol Belski | 2015-03-25 | 1 | -0/+6 |
| | | |||||
* | | cleanup mod version macros, round 3 | Anatol Belski | 2015-03-23 | 1 | -1/+1 |
| | | |||||
* | | fix fetching wrong resource | Anatol Belski | 2015-03-06 | 1 | -1/+1 |
| | | |||||
* | | added ODBCVER to phpinfo() | Anatol Belski | 2015-02-07 | 1 | -0/+4 |
| | | |||||
* | | Attempt to port odbc | Xinchen Hui | 2015-02-04 | 1 | -67/+141 |
| | | |||||
* | | fix int to void * cast | Anatol Belski | 2015-02-03 | 1 | -1/+1 |
| | | |||||
* | | int -> size_t | Rasmus Lerdorf | 2015-01-20 | 1 | -7/+8 |
| | | |||||
* | | Fixed key length | Xinchen Hui | 2015-01-16 | 1 | -2/+2 |
| | | |||||
* | | bump year | Xinchen Hui | 2015-01-15 | 1 | -1/+1 |
| | | |||||
* | | first shot remove TSRMLS_* things | Anatol Belski | 2014-12-13 | 1 | -119/+113 |
| | | |||||
* | | typo fixes - https://github.com/vlajos/misspell_fixer | Veres Lajos | 2014-11-19 | 1 | -3/+3 |
| | | |||||
* | | Merge branch 'PHP-5.6' | Keyur Govande | 2014-10-07 | 1 | -2/+3 |
|\ \ | |/ | | | | | | | | | | | * PHP-5.6: Add to NEWS Add to NEWS Fix for bug #68087 (ODBC not reading DATE columns correctly) | ||||
| * | Fix for bug #68087 (ODBC not reading DATE columns correctly) | Keyur Govande | 2014-10-07 | 1 | -2/+3 |
| | | | | | | | | | | | | | | | | Temporary variable indicating column field type ID should be reset to default for loop iteration (i.e. every column in the record set. The old buggy code made it persist across all columns leading to invalid reads from the buffer, if for example a DATE column was preceded by a VARCHAR column. | ||||
* | | s/PHP 5/PHP 7/ | Johannes Schlüter | 2014-09-19 | 1 | -1/+1 |
| | | |||||
* | | fix possible pointer truncation | Anatol Belski | 2014-09-14 | 1 | -2/+2 |
| | | |||||
* | | Refactored INI subsystem to use zend_string* instead of char* | Dmitry Stogov | 2014-09-01 | 1 | -10/+10 |
| | | |||||
* | | first show to make 's' work with size_t | Anatol Belski | 2014-08-27 | 1 | -8/+8 |
| | | |||||
* | | fixed several long vs zend_long casts | Anatol Belski | 2014-08-26 | 1 | -1/+1 |
| | | |||||
* | | master renames phase 7PRE_AST_MERGE | Anatol Belski | 2014-08-25 | 1 | -1/+1 |
| | |