MDL-55660 tablelib: Fetch only a single row when auto defining columns
commit0c3f40bd6180e0088e80c77ab115d62bb34abba5
authorDavid Mudrák <david@moodle.com>
Mon, 22 Aug 2016 14:29:11 +0000 (22 16:29 +0200)
committerEloy Lafuente (stronk7) <stronk7@moodle.org>
Mon, 29 Aug 2016 17:14:10 +0000 (29 19:14 +0200)
tree83317043df4222916fa748028dd81a48e9d25146
parent50eb83b357856b7567332f103f5fe279cab95edd
MDL-55660 tablelib: Fetch only a single row when auto defining columns

In a very rare cases where the columns are not declared explicitly, we
want to fetch single row only without a warning raised. This seems like
a valid use case for IGNORE_MULTIPLE flag.
lib/tablelib.php