summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2020-12-16Merge branch 'hotfix/5.20' (v5.20.19)Damien Regad7-70/+101
Note on merge conflict in adodb.inc.php: At line 5133, parse_url() is called with `@` operator in the hotfix/5.20 branch (commit 2026e66e86f35995eee32557c2f83f1d539ca9c7) whereas the same change in the master branch (commit c1a6794ece2b02c2a5d238159ae85da3cbd6d) is without it. Code was kept as it is in master. # Conflicts: # adodb-lib.inc.php # adodb.inc.php # drivers/adodb-mssqlnative.inc.php # drivers/adodb-mysqli.inc.php # drivers/adodb-pdo.inc.php
2020-12-16Reset version to avoid merge conflictsDamien Regad131-131/+133
2020-12-16Bump version to 5.20.19 (again)v5.20.19Damien Regad1-1/+1
Update of $ADODB_vers was missed in the previous bump commit.
2020-12-14Bump version to 5.20.19Mark Newnham131-130/+143
2020-12-12Mysqli metacolumns (#653)Mark Newnham1-0/+20
* Add support for MySQL Version 8. See #642 The metacolumns function returns the incorrect type for unsigned integers because it doesn't include the length in MySQL 8 * Metacolumns returns wrong type for integer fields in Mysql 8 #642
2020-12-11@mnewnham Add support for specific SQL Server connection port. See #624 …Mark Newnham1-1/+8
Enhancement allows use of a specfic database connection port
2020-12-11Add support for specific SQL Server connection port. See #624Mark Newnham1-0/+7
Enhancement allows use of a specfic database connection port
2020-12-10DSN database connection with password containing # fails see #651Mark Newnham1-2/+34
The # symbol disupts the parse_url function so the password is temorarily substituted during the url decoding phase
2020-12-10DSN database connection with password containing # fails see #651Mark Newnham1-3/+39
The # symbol disupts the parse_url function so the password is temorarily substituted during the url decoding phase
2020-12-06Add support for release candidate buildsMark Newnham1-1/+1
Regex changed to support build numbers ending similar to -RC1
2020-12-06Removed references to phplens.com, see #564Mark Newnham12-23/+23
2020-12-06Removed hotlinks to PHPlens see #564Mark Newnham19-90/+81
Site no longer active
2020-12-06Removed the note about PHPlens as it is no longer relevantMark Newnham1-1/+0
2020-12-06Adds support for PDO Constructor parameters see #650Mark Newnham1-2/+17
The PDO driver now supports persistent connections via the **pconnect()** method as well as other constuctor options via the **pdoOptions** class variable. See the ADOdb PDO documentation for more information.
2020-12-06Adds support for PDO Constructor parameters see #650Mark Newnham1-1/+17
The PDO driver now supports persistent connections via the **pconnect()** method as well as other constuctor options via the **pdoOptions** class variable. See the ADOdb PDO documentation for more information.
2020-12-03PHP7.4 requires definition of variable see #637Mark Newnham1-2/+4
PHP7.4 requires definition of variable before accessing array offsets
2020-12-03PHP7.4 requires definition of variable see #637Mark Newnham1-2/+4
PHP7.4 requires definition of variable before accessing array offset
2020-08-02uploadrelease.py: set default download flagDamien Regad3-12/+111
Previously, setting the default file to download based on the target OS had to be updated manually. Now the script relies on SourceForge's Release API to automate the process.
2020-08-02List the files to be uploadedDamien Regad1-0/+2
2020-08-02New command-line option to skip SourceForge uploadDamien Regad1-4/+13
This allows only updating the (previously) uploaded files information via the SourceForge Release API.
2020-08-02Enable dry-run mode for SourceForge APIDamien Regad1-15/+22
2020-08-02Code cleanupDamien Regad1-7/+6
- Fix typos - PEP8 - remove debug statement - removed reference to no-longer-used global variables
2020-08-02Use SourceForge API to set file infoDamien Regad3-0/+82
The script is now capable of updating the default file to download from the SourceForge files section, based on the uploaded file's extension. Introduces a config file for maintenance scripts, in YAML format, named env.yml. It is used to store the SourceForge API key.
2020-08-02Merge branch 'hotfix/5.20' (v5.20.18)Damien Regad2-6/+6
# Conflicts: # docs/changelog.md # drivers/adodb-mssqlnative.inc.php
2020-08-02Reset version to avoid merge conflictsDamien Regad131-131/+133
2020-08-02WhitespaceDamien Regad1-0/+1
2020-06-28Bump Versionv5.20.18Mark Newnham130-130/+130
2020-06-28Update ChangelogMark Newnham1-0/+3
2020-05-31Retrieve error messages early before connection close #614Mark Newnham1-0/+6
Error messages from last error are lost if the connection is closed before retrieval
2020-05-31Retrieve error messages early before connection close #614Mark Newnham1-1/+13
Error messages from last error are lost if the connection is closed before retrieval
2020-04-01Merge branch 'hotfix/5.20' (5.20.17)Damien Regad1-0/+2
# Conflicts: # docs/changelog.md # drivers/adodb-mssqlnative.inc.php
2020-04-01Reset version to avoid merge conflictsDamien Regad131-131/+133
2020-03-31Bump version to 5.20.17v5.20.17Damien Regad131-132/+132
2020-03-31Update ChangelogDamien Regad1-0/+2
2020-03-30PHP7.4 throws error at uninitialized array, #608Mark Newnham1-1/+8
method Fields() accessed an unitialized array, that was not trapped in versions of PHP prior to 7.4. method now checks to see if array is initialized.
2020-03-30PHP7.4 throws error at uninitialized array, #608Mark Newnham1-1/+7
method Fields() accessed an unitialized array, that was not trapped in versions of PHP prior to 7.4. method now checks to see if array is initialized.
2020-03-28Fix native mode casing issue, see #610Mark Newnham1-1/+1
2020-03-28Fix native mode casing issue, see #610Mark Newnham1-2/+1
2020-03-28Merge branch 'hotfix/5.20' of https://github.com/ADOdb/ADOdb into hotfix/5.20Mark Newnham2-2/+6
2020-01-30Merge remote-tracking branch 'origin/hotfix/5.20'Damien Regad2-2/+6
# Conflicts: # docs/changelog.md
2020-01-30Do not overwrite $fn function parameterDamien Regad2-2/+6
When using transactions (startTrans/completeTrans), the ADOdb Exception thrower function ($raiseErrorFn property) is replaced by a specific handler (ADODB_TransMonitor method), which itself calls the original handler (adodb_throw) by default. ADODB_TransMonitor incorrectly overwrites the $fn parameter (which drives the behavior of the ADODB_Exception class constructor) with the name of the original handler, causing ADOdb_Exception::__construct() to throw an "Array to string conversion" PHP notice when the query triggering the exception has parameters. Using a dedicated variable to store and call the original handler fixes the problem. Fixes #601
2020-01-25New Load Balancer featureDamien Regad2-0/+774
First version of this class that allows the user to do read/write splitting and load balancing across multiple connections. It can handle and load balance any number of master or slaves (multi-master or master/slave), including dealing with connection failures with minimal changes to their existing application and ADOdb itself. Of course once a transaction starts all queries "stick" to that connection until it ends, at which point load balancing/query splitting resumes again. Example usage is in the file itself. Thanks to @Mike-Benoit Fixes #111
2020-01-25Update changelogDamien Regad1-0/+1
2020-01-25More whitespace, break long linesDamien Regad1-118/+154
2020-01-25Logical operators: use &&,|| instead of AND,ORDamien Regad1-5/+5
2020-01-25Various whitespace fixesDamien Regad1-178/+181
2020-01-25Missing return statementDamien Regad1-2/+1
The function could reach its end without actually returning any value. Moving the `return false` statement out of the if/else block to ensure this does not happen.
2020-01-25Missing `new` keyword when throwing ExceptionDamien Regad1-1/+1
2020-01-25Remove unreachable codeDamien Regad1-4/+0
The return statements are preceded by a throw, so they will never be executed.
2020-01-25Various PHPDoc fixesDamien Regad1-11/+13