summaryrefslogtreecommitdiff
path: root/drivers/adodb-mssqlnative.inc.php
AgeCommit message (Collapse)AuthorFilesLines
2015-11-28Bump version to 5.21devDamien Regad1-1/+1
2015-11-28Bump version to 5.20.0v5.20.0Damien Regad1-1/+1
2015-11-26Adjust header comment blocksDamien Regad1-1/+3
- running SED script - manual adjustments for files not processed by regex
2015-10-25new public method setConnectionParameter fixes ↵Mark Newnham1-0/+4
https://github.com/ADOdb/ADOdb/pull/158
2015-08-11Fix#139: Remove PHP 4 ConstructorsValentin Sheyretski1-5/+5
This is the original commit from @valioz, rebased on latest master Signed-off-by: Damien Regad <dregad@mantisbt.org> Conflicts: drivers/adodb-db2ora.inc.php drivers/adodb-mssqlpo.inc.php drivers/adodb-odbc_oracle.inc.php
2015-05-21mssqlnative: fix insert_ID() fails if server returns more than 1 rowgitjti1-3/+4
If inserting involves trigger action, SQL server probably returns more than result ”rows” and we are interested in last one only. Fixes #41, PR #102 Signed-off-by: Damien Regad <dregad@mantisbt.org>
2015-05-21mssqlnative: use correct setting 'WarningsReturnAsErrors'Ray Morris1-2/+2
The driver called sqlsrv_configure('warnings_return_as_errors', 0), which throws "error code = -14, sqlsrv_configure: message = An invalid parameter was passed to sqlsrv_configure". The proper setting is 'WarningsReturnAsErrors', as per documentation http://php.net/manual/en/function.sqlsrv-configure.php Fixes #103 Signed-off-by: Damien Regad <dregad@mantisbt.org> Referenced the fix in the changelog
2015-05-15MSSQL: fix fail on insert when statement contains ';'stekule1-1/+1
In mssql a tick mark (') in a value string is escaped via a second one. Therefore the number of tick marks before the semicolon must be odd (since the string starts with a tick mark). Semicolons should be allowed after an odd number of tick marks. There must be a character between the odd tick mark groups. Fixes #97, see also #96
2014-05-12mssqlnative: replace error_log() calls with ADOConnection::outp()Damien Regad1-27/+27
Fixes #12
2014-05-12WhitespaceDamien Regad1-14/+14
2014-04-30Bump version to 5.20devDamien Regad1-1/+1
2014-04-23Bump version to 5.19v5.19Damien Regad1-1/+1
2014-03-18MSSQL: change timestamp format to ISO 8601Damien Regad1-1/+1
As recommended on Microsoft TechNet site http://technet.microsoft.com/en-us/library/ms180878%28v=sql.105%29.aspx#StringLiteralDateandTimeFormats
2014-02-24Remove closing php tagDamien Regad1-2/+0
http://php.net/manual/en/language.basic-syntax.phptags.php
2014-01-21mssqlnative: prepared statement now returns last Insert IDDamien Regad1-6/+21
Fixes Github issue #5, pull request #6
2014-01-21Bump version to 5.19devDamien Regad1-1/+1
Bumped 'dev' version allows users who rely on source code downloaded from the git repository rather than an official release tarball to reliably determine that they are running a development version of the library.
2014-01-02MS SQL Native: Insert ID on prepared statement.Mike Parks1-6/+21
Implemented a fix (source: http://phplens.com/lens/lensforum/msgs.php?id=19079) that would address an issue where the last insert ID would not be returned when using a prepared statement.
2013-08-09Whitespace fixesDamien Regad1-95/+95
2013-08-09Various MSSQL fixesMark Newnham1-75/+276
Contact the commit's author directly for all comments/fixes. General ======= - The driver is qualified to run on Server 2005, 2008 and 2012. - At startup, the driver identifies the SQL Server version, which allows it to invisibly take advantage of new features available in SQL server 2012. - It will not run on SQL Server 2000, although I'm sure it would be easy enough to fix. - It includes all patches to the known bugs that I can find on the phplens forum. - Much of the debugging has been removed, as this impeded program debugging when used with FastCGI - Some fixes are my own versions of those reported on the phplens boards drivers/adodb-mssqlnative.inc ============================= Changed mapping of bigint from I to I8 MetaColumns() -------------- Missing MetaColumns function, re-introduced, Produces an extended list of 10 field attributes, including auto-increment, nullable GenID() / CreateSequence() -------------------------- - On Server 2008 and lower, uses the historical sequence emulation. - On Server 2012. Uses the newly introduced Create Sequence statement. FetchField() ------------ This follows the method used in the oracle driver and caches the metadata at initialisation, which helps performance. datadict/datadict-mssqlnative.inc ================================= Missing file reintroduced, to support SQL Server format datadict functions perf/perf-mssqlnative.inc ========================= Tables() -------- Arguments to the Tables() function declared incorrectly
2013-08-05Reorg: ADOdb5 (master) branchDamien Regad1-0/+976
- Move all files in adodb5/ to root - Remove adodb-for-php4/ directory