| Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
|
|
Having it on the left-hand side prevented usage of the index, so a full
table scan was performed with significant performance impact when a
large number of sessions are stored in the table.
Fixes #941
|
|
Introduce a new class property to store the database provider, populated
when opening the connection, and handling the PDO drivers specificities.
New isConnectionMysql() and isConnectionPostgres() methods are replacing
tests against $conn->dataProvider or ADODB_Session::driver(), ensuring
a consistent check of the database type.
Fixes #943
|
|
Try to do it right this time...
# Conflicts:
# adodb-memcache.lib.inc.php
Fixes #751
|
|
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
|
|
Fixes #732
Signed-off-by: Damien Regad <dregad@mantisbt.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Change web site references from http://adodb.org to https.
|
|
|
|
|
|
|
|
|
|
srand() should not be called manually, unless one has a better way to
initialise the already-initialised random seed.
The way the current srand() call is made is buggy, and will lead to
duplicate random seeds if called often enough. Because the current call
will lose the timestamp part, and will only use the first 6 chars from
the current microsecond, but the system might not have a high-enough
timer resolution, so the actual pool of random seeds gets even smaller.
Fixes #532
Signed-off-by: Damien Regad <dregad@mantisbt.org>
|
|
|
|
These calls throw an error on PHP >= 7.2 "session_module_name(): Cannot
set 'user' save handler by ini_set() or session_module_name()".
They were previously silently ignored, but as per PHP documentation [1],
since PHP 7.2.0 it is explicitly forbidden to set the module name to
"user" so this commit removes the function calls from session-related
files.
Fixes #449
[1] http://php.net/session_module_name
Improved commit message.
Signed-off-by: Damien Regad <dregad@mantisbt.org>
|
|
|
|
# Conflicts:
# adodb-time.inc.php
# docs/changelog.md
# drivers/adodb-mssql.inc.php
# drivers/adodb-mssqlnative.inc.php
# drivers/adodb-oci8po.inc.php
|
|
|
|
|
|
|
|
|
|
|
|
in favor of booleans
see http://php.net/manual/en/migration72.deprecated.php#migration72.deprecated.assert-string-arg
|
|
The file for commit had an extended character introduced, clean up before pull
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
If a driver name is not supplied, the default driver name 'mysql' is used. This driver has been superseded by 'mysqli'. The code has been changed to reflect this. See #264
|
|
|
|
|
|
|
|
|
|
|
|
|