summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2021-11-07Removed ADODB_postgres7::_old_MetaForeignKeys()Damien Regad1-35/+0
Method is not used anywhere.
2021-11-07Add connection parameter to pg_lo_unlink() callDamien Regad1-1/+1
Fixes #769
2021-11-07Use pg_query() instead of pg_execute()Damien Regad1-5/+4
We are not executing prepared statements with parameters here, so using pg_execute() (which expects a 3rd parameter) is not necessary. In fact, these used to be pg_exec() calls, which were incorrectly replaced by pg_execute() instead of pg_query() in commit 2223c2a1fe8ecf5b2fc07f503a280d080596dd94. Fixes #768
2021-11-07Whitespace, coding guidelines, PHPdocDamien Regad2-7/+7
2021-10-31Update ChangelogDamien Regad1-5/+29
2021-10-31Merge tag 'v5.21.3'Damien Regad2-27/+43
ADOdb version 5.21.3 released 2021-10-31 # Conflicts: # adodb.inc.php # docs/changelog.md
2021-10-31Bump version to 5.21.3v5.21.3Damien Regad2-3/+4
2021-10-25WhitespaceDamien Regad1-21/+21
2021-10-25Fix PHPDoc blocksDamien Regad3-1531/+1550
2021-10-25Merge remote-tracking branch 'origin/hotfix/5.21'Damien Regad2-1/+16
# Conflicts: # drivers/adodb-mysqli.inc.php
2021-10-25Ensure temp $ADODB_COUNTRECS changes really are temporaryDamien Regad2-25/+41
Add try/finally blocks in selectLimit(), getOne(), getRow(), getArray() and cacheGetArray() methods when temporarily changing $ADODB_COUNTRECS global's value, to ensure it is correctly restored to its previous value when the execute() call triggers an exception. Fixes #761
2021-10-25mysqli: force error reporting mode to OFFDamien Regad2-3/+18
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
2021-10-15mysql: Handle tables that are reserved wordsGold1-2/+2
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
2021-09-21Merge branch 'hotfix/5.21'Damien Regad1-1/+10
Conflicts: docs/changelog.md
2021-09-21Update ChangelogDamien Regad1-0/+10
2021-09-21Fixed function declaration to match parent (#717)Edgard Lorraine Messias1-2/+2
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)
2021-08-24Fix syntax errorDamien Regad1-5/+0
Caused by incorrectly resolved merge conflict 507466ef798b18a3a8830230cfcd51bb488513cf.
2021-08-24Fix Whitespace, coding guidelines, PHPDocDamien Regad2-51/+39
2021-08-23perf: fix invalid SQL (repeated distict keyword) (#753)peterdd1-1/+1
2021-08-22Delete proxy server.php and related client scriptsDamien Regad3-324/+0
Fixes #680
2021-08-22Merge tag 'v5.21.2'Damien Regad1-0/+11
# Conflicts: # adodb.inc.php # docs/changelog.md
2021-08-22Bump version to 5.21.2v5.21.2Damien Regad2-1/+12
2021-08-22New release of Firebird DriverDamien Regad3-488/+928
This new release of the driver for Firebird is designed for use with the latest PHP7 drivers [[1]]. Fixes #710, PR #720 [1]: https://github.com/FirebirdSQL/php-firebird
2021-08-22Remove unused variablesDamien Regad1-2/+1
2021-08-22Fix Whitespace, coding guidelines, PHPDocDamien Regad3-522/+537
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-22update sequence to use recommended syntaxMark Newnham1-6/+6
replace keyword GENERATOR with SEQUENCE in sequence manipulation methods
2021-08-22add basic support for column manipulation in the data dictionaryMark Newnham2-47/+36
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-22Change actualType for metaType XLMark Newnham1-1/+1
metaType XL now returns BLOB sub type BINARY instead of sub type text.
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