| Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
Allowing param(false) to reset the query parameter count (see #380,
commit 46fa66c10dc50547167d0f8bbbcb6484edf30d1c) introduced a regression
when a falsy value was used, like `param(0)` in adodb-session2.php.
ADODB_postgres64::param() now differenciates betwen use of:
- falsy value -> reset count and return the first placeholder ($1)
- boolean `false` -> reset count, do not return placeholder (next call
will return $1).
Updated PHPDoc for parent ADOConnection::param() to reflect this.
Fixes #682, #380
|
|
|
|
The $magic_quote parameter for public methods was kept for backwards
compatibility purposes, but is no longer used.
Fixes #674
|
|
# Conflicts:
# adodb.inc.php
|
|
|
|
# Conflicts:
# adodb-xmlschema03.inc.php
# adodb.inc.php
# drivers/adodb-pdo.inc.php
|
|
The primary key parameter was reversed . In addition, the method tried to obtain primary key information from the sqlite_master table, instead of the pragma
(cherry picked from commit 45a1d6a567727a846fe2fa218c3f77dbc77464fc)
|
|
ADODB_pdo::setTransactionMode was calling its parent with an undefined
$seqname variable.
|
|
On PHP 8, ADODB_pdo::_query() throws the following error:
Fatal error: Uncaught Error: Attempt to assign property "debug" on null
in adodb/drivers/adodb-pdo.inc.php:499
Only perform the assignment if _driver is not null.
Fixes #666
|
|
On PHP 8, ADORecordSet_postgres64::_close() throws the following error:
Uncaught TypeError: pg_free_result(): Argument #1 ($result) must be of
type resource, bool given in drivers/adodb-postgres64.inc.php:1052.
Adding a check to ensure _QueryID is a ressource of the expected type,
before calling pg_free_result().
Fixes #666
|
|
Conflicts:
drivers/adodb-postgres64.inc.php
|
|
Fixes #667
|
|
Fixes #646
|
|
|
|
Change web site references from http://adodb.org to https.
|
|
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
|
|
|
|
|
|
* 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
|
|
Enhancement allows use of a specfic database connection port
|
|
Enhancement allows use of a specfic database connection port
|
|
|
|
Site no longer active
|
|
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.
|
|
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.
|
|
PHP7.4 requires definition of variable before accessing array offsets
|
|
PHP7.4 requires definition of variable before accessing array offset
|
|
# Conflicts:
# docs/changelog.md
# drivers/adodb-mssqlnative.inc.php
|
|
|
|
|
|
Error messages from last error are lost if the
connection is closed before retrieval
|
|
Error messages from last error are lost if the
connection is closed before retrieval
|
|
|
|
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.
|
|
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.
|
|
Prior to this, calling $db->param(false) would reset the parameter
number to 1 instead of 0, causing the next param() call to return `$2`
instead of the expected `$1`.
Fixes #380
|
|
|
|
The variable is always true, so all tests referencing it can be removed,
as well as the property itself, in the Access, ADS, ODBC and ODBC_db2
drivers.
|
|
|
|
Without the PHP version check, the variable is always true, so all tests
referencing it can be removed, as well as the property itself, in the
ADS, ODBC and PDO drivers.
|
|
Remove $_has_mssql_init property, which is no longer useful.
The ADODB_mssql class' constructor has been removed too, as it was no
longer doing anything.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|