Commit graph

817 commits

Author SHA1 Message Date
skodak
16a5642c69 MDL-14679 var_export now used instead of addsingleslashes in installer; refactored the database setting initialisation 2008-06-22 22:53:40 +00:00
skodak
98e1919368 MDL-15071 fixed typo 2008-06-22 22:32:16 +00:00
skodak
eccc4a07b3 MDL-15071 fixed problem introduced into submitted patch 2008-06-22 22:05:59 +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
4dd3bf0584 MDL-15320 fixed $cfg->library typo - thanks Andrei Bautu 2008-06-20 20:30:29 +00:00
nicolasconnault
50a12c87ce MDL-14905 Finished all basic tests. It should now be easy to extend these tests with more boundary conditions 2008-06-20 09:40:03 +00:00
nicolasconnault
0088bd3167 MDL-14905 Added more unit tests, plus stubs for all methods to be tested. Also fixed a bug in moodle_database:get_recordset_list(), which was using " AND " between values instead of " OR " 2008-06-18 14:53:01 +00:00
nicolasconnault
b579f0dbde MDL-14905 Removed table creation and data insertion from setUp() method, and put simple versions of these in each test method needing them. 2008-06-18 11:12:19 +00:00
skodak
ec22e38039 MDL-15273 basic read/write perf counter in moodle_database 2008-06-18 08:26:41 +00:00
skodak
edef70c9d0 MDL-15273 basic read/write perf counter in moodle_database 2008-06-18 08:26:40 +00:00
skodak
ab130a0b5f MDL-15273 basic read/write perf counter in moodle_database 2008-06-16 21:01:54 +00:00
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