summaryrefslogtreecommitdiff
path: root/adodb-exceptions.inc.php
AgeCommit message (Collapse)AuthorFilesLines
2023-06-10Fix adodb_throw() ignoring @ operator on PHP 8Damien Regad1-4/+12
error_reporting()'s return value for suppressed errors changed from 0 to 4437 in PHP 8.0.0 [1]. As a result, adodb_throw() throws exceptions when it is not expected to. Fixes #981 [1]: https://www.php.net/manual/en/language.operators.errorcontrol.php
2023-03-17Fix PHP 8.2 dynamic properties deprecation warningsDamien Regad1-0/+3
- ADOConnection: add $_metars, $locale, $metaColumnsSQL, $identitySQL, $_genSeqSQL, $_dropSeqSQL and $_genIDSQL; add PHPDoc to $metaDatabasesSQL $metaTablesSQL - Exceptions: add $msg property - DB2: reference parent connection object and fix $_queryID case - Informix: don't cache version info in SetVersion - odbtp: define $odbc_name, $_canSelectDb, $_lastAffectedRows properties NOTE: this is somewhat academical as the driver is obsolete - oci8: define $_refcursor property - sybase: use existing $hasTransactions property instead of $_hastrans - text: rename unused ADOConnection::$_evalAll property to $evalAll - perf: define $settings property - xml: add properties dbTable::$currentPlatform, dbTable::$data, dbData::$current_field, adoSchema:$obj This is adapted from changes proposed in #926
2022-01-01Prevent PHP warning if P1 or P2 happen to be an arrayMike1-0/+3
When an SQL error is triggered and ADOdb attempts to output an error message, if the parameters happen to be arrays this will prevent a PHP WARNING from occurring. Fixes #783 Co-authored-by: Mike-Benoit <mikeb@timetrex.com>
2021-08-17Redo Merge branch 'hotfix/5.21' Standardized file headersDamien Regad1-11/+14
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-14/+11
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: /Damien Regad1-11/+14
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
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.
2019-11-23PHPDocDamien Regad1-7/+7
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-06Add trailing /Damien Regad1-1/+1
2018-08-06Fix or remove references to php.weblogs.com (#443)Damien Regad1-1/+1
2018-03-30Bump version to 5.20.12v5.20.12Damien Regad1-1/+1
2018-03-30Bump version to 5.20.11v5.20.11Damien Regad1-1/+1
2018-03-08Bump version to 5.20.10v5.20.10Damien Regad1-1/+1
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-29Remove '\n' from Exception messagesDamien Regad1-3/+3
Messages with newline cause uncaught exceptions to be displayed as follows (note the single ' where the message is expected): $ php -r 'throw new exception("blah\n");' Fatal error: Uncaught exception 'Exception' with message ' in Command line code on line 1 Fixes #273
2016-08-10Bump version to 5.20.5v5.20.5Damien Regad1-1/+1
2016-03-30Bump version to 5.20.4Damien Regad1-1/+1
2016-01-01Bump version to 5.20.3v5.20.3Damien Regad1-1/+1
2015-12-27Bump version to 5.20.2v5.20.2Damien Regad1-1/+1
2015-12-06Bump version to 5.20.1v5.20.1Damien 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
2014-05-20Fix array to string conversion noticeDamien Regad1-2/+2
As per Sourceforge #131. Thanks to Spearhead.
2014-04-30Bump version to 5.20devDamien Regad1-1/+1
2014-04-23Bump version to 5.19v5.19Damien Regad1-1/+1
2014-02-24Remove closing php tagDamien Regad1-3/+0
http://php.net/manual/en/language.basic-syntax.phptags.php
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.
2013-08-05Reorg: ADOdb5 (master) branchDamien Regad1-0/+82
- Move all files in adodb5/ to root - Remove adodb-for-php4/ directory