| Age | Commit message (Collapse) | Author | Files | Lines |
|
The columns list in the metaindexes funtion in the SQLite driver was returned as a CSV list, not an array
|
|
statements #549
If the SQL statement passed to adodb_strip_order contains multiple order by statements, the incorrect one is stripped. This change ensures that only the last one is stripped
Co-Authored-By: mustafa-soner-acar <mustafa-soner-acar@users.noreply.github.com>
|
|
|
|
|
|
|
|
|
|
|
|
This first release of the pdo_firebird driver is known to have the
following limitations:
- Only supports dialect3
- Only tested with PHP7
- Only tested with Firebird 3
- function getRowAssoc() fails because PDO::firebird does not support
getColumnMeta()
- function moveFirst() currently fails for unknown reasons
Fixes #378
|
|
Add support for the following Meta functions within the PDO driver:
- metaIndexes()
- metaPrimaryKeys()
- metaForeignKeys()
- metaProcedures()
Fixes #475
|
|
|
|
- beginTrans
- commitTrans
- rollbackTrans
- createSequence
|
|
|
|
The recent release of the PHP mssql native driver (5.6) has introduced
an issue that causes ADODB/PHP to crash on any query that returns no
fields/data.
Until a fix is available, we remove the sqlsrv_field_metadata() call in
_initrs() method, since the _numOfFields property is anyway initialized
as part of _fetchFields() execution.
Fixes #492
|
|
Conflicts:
docs/changelog.md
|
|
|
|
|
|
|
|
In 5.06, a link was referencing the old html documentation. Changed to
adodb.org instead.
|
|
|
|
# Conflicts:
# adodb-lib.inc.php
|
|
Create 2 new internal functions
- _adodb_getmenu_select() to print the SELECT tag, and
- _adodb_getmenu_option() to print the OPTION tags
and call them from _adodb_getmenu() / _adodb_getmenu_gp().
|
|
The new function is the same as getMenu3(), except that it has an extra
parameter $compareFirstCol to align it with getMenu(). The new param
defaults to true, i.e. defaults are compared against the value, not the
description (opposite of getMenu3()).
getMenu3() is marked as deprecated and just calls the new function.
|
|
Coding guidelines / whitespace.
|
|
It has been noted as such in the documentation since 01.01.2019, but
the code had not been updated accordingly.
|
|
Coding guidelines / whitespace.
|
|
|
|
- Whitespace
- Coding guidelines
- Remove unused variables
- Remove empty if statements
- Optimization
|
|
Commit 61c5a8cf0ea9df2777eed7d1bb7935593aa93545 (see #460) introduced a
regression in the behavior of getMenu() when ADODB_FETCH_MODE is set to
ADODB_FETCH_BOTH, causing it to use the recordset's first column for
both the select options' value and description.
Fixes #482
|
|
|
|
|
|
Slightly more efficient code and removes PHPStorm warning about
uninitialized variable.
|
|
|
|
|
|
|
|
|
|
Historically, the 'adsrc' column was used to retrieve a human-readable
representation of a column's default value. Starting with PostgreSQL 8.0
it is considered obsolete, and it was removed in 12.0 [[1]].
Its usage has been replaced by pg_get_expr(adbin, adrelid), in postgres8
driver, per documentation[[2]].
Fixes #562
[1]: https://www.postgresql.org/docs/12/release-12.html#id-1.11.6.6.4
[2]: https://www.postgresql.org/docs/12/catalog-pg-attrdef.html
|
|
|
|
adodb.inc.php actually uses postgres9, not postgres7
|
|
|
|
|
|
# Conflicts:
# docs/changelog.md
|
|
Passing parameters to implode() in reverse order is deprecated
Fixes #547
|
|
The feature that duplicates auto-increment key fields does not work if the start number for the sequence is greater than 1
|
|
# Conflicts:
# docs/changelog.md
|
|
|
|
|
|
Code cleanup: avoid use of "magic" numbers.
|
|
Same change that was done in adodb-active-recordx.inc.php a few years
ago (see 9f81c75d4566fea795be7024c9415909f094bf15), without the
regression fixed in previous commit.
|
|
This is a regression from 9f81c75d4566fea795be7024c9415909f094bf15.
As part of a code cleanup exercise, an if statement was converted to
switch, but the evaluated expression was not correctly transformed.
|
|
Until now, active Record used an $ADODB_ASSOC_CASE *variable* to control
the fields' case, which is not used or referenced anywhere else in the
ADOdb library.
The correct, documented way of setting the fields' case in associative
fetch mode is to define the ADODB_ASSOC_CASE constant before including
adodb.inc.php.
This commit replaces usages of $ADODB_ASSOC_CASE variable by the
ADODB_ASSOC_CASE constant.
Fixes #536 (follow-up on #535)
|