185 Commits

Author SHA1 Message Date
stronk7
37d975e11f Fix tests (missing declaration) and add tests for sql_length() 2009-02-15 23:43:34 +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
797ffad0c7 MDL-18194 detect if driver install before trying to create db 2009-02-09 17:51:01 +00:00
skodak
3b09331066 MDL-17458 rewritten installer 2009-02-07 10:20:33 +00:00
skodak
d7d86462bb MDL-14992 adding links to oracle locking info - thanks Eloy 2009-01-17 17:44:48 +00:00
skodak
fc12e1f727 MDL-14992 adding links to oracle locking info - thanks Eloy 2009-01-17 17:44:30 +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
440d0a5ae5 MDL-17880 removed debug code, grr 2009-01-13 19:07:41 +00:00
skodak
c1a6529be1 MDL-17880 fixed removing of leading 0 from strings when emulating bounds in DML 2009-01-13 13:12:59 +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
dongsheng
60e40dda6c "MDL-14129, remove the rest error() in moodle2" 2008-12-12 04:53:32 +00:00
skodak
2c4eb0064b MDL-17491 oracle dml: towards full support 2008-12-09 22:24:07 +00:00
skodak
418b74993d MDL-17491 oracle dml: problem notes 2008-12-09 09:03:37 +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
9d833e931c MDL-17522 improved dml tests, fixed use of reserved word "number" 2008-12-04 23:16:35 +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
189f3ee9bf MDL-14679 enforce prefix for native pg driver 2008-12-02 10:07:03 +00:00
skodak
1638ad5317 MDL-14679 removed unnecessary CFG from native drivers 2008-12-02 10:01:01 +00:00
stronk7
30d2832dd0 Added create_database() method (to be used at least by Win32 installers) 2008-11-30 19:29:37 +00:00
skodak
088a4df8fc MDL-14679 improved limit handling 2008-11-29 13:32:56 +00:00
skodak
415c4f78f3 MDL-17408 DML: new sql_modulo() method for oracle 2008-11-26 08:44:57 +00:00
skodak
e6df37346f MDL-17408 DML: new sql_modulo() method + test 2008-11-26 08:19:45 +00:00
skodak
b0a196ed69 MDL-14679 DML: fixed $rs typos 2008-11-25 22:49:46 +00:00
skodak
d55132a769 MDL-17378 DML: fixed pg < 8.3 regression - found by sam, thanks 2008-11-24 11:58:59 +00:00
skodak
7fdcb77942 MDL-17377 DML: prefixless database regression in new native drivers 2008-11-24 09:31:43 +00:00
skodak
e6b854a01c MDL-17374 DML: improved BC in pg driver 2008-11-24 07:38:07 +00:00
skodak
082ae8215e MDL-15837 more dml unit tests 2008-11-22 19:32:16 +00:00
skodak
6ff835b79e MDL-15837 improved dml unit testing 2008-11-22 16:48:34 +00:00
skodak
ce1526061c MDL-17317 DML: more exceptions - now in connect too 2008-11-22 01:16:52 +00:00
skodak
758ba89a63 MDL-17347 reintroduced duplicate tests in get_records_sql() 2008-11-21 22:35:21 +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
ba98912f8c MDL-17020 pgsql: silenced php warnings 2008-11-05 00:05:41 +00:00
skodak
6e22a695d8 MDL-17129 dml: fixed dml exception handling in unit tests 2008-11-05 00:05:18 +00:00
skodak
c23b0ea11b MDL-17129 dml: implemented exceptions in new drivers, yay! 2008-11-04 23:07:14 +00:00
skodak
d8f27d7bd2 MDL-16920 mysqli: refactored driver to use new query logging 2008-11-04 22:29:18 +00:00
skodak
a6283e9127 MDL-16920 mysqli: refactored driver to use new query logging 2008-11-04 22:25:23 +00:00
skodak
d139b06701 MDL-17020 pgsql: new port dboption 2008-11-04 21:55:39 +00:00
skodak
9214025e3e MDL-17129 basic dml exceptions 2008-11-04 21:50:13 +00:00