| Age | Commit message (Collapse) | Author | Files | Lines |
|
- ADOConnection: add $_metars, $locale, $metaColumnsSQL, $identitySQL,
$_genSeqSQL, $_dropSeqSQL and $_genIDSQL; add PHPDoc to
$metaDatabasesSQL $metaTablesSQL
- Exceptions: add $msg property
- DB2: reference parent connection object and fix $_queryID case
- Informix: don't cache version info in SetVersion
- odbtp: define $odbc_name, $_canSelectDb, $_lastAffectedRows properties
NOTE: this is somewhat academical as the driver is obsolete
- oci8: define $_refcursor property
- sybase: use existing $hasTransactions property instead of $_hastrans
- text: rename unused ADOConnection::$_evalAll property to $evalAll
- perf: define $settings property
- xml: add properties dbTable::$currentPlatform, dbTable::$data,
dbData::$current_field, adoSchema:$obj
This is adapted from changes proposed in #926
|
|
Fixes #822
|
|
|
|
Fixes #775
Signed-off-by: Damien Regad <dregad@mantisbt.org>
Changes to original commit:
- use $key variable instead of calling key() function again
- remove unnecessary `@` operator.
Signed-off-by: Damien Regad <dregad@mantisbt.org>
|
|
|
|
Try to do it right this time...
# Conflicts:
# adodb-memcache.lib.inc.php
Fixes #751
|
|
The conflicts resolution applied when merging the Standardized file
headers (commit e9dcce3df24912ad869d0193f0b419f2309101fc) was seriously
messed up, actually overwriting a number of changes in the master
branch.
Rather than trying to go and fix things one by one which has a high risk
of messing things further, it's easier to redo the merge from a clean
slate, so this commit reverts the following:
- "Merge branch 'hotfix/5.21' Standardized file headers",
e9dcce3df24912ad869d0193f0b419f2309101fc
- "Merge tag 'v5.21.1'",
5f437df3104159d5d659f60e31bef8d33c34995f
- "Reset version to 5.22.0-dev"
af9234a525c3255af051a330164486d73be4c63a
- "Fix incorrect resolution of merge conflicts"
a6733f61b0165b366c8d2c70d9af82edc3881951.
- "Fix syntax error in toexport.inc.php"
20b01e83cb61b6b2460f64c7d1277c5f4cc28574.
Fixes #751
|
|
# Conflicts:
# adodb-active-record.inc.php
# adodb-active-recordx.inc.php
# adodb-csvlib.inc.php
# adodb-datadict.inc.php
# adodb-error.inc.php
# adodb-errorhandler.inc.php
# adodb-errorpear.inc.php
# adodb-exceptions.inc.php
# adodb-iterator.inc.php
# adodb-loadbalancer.inc.php
# adodb-memcache.lib.inc.php
# adodb-pager.inc.php
# adodb-pear.inc.php
# adodb-perf.inc.php
# adodb-php4.inc.php
# adodb-time.inc.php
# adodb.inc.php
# datadict/datadict-access.inc.php
# datadict/datadict-db2.inc.php
# datadict/datadict-firebird.inc.php
# datadict/datadict-generic.inc.php
# datadict/datadict-ibase.inc.php
# datadict/datadict-informix.inc.php
# datadict/datadict-mssql.inc.php
# datadict/datadict-mssqlnative.inc.php
# datadict/datadict-mysql.inc.php
# datadict/datadict-oci8.inc.php
# datadict/datadict-postgres.inc.php
# datadict/datadict-sapdb.inc.php
# datadict/datadict-sqlite.inc.php
# datadict/datadict-sybase.inc.php
# drivers/adodb-access.inc.php
# drivers/adodb-ado.inc.php
# drivers/adodb-ado5.inc.php
# drivers/adodb-ado_access.inc.php
# drivers/adodb-ado_mssql.inc.php
# drivers/adodb-borland_ibase.inc.php
# drivers/adodb-csv.inc.php
# drivers/adodb-db2.inc.php
# drivers/adodb-db2oci.inc.php
# drivers/adodb-db2ora.inc.php
# drivers/adodb-fbsql.inc.php
# drivers/adodb-firebird.inc.php
# drivers/adodb-ibase.inc.php
# drivers/adodb-informix.inc.php
# drivers/adodb-informix72.inc.php
# drivers/adodb-ldap.inc.php
# drivers/adodb-mssql.inc.php
# drivers/adodb-mssqlnative.inc.php
# drivers/adodb-mssqlpo.inc.php
# drivers/adodb-mysql.inc.php
# drivers/adodb-mysqli.inc.php
# drivers/adodb-mysqlpo.inc.php
# drivers/adodb-mysqlt.inc.php
# drivers/adodb-netezza.inc.php
# drivers/adodb-oci8.inc.php
# drivers/adodb-oci805.inc.php
# drivers/adodb-oci8po.inc.php
# drivers/adodb-oci8quercus.inc.php
# drivers/adodb-odbc.inc.php
# drivers/adodb-odbc_db2.inc.php
# drivers/adodb-odbc_mssql.inc.php
# drivers/adodb-odbc_oracle.inc.php
# drivers/adodb-odbtp.inc.php
# drivers/adodb-odbtp_unicode.inc.php
# drivers/adodb-oracle.inc.php
# drivers/adodb-pdo.inc.php
# drivers/adodb-pdo_dblib.inc.php
# drivers/adodb-pdo_firebird.inc.php
# drivers/adodb-pdo_mssql.inc.php
# drivers/adodb-pdo_mysql.inc.php
# drivers/adodb-pdo_oci.inc.php
# drivers/adodb-pdo_pgsql.inc.php
# drivers/adodb-pdo_sqlite.inc.php
# drivers/adodb-postgres.inc.php
# drivers/adodb-postgres64.inc.php
# drivers/adodb-postgres7.inc.php
# drivers/adodb-postgres8.inc.php
# drivers/adodb-postgres9.inc.php
# drivers/adodb-proxy.inc.php
# drivers/adodb-sapdb.inc.php
# drivers/adodb-sqlanywhere.inc.php
# drivers/adodb-sqlite3.inc.php
# drivers/adodb-sqlitepo.inc.php
# drivers/adodb-sybase.inc.php
# drivers/adodb-sybase_ase.inc.php
# drivers/adodb-text.inc.php
# drivers/adodb-vfp.inc.php
# pear/Auth/Container/ADOdb.php
# perf/perf-db2.inc.php
# perf/perf-informix.inc.php
# perf/perf-mssql.inc.php
# perf/perf-mssqlnative.inc.php
# perf/perf-mysql.inc.php
# perf/perf-oci8.inc.php
# perf/perf-postgres.inc.php
# pivottable.inc.php
# rsfilter.inc.php
# server.php
# session/adodb-compress-bzip2.php
# session/adodb-compress-gzip.php
# session/adodb-cryptsession.php
# session/adodb-cryptsession2.php
# session/adodb-encrypt-mcrypt.php
# session/adodb-encrypt-md5.php
# session/adodb-encrypt-secret.php
# session/adodb-session-clob.php
# session/adodb-session-clob2.php
# session/adodb-session.php
# session/adodb-session2.php
# session/old/adodb-cryptsession.php
# session/old/adodb-session-clob.php
# session/old/adodb-session.php
# tests/benchmark.php
# tests/client.php
# tests/test-datadict.php
# tests/test-php5.php
# tests/test.php
# tests/test3.php
# tests/test4.php
# tests/test5.php
# tests/testcache.php
# tests/testdatabases.inc.php
# tests/testmssql.php
# tests/testoci8.php
# tests/testoci8cursor.php
# tests/testpaging.php
# tests/testpear.php
# toexport.inc.php
# tohtml.inc.php
|
|
|
|
|
|
This caused an error on PostgreSQL:
Query failed: ERROR: argument of WHERE must be type boolean, not type integer
Fixes #707
Signed-off-by: Damien Regad <dregad@mantisbt.org>
|
|
|
|
|
|
# Conflicts:
# docs/changelog.md
|
|
|
|
* 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)
|
|
PHP4 compatibility functions existed in the code and were removed
|
|
* 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
|
|
Fixes #265
Signed-off-by: Damien Regad <dregad@mantisbt.org>
Original commits squashed; commit message reworded; updated changelog.
|
|
|
|
Conflicts:
adodb.inc.php
docs/changelog.md
|
|
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
|
|
Until now, the attribute was simply ignored for mysqli.
Fixes #267
|
|
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)
|
|
dbTable::_tag_open() throws "Only variables should be passed by
reference" error when processing INDEX and DATA tags.
Fixes #229, fixes #260
|
|
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
|
|
|
|
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>
|
|
http://php.net/manual/en/language.basic-syntax.phptags.php
|
|
- Move all files in adodb5/ to root
- Remove adodb-for-php4/ directory
|