MDL-55660 tablelib: Fetch only a single row when auto defining columns
commit302d9fea736c2409fd441167a57e8f493e37a07d
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:19 +0000 (29 19:14 +0200)
tree2db46ec1f1c55231b75c59139fdc193f956175e0
parent5096a6d39d4355ae2cf638212e1a088814b61806
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