210 Commits

Author SHA1 Message Date
stronk7
d83bcdfcc7 Oops, I left some debugging info in my prev commit. 2009-06-23 08:24:50 +00:00
stronk7
16a2a41273 Fix one test failing depending of the debug/debugdisplay settings. 2009-06-23 00:24:52 +00:00
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
eda26314d6 MDL-19474 adding TODO for removing of obsoleted adodb drivers before branching 2009-06-13 09:11:54 +00:00
skodak
bba506164d MDL-14679 fixing old TODOs 2009-06-13 09:09: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
4bddb84049 MDL-19470 adding missing inline docs 2009-06-12 08:15:53 +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
skodak
f9f8baa89e MDL-17491 ora 10 min required, no need for legacy hacks anymore 2009-06-03 20:55:00 +00:00
skodak
4b5732f987 MDL-17020 pg 8.3 required, no need for legacy hacks anymore :-D 2009-06-03 20:53:19 +00:00
stronk7
8fdb24f079 MDL-14992 sessions - proper destructor method and fixed dispose() behaviour. 2009-05-26 14:46:01 +00:00
skodak
e0eda20921 MDL-19010 reverting last commit- DML must throw exceptions - fix the calling code 2009-05-06 10:39:51 +00:00
nicolasconnault
eb2761f856 MDL-19010 Fixing upgrade code to work with mysql. Also returning false when get_recordset_sql hits a SQL error, instead of crashing during upgrade with a Fatal error: Exception thrown without a stack frame in Unknown on line 0 2009-05-06 10:22:33 +00:00
stronk7
f9ecb1716d MDL-18577 drop enums support - fixed dml/ddl tests to be runnable once enums are out. Some
are failing but will be fixed/completed soon by MDL-19057
2009-05-03 23:46:40 +00:00
stronk7
d64514aab0 MDL-14679 - PG get_indexes() fix - minor problem retrieving indexes with columns quoted 2009-05-03 17:19:40 +00:00
stronk7
ffaf9c59a9 MDL-18577 drop enums support - step3: Missing return 2009-05-01 23:35:36 +00:00
stronk7
e00ab5f994 MDL-18577 drop enums support - step3: Fix oci8 adodb set_field_select() without select 2009-05-01 23:35:01 +00:00
stronk7
762bd0df3c MDL-18577 drop enums support - step3: fix native pgsql set_field_select() handling of BLOBs 2009-05-01 23:33:24 +00:00
stronk7
0aa060602f MDL-14679 mssql fix - Fix boolean handling in mssql + set_field() without params. 2009-04-28 23:49:33 +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
tjhunt
edbc93a7e4 Remove failing unit tests. (We are going to remove enum support from the database layer anyway.) 2009-03-30 01:57:47 +00:00
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