125 Commits

Author SHA1 Message Date
skodak
beaa43db85 MDL-17036 dml: dbpersist moved into dboptions 2008-10-27 22:21:34 +00:00
skodak
298d9250d9 MDL-17020 dml: native pgsql driver - fixed wrong handling of binary fields in get_column() 2008-10-27 21:57:45 +00:00
skodak
2958a49b75 MDL-17020 dml: native pgsql driver - transactions minor changes 2008-10-27 20:59:21 +00:00
skodak
fa76662bb2 MDL-14679 dml/native_mysqli transactions support 2008-10-27 20:58:37 +00:00
skodak
fb76304b3b MDL-17020 dml: native pgsql driver - implementation and unittests of transactions 2008-10-27 20:21:04 +00:00
skodak
d246cdd2f9 MDL-17020 dml: native pgsql driver - support for bytea updating 2008-10-27 15:42:52 +00:00
skodak
db7aea3818 MDL-17020 dml: native pgsql driver - support for bytea reading 2008-10-27 15:31:11 +00:00
skodak
30fff7b74f MDL-17020 dml: native pgsql driver - improved get_record and get_field - this should be faster 2008-10-27 15:30:38 +00:00
skodak
80ffbad34b MDL-17020 dml: native pgsql driver - fixing/improving unittests; fixed column names in indexes 2008-10-27 12:33:09 +00:00
skodak
334ce0266d MDL-17020 dml: native pgsql driver - fixing/improving unittests 2008-10-27 12:10:24 +00:00
skodak
9eb86c4a0d MDL-17020 dml: native pgsql driver - fixing/improving unittests 2008-10-27 12:01:15 +00:00
skodak
935956b8c2 MDL-17020 dml: native pgsql driver - $ bound syntax fully implemented, we do not need string for exception anymore 2008-10-27 12:00:04 +00:00
skodak
e4f9c142f1 MDL-17020 dml: native pgsql driver - more resource freeing 2008-10-27 11:43:17 +00:00
skodak
158622bd64 MDL-17020 dml: native pgsql driver - still buggy, works only partially 2008-10-26 22:36:13 +00:00
skodak
312dab0dec MDL-14679 dml/native_mysqli recordset cleanup 2008-10-26 13:00:53 +00:00
skodak
3f0c17b8ef MDL-17020 dml: dollar bound query syntax support 2008-10-26 12:45:05 +00:00
skodak
d5d0890c30 MDL-14679 dml/native_mysqli fixed sql concat 2008-10-25 18:40:35 +00:00
skodak
2aeb3bcbdb MDL-14679 dml/native_mysqli adding lang strings 2008-10-25 18:37:59 +00:00
skodak
c65845cca1 MDL-14679 dml/native_mysqli fixed decimal columns - unittests now complete without errors! 2008-10-25 18:31:40 +00:00
skodak
75dfa4a35d MDL-14679 dml/native_mysqli implemented blob type 2008-10-25 18:26:55 +00:00
skodak
e21847e530 MDL-14679 dml/native_mysqli fixed recordsets handling 2008-10-25 18:12:17 +00:00
skodak
12e09c6b8b MDL-14679 dml/native_mysqli fixed column cache 2008-10-25 18:01:54 +00:00
skodak
6a68d8c0e1 MDL-16930 dml: converting print_error to exceptions 2008-10-25 17:43:45 +00:00
skodak
0487f9e2c9 MDL-14679 dml/native_mysqli improvements 2008-10-18 22:35:42 +00:00
skodak
7466a42fb4 MDL-14679 dml/native_mysqli new experimental native driver for mysqli - not fully finished yet, seems to work fine 2008-10-17 22:43:42 +00:00
nicolasconnault
c7d306e168 MDL-15666 MDL-16486 2008-09-17 14:31:30 +00:00
nicolasconnault
ba14791091 MDL-16483 Reverting as Petr ordered... I mean, suggested. 2008-09-16 14:35:15 +00:00
nicolasconnault
b9c639d6c2 MDL-16483 Refactored install/upgrade code into lib/adminlib. Created an intermediate MoodleUnitTestCase class that overrides simpletest's constructor, destructor and setup/teardown methods. All moodle unit tests must extend this class. 2008-09-16 12:19:43 +00:00
nicolasconnault
7399a49d44 MDL-14081 fixed error in eventslib unit tests 2008-09-06 11:22:30 +00:00
skodak
8aff848213 MDL-14589 minor database driver loading refactoring 2008-09-02 20:32:03 +00:00
skodak
ebf20af07d MDL-15635 dml library inclusion refactoring 2008-08-30 18:48:39 +00:00
skodak
a47c84c4bb MDL-15635 sqlite fixes - by Andrei Bautu 2008-08-30 18:46:18 +00:00
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
b3d0062f58 removing TODO: yes we want public raw insert methods, they are already used for log inserts ;-) 2008-08-25 13:19:22 +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
nicolasconnault
3ee3b8c593 MDL-15837 Fix errors in unit tests 2008-08-18 15:07:31 +00:00
nicolasconnault
06a546bdae MDL-15837 Finished sql_ helper unit tests for mysql and postgres 2008-08-08 11:03:03 +00:00
nicolasconnault
1ddfd4ec23 MDL-15837 Started sql_ helper function tests for mysqli, mysql and postgres7 2008-08-07 14:55:03 +00:00
nicolasconnault
c824e1e16d MDL-15924 Added CLOB and BLOB tests 2008-08-07 12:59:44 +00:00
stronk7
b0cb2290f0 Added some functional tests to check the recordset keys. MDL-15798 2008-07-28 23:08:57 +00:00
stronk7
6607447275 Implement proper keys for adodb and pdo recordset iterators. MDL-15798 2008-07-28 22:22:22 +00:00
stronk7
740f769bd2 Final modifications to PHP docs while documenting DML function in Docs. 2008-07-25 23:31:08 +00:00
stronk7
ad434752aa Some more PHP Docs minor changes. 2008-07-25 18:41:35 +00:00
stronk7
b5e1cac9ef Polishing a bit PHP docs 2008-07-25 17:51:37 +00:00
moodler
de6961ccf7 Removing a warning when prefix == '' 2008-07-25 05:41:51 +00:00
nicolasconnault
9fed64fa19 MDL-15808 Applying Andrei's patch 2008-07-24 12:21:19 +00:00
dongsheng
06e84d52bd MDL-14129, remove error() call 2008-07-21 07:18:58 +00:00