Commit Graph

14 Commits

Author SHA1 Message Date
35107f8636 Respect case of enumvalues. MDL-12803 ; Merged from MOODLE_19_STABLE 2008-01-02 16:49:11 +00:00
051b9588d1 XMLDB_UNSIGNED only applicable to number types. MDL-11662
Merged from MOODLE_19_STABLE
2007-12-08 18:20:15 +00:00
b7064779f5 Updated copyright notice in header 2007-10-10 05:25:14 +00:00
d6125c4ad5 By default, when creating new fields... they are unsigned. 2007-08-29 10:24:36 +00:00
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
5bbe483102 Now, on error, the new XMLDB->debug($msg) function is called.
It provides the facility to hook to one external function, if
available: xmldb_debug($message, $xmldb_object) to perform
custom debugging/logging. MDL-7261
2006-10-28 15:18:40 +00:00
722c3bfede error reporting for xmldb (credit: Nigel McNie <nigel@catalyst.net.nz>) 2006-10-19 23:30:28 +00:00
eef868d17d major whitespace cleanup - fixed trailng whitespace in new files and admin area 2006-09-20 21:00:45 +00:00
48c2be79be Now we support to use the previous attribute in fields declaration 2006-09-12 22:56:52 +00:00
88bf021308 Fixed buggy condition. Now defaults are properly calculated by getPHP() 2006-09-12 16:45:46 +00:00
3a8c55c3fb Typos + drop table fully supported. 2006-09-07 18:39:43 +00:00
7b31a94e08 Now fields are able to return their PHP specs. 2006-09-06 19:31:03 +00:00
76fd473623 Added one-pass-setters for fields/keys/indexes. 2006-09-02 23:51:39 +00:00
8165877a17 Initial commit on HEAD of all the XMLDB stuff. 2006-08-15 09:14:31 +00:00