252 Commits

Author SHA1 Message Date
stronk7
6dc72d7506 MDL-18420 reserved words - lowercase sqlite reserved words 2009-03-02 19:20:47 +00:00
stronk7
e9fc2f32ef MDL-18420 reserved words - adding 2 new PG reserved words. Merged from 19_STABLE 2009-03-02 19:09:29 +00:00
stronk7
09717fa5ca MDL-18420 reserved words - adding MySQL 5.1 and 6.0 new reserved words ; merged from 19_STABLE 2009-03-02 18:53:59 +00:00
skodak
117679db37 MDL-17859 implemented caching in get_tables() 2009-01-12 18:10:50 +00:00
skodak
1045a0074c MDL-17849 sql queries not printed by default during upgrade anymore, there is a new config.php only setting $CFG->upgradeshowsql instead 2009-01-12 16:52:53 +00:00
skodak
be415e95be MDL-17354 moved reset_sequence into dbmanager 2008-11-21 21:40:50 +00:00
skodak
22d77567a9 MDL-17317 DML: Exceptions used by all drivers now :-) expect some more commits/cleanup soon 2008-11-21 20:09:13 +00:00
skodak
d21c50373a MDL-17129 dml/ddl: improved handling of dml exception in dml 2008-11-06 18:55:54 +00:00
skodak
591ffe1a6a MDL-17129 dml/ddl: improved ddl exceptions when changing db structure 2008-11-05 10:45:45 +00:00
skodak
6e22a695d8 MDL-17129 dml: fixed dml exception handling in unit tests 2008-11-05 00:05:18 +00:00
skodak
0bd364c1d7 MDL-17020 dml: native pgsql driver - ddl unittest more robust - fixed typo, thanks ELoy! 2008-10-27 15:54:36 +00:00
skodak
a65b0be43f MDL-17020 dml: native pgsql driver - ddl unittest more robust 2008-10-27 15:50:32 +00:00
skodak
6d89eff087 MDL-16930 ddl - exceptions cleanup 2008-10-18 22:46:17 +00:00
nicolasconnault
c7d306e168 MDL-15666 MDL-16486 2008-09-17 14:31:30 +00:00
nicolasconnault
b9c639d6c2 MDL-16483 Refactored install/upgrade code into lib/adminlib. Created an intermediate MoodleUnitTestCase class that overrides simpletest's constructor, destructor and setup/teardown methods. All moodle unit tests must extend this class. 2008-09-16 12:19:43 +00:00
skodak
3eefe57bd1 removing forgotten grrr debug code ;-) 2008-09-01 20:04:18 +00:00
skodak
ebf20af07d MDL-15635 dml library inclusion refactoring 2008-08-30 18:48:39 +00:00
skodak
a47c84c4bb MDL-15635 sqlite fixes - by Andrei Bautu 2008-08-30 18:46:18 +00:00
skodak
f4caf0df5e MDL-15669 Check db schema vs install.xml - code by Andrei Bautu, with minor changes only (more strict checking) 2008-08-25 22:02:49 +00:00
skodak
0549c245e1 MDL-15071 new method for installing of table from xmld structure - credit goes to Andrei Bautu 2008-07-13 20:27:14 +00:00
skodak
28a40b5ca2 MDL-15071 coding style improvement by Index: sql_generator.php by Andrei Bautu 2008-07-13 10:14:42 +00:00
skodak
943de432e1 MDL-15071 fixes of the SQLite layer by Andrei Bautu 2008-07-13 10:12:20 +00:00
skodak
55946ffda6 MDL-15071 new sqlite pdo driver by Andrei Bautu (with minor changes) 2008-06-22 21:35:07 +00:00
skodak
eee5d9bb85 MDL-14956 DDL exceptions 2008-06-22 16:51:55 +00:00
skodak
eb099f327b MDL-14956 removed some tests from create table method - no need to check if something exists in table if table itself does not exist yet 2008-06-22 12:35:15 +00:00
skodak
3dce78e125 MDL-15247 lib/dmllib.php is now obsolete 2008-06-15 11:35:25 +00:00
skodak
b1f93b1512 MDL-15246 moving all remaining ddl function to adminlib, keeping old lib/ddllib.php only for BC withexisting code; fixed inline docs related to ddl 2008-06-15 10:32:50 +00:00
skodak
251387d087 MDL-14956 basic exception support in Moodle + other minor related refactoring 2008-06-13 17:51:34 +00:00
skodak
a230012cd8 MDL-14905 towards functional DB tests 2008-06-13 08:35:29 +00:00
skodak
3b90a133bf MDL-14905 towards functional DB tests 2008-06-12 18:28:38 +00:00
skodak
5fe3f5c377 MDL-14905 towards functional DB tests 2008-06-12 15:18:11 +00:00
skodak
b936956e2f MDL-14905 towards functional DB tests 2008-06-12 09:38:49 +00:00
skodak
809df0e2b6 MDL-14905 towards functional DB tests 2008-06-10 22:05:29 +00:00
skodak
dfba1c3da1 MDL-15181 fixed mysql drop table regression 2008-06-10 19:45:26 +00:00
skodak
245ac55791 MDL-14679 last forgotten bits of dml conversion 2008-06-09 19:48:24 +00:00
skodak
96d1387809 MDL-14679 towards adodb separation 2008-06-09 18:48:28 +00:00
skodak
21a7e260fc MDL-15181 temp table support in ddl/dml 2008-06-07 14:57:47 +00:00
skodak
b922e86b7a MDL-15181 temp table support in ddl/dml 2008-06-07 14:41:01 +00:00
skodak
25d854c67c MDL-14910 added option to dispose existing database instance (closes connection and releases all resources) 2008-05-25 19:56:34 +00:00
skodak
0b2e23c4eb MDL-14974 fixed aro regression - sorry 2008-05-25 11:11:45 +00:00
skodak
a7544e377a MDL-14974 improved columns caching implementation 2008-05-25 09:31:38 +00:00
stronk7
4d3e94b40f Now oracle generator is also reentrant. MDL-14897 2008-05-25 02:42:06 +00:00
stronk7
69b80cc2eb 4th iteration committed: xmldb_field, xmldb_index and xmldb_key "public" methods changed + debugging of deprecated ones until Moodle 2.1 . MDL-14863 2008-05-22 00:09:59 +00:00
nicolasconnault
73f7ad715e MDL-14905 Started on the DDL functional tests. Added an ugly but temporary hack into error() and print_error(), so that they throw an exception instead of dying when UNITTEST is defined. 2008-05-21 14:59:33 +00:00
nicolasconnault
4cacea3b72 MDL-14905 Completed all core functional tests for database_manager (ddl). Found some API design issues and commented on them using @TODO comments. 2008-05-21 06:34:56 +00:00
stronk7
a8cb94f66f MDL-14863 - 1st iteration: lowercase XMLDB table, field, index, key and statement +
wrapper class to support old syntax (no changes in public API yet)
2008-05-20 23:24:40 +00:00
stronk7
46293bd7b7 MDL-14863 - 1st iteration: lowercase XMLDB constants, object, file and structure (no changes in public API yet) 2008-05-20 17:06:26 +00:00
nicolasconnault
6cef30f7f5 MDL-14905 More tests of database_manager class. Need to replace debugging() with proper exception handling that can be caught and asserted by simpletest. 2008-05-20 13:49:42 +00:00
nicolasconnault
6395aa3f98 MDL-14905 First battery of ddl tests ready. All pass but one, the rename_index test. 2008-05-19 15:36:31 +00:00
stronk7
ed55f6682b Make generators reentrant. MDL-14897 2008-05-19 03:04:41 +00:00