MDL-28080 oracle - avoid tweak_param_names() tweaking too much :-P
commit436135f52a596d855a5eb898be2737d3704dba0d
authorEloy Lafuente (stronk7) <stronk7@moodle.org>
Thu, 1 Sep 2011 17:42:29 +0000 (1 19:42 +0200)
committerEloy Lafuente (stronk7) <stronk7@moodle.org>
Thu, 1 Sep 2011 17:59:13 +0000 (1 19:59 +0200)
tree5e8fc626378b6d6240e5c12178ff2d970e2c3926
parent41f17b384fcf779d7c5cb21bbc6f81ae363ff7c4
MDL-28080 oracle - avoid tweak_param_names() tweaking too much :-P

Sometimes the (oracle only) tweak_param_names() method was causing
placeholders having > 28 chars length to exceed the 30 chars limit
imposed by Oracle. With this commit the tweak is performed by
replacement for such long placeholders and, at the same time, the
tweak has been commented out from insert/update because it is not
necessary there (placeholders are safe column name always)
lib/dml/oci_native_moodle_database.php