summaryrefslogtreecommitdiff
path: root/ext/odbc
Commit message (Collapse)AuthorAgeFilesLines
...
| * | Merge branch 'PHP-7.1' into PHP-7.2Anatol Belski2017-12-201-6/+4
| |\ \ | | |/ | | | | | | | | | * PHP-7.1: Templatize driver name in the expected string
| | * Templatize driver name in the expected stringAnatol Belski2017-12-201-6/+4
| | |
| | * Update copyright headers to 2017Sammy Kaye Powers2017-01-045-5/+5
| | |
* | | Move constants into read-only data segmentDmitry Stogov2017-12-141-1/+1
| | |
* | | Persistent resources are "thread-local".Dmitry Stogov2017-11-011-7/+1
| | | | | | | | | | | | Register persistent resources through new functions zend_register_persistent_resource()/zend_register_persistent_resource_ex().
* | | Encapsulate reference-counting primitives.Dmitry Stogov2017-10-271-1/+1
| | | | | | | | | | | | | | | | | | Prohibit direct update of GC_REFCOUNT(), GC_SET_REFCOUNT(), GC_ADDREF() and GC_DELREF() shoukf be instead. Added mactros to validate reference-counting (disabled for now). These macros are going to be used to eliminate race-condintions during reference-counting on data shared between threads.
* | | ODBC Solid is not supported in our build system on Windows, so remove this ↵Kalle Sommer Nielsen2017-07-281-3/+1
| | | | | | | | | | | | #ifdef
* | | Removed support for ODBCRouterKalle Sommer Nielsen2017-07-283-76/+0
| | |
* | | Removed Bird(broken)step support from ODBCKalle Sommer Nielsen2017-07-196-884/+10
|/ /
* | Update copyright headers to 2017Sammy Kaye Powers2017-01-025-8/+8
| |
* | Eliminate win95nt.hKalle Sommer Nielsen2016-12-221-1/+0
| | | | | | | | | | | | - Most of this is builtin php.h now - Removed some dead defines - We now pass /D _USE_MATH_DEFINES for M_PI etc
* | Hmm actually it seems to be the other way around, Anatol?Kalle Sommer Nielsen2016-12-221-2/+2
| |
* | Sync the default value of --with-odbcver with the hardcoded default for ODBCVERKalle Sommer Nielsen2016-12-221-1/+1
| |
* | Remove more PHP 6 leftovers from testsNikita Popov2016-11-241-2/+2
|/
* Merge branch 'PHP-7.0' into PHP-7.1Anatol Belski2016-11-071-11/+7
|\ | | | | | | | | * PHP-7.0: avoid unneeded copying
| * avoid unneeded copyingAnatol Belski2016-11-071-11/+7
| |
* | Merge branch 'PHP-7.0' into PHP-7.1Anatol Belski2016-11-071-0/+52
|\ \ | |/ | | | | | | * PHP-7.0: Add test for bug #73448
| * Add test for bug #73448Anatol Belski2016-11-071-0/+52
| |
* | Merge branch 'PHP-7.0' into PHP-7.1Anatol Belski2016-11-071-15/+8
|\ \ | |/ | | | | | | * PHP-7.0: Fixed bug #73448 odbc_errormsg returns trash, always 513 bytes
| * Fixed bug #73448 odbc_errormsg returns trash, always 513 bytesAnatol Belski2016-11-071-15/+8
| |
* | Increase ODBCVER to 3.5 by defaultAnatol Belski2016-07-042-3/+3
| |
* | Fixed compilation warningsDmitry Stogov2016-06-221-1/+1
|/
* 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
| |