summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2026-02-06Adds the length functionMark Newnham3-0/+39
2026-01-31Merge pull request #1163 from ↵Mark Newnham1-9/+19
ADOdb:1162-mysqli-metadatabases-returns-empty-result-set-if-fetch-mode-is-adodb_fetch_num Change structure of metadatabase record iteration to not match associative keys
2026-01-31Change structure of record iteration to not match associative keysMark Newnham1-9/+19
2026-01-27Merge branch 'pr1153'Damien Regad1-21/+18
2026-01-27Fix static analysis warningsDamien Regad1-20/+17
2026-01-27Missing 4th parameter in fgetcsv function callDamien Regad1-1/+1
Follow-up on 1eefccac433335a49899cd9534676ab30569ee80, one occurrence was missed. Fixes #1152
2026-01-27Fix regression in metaTables()Damien Regad1-6/+6
When the driver does not override metaTables() and the $metaTablesSql statement only returns the table name and not the type, a PHP warning occurs: Undefined array key 1 in .../adodb.inc.php on line 3284 Check if the 2nd column (type) exists in the recordset, and only call array_filter() when it does. Fixes #1132
2026-01-19Merge pull request #1157 from ↵Mark Newnham1-4/+12
ADOdb/1156-mysqli-metaforeignkeys-fails-with-warning-if-an-invalid-table-name-or-table-owner-is-supplied Resructure method to prevent array errors if table not found
2026-01-19Resructure method to prevent array errors if table not foundMark Newnham1-4/+12
2026-01-18Merge pull request #1155 from ↵Mark Newnham1-0/+7
ADOdb:1154-core-php85-causes-dynamic-variable-creation-error-in-adorecordset_empty Undefined class property error in ADOrecordset_empty
2026-01-18Undefined class property error in ADOrecordset_emptyMark Newnham1-0/+7
2026-01-18Merge pull request #1153 from ↵Mark Newnham1-2/+2
ADOdb:1152-core-php85-causes-deprecation-warning-in-adodb-csvlibincphp PHP8.5 Causes Deprecation Warning in adodb-csvlib.inc.php
2026-01-18PHP8.5 Causes Deprecation Warning in adodb-csvlib.inc.phpMark Newnham1-2/+2
Fixes the deprecation warnings caused by missing 4th parameter in fgetcsv function calls
2026-01-17Merge pull request #1151 from ↵Mark Newnham2-2/+2
ADOdb:1150-active-record-php85-causes-deprecation-warning-in-both-active-record-and-active-recordx Remove deprecated semicolons for case statements
2026-01-17Remove deprecated semicolons for case statementsMark Newnham2-2/+2
2025-11-22announce.py: fix Milestone closureDamien Regad1-0/+2
Milestones do not have the 'v' prefix, so the search was failing.
2025-11-22Merge tag 'v5.22.11'Damien Regad1-1/+19
ADOdb version 5.22.11 released 2025-11-22 # Conflicts: # adodb.inc.php # docs/changelog.md
2025-11-22Bump version to 5.22.11v5.22.11Damien Regad1-1/+1
2025-11-22Update ChangelogDamien Regad1-0/+18
2025-11-22Merge branch 'hotfix/5.22'Damien Regad1-5/+5
2025-11-22mysql: treat objects with __toString() as stringDamien Regad1-1/+1
Since the mysqli driver refactoring in 5.22.0 to support bound variable statements, objects passed as parameters are handled as BLOBs. This is a regression compared to earlier behavior, which allowed those having a __toString() method to be treated as strings. This restores the earlier functionality. Fixes #1075
2025-11-22WhitespaceDamien Regad1-4/+4
2025-11-22Merge branch 'hotfix/5.22'Damien Regad2-51/+46
# Conflicts: # adodb-active-record.inc.php # adodb-active-recordx.inc.php
2025-11-22PR #1074: ActiveRecord doQuote and follow-up fixesDamien Regad2-68/+62
2025-11-22Removed unused _QName() methodDamien Regad1-15/+0
It was replaced by nameQuoter() many years ago, see commit 876d51b73a5efa089e4cb12589de242e4f24b4c2.
2025-11-22Add missing MetaTypes in switchDamien Regad1-0/+7
Some changes made in the standard ADODB_Active_Record class's doQuote() method were never applied to the extended version.
2025-11-22Remove useless strlen() and simplify quote checkDamien Regad2-6/+2
2025-11-22Fix static analysis warningsDamien Regad2-6/+7
2025-11-22Coding guidelinesDamien Regad2-56/+56
2025-11-22Active record: handle empty string in dbquote()Konstantin Tarasov2-3/+8
The method did not generate the appropriate quote for empty strings, resulting in invalid SQL syntax in the UPDATE statement's where clause. Fix #1073, PR #1074
2025-11-22Merge branch 'hotfix/5.22'Damien Regad2-18/+55
2025-11-22autoExecute return false on update with no matchDamien Regad1-2/+3
If the specified where clause returns no rows, then we return false early, there is no point building and executing an UPDATE statement that will do nothing. Fixes #1148
2025-11-22autoExecute: always use DB_AUTOQUERY_* constantsDamien Regad1-13/+20
2025-11-22PHP 7.0 compatible syntaxDamien Regad1-5/+5
Trailing comma in function calls is only available since PHP 7.3 Named arguments are only allowed since PHP 8.0
2025-11-22Fix autoExecute() skipping updatesDiogo Galvão2-3/+32
AutoExecute fetches a row from the table prior to performing an insert or update. When $forceUpdate is false, only modified columns should be updated. However, the WHERE clause was not being used when fetching the row, so the comparison was always made against an arbitrary row, causing differences to be detected or missed by chance. This change makes use of the $where parameter when fetching the row from the table, making the comparison work as intended. Fixes #1146
2025-10-30Merge pull request #1145 from ↵Mark Newnham1-10/+47
ADOdb/1144-update-db2-actualtypes-to-match-current-db-features Updare Actual types and identify auto-increment column in metacolumns
2025-10-30Updare Actual types and identify auto-increment column in metacolumnsMark Newnham1-10/+47
2025-10-25Merge branch 'hotfix/5.22'Damien Regad25-98/+98
# Conflicts: # adodb-time.inc.php # drivers/adodb-db2.inc.php
2025-10-25PHP 8.5: fix Non-canonical cast deprecationsDamien Regad26-55/+55
Non-canonical cast (integer) is deprecated, use the (int) cast instead Global search and replace throughout the code base. Fixes #1143
2025-10-11Merge pull request #1142 from ↵Mark Newnham1-2/+18
ADOdb/1141-xmlschema-table-level-platform-specific-opts-are-attached-to-the-wrong-platform
2025-10-11revert createtable change for nowMark Newnham1-1/+1
2025-10-11revert incorrectly pulled changesMark Newnham1-7/+4
2025-10-11Fix error where platform-specific table options are pulled to wrong tableMark Newnham1-6/+25
2025-10-11Merge pull request #1140 from ↵Mark Newnham1-1717/+1766
ADOdb:1139-db2-update-driver-to-support-updated-offset-and-record-counting-methods Add updated rowcount and selectlimit offset
2025-10-11Add updated rowcount and selectlimit offsetMark Newnham1-1717/+1766
2025-10-10Merge pull request #1138 from ↵Mark Newnham2-4/+6
ADOdb:1137-core-recordset-fetch-mode-not-set-correctly-if-the-driver-does-not-support-recordset-record-counting-natively Set recordset fetch mode correctly for arrays
2025-10-10Set recordset fetch mode correctly for arraysMark Newnham1-2/+3
2025-10-10Add comment explaining db2_num_rowsMark Newnham1-2/+3
2025-10-07Merge pull request #1136 from ↵Mark Newnham1-10/+72
ADOdb:1130-mssqlnative-dropsequence-method-incorrectly-references-tables-not-sequences Drop Sequence references tables, not sequences
2025-10-06Merge pull request #1134 from ↵Mark Newnham2-0/+7
ADOdb/1133-activerecord-php8-causes-auto-initialization-of-adodb_active_dbs-as-array-to-fail 1133 activerecord php8 causes auto initialization of adodb active dbs as array to fail