Dan Poltawski
e947caf4a1
Merge branch 'MDL-39389' of git://github.com/stronk7/moodle
2013-04-29 14:15:23 +01:00
Dan Poltawski
1f65889ab3
Merge branch 'MDL-39390' of git://github.com/stronk7/moodle
2013-04-29 14:12:37 +01:00
Eloy Lafuente (stronk7)
20c9916396
MDL-27071 Allow Oracle IN() to use > 1000 items
...
By using a pivoting strategy, we modify the list
of params (QM and NAMED supported) into a
subquery, so the 1000 limit in Oracle (ORA-01795)
is not thrown anymore.
2013-04-29 01:22:38 +02:00
Eloy Lafuente (stronk7)
9b2ebc4587
MDL-27071 Add big IN() unit tests
...
Let's verify how all databases perform with a big
number of parameters (10000) using IN() SQL clauses.
Both using QM and NAMED parameters.
Ideally only Oracle fails, and only it will need fixing.
2013-04-29 01:11:10 +02:00
Eloy Lafuente (stronk7)
bae2846c2c
MDL-39390 delete old moodle_database column cache
...
With MDL-39389 all the remaining drivers have been moved
from the in-memory, per-request ::columns cache to
the MUC (databasemeta) alternative.
That makes the old cache unused, so this is, simply about to
delete it, and warn in upgrade notes for potential sites
using custom moodle_database drivers.
2013-04-28 18:33:33 +02:00
Eloy Lafuente (stronk7)
f33d4784fe
MDL-39389 add databasemeta cache to pdo_sqlite
...
Done in a separate commit, coz this driver is not
truly supported, but considering it as a reference
for people developing drivers... it's better to
have it supporting the databasemeta cache.
2013-04-28 18:14:17 +02:00
Eloy Lafuente (stronk7)
9043466103
MDL-39389 add databasemeta cache to ms/oci drivers
2013-04-28 18:12:38 +02:00
Eloy Lafuente (stronk7)
552f00fb86
Merge branch 'w14_MDL-38750_m25_ocierrors' of git://github.com/skodak/moodle
2013-04-09 02:26:49 +02:00
Eloy Lafuente (stronk7)
13af1f0497
Merge branch 'w14_MDL-39038_m25_oracleconcat' of git://github.com/skodak/moodle
2013-04-09 02:23:36 +02:00
Eloy Lafuente (stronk7)
cf42eece55
Merge branch 'w14_MDL-39027_m25_sqlsrvdatatype' of git://github.com/skodak/moodle
2013-04-09 02:19:41 +02:00
Eloy Lafuente (stronk7)
6afbf283de
Merge branch 'w14_MDL-39028_m25_sqlsrconcat' of git://github.com/skodak/moodle
2013-04-09 02:17:56 +02:00
Eloy Lafuente (stronk7)
187afd0f52
Merge branch 'w14_MDL-39019_m25_mssqldatatype' of git://github.com/skodak/moodle
2013-04-09 02:01:04 +02:00
Eloy Lafuente (stronk7)
a035bc9b6d
Merge branch 'w14_MDL-39024_m25_mssqlseek' of git://github.com/skodak/moodle
2013-04-09 01:58:20 +02:00
Petr Škoda
60e9a2fe5d
MDL-39027 make sure sqlsrv does not return non-string data types
2013-04-08 23:29:52 +02:00
Petr Škoda
031a6de97a
MDL-39038 nasty workaround for Oracle NULL concats
2013-04-08 23:23:08 +02:00
Petr Škoda
50f743021e
MDL-39028 fix sqlsrv concat type conversion
2013-04-08 13:17:56 +02:00
Petr Škoda
4c97487728
MDL-39024 fix MSSQL seek past the end of recordset
2013-04-08 10:36:37 +02:00
Petr Škoda
7a755250df
MDL-39022 fix MSSQL concat type conversion
2013-04-08 10:19:51 +02:00
Petr Škoda
1b64533069
MDL-39019 make sure MSSQL does not return non-string data types
2013-04-08 10:06:55 +02:00
Petr Škoda
b1c5c4a887
MDL-38750 show errors at the end of OCI setup script
...
Credit goes to Damyon Wiese.
2013-04-07 19:44:46 +02:00
Petr Škoda
e788339786
MDL-37742 add debugging message when $DB->sql_empty() used
2013-03-26 22:12:17 +01:00
Petr Škoda
77a5c09354
MDL-37742 simplify dirty one-space oracle hack
2013-03-24 13:43:18 +01:00
Eloy Lafuente (stronk7)
5ab0371d74
Merge branch 'MDL-37854_master' of https://github.com/markn86/moodle
2013-02-05 11:10:48 +01:00
Mark Nelson
17222a4a25
MDL-37854 phpunit: replaced occurrence of non-existent function assertFail
2013-02-05 18:03:25 +08:00
Petr Škoda
dd8a39a881
MDL-37734 add one more recordset isolation test
2013-01-29 10:10:40 +01:00
Petr Škoda
0363b7826b
MDL-37734 use prefetching workaround for MARS transaction problems
2013-01-29 10:10:09 +01:00
Petr Škoda
9e6bfb5221
MDL-37718 release low level recordsets as soon as possible
2013-01-26 17:20:43 +01:00
Aparup Banerjee
60f95aad6c
Merge branch 'MDL-37585' of git://github.com/timhunt/moodle
2013-01-22 11:08:16 +08:00
Tim Hunt
74fa94b26a
MDL-37585 Make $DB->set_debug(true) show run time of each query.
2013-01-21 08:48:15 +00:00
Petr Škoda
33b5b9f97a
MDL-36809 add support for mysqli persistent connections
2013-01-19 13:25:28 +01:00
Petr Škoda
92b00c32a7
MDL-37420 rework pg schema testing
2013-01-11 02:12:38 +01:00
Petr Škoda
6ad8d762da
MDL-37420 add support for more PostgreSQL schemas
2013-01-08 17:12:31 +01:00
Petr Škoda
9d0ded6697
MDL-37284 fix mysql test for unicode compatibility
2012-12-22 18:42:55 +01:00
Dan Poltawski
4889da2199
Merge branch 'w49_MDL-36983_m25_ordertext' of git://github.com/skodak/moodle
2012-12-11 12:09:10 +08:00
Petr Škoda
1a4596e434
MDL-29442 add missing utf-8 to entity html encoding and decoding
2012-12-09 18:21:38 +01:00
Petr Škoda
b39eac3eca
MDL-36983 fix incorrect test method name
...
Credit goes to David Scotson, thanks.
2012-12-06 15:32:15 +01:00
Petr Škoda
bef1207302
MDL-36211 prevent session problems in installer
2012-11-21 08:34:28 +01:00
Petr Škoda
46a86dbbc2
MDL-36211 do not lock sessions for guests and not-logged-in users
2012-11-17 10:42:47 +01:00
Dan Poltawski
92c99211af
MDL-25290 MUC - add dbname to settings hash
2012-11-01 10:41:18 +08:00
Sam Hemelryk
9381983e5b
MDL-25290 conversion: Added db column cache to pgsql + mysql
2012-10-19 08:08:59 +08:00
Petr Škoda
633f324896
MDL-35691 fix bogus mysql integer size detection
2012-10-10 10:33:18 +02:00
Petr Škoda
bc5a5527e5
MDL-35691 add unit tests for the fixed integer column length info
2012-10-06 10:07:48 +02:00
Petr Škoda
3c17c85ae6
MDL-35691 fix max length calculation in pg, mysql and our bigint checker
2012-10-06 10:07:48 +02:00
Eloy Lafuente (stronk7)
8e4f6bb1d4
MDL-34657 test: verify CASE statements in ORDER BY clauses.
2012-09-27 12:41:41 +01:00
Petr Škoda
d719d59f25
MDL-35506 add more transaction error tests
2012-09-26 10:51:03 +02:00
Petr Škoda
bedd0982e8
MDL-35506 improve pg transaction snapshotting perf
2012-09-26 10:39:28 +02:00
Petr Škoda
8005d4eedf
MDL-35506 add pgsql workaround for automatic transaction rollback on any SQL error
2012-09-21 10:52:53 +02:00
Petr Škoda
ee70cee844
MDL-35506 test if error in transaction forces rollback
2012-09-20 10:29:12 +02:00
Eloy Lafuente (stronk7)
742b6984fc
Merge branch 'w38_MDL-35129_m24_dbmigration' of git://github.com/skodak/moodle
2012-09-18 01:12:17 +02:00
Petr Škoda
eb10d5541e
MDL-35479 use new debugging asserts in dml tests
2012-09-17 11:28:56 +02:00