summaryrefslogtreecommitdiff
path: root/adodb.inc.php
AgeCommit message (Collapse)AuthorFilesLines
2014-05-12Fix version match regexDamien Regad1-1/+1
There was a small mistake in the version matching regex introduced in commit 30c21280a48680c079f825af6583793928d65cf5, causing the function to trigger a system notice and only return 'V' instead of the actual version number. Fixes #16
2014-05-07WhitespaceDamien Regad1-13/+13
2014-05-07Use constants in switch statementDamien Regad1-3/+3
2014-05-07AutoExecute does not respect empty ResultSet in case of UpdateDamien Regad1-3/+6
Fixes #13
2014-05-07Simplify code to determine AutoExecute's return valueDamien Regad1-4/+1
2014-05-07Remove useless $false variableDamien Regad1-6/+5
2014-04-30Bump version to 5.20devDamien Regad1-2/+2
2014-04-23Bump version to 5.19v5.19Damien Regad1-2/+2
2014-04-20Fix outdated references to readme.htmDamien Regad1-1/+1
2014-04-16Change default postgres driver from 7 to 8Damien Regad1-1/+1
When using 'pgsql' or 'postgres', ADOdb now sets the class to postgres8 instead of postgres7. This is justified by PostgreSQL's versioning policy [1], as all 7.x releases are end-of-life since 2010 or before. 8.4 is still supported until July 2014. [1] http://www.postgresql.org/support/versioning/
2014-04-16Define postgres8 driver classDamien Regad1-1/+0
The _insertid() method introduced in postgres9 driver really belongs in postgres8, since OID field was actually removed in 8.1. This commit creates new postgres8 classes, moves the method from the '9' driver to the new ADODB_postgres8 class, and makes the '9' classes inherit from postgres8 instead of postgres7.
2014-04-16Reformat switch statement for better readabilityDamien Regad1-2/+9
2014-04-16ADOConnection is now an abstract classDamien Regad1-10/+1
2014-04-16Whitespace and commentsDamien Regad1-152/+150
2014-04-15Fix version match regex to include suffixDamien Regad1-1/+1
The old regex in ADOConnection::Version only included the numeric part of the ADOdb version number. Now the suffix (dev|[1-z]) is also returned. The regex in updateversion.py has been updated to match.
2014-03-04GetAssoc issue when 2nd column is nullDamien Regad1-1/+1
If the second column of the first row happens to be null, ADOdb returned a one-based array rather than the expected zero-based one. Resolved by using array_key_exists() instead of isset(). Fixes sourceforge bug #130
2014-03-04Fix Execute() ignoring param evaluating to falseDamien Regad1-1/+1
When ADOConnection->Execute is called with a single non-array parameter that evaluates to false, it ignores the parameter. Fixed by doing a strict-type comparison. Note that single boolean "false" parameter needs to be passed in as array(false). Reported by Alejandro Vásquez Fixes sourceforge patch #32
2014-02-24PHPdoc for ADOConnection->Param()Damien Regad1-9/+13
2014-02-24Remove closing php tagDamien Regad1-1/+0
http://php.net/manual/en/language.basic-syntax.phptags.php
2014-01-21Bump version to 5.19devDamien Regad1-2/+2
Bumped 'dev' version allows users who rely on source code downloaded from the git repository rather than an official release tarball to reliably determine that they are running a development version of the library.
2013-08-11GetRowAssoc: Fix phpDocDamien Regad1-5/+3
2013-08-11GetRowAssoc: Use array_key_exists() instead of isset()Damien Regad1-3/+4
As suggested by user 'Harmony' in [1]. This fixes erroneous behavior when using ADODB_FETCH_ASSOC fetch mode and a field's value is null, in which case it was not included in the result set. [1] http://phplens.com/lens/lensforum/msgs.php?id=17539
2013-08-05Reorg: ADOdb5 (master) branchDamien Regad1-0/+4503
- Move all files in adodb5/ to root - Remove adodb-for-php4/ directory