summaryrefslogtreecommitdiff
path: root/ext/odbc
Commit message (Collapse)AuthorAgeFilesLines
* 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
| * Change default option of ODBC drivers to no to enable bulding standalone ODBCLior Kaplan2015-03-221-14/+19
| |
| * cosmetic fix to default odbcverAnatol Belski2015-03-231-1/+1
| |
* | cosmetic fix to default odbcverAnatol Belski2015-03-231-1/+1
| |
* | Merge branch 'PHP-5.6'Remi Collet2015-03-081-4/+5
|\ \ | | | | | | | | | | | | * PHP-5.6: Fix odbc build as shared
| * \ Merge branch 'PHP-5.5' into PHP-5.6Remi Collet2015-03-081-4/+5
| |\ \ | | |/ | | | | | | | | | * PHP-5.5: Fix odbc build as shared
| | * Fix odbc build as sharedRemi Collet2015-03-081-4/+5
| | | | | | | | | | | | Broken since a41aa46759d20e23af92df00b917ca66c6102412
* | | fix fetching wrong resourceAnatol Belski2015-03-061-1/+1
| | |
* | | added ODBCVER to phpinfo()Anatol Belski2015-02-071-0/+4
| | |
* | | Merge branch 'PHP-5.6'Anatol Belski2015-02-061-1/+1
|\ \ \ | |/ / | | | | | | | | | * PHP-5.6: fix setting default ODBCVER value in config.w32
| * | Merge branch 'PHP-5.5' into PHP-5.6Anatol Belski2015-02-061-1/+1
| |\ \ | | |/ | | | | | | | | | * PHP-5.5: fix setting default ODBCVER value in config.w32
| | * fix setting default ODBCVER value in config.w32Anatol Belski2015-02-061-1/+1
| | |
* | | Merge branch 'PHP-5.6'Anatol Belski2015-02-064-8/+20
|\ \ \ | |/ / | | | | | | | | | * PHP-5.6: Fixed bug #68964 Allowed memory size exhausted with odbc_exec
| * | Merge branch 'PHP-5.5' into PHP-5.6Anatol Belski2015-02-064-8/+20
| |\ \ | | |/ | | | | | | | | | * PHP-5.5: Fixed bug #68964 Allowed memory size exhausted with odbc_exec
| | * Fixed bug #68964 Allowed memory size exhausted with odbc_execAnatol Belski2015-02-064-8/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is done in two steps: - the ODBCVER has to be rased to 0x0300 which corresponds to Sql Server 9, otherwise the client will not recognize several SQL datatypes - additionally the config scripts was tweaked so then ODBCVER can be overridden, that still allows enabling compatibility with lower versions Bug #67437 might be fixed by this as well.
| | * Bump yearXinchen Hui2015-01-155-5/+5
| | |
| * | bump yearXinchen Hui2015-01-155-5/+5
| | |