55 Commits

Author SHA1 Message Date
nicolasconnault
7f9f11b5d4 MDL-14905 Added subclass of moodle_database for testing, plus some unit tests. 2008-06-16 15:41:23 +00:00
skodak
0537d4a071 MDL-15094 removed remaining references to $db 2008-06-15 12:34:08 +00:00
skodak
6807d2b3c6 MDL-14905 towards functional DB tests 2008-06-15 11:53:05 +00:00
skodak
6db04f1124 MDL-15094 protected adodb used instead of protected db - we will be able to search for obsoleted $db easier now 2008-06-15 11:41:02 +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
stronk7
a77aaef267 Fix some missing $this-> in ddl/dml stuff. MDL-15236 2008-06-14 00:00:26 +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
nicolasconnault
bb78c7888f MDL-14958 Basic tests done 2008-06-13 07:59:47 +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
e6b4f00ed7 MDL-14905 towards functional DB tests 2008-06-10 19:54:27 +00:00
skodak
e4c033a9dd MDL-15194 adodb separation, dml database creation support 2008-06-09 20:22:11 +00:00
skodak
96d1387809 MDL-14679 towards adodb separation 2008-06-09 18:48:28 +00:00
skodak
294ce9870f MDL-15189 magic quotes finally removed 2008-06-09 16:53:30 +00:00
stronk7
c45ea1dadb Minor recordset cleanup 2008-06-09 15:32:25 +00:00
skodak
b922e86b7a MDL-15181 temp table support in ddl/dml 2008-06-07 14:41:01 +00:00
skodak
dd87720f3a MDL-14679 fixed incorrect eror reporting 2008-06-04 23:59:49 +00:00
skodak
0208b97cb6 MDL-14679 fixed incorrect fields param 2008-06-04 23:53:44 +00:00
skodak
ce7fbdb8de MDL-15132 fixed broken sql menu functions - thanks Howard 2008-06-04 09:14:17 +00:00
skodak
4c14345543 MDL-15140 get_records_list() doesn't work as in 1.9 - thanks Jerome 2008-06-04 07:59:03 +00:00
nicolasconnault
d24832f9af MDL-14967 DB upgrades. Not finished yet. 2008-06-02 16:06:33 +00:00
skodak
44e1b7d7ff MDL-14679 remoed all instances of get_records_list() 2008-06-01 15:42:48 +00:00
skodak
4906c7de46 MDL-14679 fixed count_records() API 2008-06-01 14:08:44 +00:00
skodak
b820eb8c60 MDL-15073 delete_records now truncates table if deleting all records, fixed some regressions 2008-05-31 15:32:28 +00:00
skodak
29f83769d1 MDL-14679 towards reports and stats conversion 2008-05-31 14:35:58 +00:00
skodak
ce8c75eeb8 MDL-14679 towards /user conversion 2008-05-31 11:13:21 +00:00
skodak
c74a123781 MDL-14679 detect incorrect key=>value pairs in $conditions - in case somebody forgets "=>" and uses "," instead 2008-05-30 16:56:43 +00:00
stronk7
48a3428038 Latest changes to orcle driver. All old code is out + bug fixing in
oracle_dirty_hack. MDL-14888
2008-05-26 00:39:24 +00:00
skodak
72e949b8ce MDL-14957 get_columns() improvements 2008-05-25 23:17:21 +00:00
skodak
e108cea45f MDL-14957 fixed get_indexes() comments 2008-05-25 22:25:17 +00:00
stronk7
5b110d7b73 More changes to Oracle driver + fixing some bugs. More coming soon. MDL-14888, MDL-14986 2008-05-25 22:23:27 +00:00
skodak
71c920cf8f MDL-14957 fixed get_tables() comments 2008-05-25 22:22:57 +00:00
skodak
0a0ea79d7d MDL-14957 get_columns() improvements - mostly docs; definition moved to new file 2008-05-25 22:21:01 +00:00
skodak
06c1a1daf4 MDL-14981 regex search support in datalib, fixed course search 2008-05-25 20:43:46 +00:00
skodak
37f7c9b0ae MDL-14966 Moved moodle_recordset to separate class into lib/dml 2008-05-25 20:17:40 +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
stronk7
8ee3065e38 Moving emulate_bound_params() from adodb drivers to adodb_moodle_database. MDL-14984 2008-05-25 17:14:21 +00:00
skodak
a7544e377a MDL-14974 improved columns caching implementation 2008-05-25 09:31:38 +00:00
stronk7
aa07a81368 First cut of Oracle new adodb driver. Install and tests ok. MDL-14888 2008-05-25 02:45:50 +00:00
stronk7
c97e8deb3a Changed postgresql sequence fetching to GetID. MDL-7183 2008-05-25 02:38:30 +00:00
skodak
3b90506304 MDL-14679 improved get_in_or_equal() method 2008-05-24 20:42:40 +00:00
skodak
1d2b7f03cd MDL-14679 fixed get_in_or_equal() method 2008-05-24 13:05:34 +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
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
dongsheng
2f137aa130 "MDL-14129, fix print_error" 2008-05-20 02:53:46 +00:00
stronk7
6d5a22b208 Installer fixed, prefixes improved, moved conn settings to connect() and some more improvements. MDL-14864 2008-05-19 18:02:33 +00:00
stronk7
f32cf147b8 Fixed some problems handling BLOBs. MDL-14887 2008-05-19 00:24:41 +00:00