Commit graph

95 commits

Author SHA1 Message Date
skodak
b4154c2d64 MDL-14990 implemented query loggin in new native DML drivers 2009-06-13 15:59:55 +00:00
skodak
54d51f604e MDL-19470, MDL-14990 fixed db transactio nregression + towards query logging support 2009-06-13 10:16:29 +00:00
skodak
7900a54c30 MDL-14679 fixing old TODOs and adding more CLI support 2009-06-13 09:16:30 +00:00
skodak
1fbdf76ddb MDL-19470 detection of unfinished transactions and transactions interrupted by exceptions 2009-06-12 10:59:28 +00:00
skodak
5da75074c4 MDL-19470 adding missing inline docs 2009-06-12 08:27:19 +00:00
skodak
4992614541 MDL-19470 fixing DML license headers 2009-06-12 08:14:29 +00:00
skodak
a1dda107bd MDL-19470 detection of nested transactions, only one level allowed 2009-06-12 07:55:44 +00:00
stronk7
8fdb24f079 MDL-14992 sessions - proper destructor method and fixed dispose() behaviour. 2009-05-26 14:46:01 +00:00
tjhunt
adff97c505 lib/dml: new compatibility method sql_cast_2signed for when MySQL thinks that 1 * -1 = 18446744073709551615 2009-04-10 09:33:26 +00:00
stronk7
7e0db2e205 MDL-18244 sql_length() - new cross-db function to calculate the length in chars of any expression ; from 19_STABLE 2009-02-15 23:17:56 +00:00
skodak
3b09331066 MDL-17458 rewritten installer 2009-02-07 10:20:33 +00:00
skodak
56949c17de MDL-14992 refactored use of session_write_close() 2009-01-17 15:25:08 +00:00
skodak
5e9dd01778 MDL-14992 pg session locking (8.2 and later only), refactoring and db session not default yet in new installs 2009-01-17 14:31:29 +00:00
skodak
3b1a9849bf MDL-14992 pg sessions advisory locks accept only integers :-( trying to find a workaround 2009-01-17 12:12:48 +00:00
skodak
7f79aaeaad MDL-14992 towards better db sessions - session locking for mysql 2009-01-16 23:02:24 +00:00
skodak
0a2092a307 MDL-14992 towards better db sessions 2009-01-16 17:27:36 +00:00
skodak
117679db37 MDL-17859 implemented caching in get_tables() 2009-01-12 18:10:50 +00:00
skodak
c643c2f513 MDL-17806 fixed sql_bit_and use which returns number and that is why it is not suitable for SQL conditions; thanks penny!
Fixed DML docs too.
2009-01-07 18:55:32 +00:00
stronk7
c362878ed7 MDL-17645 delete_records_list - Tidied a bit return values. Fix behaviour when no values are passed + new dml tests for all *_list() functions. 2008-12-15 21:41:09 +00:00
tjhunt
0e8e23cce6 dml: MDL-17645 New database method delete_records_list. 2008-12-15 02:13:11 +00:00
skodak
66e75f8d51 MDL-17491 experimental native oracle driver - still bugy and incomplete, this will require more core changes, grrrrrr 2008-12-05 00:10:27 +00:00
skodak
3ff8bf266b MDL-17522 improved dml tests, fixed sql LIMIT support in native drivers 2008-12-04 11:52:53 +00:00
skodak
e6df37346f MDL-17408 DML: new sql_modulo() method + test 2008-11-26 08:19:45 +00:00
skodak
082ae8215e MDL-15837 more dml unit tests 2008-11-22 19:32:16 +00:00
skodak
ce1526061c MDL-17317 DML: more exceptions - now in connect too 2008-11-22 01:16:52 +00:00
skodak
be415e95be MDL-17354 moved reset_sequence into dbmanager 2008-11-21 21:40:50 +00:00
skodak
22d77567a9 MDL-17317 DML: Exceptions used by all drivers now :-) expect some more commits/cleanup soon 2008-11-21 20:09:13 +00:00
skodak
3e51b51d05 MDL-17317 lets make Netbeans happy, it is not clever enough to detect undefined vars properly ;-) 2008-11-19 23:20:46 +00:00
tjhunt
34a36b2e85 Improve error message. 2008-11-18 04:22:57 +00:00
skodak
ba63f3775b MDL-17130 dml: removed lambda-style functions - they might be a major scalability problem in future 2008-11-06 18:36:50 +00:00
skodak
591ffe1a6a MDL-17129 dml/ddl: improved ddl exceptions when changing db structure 2008-11-05 10:45:45 +00:00
skodak
c23b0ea11b MDL-17129 dml: implemented exceptions in new drivers, yay! 2008-11-04 23:07:14 +00:00
skodak
9214025e3e MDL-17129 basic dml exceptions 2008-11-04 21:50:13 +00:00
skodak
1500142bfb MDL-14990 dml: towards proper logging/perf infrastructure 2008-10-29 23:55:16 +00:00
tjhunt
10e99feaa2 Fix and improve error message. 2008-10-29 06:54:32 +00:00
skodak
bb5f11ece7 MDL-14990 dml: towards proper logging/perf infrastructure 2008-10-28 22:31:26 +00:00
stronk7
40b5f6552b Missing parenthesis in sql_substr(). MDL-16669 2008-10-28 17:57:51 +00:00
skodak
655bbf511d MDL-16669 dml: improved sql_substring(), added unit tests 2008-10-28 15:11:10 +00:00
skodak
6cc9771844 MDL-14990 dml: added __destruct method, will be needed for logging 2008-10-28 12:02:13 +00:00
skodak
beaa43db85 MDL-17036 dml: dbpersist moved into dboptions 2008-10-27 22:21:34 +00:00
skodak
fb76304b3b MDL-17020 dml: native pgsql driver - implementation and unittests of transactions 2008-10-27 20:21:04 +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
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
3f0c17b8ef MDL-17020 dml: dollar bound query syntax support 2008-10-26 12:45:05 +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
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
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