summaryrefslogtreecommitdiff
path: root/drivers
AgeCommit message (Collapse)AuthorFilesLines
2026-04-03Intercepts null value passed to PDO qstr methodMark Newnham1-1/+4
2026-03-24Remove deprecation warning in prepareSp()Mark Newnham1-30/+19
Remove dependency on ADODB_FETCH_MODE during prepareSp()
2026-03-22Restructures function to exclude primary key unless requiredMark Newnham1-38/+46
2026-03-22Adds the default value to the metacolumn dataMark Newnham1-0/+2
2026-03-19Reverts commit error removing metaTablesSqlMark Newnham1-1/+2
2026-03-15Merge pull request #1222 from ↵Mark Newnham1-1/+5
ADOdb/1218-oci8-default-value-of-field-in-metacolumns-has-trailing-space Limits trim statement to numeric defaults
2026-03-15move the trim statement into a number control blackMark Newnham1-1/+5
2026-03-14MetaTables should return false, not an empty array for an empty resultMark Newnham1-0/+4
2026-03-14Trim default_value ensuring null value handlingMark Newnham1-1/+1
2026-03-11mssql: fix regression retrieving affected_rows in SQL ServerMark Newnham1-0/+32
Retrieves affected rows before connection closed if necessary. Fixes #606, PR #1216
2026-03-05Added a comment about DB2 insert idMark Newnham1-0/+11
2026-03-02Merge branch 'hotfix/5.22'Damien Regad1-1/+3
2026-03-02Fix metaColummns() throwing exceptionDamien Regad1-1/+3
Calling metaColumns() on a non-existing table triggers an unexpected Exception when using adodb-exceptions.inc.php. The method should just return false in this case. The problem was due to an incorrect evaluation of the table existence check's return value, resulting in unwanted execution of a SHOW COLUMNS statement which returned MySQL error 1146 (42S02): Table doesn't exist. Regression introduced by 5f589f64cea42c792929832cffe26825831f8c94 (see Issue #1016). Fixes #1212
2026-03-01WhitespaceDamien Regad1-12/+12
2026-03-01Remove `mixed` return typeDamien Regad1-1/+1
Not supported on PHP 7.4. Fixes #1210
2026-02-26pgsql: Change output format to support compound keysMark Newnham1-9/+86
Add proper support for associative mode. Fixes #1206, PR #1207
2026-02-25DB2: correctly reset ADODB_FETCH_MODE and fetchModeMark Newnham1-37/+93
Meta functions should accurately reset the fetch mode to the values that are originally passed in. Several DB2 Meta functions did not reset ADODB_FETCH_MODE after executing internal commands. Fixes #1208
2026-02-21Clean up SSL connection parameters and remove error handlingMark Newnham1-16/+24
Fixes #1092, PR #1161
2026-02-19Does not return correclty if multiple constraints exist on same tableMark Newnham1-6/+27
Does not reset correct fetch mode if $db->setFetchMode mode not yet set Does not return correct value if invalid table name passed to method
2026-02-19retuns a string[]Mark Newnham1-1/+1
2026-02-19Merge branch 'master' of https://github.com/ADOdb/ADOdb into ↵Mark Newnham5-119/+371
1174-oci8-metaforeignkeys-fails-if-the-foreign-key-contains-more-than-one-column
2026-02-19Return list of databases in lowecase and update exclusion listMark Newnham1-1/+9
2026-02-19Identify foreign keys by reading information_schemaMark Newnham1-48/+91
Correctly identify foreign keys by reading information_schema database. - Replace regexp parsing of the table "CREATE TABLE" statement. - Fix casing issues - Fix transposed column names fro target to source tables Fixes #1186
2026-02-18Adds refactored metaforeignkeys methodMark Newnham1-22/+85
2026-02-18Validates table name in MetaIndexes to allow for correct return valuesMark Newnham1-2/+28
2026-02-17Ensures the database names and fetch modes are reset after method callMark Newnham1-12/+32
2026-02-14Adds support for schema owner and the associative and numericIndex flagsMark Newnham1-10/+37
2026-02-14Check casing of tables matches available schema before retrrieving indexesMark Newnham1-15/+21
2026-02-14Creates a separate metacolumnnames method for postgres, isolating the driver ↵Mark Newnham1-0/+40
specific code
2026-02-14Fixed for ADODB_ASSOC_CASE and ADODB_FETCH_MODEMark Newnham1-8/+28
- Ensures that associative key matching works correctly - Ensure the fetchMode() precedence is handled correctly
2026-02-14Move the cachedSchemaFlush property from mssqlnative to coreMark Newnham1-1/+0
This prevents dynamic property warnings when a portable application is written that accesses the property from a non-mssqlnative driver
2026-02-13Change the output of MetaForeignKeysMark Newnham1-19/+71
- Remove the PHP8.5 deprecation warning - Add support for forceAssociative and Uppercase options - Ensure that the returned format conforms to the documented standard
2026-02-11Merge branch 'hotfix/5.22'Damien Regad1-1/+4
# Conflicts: # adodb-csvlib.inc.php
2026-02-11mysqli: use ADOConnection::metaDatabases()Damien Regad2-23/+8
Define $metaDatabasesSQL in the driver-specific class and remove the ADODB_mysqli::metaDatabases() method override, let the parent do the job. Also define the meta query for the PDO mysql driver. Fixes #1162 (cherry picked from commit bb7d863311425c0f2ea1cb9334285d845e5e6e63)
2026-02-11mysqli: use ADOConnection::metaDatabases()Damien Regad2-31/+4
Define $metaDatabasesSQL in the driver-specific class and remove the ADODB_mysqli::metaDatabases() method override, let the parent do the job. Also define the meta query for the PDO mysql driver. Fixes #1162, PR #1166
2026-02-11PHP 8.5: MYSQL_ATTR_USE_BUFFERED_QUERY deprecatedDamien Regad2-2/+4
Now an alias for Pdo\Mysql::ATTR_USE_BUFFERED_QUERY. Pdo\Mysql class was introduced in PHP 8.4, so use the old constant for earlier versions. Fixes #1172
2026-02-08Resructure method to prevent array errors if table not foundDamien Regad1-1/+13
Fixes #1156 (cherry picked from commit 1738d53e71ba5d29296e738063532f627e7b8837)
2026-02-06Adds the length functionMark Newnham2-0/+26
2026-01-31Change structure of record iteration to not match associative keysMark Newnham1-9/+19
2026-01-19Resructure method to prevent array errors if table not foundMark Newnham1-4/+12
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-10-30Updare Actual types and identify auto-increment column in metacolumnsMark Newnham1-10/+47
2025-10-25Merge branch 'hotfix/5.22'Damien Regad19-84/+84
# Conflicts: # adodb-time.inc.php # drivers/adodb-db2.inc.php
2025-10-25PHP 8.5: fix Non-canonical cast deprecationsDamien Regad19-39/+39
Non-canonical cast (integer) is deprecated, use the (int) cast instead Global search and replace throughout the code base. Fixes #1143
2025-10-11Add updated rowcount and selectlimit offsetMark Newnham1-1717/+1766
2025-10-10Add comment explaining db2_num_rowsMark Newnham1-2/+3
2025-09-29Drop Sequence references tables, not sequencesMark Newnham1-10/+72
Sequence methods return incorrect success values CreateSequence uses non-standard error handling GenID returns next id as string, not integer
2025-09-28PDO mysql: change $sysDate/$sysTimestamp defaultDamien Regad1-2/+2
Porting change from 416d279f128ab77d9d1b7b999087696e05113b1e.