Matteo Scaramuccia
1f8d943461
MDL-59596 ddl: Support MariaDB 10.2.4+ SQL_MODE new default value.
2018-03-26 23:12:36 +02:00
Jake Dallimore
fa2a9cc933
MDL-23887 database: fix use of deprecated system tables for mssql
...
Catalog views are available which we should use instead.
2018-01-02 17:19:17 +08:00
David Mudrák
7cdb4266e0
MDL-32113 xmldb: Fix and extend unit tests for XMLDB_TYPE_NUMBER
...
These tests describe the new behaviour of the XMLDB_TYPE_NUMBER fields.
2017-12-21 19:48:04 +01:00
David Mudrák
457eaef9ec
MDL-32113 xmldb: Remove hard-coded exceptions for long number fields
...
We are going to unify the maximum supported precision of all numeric
fields to 38 digits (which are the current Oracle and MSSQL limits). Get
rid of hard-coded exceptions for longer fields.
2017-12-21 15:37:08 +01:00
Matteo Scaramuccia
e8be9e7646
MDL-60793 core_ddl: Added the new MySQL 8 reserved words
2017-12-14 22:46:48 +01:00
Matteo Scaramuccia
596f4e6a23
MDL-59635 ddl: Added test_get_enc_quoted().
2017-09-04 11:46:54 +02:00
Dan Poltawski
23e1ce7d52
Merge branch 'wip-MDL-59476-master-2' of git://github.com/marinaglancy/moodle
2017-07-31 10:21:32 +01:00
Dan Poltawski
afa752eb12
Merge branch 'MDL-57698-master' of https://github.com/xow/moodle
2017-07-25 11:48:09 +01:00
Marina Glancy
c07c8c6e3e
MDL-59476 dml: temporary mysql tables should not use compressed rows
2017-07-25 13:49:53 +08:00
John Okely
469ffa6893
MDL-57698 mssql: Update reserve word list for generator
2017-07-21 14:41:55 +08:00
Adrian Greeve
3a8c989137
MDL-59561 database: Update to creating new indexes in mysql.
...
When updating the mysql system to utf8mb4 not all tables are
converted to the row format of compressed or dynamic. If a new
index is created there is a possibility that the table could be
using compact or redundant and then an error will be shown saying
that the index size is too large. This fix handles this exception
and converts the table over to compressed.
2017-07-21 09:27:08 +08:00
Eric Merrill
cd729dc905
MDL-58593 database: More efficiently track issued key names
2017-04-13 12:21:13 -04:00
Adrian Greeve
8c1288dbdb
MDL-48228 database: Unit test addition and update.
2017-03-01 09:03:12 +08:00
Adrian Greeve
0bbefd81cd
MDL-48228 database: Make utf8mb4 the default character set for mysql.
...
Thanks to Jetha Chan for providing the initial patch that this is
based on.
2017-03-01 09:03:12 +08:00
Russell Smith
848d212e7a
MDL-53495 database xmldb: Ensure field tests use constant.
...
Some tests were still using hard coded values which break
if the constants are changed.
2016-07-06 14:45:00 +10:00
Russell Smith
0b768e744f
MDL-53495 database xmldb: Use real length restriction.
2016-06-08 11:06:16 +10:00
Simey Lameze
87a3e50192
MDL-51374 core_dml: change database layer to pass table name as parameter
2016-03-15 14:43:45 +08:00
Russell Smith
d22a01fd99
MDL-53213 caching: Faster databasemeta caching for all databases.
2016-02-28 17:03:14 +11:00
Mark Nelson
5e156fe8ce
MDL-49724 core_ddl: final deprecation of guess_antolope_row_size()
2016-01-06 10:38:22 +08:00
Simey Lameze
0148cd852e
MDL-49723 tool: deprecate guess_antolope_row_size method
2015-04-10 09:33:35 +08:00
Damyon Wiese
112632ed58
Merge branch 'wip_MDL-46235_m28_innodbtext' of https://github.com/skodak/moodle
2014-08-26 12:28:47 +08:00
Petr Skoda
a45d54b8cb
MDL-46235 ddl: add support for large number of text fields in one database table
2014-08-25 12:40:57 +12:00
Eloy Lafuente (stronk7)
52953ff948
MDL-46918 ddl: cover behavior with unit test
2014-08-21 18:33:23 +01:00
Tim Hunt
5dc266d980
MDL-46918 ddl: fix error when renaming table already exists
2014-08-21 18:33:22 +01:00
Rajesh Taneja
a9950b49c4
MDL-46327 phpunit: drop_table should be used, rather then drop_temp_table
2014-08-19 17:16:55 +08:00
Rajesh Taneja
c1dc3f4793
MDL-46327 phpunit: Fixed oracle fail
2014-08-19 10:11:20 +08:00
Petr Skoda
b86912431e
MDL-45945 mssql: force default database collation in all tables including temp table
2014-07-04 15:04:50 +12:00
Petr Skoda
4153a7483d
MDL-45985 ddl: improve check_database_schema method in database_manager
2014-06-17 16:53:36 +12:00
Petr Škoda
5d4c82560b
MDL-44191 hack around MySQL 5.6 inability to lower auto_increment
2014-03-14 11:31:43 +08:00
Petr Škoda
ab3fc898f4
MDL-43761 use single query in mysql when crating tables
2014-01-24 13:46:30 +08:00
Petr Skoda
3f17d7091b
MDL-43761 refactor db manager code to send arrays of SQL to the dml driver
2014-01-24 13:45:07 +08:00
Russell Smith
8343b340c4
MDL-39725 database: Include stats collections in unit tests
2013-12-10 20:32:56 +11:00
Dan Poltawski
d06d812c51
Merge branch 'wip-MDL-40883-master' of git://github.com/marinaglancy/moodle
2013-11-08 15:32:11 +08:00
Marina Glancy
a9d11e3cd0
MDL-40883 ddl: unittest for objects name length
2013-11-08 13:17:47 +11:00
Marina Glancy
dcde391b44
MDL-40883 ddl: make sure object name never exceeds max length
...
Many thanks to Ray Bon for finding the problem
2013-11-08 11:58:35 +11:00
Ankit Agarwal
e3359b87df
MDL-41586 libraries: Fix scale issues
...
The default value of scale should be null not false in mssql, that is the
standard with other DBs
0 is a valid value for scale, don't change it in oracle
2013-11-06 16:12:15 +08:00
Petr Škoda
d5ded4e72d
MDL-41022 cleanup core_ddl_testcase
2013-08-24 16:14:25 +02:00
Petr Škoda
8252b7c291
MDL-40901 standardise core test case class and file names
...
This finally allows us to type only the class name when executing individual core test cases.
2013-08-04 22:10:31 +02:00
Petr Škoda
656250de83
MDL-11270 use NVARCHAR(MAX) and VARBINARY(MAX) in SQL Server
2013-07-26 09:28:50 +02:00
Petr Škoda
02e5f81c94
MDL-38972 detect key-index duplicates
2013-04-18 20:21:02 +02:00
Petr Škoda
76f2fcdedb
MDL-37726 stop using PREVIOUS/NEXT in install.xml files
2013-01-29 22:32:24 +01:00
Eloy Lafuente (stronk7)
f9f750cecc
Merge branch 'w51_MDL-37420_m25_pgschema' of git://github.com/skodak/moodle
2013-01-09 01:32:09 +01:00
Sam Hemelryk
f44e7d0a77
Merge branch 'MDL-36357' of git://github.com/danpoltawski/moodle
...
Conflicts:
user/view.php
2013-01-09 09:34:22 +13:00
Petr Škoda
6ad8d762da
MDL-37420 add support for more PostgreSQL schemas
2013-01-08 17:12:31 +01:00
Petr Škoda
f092d92004
MDL-21116 drop plugin tables in opposite order
...
This should help with foreign key in the future.
2012-12-22 19:01:00 +01:00
Dan Poltawski
b3e2aaebc3
MDL-36764 ddl/oracle: fix misleading comment
2012-11-22 10:05:10 +08:00
Dan Poltawski
0e35ba6ffc
MDL-36357 cleanup - remove double semicolons
2012-11-15 09:51:26 +08:00
Petr Škoda
a3b6e311b8
MDL-35479 some more debugging assert cleanup
2012-09-17 12:06:24 +02:00
Petr Škoda
d9ba3c4ebc
MDL-35479 fix ddl tests to use debugging asserts
2012-09-17 11:41:38 +02:00
Fred Woolard
ce6ab1b96b
MDL-34211 Use the $table_name argument to check against $metatables key values
2012-07-16 11:16:55 +08:00