MDL-52544 oracle: Apply upstream pull request to AdoDB oracle driver
authorDamyon Wiese <damyon@moodle.com>
Tue, 12 Jul 2016 08:44:23 +0000 (16:44 +0800)
committerDamyon Wiese <damyon@moodle.com>
Wed, 13 Jul 2016 00:45:06 +0000 (08:45 +0800)
commit87c6f9ab23a8d053b0fe43b9fabbf7358363698a
tree0a6d36d43298b86b54ae6ec1e3fd3dfeb993f6ce
parenteea2fc4319d6b16afc870f3a35d076b50d002869
MDL-52544 oracle: Apply upstream pull request to AdoDB oracle driver

Upstream: https://github.com/ADOdb/ADOdb/pull/259

Prevent segfault with ocipo driver on php7.

The OCIFetchinto function is causing segfaults on php7 - probably because the fields array
is not initialised or it is optimised out. This fixes just changes to use the safer function
oci_fetch_array instead.
lib/adodb/drivers/adodb-oci8po.inc.php
lib/adodb/readme_moodle.txt