27 Commits

Author SHA1 Message Date
Petr Skoda
00902cd974 MDL-32003 fix phpdocs and use __DIR__ for includes in dml layer
DML layer is not supposed to use $CFG,
it is better to rely on __DIR__ in self-contained libs…
2012-06-17 22:56:28 +02:00
Petr Skoda
62cd8cd9f5 MDL-32029 fix get_tables() when prefix empty in external database 2012-03-24 11:36:01 +01:00
Petr Skoda
05aae0a571 MDL-29514 drop support for enum data types 2012-03-10 21:36:48 +01:00
Aparup Banerjee
a0eb2e97f9 MDL-30972 Documentation : Renamed DB engine drivers to "@package core" but moodle_*.php are "@subpackage dml_driver", all other dml/*.php are "@subpackage dml". 2012-02-09 10:01:42 +08:00
Aparup Banerjee
6df260107c MDL-30972 Documentation : clarified phpdocs for main public APIs in DML layer and touched up on some drivers 2012-02-09 10:01:42 +08:00
Aparup Banerjee
011bfd2a54 database MDL-24863
- added restricting text conditions to where_clause , it throws a dml_exception when detected.
- also added to where_clause throwing dml_exception for field that doesn't exist in table.
- added unit tests for text condition restricting.
- added 2 unit tests for set_field_select() testing 'auto-casting params to int problem' fix
2010-11-18 06:00:51 +00:00
Petr Skoda
4a6c2ab88e MDL-14679 fixing obsolete driver names in comments 2010-08-22 18:51:45 +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
Petr Skoda
2434f624ad yet more comment typos 2010-05-21 18:32:44 +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
poltawski
6a2a58f773 Sorry managed to commit sql_bitxor twice 2009-06-27 21:26:08 +00:00
poltawski
9f300b3afa dml/sqllite MDL-19644 - add sql_bitxor compatibility
fixes one unit test
2009-06-27 21:23:49 +00:00
poltawski
fa648098b2 dml/sqllite MDL-19642 - Make connections more robust
- Include 'pdo' as an extension to be checked for
- Bail out of a connect and throw an exception if the required
  extensions aren't loaded
- Don't ignore pdo exceptions on connect error - throw our
  own exception
2009-06-27 21:22:27 +00:00
poltawski
0661894ccf dml/sqllite MDL-19644 - add sql_bitxor compatibility
fixes one unit test
2009-06-27 21:22:03 +00:00
skodak
4992614541 MDL-19470 fixing DML license headers 2009-06-12 08:14:29 +00:00
skodak
3b09331066 MDL-17458 rewritten installer 2009-02-07 10:20:33 +00:00
skodak
117679db37 MDL-17859 implemented caching in get_tables() 2009-01-12 18:10:50 +00:00
skodak
be415e95be MDL-17354 moved reset_sequence into dbmanager 2008-11-21 21:40:50 +00:00
skodak
655bbf511d MDL-16669 dml: improved sql_substring(), added unit tests 2008-10-28 15:11:10 +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
a47c84c4bb MDL-15635 sqlite fixes - by Andrei Bautu 2008-08-30 18:46:18 +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
skodak
943de432e1 MDL-15071 fixes of the SQLite layer by Andrei Bautu 2008-07-13 10:12:20 +00:00
skodak
eccc4a07b3 MDL-15071 fixed problem introduced into submitted patch 2008-06-22 22:05:59 +00:00
skodak
55946ffda6 MDL-15071 new sqlite pdo driver by Andrei Bautu (with minor changes) 2008-06-22 21:35:07 +00:00