Commit Graph

20 Commits

Author SHA1 Message Date
skodak
94898738ff MDL-15671, MDL-15717 DB->import_record() support - code based on patch by Andrei Bautu; added new param to raw insert; unit tests included 2008-08-25 21:00:47 +00:00
skodak
e16e38818e MDL-15671 support for table sequence resetting - code by Andrei Bautu (with minor modifications) 2008-08-25 12:52:49 +00:00
tjhunt
2e46e4610a MDL-16141 Oops, and another copy and paste error meant that there was a misleading comment. 2008-08-20 08:28:07 +00:00
tjhunt
798af5f156 MDL-16141 Oops, copy and paste error on the method name in the subclasses. Sorry. 2008-08-20 08:27:21 +00:00
tjhunt
1d861fce06 MDL-16141 Need an sql_position method to do POSITION(needle IN haystack) on crappy databases; and
MDL-16140 Table "testtable" already exists messages when re-running dml unit tests after a crash - make it self-healing.
2008-08-20 06:51:46 +00:00
stronk7
a3bf516d75 Check for ints being inserted into text (clob) fieds to cast them to string.
Affects insert_record(), update_record() and set_field_xx(). MDL-15460
2008-06-28 21:09:10 +00:00
stronk7
888375bc2c Added sql_ceil() helper method. MDL-15336 2008-06-28 18:25:25 +00:00
skodak
ab130a0b5f MDL-15273 basic read/write perf counter in moodle_database 2008-06-16 21:01:54 +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
stronk7
a77aaef267 Fix some missing $this-> in ddl/dml stuff. MDL-15236 2008-06-14 00:00:26 +00:00
skodak
294ce9870f MDL-15189 magic quotes finally removed 2008-06-09 16:53:30 +00:00
skodak
b922e86b7a MDL-15181 temp table support in ddl/dml 2008-06-07 14:41:01 +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
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
stronk7
d550521063 First cut of mssql_adodb driver. Able to install HEAD. MDL-14887 2008-05-18 01:27:21 +00:00
stronk7
d02e368d77 non empty prefixes aren't a driver limitation, but a Moodle one. MDL-14877 2008-05-17 20:51:18 +00:00
stronk7
50e0ef5133 Fix one error in SetFetchMode() + minor clean. MDL-14879 2008-05-17 00:04:53 +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