Eloy Lafuente (stronk7)
|
617a9bb4c3
|
MDL-29668 xmldb editor - fix PHP generation for foreign-unique keys
|
2011-10-08 21:49:56 +02:00 |
|
Eloy Lafuente (stronk7)
|
37b5d8b0c4
|
MDL-29321 syntax - fix switch() statement
|
2011-09-19 01:24:51 +02:00 |
|
Eloy Lafuente (stronk7)
|
b1c1eeaec9
|
MDL-29314 syntax - fix switch() statement
|
2011-09-19 01:21:57 +02:00 |
|
Petr Skoda
|
b610f1d4d7
|
MDL-29313 allow larger char fields
|
2011-09-16 08:55:23 +02:00 |
|
Petr Skoda
|
257ad88f89
|
MDL-29313 enforce varchar size limit
|
2011-09-16 08:49:42 +02:00 |
|
Petr Skoda
|
b2cfdcf697
|
MDL-29314 enforce index size limits
|
2011-09-16 08:45:06 +02:00 |
|
Sam Marshall
|
d854dff9ef
|
xmldb MDL-24979 Made xmldb (a) not hide libxml errors permanently, (b) not incorrectly report previous errors with a later, working file
|
2010-11-01 13:35:27 +00:00 |
|
Petr Skoda
|
6496a019c9
|
MDL-24322 detecting duplicate keys/fields and indexes - this prevents infinite looks later in code
|
2010-09-21 10:42:20 +00:00 |
|
Petr Skoda
|
adc31ef5d9
|
spelling fixes
|
2010-09-18 11:00:48 +00:00 |
|
Petr Skoda
|
99edf902e8
|
removed some unused local variables
|
2010-09-18 10:59:29 +00:00 |
|
Petr Skoda
|
844239d3ed
|
MDL-24092 removing STATEMENTS support from install.xml, use db/install.php or db/log.php instead
|
2010-09-06 11:11:32 +00:00 |
|
Petr Skoda
|
a4cdd6d2c8
|
MDL-23068 removing obsolete $result and removing empty upgrade files that would be probably never used at all + minor cleanup/fixing
|
2010-07-04 10:27:56 +00:00 |
|
Andrew Davis
|
c78a948e8c
|
all areas MDL-20821 Replaced instances of ereg_replace and eregi_replace with preg_replace
|
2009-11-17 01:36:35 +00:00 |
|
Petr Skoda
|
5884a8e6b3
|
MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup
|
2009-11-10 19:45:34 +00:00 |
|
Petr Skoda
|
4a0e2e632f
|
MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup
|
2009-11-01 11:42:23 +00:00 |
|
stronk7
|
0a7e899d86
|
MDL-6218 TEXT/BINARY columns and default clauses - forbidden since ages, warn and autofix them if found
|
2009-07-03 01:12:59 +00:00 |
|
stronk7
|
16454b0f1c
|
MDL-19058 xmldb editor & enums - detect used/unused enums when loading XML files
|
2009-05-26 18:45:02 +00:00 |
|
stronk7
|
f3acc06c2d
|
NOBUGNUM xmldb - add some more generic (object) checks to the XMLDB loader
|
2009-05-26 17:24:52 +00:00 |
|
stronk7
|
2a88f626f7
|
MDL-18577 drop enums support - step2: enums out from editor, dbmanager and all upgrade scripts.
|
2009-05-01 01:19:16 +00:00 |
|
tjhunt
|
c51c43a092
|
xmldb: MDL-17262 warnings and fatal error when trying to create a unique key or index.
|
2008-11-18 07:29:45 +00:00 |
|
stronk7
|
d47112455b
|
Improve DOM detection (due to conficts with old DOM-XML). MDL-15637 ; merged from 19_STABLE
|
2008-09-29 17:14:05 +00:00 |
|
tjhunt
|
2a683cfb00
|
DEVELOPER_DEBUG messages to help you diagnose broken prev/next links in XMDBD files.
|
2008-08-15 11:09:45 +00:00 |
|
skodak
|
ad0373df55
|
MDL-15071 undoing part of previous commit, let's wait for Eloy
|
2008-07-13 11:42:37 +00:00 |
|
skodak
|
8e768c6d64
|
MDL-15071 Fixes a regular expression in xmldb_object which breaks sentences with empty strings, it is possible to specify record id in statement (needed for database moving) - by Andrei Bautu
|
2008-07-13 10:52:45 +00:00 |
|
stronk7
|
9c9fad9d71
|
Moving some old XMLDBxxx (deprecated) objects to the end of the file. Some PHP releases
have problems finding new extended xmldb_xxxx objects if they haven't been defined before.
|
2008-05-24 23:14:42 +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 |
|
stronk7
|
5eaa41e8bc
|
3rd iteration committed: xmldb_table "public" methods changed + debugging of deprecated ones until Moodle 2.1 . MDL-14863
|
2008-05-21 17:55:23 +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 |
|
skodak
|
f33e1ed4ae
|
MDL-14679 ok, here is the big patch with new dmllib and ddlib API, some code is already converted, XML db editor works; see tracker for details of regressions and TODOs
|
2008-05-15 21:40:00 +00:00 |
|
stronk7
|
926c6aa9e3
|
Implemented more accurate way to retrieve trigger names. MDL-14567 ; merged from 19_STABLE
|
2008-04-26 22:46:03 +00:00 |
|
stronk7
|
35107f8636
|
Respect case of enumvalues. MDL-12803 ; Merged from MOODLE_19_STABLE
|
2008-01-02 16:49:11 +00:00 |
|
stronk7
|
051b9588d1
|
XMLDB_UNSIGNED only applicable to number types. MDL-11662
Merged from MOODLE_19_STABLE
|
2007-12-08 18:20:15 +00:00 |
|
nicolasconnault
|
b7064779f5
|
Updated copyright notice in header
|
2007-10-10 05:25:14 +00:00 |
|
stronk7
|
dc6cc11a72
|
Annihilate one wrong use of getNameForObject() now
that we are able to detect REAL check constraints names
|
2007-09-11 19:39:28 +00:00 |
|
stronk7
|
da40b0beab
|
And now, the unused getStandardNameForObject() is out. Back to the
exclusive getNameForObject() function, ONLY USED TO CREATE NEW
OBJECTS, NEVER TO GUESS THE NAME OF EXISTING ONES. MDL-9356
|
2007-09-11 19:37:13 +00:00 |
|
stronk7
|
3d74e77aae
|
Now we aren't guessing check constraint names
but getting the real ones under Oracle. MDL-9356
|
2007-09-11 19:08:11 +00:00 |
|
stronk7
|
92529a70fa
|
Now we aren't guessing check constraint names
but getting the real ones under MSSQL. MDL-9356
|
2007-09-11 19:07:17 +00:00 |
|
stronk7
|
f0dfc20124
|
Now we aren't guessing check constraint names
but getting the real ones under PostgreSQL. MDL-9356
|
2007-09-11 19:06:38 +00:00 |
|
stronk7
|
faa1a939f0
|
Now Oracle is also able to detect its check constraints per field.
|
2007-09-10 22:30:26 +00:00 |
|
stronk7
|
a347e5e439
|
Preparing getCheckConstraintsFromDB() to retrieve the check constraint
defined for one field. Not used yet but I need it in CVS now.
|
2007-09-10 22:00:24 +00:00 |
|
stronk7
|
4215e41ecb
|
Extending getCheckConstraintsFromDB() to support a new parameter
used to filter what field in the table we want to know
its check constraints
|
2007-09-09 16:28:16 +00:00 |
|
stronk7
|
4cc68ea184
|
Now mysql returns getCheckConstraintsFromDB() in a compatible
way (array of name & description objects) with the check
constraints found in the table
|
2007-09-09 16:09:00 +00:00 |
|
stronk7
|
16a208f9e6
|
Now the Oracle XMLDB generator detects changes of precision
in NUMBERs without decimals (virtually INTs) and is able to perform the
change of precision properly
Merged from MOODLE_18_STABLE
|
2007-09-04 23:18:41 +00:00 |
|
stronk7
|
d6125c4ad5
|
By default, when creating new fields... they are unsigned.
|
2007-08-29 10:24:36 +00:00 |
|
tjhunt
|
af999b9095
|
Temporary fix for MDL-9356 becuase it was blocking a bug I needed to fix. Eloy, please review carefully when you get back from holiday.
|
2007-08-17 09:59:54 +00:00 |
|
stronk7
|
b4464372af
|
Detect CHAR + NOT NULL FIELDS + '' (empty) defaults. They shouldn't be in
XMLDB definitions at all. Convert the default to the proper one and
output it via xmldb debug.
|
2007-08-11 21:50:25 +00:00 |
|
stronk7
|
89a9688099
|
MSSQL requires to drop defaults before performing
one change of type and, sometimes, a change of length.
|
2007-08-11 00:15:25 +00:00 |
|
stronk7
|
01516fd39a
|
And key fields are lowercased too. End of MDL-10413
Merged from MOODLE_18_STABLE
|
2007-07-17 18:57:31 +00:00 |
|
stronk7
|
470617ba0a
|
And index fields are lowercased too. Part of MDL-10413
Merged from MOODLE_18_STABLE
|
2007-07-17 18:55:51 +00:00 |
|