Petr Škoda
50f743021e
MDL-39028 fix sqlsrv concat type conversion
2013-04-08 13:17:56 +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
Petr Škoda
cabc411215
MDL-35129 implement new export_table_recordset()
...
This is necessary because MySQL get_recordset_sql() stores the data in memory, unfortunately the alternative resultset iteration blocks concurrent access - that is why we need new method for export.
2012-09-15 11:29:33 +02:00
Petr Škoda
a197c413c5
MDL-34441 prevent mysqli::close() notice after failed mysql driver connect
2012-07-22 15:38:03 +02:00
Petr Škoda
1eece17648
MDL-34271 use the same collation when adding new tables or columns
2012-07-12 14:39:36 +02:00
Petr Škoda
ed047dabc9
MDL-34271 cleanup mysql engine hack before adding similar collation hack
2012-07-12 14:39:36 +02:00
Dan Poltawski
f5d7fe4c9e
MDL-34159 - add comment lost from previous commit
2012-07-10 12:59:06 +08:00
Dan Poltawski
4afbd0c834
Merge branch 'w28_MDL-34159_m24_wherelist' of git://github.com/skodak/moodle
2012-07-10 12:52:14 +08:00
Dan Poltawski
b40eca11d9
Merge branch 'w28_MDL-33018_m24_pgindex2' of git://github.com/skodak/moodle
...
Conflicts:
lib/db/upgrade.php
version.php
2012-07-10 09:17:23 +08:00
Dan Poltawski
db296214d9
Merge branch 'w28_MDL-34010_m24_mysqldiag' of git://github.com/skodak/moodle
2012-07-10 08:49:22 +08:00
Petr Skoda
bd991d03cf
MDL-33018 add general index type hints and use PostgreSQL varchar_pattern_ops index type for context.path
...
This significantly improves performance of accesslib queries,
credit for the discovery of this solution goes to Andrew Masterton from OU.
2012-07-06 08:19:39 +02:00
Petr Skoda
63224dee44
MDL-33568 improve DB->count_records*()
...
Now always returns integer and invalid queries are detected.
2012-07-06 08:09:11 +02:00
Petr Škoda
3c2fbdbb87
MDL-34010 improve mysqli engine diagnostics performace
2012-07-06 08:01:33 +02:00
Michael Aherne
445be5c6cd
MDL-34010 Update diagnose() function to query information_schema.tables
2012-07-06 08:01:33 +02:00
Petr Škoda
7f22fb4dd9
MDL-34159 improve where_clause_list performance
2012-07-06 07:57:08 +02:00
Eloy Lafuente (stronk7)
c3fcad7d55
Merge branch 'MDL-34145' of git://github.com/timhunt/moodle
2012-07-05 03:40:44 +02:00
Eloy Lafuente (stronk7)
43a6a288b4
Merge branch 'mssql-case-sensitive' of git://github.com/danpoltawski/moodle
2012-07-02 21:05:08 +02:00
Tim Hunt
5415d91e20
MDL-34145 postgres driver: fix get_tables perf on <= 9.0
...
The query of the information_schema view seems to be painfully slow on
older versions of postgres (2000ms instead of 20ms). Therefore, it is
worth detecting that case, and using a more postgres specific feedback.
This is particularly important for 2.3+ unit tests.
Thanks to Petr Skoda for his help with this.
2012-07-02 16:19:00 +01:00
Petr Škoda
c56cdae977
MDL-34130 prevent some warning in PHPStorm
2012-07-01 21:50:36 +02:00
Petr Škoda
3b5f6e6c2a
MDL-34130 test recordset data is static
...
We do not want recordset results to be affected by subsequent update or delete queries.
2012-07-01 21:35:37 +02:00
Petr Škoda
4993d5fe00
MDL-34130 add missing rs close
...
Thanks Eloy!
2012-07-01 21:24:13 +02:00