summaryrefslogtreecommitdiff
path: root/docs
AgeCommit message (Collapse)AuthorFilesLines
2016-01-02Update version 5.21.0-dev release year to 2016Damien Regad9-9/+11
2016-01-01metaIndexes does not work correctly with upper case table names. see ↵Mark Newnham1-0/+1
https://github.com/ADOdb/ADOdb/issues/176
2016-01-01method _createSuffix in datadict-sqlite incompatible with parent. see ↵Mark Newnham1-1/+1
https://github.com/ADOdb/ADOdb/issues/178
2015-12-27Reset version to avoid merge conflictsDamien Regad9-8/+10
2015-12-27Bump version to 5.20.2v5.20.2Damien Regad9-9/+9
2015-12-27Doc: update index pageDamien Regad1-10/+18
Cherry-picked from master branch
2015-12-20Update changelogDamien Regad1-0/+1
2015-12-16Remove a couple leftover PHP4 constructorsDamien Regad1-0/+1
Follow-up on #139 (commit 9ffa02e6ddc88dbfdfdf4437e0a398cc39960094)A Fixes #168
2015-12-15mysql: MoveNext() apply field names case conversionDamien Regad1-1/+3
Fixes #167
2015-12-06Bump version to 5.20.1Damien Regad1-0/+2
2015-12-06Bump version to 5.20.1v5.20.1Damien Regad8-8/+8
2015-12-06Update changelogDamien Regad1-1/+2
2015-12-01Fix PHP Warning in GetAssoc() on empty recordsetDamien Regad1-0/+5
Regression introduced in v5.20.0. Commit 32a479a182c86f4b15c337ca6b1d3f4b967e37a8 removed the is_array() check, resulting in a PHP warning when calling array_keys() on an empty recordset, since $this->fields is false in this case. Fixes #162
2015-11-28Bump version to 5.20.0v5.20.0Damien Regad8-8/+8
2015-11-27Add missing version / copyright informationDamien Regad1-1/+5
2015-11-26Adjust header comment blocksDamien Regad6-13/+30
- running SED script - manual adjustments for files not processed by regex
2015-10-26Update changelog.mdDamien Regad1-0/+1
Add new setConnectionParameter() method #158
2015-09-15Update changelogDamien Regad1-0/+1
2015-09-14Release Recordset when raising exceptionpyscht2-0/+110
Fixes #143 Signed-off-by: Damien Regad <dregad@mantisbt.org>
2015-09-11Fix incorrect handling of input array in Execute()Damien Regad1-0/+1
When executing a query that does not expect any parameters with a non-empty input array, the parameters are added at the end of the query. Example: - $db->Execute('select * from table where id=', 1); expected: failure (extra param, invalid query) actual: execution of 'select * from table where id=1' - $db->Execute('select * from table where id=1', 1); expected: failure (extra param) actual: execution of 'select * from table where id=11' This has been confirmed to occur using mysqli driver, but could possibly affect others drivers with _bindInputArray = false as well. Execute() now issues an error when the number of provided input parameters does not match what the query expects. Thanks to peterdd for the initial research and proposed fix. Fixes #146
2015-09-09Update changelogDamien Regad1-0/+1
2015-08-12Update changelog references in documentationDamien Regad2-11/+1
The index page now points straight to changelog.md on github master branch. The main documentation files no longer contains any references to the changelog.
2015-08-12Add references to current and older changelogsDamien Regad4-2/+27
2015-08-12Move 5.x changelog to separate markdown fileDamien Regad2-556/+415
2015-08-12Move 4.x changelog to separate markdown fileDamien Regad2-1214/+720
2015-08-12move 3.94 to old changelogDamien Regad1-49/+3
2015-08-12Convert old changelog to markdownDamien Regad3-822/+767
2015-08-12Update changelogDamien Regad1-0/+3
2015-08-11Update changelogDamien Regad1-1/+2
2015-06-28Update changelogDamien Regad1-3/+4
2015-06-25Update changelogDamien Regad1-1/+3
2015-06-25oci8: driver honors ADODB_ASSOC_CASE when fetching fieldsDamien Regad1-0/+1
This allows use of lowercase field names when executing queries in ADODB_FETCH_ASSOC fetch mode. The _updatefields() method was moved from oci8po to parent oci8 driver. - code was simplified - logic to determine if the operating in associative mode was moved from the callers to the method itself to reduce code duplication. - use of defined ADODB_ASSOC_CASE_* constants Fixes Github #21
2015-05-21mssqlnative: fix insert_ID() fails if server returns more than 1 rowgitjti1-0/+1
If inserting involves trigger action, SQL server probably returns more than result ”rows” and we are interested in last one only. Fixes #41, PR #102 Signed-off-by: Damien Regad <dregad@mantisbt.org>
2015-05-21mssqlnative: use correct setting 'WarningsReturnAsErrors'Ray Morris1-0/+1
The driver called sqlsrv_configure('warnings_return_as_errors', 0), which throws "error code = -14, sqlsrv_configure: message = An invalid parameter was passed to sqlsrv_configure". The proper setting is 'WarningsReturnAsErrors', as per documentation http://php.net/manual/en/function.sqlsrv-configure.php Fixes #103 Signed-off-by: Damien Regad <dregad@mantisbt.org> Referenced the fix in the changelog
2015-05-15sqlite3: Fix result-less SQL statements executed twiceDamien Regad1-0/+1
The sqlite3 driver relies on SQLite3::query to execute the statement, which returns an empty SQLite3Result while the ADOConnection::_Execute() method expects true for handling of result-less queries. This causes the query to be executed a second time when ADOdb initializes the recordset for what it wrongly assumes to be a SELECT statement. This also addresses the same behavior with the sqlite driver, but the fix was not tested as I don't have a sqlite 2 setup available. Fixes #99
2015-05-15Update changelogDamien Regad1-0/+2
2015-05-04Improve documentation of fetch mode and assoc caseDamien Regad1-21/+24
Update comments in the code as well as the documentation to describe ADODB_FETCH_* and ADODB_ASSOC_CASE_ constants. Added description of each case and usage hints.
2015-05-04Warning about Associative fetch mode issue in v5.19Damien Regad1-0/+10
Add a warning message in the Readme file as well as the 5.19 changelog, briefly describing the issue with fetching data in associative mode from interbase, mssql, foxpro and possibly other DB engines, as well as those derived from them. Issue #20
2015-04-20Update changelogDamien Regad1-1/+4
2015-04-20Define DB_AUTOQUERY_* constants in main includeDamien Regad1-3/+0
They were previously defined in adodb-pear.inc.php, which doesn't make much sense since they are only referenced within adodb.inc.php. Fixes #49
2015-04-20Update changelogDamien Regad1-0/+1
2015-04-20mssql datetime2 metatype mappingMarcelTO1-1/+2
Adds the mssql datatype datetime2 to the metatype mapping. Prevents date time errors caused by the field being treated as a long. Signed-off-by: Damien Regad <dregad@mantisbt.org>
2015-04-20XMLschema: ExtractSchema() fixespeterdd1-0/+1
This patch addresses these issues when given $prefix and $stripprefix parameters. - missing param for the schema when calling MetaTables() - no table were returned if $stripprefix was true ($table name stripped, then later a sql select on that table name live, lol). - prefixes like 'mydbprefix_db1_' should not allow other tables starting 'mydbprefixXdb1_' or 'mydbprefix_db1X' to be matched as table for the result. Tested only with mysqli. Fixes #92 Signed-off-by: Damien Regad <dregad@mantisbt.org>
2015-04-20Fix PHP strict warning in ADODB_Active_Record::Reload()Damien Regad1-0/+1
Fixes #75
2015-04-20Convert docs-adodb.htm to UTF8Damien Regad1-523/+523
2015-04-20Parse port out of hostname if specified when connectingAndy Theuninck1-0/+1
- ADOConnection::Connect - ADOConnection::PConnect Fixes #63 Signed-off-by: Damien Regad <dregad@mantisbt.org>
2015-04-20Add support for pagination with complex queriesMike Benoit1-0/+1
There are cases where ADODB is not be able to figure out the proper count(*) queries for PageExecute() on its own. To work around this problem, ADOdb now handles a new keyword "_ADODB_COUNT" that can be wrapped around the parts of the SQL query that should be replaced with "COUNT(*)"; the code will remove everything between and including the _ADODB_COUNT keywords and replace it with COUNT(*). The _ADODB_COUNT tags are of course removed when COUNT(*) is not needed. Example usage: SELECT _ADODB_COUNT col1, col2, col3, ( select col4 from table2 where col1=col2 ) col4, _ADODB_COUNT FROM table1 LEFT JOIN ( select col5 from table3 where col3=col4 ) AS tmp; Original 2012 bug report: http://phplens.com/lens/lensforum/msgs.php?id=19058 The fix has been in use since that time in hundreds of thousands of production installations. Fixes #88 Signed-off-by: Damien Regad <dregad@mantisbt.org>
2015-04-20Update changelogDamien Regad1-2/+4
2015-03-04Fix qstr() when called without an active connection.Damien Regad1-0/+1
mysqli_real_escape_string(), differs from mysql_real_escape_string(). The former requires a valid mysqli DB connection object, while the latter has a fallback mechanism which attempts to generate a connection when given NULL. When calling ADOConnection::qstr() without an active connection ($_connectionID == false), mysqli_real_escape_string() throws a warning and returns an empty string. Now, we fallback to pre-PHP 5 mechanism to quote the string when not connected. Fixes #79
2015-03-04Update changelogDamien Regad1-0/+2