summaryrefslogtreecommitdiff
path: root/docs
AgeCommit message (Collapse)AuthorFilesLines
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
2015-03-04oci8: fix broken quoting in tablesAndreas Fernandez1-0/+1
The methods "AddColumnSQL" and "AlterColumnSQL" did not quote the table name propery, resulting in broken ALTER TABLE statements. Fixes #67 Signed-off-by: Damien Regad <dregad@mantisbt.org>
2015-03-04Fixed Including of memcache library only once for PHPUnit 4.xAlan Farquharson1-0/+1
Signed-off-by: Damien Regad <dregad@mantisbt.org>
2015-03-04Fix further broken links and remove some obsolete materialDamien Regad8-34/+32
2015-03-04URLs in documentation need updatingVincent McIntyre7-20/+20
The following commit was originally submited at https://bugs.debian.org/471265 back in 2008. Some URLs have changed again since, but this is better anyways.
2014-10-29SQLite3: Fix #51 wrong connection parameterDamien Regad1-0/+1
Thanks to diogotoscano
2014-10-29SQLite3: ServerInfo() now returns driver versionDamien Regad1-0/+1
2014-10-29SQLite3: Fix #53: FetchField column nameDamien Regad1-0/+1
Thanks to @diogotoscano
2014-10-29Add missing property ADODB_pdo::$_driverFrederik Bosch1-0/+1
Fixes #56 Signed-off-by: Damien Regad <dregad@mantisbt.org>
2014-09-26Update changelogDamien Regad1-1/+4
2014-09-09Update changelogDamien Regad1-0/+4
2014-09-08Align method signatures to parent classAndreas Fernandez1-0/+1
Fixes #31 Changes to original commit: whitespace and updated changelog. Signed-off-by: Damien Regad <dregad@mantisbt.org>
2014-09-06Revise sessions doc notification sectionDamien Regad1-8/+8
The instructions given are not working with register_globals=OFF, which is the default with PHP 5.3 (and the directive has been removed in 5.4). Fixes #30
2014-09-06Update changelogDamien Regad1-0/+1
2014-05-16Fix #18: PHP Strict Standards in oci8 datadictDamien Regad1-0/+1
Some methods' signature did not match the parent class
2014-05-12postgres7: fix system warning in MetaColumns() with schemaDamien Regad1-0/+1
When calling MetaColumns with schema.table, the driver triggers a 'Warning: sprintf(): Too few arguments' because the metaColumnsSQL1 statement contains one more parameter in 7 compared to the 6.4 version. Resolved by adding a new protected _generateMetaColumnsSQL() method to handle the preparation of the appropriate SQL statement, and overriding it in the postgres7 driver. http://phplens.com/lens/lensforum/msgs.php?id=19481
2014-05-12Fix version match regexDamien Regad1-0/+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-12mssqlnative: replace error_log() calls with ADOConnection::outp()Damien Regad1-0/+1
Fixes #12
2014-05-07Update changelogDamien Regad1-0/+1
2014-04-30memcache: include_once() to avoid error with PHPUnitDamien Regad1-1/+1
PHPUnit 4.x+ used in conjunction with ADOdb memcache library causes a 'cannot redeclare _rs2serialize' error when including adodb-csv.inc.php. http://phplens.com/lens/lensforum/msgs.php?id=19489
2014-04-30Bump version to 5.20devDamien Regad5-5/+7
2014-04-23Bump version to 5.19v5.19Damien Regad5-6/+6
2014-04-22Update changelogDamien Regad1-0/+2
2014-04-20Remove old, redundant readme.htmDamien Regad1-68/+0
2014-04-16Update changelogDamien Regad1-0/+2
2014-04-16Fix Postgres error messages mapping to ADOdb error codesDamien Regad1-0/+1
Added 'm' (multiline) flag to preg_match()
2014-04-07Revise index page for http://adodb.sourceforge.neDamien Regad4-0/+349
2014-04-07oci8: fix ORA-24344 when creating sequence triggerDamien Regad1-0/+1
2014-04-07Revise documentation sectionDamien Regad1-7/+8
Reworded mention of obsolete docs
2014-04-07Fix linksDamien Regad1-77/+56
- Fix some broken links - Removing links to phplens.com for documentation where applicable, use local files instead
2014-04-07Added source code linkDamien Regad1-0/+1
2014-04-07Support sectionDamien Regad1-9/+12
2014-04-07Remove ADOdb Lite referenceDamien Regad1-4/+1
2014-04-07HTML layoutDamien Regad1-26/+36
2014-04-07Layout of inline styleDamien Regad1-4/+9
2014-04-07Remove references to obsolete 'extension'Damien Regad1-7/+2
2014-04-07Remove references to unmaintained Python libraryDamien Regad1-13/+1