Commit graph

111 commits

Author SHA1 Message Date
Petr Skoda
16114b9db8 MDL-24080 new $notlike parameter added to our new sql_like(), hopefully nobody started using the $escaped param yet; unittests included 2010-09-04 14:39:01 +00:00
Petr Skoda
2f8eea3415 MDL-24079 finally the sql_ilike() is deprecated 2010-09-04 14:23:50 +00:00
Petr Skoda
6055f89d30 MDL-23925, MDL-23888 new sql_ilike() and sql_binary_equal() - this should finally allow us to solve many collation issues consistently for all supported databases; please note this changes some behaviour for non-english languages when mysql used; expect more commits that actually make use of these new features 2010-08-24 21:50:53 +00:00
Petr Skoda
9331d879eb MDL-14679 more return types added 2010-08-22 19:06:06 +00:00
Petr Skoda
3503dcad31 MDL-14679 fixing more incorrect return types 2010-08-22 19:00:28 +00:00
Petr Skoda
5212b07f20 MDL-14679 fixing incorrect return type of recordset methods 2010-08-22 18:55:29 +00:00
Petr Skoda
4a6c2ab88e MDL-14679 fixing obsolete driver names in comments 2010-08-22 18:51:45 +00:00
Petr Skoda
1045bec09c MDL-23568 fixed regression when using blobs 2010-07-31 21:12:02 +00:00
Petr Skoda
d8fa8e406e MDL-23568 parameters of DML function insert_record are not modified any more < improved coding style, now using cast to array consistently 2010-07-31 20:51:22 +00:00
Petr Skoda
66c0ee78a5 MDL-21249 fixed wrong package grrrrrr, thanks Eloy! 2010-07-25 20:18:39 +00:00
Petr Skoda
f2ed3f05a7 MDL-21249 improved php docs and adding direct access prevention in dml 2010-07-25 12:57:24 +00:00
Eloy Lafuente
471dc4d307 NOBUG postgresql driver - better index names detection. Related to MDL-22804 2010-06-16 15:46:08 +00:00
Petr Skoda
2434f624ad yet more comment typos 2010-05-21 18:32:44 +00:00
Eloy Lafuente
10f375aa2e MDL-22076 temptables - warn and dropped on disposal 2010-04-21 16:12:27 +00:00
David Mudrak
a0b7200d9c Fixing typos in DB persistant connection setting 2010-03-25 11:17:01 +00:00
Eloy Lafuente
00511e2101 MDL-21834 DDL tests - fix concurrent temp tables for postgresql 2010-03-17 01:32:59 +00:00
Petr Skoda
d5a8d9aa71 MDL-20625 new delegated transaction support in DML 2009-11-07 08:52:56 +00:00
Eloy Lafuente
e3acc8af7a MDL-20734 normalise_value() - moving from private to protected everywhere and abstracting 2009-11-04 13:19:11 +00:00
Eloy Lafuente
8fb501e96c MDL-20734 empties and zeros - implemented the normalise_value() function in
mysql and postgres to perform central normalisation of values for insert/
update/set_field. Now all DB drivers cast empty strings to 0 when working
with numeric columns (integer and decimal)
2009-11-03 23:34:43 +00:00
Petr Skoda
117bd74897 MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-01 11:31:16 +00:00
stronk7
72a3902f5a MDL-14679 fixing limitfrom, limitnum queries under pgsql, mssql and oracle 2009-10-16 14:14:03 +00:00
stronk7
489ef94fa8 Fix storing onf NULLs by set_field_xxx() into binary columns. 2009-10-15 15:17:21 +00:00
stronk7
2b4cf032fa Fix retrieving of NULLs in PG databases and binary fields 2009-10-14 10:32:48 +00:00
skodak
eb123debc6 MDL-19474 One year and a half ago we started designing and implementing our new databse abstraction layer which included brand new moodle native drivers. Today we are finally removing old legacy drivers that were still using adodb internally. From now on the adodb will be used only in some authentication and enrolment plugins, we are probably going to drop adodb there too later in 2.x. Thanks everybody who helped test and improve our new drivers, even bigger thanks to all the great developers who created ADOdb! 2009-10-08 22:34:34 +00:00
stronk7
190ff43b8a MDL-17020 pgsql native driver: use same solution than mssql and oci to disable driver verbosity 2009-09-23 13:42:31 +00:00
skodak
bba506164d MDL-14679 fixing old TODOs 2009-06-13 09:09:30 +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
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
stronk7
d64514aab0 MDL-14679 - PG get_indexes() fix - minor problem retrieving indexes with columns quoted 2009-05-03 17:19:40 +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
skodak
3b09331066 MDL-17458 rewritten installer 2009-02-07 10:20:33 +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
117679db37 MDL-17859 implemented caching in get_tables() 2009-01-12 18:10:50 +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
skodak
088a4df8fc MDL-14679 improved limit handling 2008-11-29 13:32:56 +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
e6b854a01c MDL-17374 DML: improved BC in pg driver 2008-11-24 07:38:07 +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
ba98912f8c MDL-17020 pgsql: silenced php warnings 2008-11-05 00:05:41 +00:00
skodak
d139b06701 MDL-17020 pgsql: new port dboption 2008-11-04 21:55:39 +00:00
skodak
1500142bfb MDL-14990 dml: towards proper logging/perf infrastructure 2008-10-29 23:55:16 +00:00
skodak
9a4f9e334a MDL-17020 dml: native pgsql driver - fixed error detection on connect 2008-10-28 15:37:15 +00:00
skodak
655bbf511d MDL-16669 dml: improved sql_substring(), added unit tests 2008-10-28 15:11:10 +00:00