database MDL-24863
authorAparup Banerjee <nebgor@gmail.com>
Thu, 18 Nov 2010 06:00:51 +0000 (06:00 +0000)
committerAparup Banerjee <nebgor@gmail.com>
Thu, 18 Nov 2010 06:00:51 +0000 (06:00 +0000)
commit011bfd2a54f90a79a0a111ca13d5c6e867e41b02
tree94e18aa360eb86eb3ee985d0101430f0769c8fcc
parentfa8f03efbbc2f728275e991148765c0c08dad3f2
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
lang/en/error.php
lib/dml/moodle_database.php
lib/dml/simpletest/testdml.php
lib/dml/sqlite3_pdo_moodle_database.php