summaryrefslogtreecommitdiff
path: root/drivers/adodb-mssql.inc.php
AgeCommit message (Collapse)AuthorFilesLines
2023-04-30Define ADOConnection::_query() methodDamien Regad1-1/+0
- Update child classes to be consistent with this declaration. - Remove unnecessary, non-PHPDoc comments - Consistent parameter names Fixes #966
2023-03-12Remove deprecated $databaseName propertyDamien Regad1-1/+0
ADOConnection::$databaseName was marked as obsolete in ADOdb 4.66. Since the assignment that was kept for backwards-compatibility in the ADOConnection::selectDB() method is causing deprecation warnings with PHP 8.2, now is the time to get rid of it. The 2018 rewrite of DB2 driver introduced a private $databaseName property; this has been removed in favor of ADOConnection::$database. Fixes #932, #904 Signed-off-by: Damien Regad <dregad@mantisbt.org>
2021-11-07Uniformize metaForeignKeys() function signatureDamien Regad1-1/+1
- public visibility - camelCase - change $owner default from false to '' - add $associative param where missing - PHPDoc updates
2021-08-17Redo Merge branch 'hotfix/5.21' Standardized file headersDamien Regad1-17/+21
Try to do it right this time... # Conflicts: # adodb-memcache.lib.inc.php Fixes #751
2021-08-17Reset version to avoid merge conflictsDamien Regad1-1/+1
Fixes #751
2021-08-17Revert changes since Standardized file headers mergeDamien Regad1-21/+17
The conflicts resolution applied when merging the Standardized file headers (commit e9dcce3df24912ad869d0193f0b419f2309101fc) was seriously messed up, actually overwriting a number of changes in the master branch. Rather than trying to go and fix things one by one which has a high risk of messing things further, it's easier to redo the merge from a clean slate, so this commit reverts the following: - "Merge branch 'hotfix/5.21' Standardized file headers", e9dcce3df24912ad869d0193f0b419f2309101fc - "Merge tag 'v5.21.1'", 5f437df3104159d5d659f60e31bef8d33c34995f - "Reset version to 5.22.0-dev" af9234a525c3255af051a330164486d73be4c63a - "Fix incorrect resolution of merge conflicts" a6733f61b0165b366c8d2c70d9af82edc3881951. - "Fix syntax error in toexport.inc.php" 20b01e83cb61b6b2460f64c7d1277c5f4cc28574. Fixes #751
2021-08-14Standard file header: /driversDamien Regad1-17/+21
2021-04-11WhitespaceDamien Regad1-2/+2
2021-04-11Add stub for ADOConnection::_insertID()Damien Regad1-1/+1
Update child classes so method signature matches the parent's.
2021-03-08Bump version to 5.21.1-devDamien Regad1-1/+1
2021-02-27Bump version to 5.21.0v5.21.0Damien Regad1-1/+1
2021-02-02Bump version to 5.21.0-rc.1v5.21.0-rc.1Damien Regad1-1/+1
2021-01-25Remove all magic quotes related codeDamien Regad1-29/+14
The $magic_quote parameter for public methods was kept for backwards compatibility purposes, but is no longer used. Fixes #674
2020-12-20Bump version to 5.21.0-beta.1v5.21.0-beta.1Damien Regad1-1/+1
2020-12-19adodb.org is now served over SSLDamien Regad1-1/+1
Change web site references from http://adodb.org to https.
2020-12-06Removed references to phplens.com, see #564Mark Newnham1-2/+2
2020-01-24Remove PHP>=4.1 check in mssql/mssqlpo driversDamien Regad1-16/+1
Remove $_has_mssql_init property, which is no longer useful. The ADODB_mssql class' constructor has been removed too, as it was no longer doing anything.
2020-01-24Remove the pre-PHP5 date/time management featureMark Newnham1-131/+3
2020-01-24Remove unneeded PHP4 checksMark Newnham1-6/+8
2019-12-30mssql: MetaForeignKeys not returning all FK'sJean-Cyril Poiraud1-1/+5
MetaForeignKeys returns an associative array with the name of reference table for key. But when there are 2 foreign keys from the same reference table, MetaForeignKeys returns only the last foreign key. A solution is to merge arrays when there are several foreign keys. Fixes #486 Signed-off-by: Damien Regad <dregad@mantisbt.org> Original commits from PR squashed and message reworded.
2019-11-12Codespell assisted typo cleaningJean-Michel Vourgère1-1/+1
2018-08-06Merge branch 'hotfix/5.20' (v5.20.13)Damien Regad1-1/+1
# Conflicts: # adodb-time.inc.php # docs/changelog.md # drivers/adodb-mssql.inc.php # drivers/adodb-mssqlnative.inc.php # drivers/adodb-oci8po.inc.php
2018-08-06Reset version to avoid merge conflictsDamien Regad1-1/+1
2018-08-06Bump version to 5.20.13v5.20.13Damien Regad1-1/+1
2018-08-06Replace adodb.sourceforge.net URLs by adodb.orgDamien Regad1-1/+1
2018-07-07Mismatched single quotes confused function See #420Mark Newnham1-1/+10
When a string containing a leading quote (but not a trailing one was passed to _query(), the function assumed that it was a fully quoted string, then failed on execution
2018-07-07Mismatched single quotes confused function See #420Mark Newnham1-1/+10
When a string containing a leading quote (but not a trailing one was passed to _query(), the function assumed that it was a fully quoted string, then failed on execution
2018-06-07Various syntax error corrections (#422)Aníbal Svarcas1-2/+2
2018-03-30Bump version to 5.20.12v5.20.12Damien Regad1-1/+1
2018-03-30Merge branch 'hotfix/5.20'Damien Regad1-1/+8
I messed up the merge at c350c007ed585a4da4dc8c62ae7954cfe13b621f. Not sure what I did or how, but the changes from the hotfix branch got lost. Redoing the merge to fix the problem.
2018-03-30Bump version to 5.20.11v5.20.11Damien Regad1-1/+1
2018-03-30Fix potential SQL injection in SelectLimit()Dave Paul1-0/+2
The `SelectLimit` function has a potential SQL injection vulnerability through the use of the `nrows` and `offset` parameters which are not forced to integers. This is a follow-up on #311, and fixes all remaining drivers that do not use ADOConnection::SelectLimit(). Fixes #401 Signed-off-by: Damien Regad <dregad@mantisbt.org> Original commits squashed, message reworded. Fixed whitespace.
2018-03-30Replace create_function() by anonymous functionsDamien Regad1-1/+6
create_function() is deprecated in PHP 7.2 http://php.net/manual/en/function.create-function.php Fixes #404
2018-03-08Bump version to 5.20.10v5.20.10Damien Regad1-1/+1
2017-11-27Fix more ADORecordSet::__construct inconsistenciesDamien Regad1-1/+1
Fixes #278
2017-11-25MSSQL driver: support alternative port in connectMerijn1-0/+2
Fix actually using the alternative port if it was specified. The base driver class will strip the port from hostname and put it in port property. So now add it again if it was set. Fixes #314
2016-12-21Bump version to 5.20.9v5.20.9Damien Regad1-1/+1
2016-12-17Bump version to 5.20.8v5.20.8Damien Regad1-1/+1
2016-09-20Bump version to 5.20.7v5.20.7Damien Regad1-1/+1
2016-09-20Update changelogDamien Regad1-1/+1
2016-08-31Bump version to 5.20.6v5.20.6Damien Regad1-1/+1
2016-08-10Bump version to 5.20.5v5.20.5Damien Regad1-1/+1
2016-05-26Driver does not support 'l' format in sqlDateMark Newnham1-1/+3
The code for the 'l' format (day of week) is missing from the sqlDate function Signed-off-by: Damien Regad <dregad@mantisbt.org> Same change as f0d060dbe0ce029d7800d97394da7fd66d23370e, but for mssql driver (original change only fixed issue for mssqlnative). Fix #232
2016-04-27WhitespaceDamien Regad1-5/+5
2016-04-27Remove ADORecordset_mssql::substr()Damien Regad1-27/+1
This method was introduced in 7d941967aa1b81d636f5b6e1f3549b2fc95248b9. As mentioned in [1], since the function is already defined in ADODB_mssql, it does not make sense to have it in the recordset too. @mnewnham confirmed via Gitter [2] that it should be removed. [1] https://github.com/ADOdb/ADOdb/commit/7d941967aa1b81d636f5b6e1f3549b2fc95248b9#commitcomment-17064111 [2] "Got completely lost with that substr in the recordset, that should not be their at all - If I put it into master it should be killed"
2016-04-10SQL Server drivers charMax and textMax return values are incorrect (see #220) Mark Newnham1-0/+50
The methods had not been defined for SQL server connection drivers so they returned the default 'NOT SET' values
2016-04-10Portable substring method added, see #219Mark Newnham1-0/+26
ADOdb contains a portable connection::substring connection identifier, but it could not be successfully used to create portable substring SQL code when used with SQL Server, because that driver requires a mandatory 3rd length parameter which differs from most other databases.
2016-03-30Bump version to 5.20.4Damien Regad1-1/+1
2016-01-02Merge branch 'hotfix/5.20.3'Damien Regad1-1/+2
Conflicts: docs/changelog.md
2016-01-02Reset version to avoid merge conflictsDamien Regad1-1/+1