MDL-43395 dml: warn about invalid limit params
authorDan Poltawski <dan@moodle.com>
Mon, 16 Dec 2013 05:05:20 +0000 (13:05 +0800)
committerDan Poltawski <dan@moodle.com>
Mon, 13 Jan 2014 00:42:07 +0000 (08:42 +0800)
commitc582565a0650ed667f93d67feac1ceb2f8ee94ff
treefb06dc037eb0bfa674c691cbb573c7bb526ca012
parent12efa52762064bf07af4559702fbb2d2f40f7194
MDL-43395 dml: warn about invalid limit params

Help developers to find bugs by throwing a DEBUG_DEVELOPER message
rather than ignoring this case completely.
lib/dml/moodle_database.php
lib/dml/mssql_native_moodle_database.php
lib/dml/mysqli_native_moodle_database.php
lib/dml/oci_native_moodle_database.php
lib/dml/pgsql_native_moodle_database.php
lib/dml/sqlsrv_native_moodle_database.php
lib/dml/tests/dml_test.php