Commit Graph

22 Commits

Author SHA1 Message Date
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