Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update copyright headers to 2017 | Sammy Kaye Powers | 2017-01-04 | 5 | -5/+5 |
| | |||||
* | avoid unneeded copying | Anatol Belski | 2016-11-07 | 1 | -11/+7 |
| | |||||
* | Add test for bug #73448 | Anatol Belski | 2016-11-07 | 1 | -0/+52 |
| | |||||
* | 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 | ||||
| * | add test for bug #47803 | Anatol Belski | 2016-02-24 | 1 | -0/+185 |
| | | |||||
| * | Fixed bug #47803 | Anatol Belski | 2016-02-24 | 2 | -18/+30 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | 2 | -2/+2 |
| | | | | | | | | Also re bug #71575. | ||||
* | | Port patch and test for bug #47803 to 7.0 | Anatol Belski | 2016-02-24 | 3 | -18/+216 |
| | | | | | | | | See ff115e285ab5192f9e12a43d5dc202d88b01f1ea | ||||
* | | add test for bug #71171 | Anatol Belski | 2016-02-23 | 1 | -0/+43 |
| | | |||||
* | | Merge branch 'PHP-5.6' into PHP-7.0 | Anatol Belski | 2016-02-23 | 1 | -3/+14 |
|\ \ | |/ | | | | | | | * PHP-5.6: make ext/odbc test credentials configurable | ||||
| * | make ext/odbc test credentials configurable | Anatol Belski | 2016-02-23 | 1 | -3/+14 |
| | | |||||
* | | Merge branch 'PHP-5.6' into PHP-7.0 | Lior Kaplan | 2016-01-01 | 5 | -5/+5 |
|\ \ | |/ | | | | | | | * PHP-5.6: Happy new year (Update copyright to 2016) | ||||
| * | Happy new year (Update copyright to 2016) | Lior Kaplan | 2016-01-01 | 5 | -5/+5 |
| | | |||||
* | | Add missing variable from birdstep_commit() which got removed in e8fcd52ef | Lior Kaplan | 2015-09-03 | 1 | -1/+1 |
| | | |||||
* | | properly export ext/odbc globals | Anatol Belski | 2015-08-02 | 3 | -2/+10 |
| | | |||||
* | | switch to the unified globals accessor where appropriate | Anatol Belski | 2015-07-29 | 1 | -7/+4 |
| | | |||||
* | | 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 | 2 | -0/+39 |
|\ \ | |/ | | | | | | | | | * 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 | 2 | -0/+39 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | 2 | -16/+18 |
|\ \ \ | |/ / |/| / | |/ | | | | | * 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 | 2 | -3/+3 |
| | | |||||
| * | migrate SQLAllocStmt for ODBC 3.0 compliance | Anatol Belski | 2015-04-17 | 2 | -13/+15 |
| | | |||||
| * | added test for bug #69354 | Anatol Belski | 2015-04-04 | 1 | -0/+43 |
| | | |||||
| * | revert skipif, this should run everywhere | Anatol Belski | 2015-04-04 | 1 | -5/+0 |
| | | |||||
| * | further ODBC 3.0 compliance | Anatol Belski | 2015-04-04 | 2 | -1/+7 |
| | | |||||
| * | more compliance with the ODBC 3.0 | Anatol Belski | 2015-04-04 | 2 | -6/+8 |
| | | |||||
| * | test fixes | Anatol Belski | 2015-04-04 | 4 | -1/+16 |
| | | |||||
* | | added test for bug #69354 | Anatol Belski | 2015-04-02 | 1 | -0/+43 |
| | | |||||
* | | revert skipif, this should run everywhere | Anatol Belski | 2015-04-02 | 1 | -5/+0 |
| | | |||||
* | | further ODBC 3.0 compliance | Anatol Belski | 2015-04-02 | 2 | -1/+7 |
| | | |||||
* | | more compliance with the ODBC 3.x | Anatol Belski | 2015-04-02 | 2 | -6/+8 |
| | | |||||
* | | test fixes | Anatol Belski | 2015-04-02 | 4 | -1/+16 |
| | | |||||
* | | force ext/odbc to be shared in snapshot build | Anatol Belski | 2015-03-31 | 1 | -1/+1 |
| | | |||||
* | | integrate static tsrm_ls cache for ext/odbc | Anatol Belski | 2015-03-25 | 4 | -3/+12 |
| | | |||||
* | | Merge branch 'PHP-5.6' | Remi Collet | 2015-03-25 | 1 | -13/+13 |
|\ \ | |/ | | | | | | | | | | | * PHP-5.6: revert a4157423934edf7b8fdbcee163cced9bfd5748a, fix build odbc as shared Fixed typo Fixed typo | ||||
| * | revert a4157423934edf7b8fdbcee163cced9bfd5748a, fix build odbc as shared | Remi Collet | 2015-03-25 | 1 | -13/+13 |
| | | |||||
* | | cleanup mod version macros, round 3 | Anatol Belski | 2015-03-23 | 4 | -2/+8 |
| | | |||||
* | | Merge branch 'PHP-5.6' | Stanislav Malyshev | 2015-03-22 | 1 | -26/+55 |
|\ \ | |/ | | | | | | | | | * PHP-5.6: Print checking message for all ODBC drivers Change default option of ODBC drivers to no to enable bulding standalone ODBC | ||||
| * | Print checking message for all ODBC drivers | Lior Kaplan | 2015-03-22 | 1 | -12/+36 |
| | | | | | | | | This makes the output more readble in case no ODBC driver was selected |