| Age | Commit message (Collapse) | Author | Files | Lines |
|
# Conflicts:
# drivers/adodb-mysqli.inc.php
|
|
PHP 8.1 changes the default error reporting mode from OFF to
MYSQLI_REPORT_ERROR | MYSQLI_REPORT_STRICT [1].
We manually set it to MYSQLI_REPORT_OFF in the ADODB_mysqli class
constructor to ensure compatibility.
Fixes #755
[1]: https://wiki.php.net/rfc/mysqli_default_errmode
|
|
Wrapping table names represented by `%s` in backticks so tables names
that are also reserved words don't cause issues.
These 2 locations have impacted our project. There are more in this
file but they have not impacted us yet so I have left them untouched.
I also updated the call to `$this->Execute()` in the first case. PHP is
case insensitive to this, but not all IDE's are so this should help
those.
Fixes #759
|
|
Fixed "Declaration of ADODB_pdo::metaIndexes($table, $normalize = true)
should be compatible with ADOConnection::MetaIndexes($table, $primary =
false, $owner = false)"
(cherry picked from commit 891f5544a8db0ddf4ccef704b63ebbd654fb2d4e)
|
|
Caused by incorrectly resolved merge conflict
507466ef798b18a3a8830230cfcd51bb488513cf.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Replace emulated associative with fbird_fetch_assoc
|
|
Lookup for auto blob decoding uses standard $fieldObjects instead of custom array
|
|
- The _init method now loads all field objects at startup so that fetchField can return cached values instead of re-reading fbird_field_info() repeatedly
- Update docblocks for blob functions
- Remove unused _blob_decode_old method
|
|
Error no is derived from fbird_errcode, isnstead of attempting to parse it from the errorMessage
|
|
- Update docblock
= Replace GENERATOR with recommended SEQUENCE
|
|
Firebird recommends SEQUENCE instead of GENERATOR, so use core methods
|
|
- updated docblock
- Rewrote syntax to conform to recomended syntax replacing GENERATOR with SEQUENCE
|
|
- update docblock
- full rewrite of method based on firebird docs
|
|
|
|
The issue regarding multiple connections see #201 appears to have been resolved
|
|
|
|
|
|
- Update docblock
- Implement setConnectionParameter for role, dialect
- Remove pre-php5 code fbird_timefmt
|
|
The standard method **setTransactionMode()** replaces the custom **$ibasetrans** transaction handling values
|
|
- Update docblock
- Default date uses CURRENT_TIMSTAMP to access Hour/minute /second
- Components that provide 2 digit values are now correctly zero padded.
- NB AM/PM dates are still not supported.
|
|
|
|
|
|
To provide compatibility with other drivers, the default configuration for metaTables is to not show any pseudo tables. Set the second argument to true to show $RDB, $MON and $SEC tables
|
|
Update docblock
Remove trailing spaces from key and column names
|
|
|
|
The function's return value is never used, since we get the client
version from ServerInfo().
|
|
Regression from 9f6f327b9d5b29d14565fa0ab4308354bf050d2d.
fetchField()'s parameter was renamed from $off to $fieldOffset, but the
change was not reflected in the method's body.
Fixes #752
|
|
# Conflicts:
# adodb.inc.php
# docs/changelog.md
# drivers/adodb-mssqlnative.inc.php
# drivers/adodb-mysqli.inc.php
Fixes #751
|
|
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
|
|
A few of the old headers were not removed as part of PR #728.
|
|
|
|
Change the static array introduced in fieldTypesArray() (see #367) to a
class variable ($fieldObjectsCache), so the cache now only lasts for the
Recordset's lifetime.
Since the mssqlnative was already using a private $fieldObjects property
for the same purpose, the declaration was removed, and usages of the old
name changed to match the one defined in the parent class.
Fixes #687
|
|
|
|
|
|
"y/m/d" key was defined both as 102 (ANSI) and 111 (Japan) (see #307).
Updating the array to match documentation for ANSI, i.e. "y.m.d" [[1]].
Fixes #748
[1]: https://docs.microsoft.com/en-us/sql/t-sql/functions/cast-and-convert-transact-sql
|
|
Cherry-picked e3c6301bff536c3021dfc03ef4286a035820fd0e to prevent
merge conflicts.
|
|
Follow-up on 2d1af4c43827183a14302cf3af127a96fc2e6496
- Whitespace/coding guidelines
- PHPDoc
- Remove unnecessary if statement
|
|
mysql_affected_rows() returns a valid value (i.e. works as a rowcount
function) when used against a SELECT statement.
This does not conform to the ADOdb standard, which requires it to
return false.
Fixes #604 (PR #729)
|
|
|
|
MetaIndexes not previously supported by PDO mysql driver.
Fix recursion error introduced in affected_rows()
|
|
|