summaryrefslogtreecommitdiff
path: root/ext/odbc
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright headers to 2017Sammy Kaye Powers2017-01-045-5/+5
|
* avoid unneeded copyingAnatol Belski2016-11-071-11/+7
|
* Add test for bug #73448Anatol Belski2016-11-071-0/+52
|
* Fixed bug #73448 odbc_errormsg returns trash, always 513 bytesAnatol Belski2016-11-071-15/+8
|
* Merge branch 'PHP-5.6' into PHP-7.0Remi Collet2016-03-171-7/+14
|\ | | | | | | | | | | * PHP-5.6: NEWS Fix Bug #63171 Script hangs after max_execution_time
| * Fix Bug #63171 Script hangs after max_execution_timeRemi Collet2016-03-171-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 #47803Anatol Belski2016-02-241-0/+185
| |
| * Fixed bug #47803Anatol Belski2016-02-242-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 bitAnatol Belski2016-03-141-1/+1
| |
* | Move semicolon into TSRMLS_CACHE_EXTERN/DEFINENikita Popov2016-03-032-2/+2
| | | | | | | | Also re bug #71575.
* | Port patch and test for bug #47803 to 7.0Anatol Belski2016-02-243-18/+216
| | | | | | | | See ff115e285ab5192f9e12a43d5dc202d88b01f1ea
* | add test for bug #71171Anatol Belski2016-02-231-0/+43
| |
* | Merge branch 'PHP-5.6' into PHP-7.0Anatol Belski2016-02-231-3/+14
|\ \ | |/ | | | | | | * PHP-5.6: make ext/odbc test credentials configurable
| * make ext/odbc test credentials configurableAnatol Belski2016-02-231-3/+14
| |
* | Merge branch 'PHP-5.6' into PHP-7.0Lior Kaplan2016-01-015-5/+5
|\ \ | |/ | | | | | | * PHP-5.6: Happy new year (Update copyright to 2016)
| * Happy new year (Update copyright to 2016)Lior Kaplan2016-01-015-5/+5
| |
* | Add missing variable from birdstep_commit() which got removed in e8fcd52efLior Kaplan2015-09-031-1/+1
| |
* | properly export ext/odbc globalsAnatol Belski2015-08-023-2/+10
| |
* | switch to the unified globals accessor where appropriateAnatol Belski2015-07-291-7/+4
| |
* | Merge branch 'PHP-5.6'Christoph M. Becker2015-07-031-2/+2
|\ \ | |/ | | | | | | * PHP-5.6: fixed fix #69975 wrt. ODBCVER < 0x0300
| * fixed fix #69975 wrt. ODBCVER < 0x0300Christoph M. Becker2015-07-031-2/+2
| |
* | Merge branch 'PHP-5.6'Christoph M. Becker2015-07-032-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 columnsChristoph M. Becker2015-07-032-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 driverFrederic Marchal2015-04-281-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 Stogov2015-07-021-9/+10
| |
* | Use ZSTR_ API to access zend_string elements (this is just renaming without ↵Dmitry Stogov2015-06-301-14/+14
| | | | | | | | semantick changes).
* | Fix more proto commentsRasmus Lerdorf2015-06-231-1/+1
| |
* | fix bug #69381Anatol Belski2015-04-281-0/+21
| | | | | | | | a simpler version is to be backported
* | Merge branch 'pull-request/1239'Stanislav Malyshev2015-04-181-1/+1
|\ \ | | | | | | | | | | | | * pull-request/1239: fixes confusing SQLDescribeParam error message
| * | fixes confusing SQLDescribeParam error messageChristoph M. Becker2015-04-161-1/+1
| | |
* | | Merge branch 'PHP-5.6'Anatol Belski2015-04-172-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.0Anatol Belski2015-04-172-3/+3
| |
| * migrate SQLAllocStmt for ODBC 3.0 complianceAnatol Belski2015-04-172-13/+15
| |
| * added test for bug #69354Anatol Belski2015-04-041-0/+43
| |
| * revert skipif, this should run everywhereAnatol Belski2015-04-041-5/+0
| |
| * further ODBC 3.0 complianceAnatol Belski2015-04-042-1/+7
| |
| * more compliance with the ODBC 3.0Anatol Belski2015-04-042-6/+8
| |
| * test fixesAnatol Belski2015-04-044-1/+16
| |
* | added test for bug #69354Anatol Belski2015-04-021-0/+43
| |
* | revert skipif, this should run everywhereAnatol Belski2015-04-021-5/+0
| |
* | further ODBC 3.0 complianceAnatol Belski2015-04-022-1/+7
| |
* | more compliance with the ODBC 3.xAnatol Belski2015-04-022-6/+8
| |
* | test fixesAnatol Belski2015-04-024-1/+16
| |
* | force ext/odbc to be shared in snapshot buildAnatol Belski2015-03-311-1/+1
| |
* | integrate static tsrm_ls cache for ext/odbcAnatol Belski2015-03-254-3/+12
| |
* | Merge branch 'PHP-5.6'Remi Collet2015-03-251-13/+13
|\ \ | |/ | | | | | | | | | | * PHP-5.6: revert a4157423934edf7b8fdbcee163cced9bfd5748a, fix build odbc as shared Fixed typo Fixed typo
| * revert a4157423934edf7b8fdbcee163cced9bfd5748a, fix build odbc as sharedRemi Collet2015-03-251-13/+13
| |
* | cleanup mod version macros, round 3Anatol Belski2015-03-234-2/+8
| |
* | Merge branch 'PHP-5.6'Stanislav Malyshev2015-03-221-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 driversLior Kaplan2015-03-221-12/+36
| | | | | | | | This makes the output more readble in case no ODBC driver was selected