| Age | Commit message (Collapse) | Author | Files | Lines |
|
# Conflicts:
# adodb-csvlib.inc.php
|
|
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)
|
|
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
|
|
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
|
|
Porting change from 416d279f128ab77d9d1b7b999087696e05113b1e.
|
|
|
|
|
|
Follow-up on #1122, for consistency.
Make _init() method protected, adjust the method's signature and call
parent method as appropriate.
|
|
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>
|
|
Try to do it right this time...
# Conflicts:
# adodb-memcache.lib.inc.php
Fixes #751
|
|
Fixes #751
|
|
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
|
|
Cherry-picked e3c6301bff536c3021dfc03ef4286a035820fd0e to prevent
merge conflicts.
|
|
|
|
MetaIndexes not previously supported by PDO mysql driver.
Fix recursion error introduced in affected_rows()
|
|
|
|
|
|
|
|
|
|
|
|
Fixes #465
|
|
# Conflicts:
# docs/changelog.md
|
|
Fixes #531
Signed-off-by: Damien Regad <dregad@mantisbt.org>
|
|
|
|
|
|
|
|
|
|
The same is done (at least for `$nrows`) in the `SelectLimit` method of `Adodb/adodb.inc.php`.
This lowers the risk of SQL injection.
Fixes #311
(cherry picked from commit 7d43989dc95fd00fcf3ba73e08fdaf56ffa4f3e5)
|
|
|
|
|
|
The same is done (at least for `$nrows`) in the `SelectLimit` method of `Adodb/adodb.inc.php`.
This lowers the risk of SQL injection.
Fixes #311
|
|
Add SetAutoCommit() method for PDO drivers.
Avoids PDO Error: The auto-commit mode cannot be changed for this driver
Fixes #347
|
|
|
|
|
|
|
|
|
|
|
|
When a schema is specified in $showSchema, the function generates an
invalid where clause:
WHERE TABLE_SCHEMA= from myschema
^
should be 'myschema'
Fixes #275
|
|
The generated query is broken with the default method arguments.
Fixes #275
Signed-off-by: Damien Regad <dregad@mantisbt.org>
Original commit changed to use single quotes, added issue reference.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- running SED script
- manual adjustments for files not processed by regex
|
|
|
|
* SQLDate method for generating date formatting strings
* SelectDB method for changing selected database
* $metaTablesSQL string that includes table vs view detection
Makes pdo_mysql behave more similarly to mysql and mysqli. Swapping
underlying driver becomes easier.
Signed-off-by: Damien Regad <dregad@mantisbt.org>
Original commit modified to fix whitespace
|
|
|