summaryrefslogtreecommitdiff
path: root/adodb-xmlschema03.inc.php
AgeCommit message (Collapse)AuthorFilesLines
2021-01-24PHP8 xmlschema03 for 5.21 (#658)peterdd1-33/+18
* remove magic_quotes stuff from adodb-xmlschema03.inc.php always false since PHP 5.4 and finally removed by PHP 8.0 * php 8.0 compatibility for xmlschema03 (cherry picked from commit ccb68343cb9bf34981c558187d2a1fe8d2ce1b86)
2020-01-09XML: add support for 'DESCR' tags for tables/fieldspeterdd1-0/+12
Fixes #265 Signed-off-by: Damien Regad <dregad@mantisbt.org> Original commits squashed; commit message reworded; updated changelog.
2019-12-30start functions with lowercase charpeterdd1-77/+77
2018-03-30Merge branch 'hotfix/5.20'Damien Regad1-4/+6
Conflicts: adodb.inc.php docs/changelog.md
2018-03-30Don't bother with magic quotes when not availablejrfnl1-4/+6
Magic quotes were removed from PHP in v5.4.0. The return value of `get_magic_quotes_runtime()` will be 0 if `magic_quotes_runtime` is off, 1 otherwise. And as of PHP 5.4.0, it will always returns `false`. This minor change prevents trying to set the ini value when the ini rective is not available and cleans up some old/unused/commented out code. Refs: * http://php.net/manual/en/info.configuration.php#ini.magic-quotes-runtime * http://php.net/manual/en/function.get-magic-quotes-runtime.php Fixes #407 Signed-off-by: Damien Regad <dregad@mantisbt.org> Minor changes to original commit message
2016-09-14xml: support table 'opt' attribute with mysqliDamien Regad1-1/+1
Until now, the attribute was simply ignored for mysqli. Fixes #267
2016-08-02xml: remove calls to 'unset($this)' (PHP 7.1 compatibility)Christian Kuhn1-2/+0
unset($this) throws a fatal error on linting. Use internal garbage collection to clean up old objects instead. Fixes #257 Signed-off-by: Damien Regad <dregad@mantisbt.org> As per PHP manual, "It is not possible to unset $this inside an object method since PHP 5." (see http://php.net/manual/function.unset, Notes section)
2016-08-02xml: fix php strict warningDamien Regad1-2/+4
dbTable::_tag_open() throws "Only variables should be passed by reference" error when processing INDEX and DATA tags. Fixes #229, fixes #260
2015-08-11Fix#139: Remove PHP 4 ConstructorsValentin Sheyretski1-6/+6
This is the original commit from @valioz, rebased on latest master Signed-off-by: Damien Regad <dregad@mantisbt.org> Conflicts: drivers/adodb-db2ora.inc.php drivers/adodb-mssqlpo.inc.php drivers/adodb-odbc_oracle.inc.php
2015-04-20Follow-up fix for #92: remove extra lineDamien Regad1-2/+4
2015-04-20XMLschema: ExtractSchema() fixespeterdd1-3/+2
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>
2014-02-24Remove closing php tagDamien Regad1-1/+0
http://php.net/manual/en/language.basic-syntax.phptags.php
2013-08-05Reorg: ADOdb5 (master) branchDamien Regad1-0/+2406
- Move all files in adodb5/ to root - Remove adodb-for-php4/ directory