summaryrefslogtreecommitdiff
path: root/drivers/adodb-firebird.inc.php
AgeCommit message (Collapse)AuthorFilesLines
2025-10-25PHP 8.5: fix Non-canonical cast deprecationsDamien Regad1-4/+4
Non-canonical cast (integer) is deprecated, use the (int) cast instead Global search and replace throughout the code base. Fixes #1143
2023-04-30Define ADOConnection::_query() methodDamien Regad1-10/+10
- Update child classes to be consistent with this declaration. - Remove unnecessary, non-PHPDoc comments - Consistent parameter names Fixes #966
2022-09-03Fix uncaught TypeErrorDamien Regad1-0/+6
On PHP 8.x, executing an update query with the Firebird or Interbase driver results in a Fatal error: Uncaught TypeError: ibase_num_fields(): Argument #1 ($query_result) must be of type resource, int given. Problem is caused by fbird_query() / ibase_query() returning the number of affected rows instead when executing INSERT, UPDATE and DELETE statements, but ADOConnection::_Execute() expects true. This was already triggering a warning in earlier PHP versions, but it was silenced by the @ operator. Fixes #858
2022-03-18Remove commented-out codeDamien Regad1-13/+0
2022-03-18Firebird: undefined array key with uppercase columnsDamien Regad1-17/+22
Problem was caused by calling strtolower() in the $rowTransform closure. Case conversion now takes ADODB_ASSOC_CASE into account. Fixes #813
2022-03-16Fix PHP Notice in ADORecordset_firebird::_fetchField()Damien Regad1-7/+5
Fixes #808
2022-03-16Refactor ADODB_firebird::_query()Damien Regad1-22/+14
- Remove code duplication - Remove unnecessary "PHP5 compat hack" - Fix #812: PHP notice when $iarr parameter is provided but not expected by SQL statement - Coding guidelines
2022-03-16Fix PHPStorm warningsDamien Regad1-0/+6
2022-03-15Coding guidelinesDamien Regad1-18/+16
2022-03-15Firebird: fix PHP deprecation warningDamien Regad1-0/+3
Executing a SELECT statement against a table containing a null BLOB triggered deprecation warnings in PHP 8.1. _blobDecode() now returns empty string when $blob parameter is null. Fixes #811
2022-01-16Fix reported errors in generated documentationDamien Regad1-3/+3
2021-08-22Fix Whitespace, coding guidelines, PHPDocDamien Regad1-397/+383
2021-08-22update docblocks for prepare, _query and sqldateMark Newnham1-5/+13
2021-08-22Method only returns an integerMark Newnham1-1/+1
2021-08-22Createsequence should return a recordsetMark Newnham1-5/+2
2021-08-22add basic support for column manipulation in the data dictionaryMark Newnham1-34/+11
2021-08-22Remove emulated fetchAssocMark Newnham1-15/+1
2021-08-22Remove emulated FETCH_ASSOCMark Newnham1-25/+151
Replace emulated associative with fbird_fetch_assoc
2021-08-22remove _cacheType variable lookupMark Newnham1-12/+3
Lookup for auto blob decoding uses standard $fieldObjects instead of custom array
2021-08-22change _init() to current standardMark Newnham1-131/+246
- 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
2021-08-22update method errorNo()Mark Newnham1-6/+19
Error no is derived from fbird_errcode, isnstead of attempting to parse it from the errorMessage
2021-08-22update method genID()Mark Newnham1-2/+11
- Update docblock = Replace GENERATOR with recommended SEQUENCE
2021-08-22removed metgod dropSequence()Mark Newnham1-7/+3
Firebird recommends SEQUENCE instead of GENERATOR, so use core methods
2021-08-22update createSequenceMark Newnham1-6/+19
- updated docblock - Rewrote syntax to conform to recomended syntax replacing GENERATOR with SEQUENCE
2021-08-22Rewrite rowLock() methodMark Newnham1-8/+22
- update docblock - full rewrite of method based on firebird docs
2021-08-22update docblock for rollbackTrans()Mark Newnham1-4/+14
2021-08-22Removed the custom _execute() methodMark Newnham1-17/+10
The issue regarding multiple connections see #201 appears to have been resolved
2021-08-22updated docblock for beginTrans()Mark Newnham1-1/+9
2021-08-22Update docblock for serverInfo()Mark Newnham1-2/+7
2021-08-22Update connecr() methofMark Newnham1-26/+73
- Update docblock - Implement setConnectionParameter for role, dialect - Remove pre-php5 code fbird_timefmt
2021-08-22Implemented setTransactionMode()Mark Newnham1-7/+26
The standard method **setTransactionMode()** replaces the custom **$ibasetrans** transaction handling values
2021-08-22Update the sqlDate() methodMark Newnham1-23/+30
- 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.
2021-08-22Added The offsetDate() methodMark Newnham1-0/+19
2021-08-22update docblock for metatablesMark Newnham1-9/+10
2021-08-22metaTables no longer shows pseudo tablesMark Newnham1-41/+89
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
2021-08-22Update metColumns() methodMark Newnham1-8/+20
Update docblock Remove trailing spaces from key and column names
2021-08-17Redo Merge branch 'hotfix/5.21' Standardized file headersDamien Regad1-14/+21
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-27/+27
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: /driversDamien Regad1-14/+21
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.
2020-01-24Removed check for PHP > 5.0Mark Newnham1-7/+2
2020-01-24Removed check for PHP > 4.0.4Mark Newnham1-37/+18
2018-08-06Merge branch 'hotfix/5.20' (v5.20.13)Damien Regad1-1/+1
# Conflicts: # adodb-time.inc.php # docs/changelog.md # drivers/adodb-mssql.inc.php # drivers/adodb-mssqlnative.inc.php # drivers/adodb-oci8po.inc.php
2018-08-06Reset version to avoid merge conflictsDamien Regad1-1/+1
2018-08-06Bump version to 5.20.13v5.20.13Damien Regad1-1/+1