mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
MDL-64981 dml tests: pgsql_native_recordset_testcase port number
This commit is contained in:
parent
89d1238962
commit
a0536c410a
@ -65,7 +65,8 @@ class pgsql_native_recordset_testcase extends basic_testcase {
|
||||
// To make testing easier, create a database with the same dboptions as the real one,
|
||||
// but a low number for the cursor size.
|
||||
$this->specialdb = \moodle_database::get_driver_instance('pgsql', 'native', true);
|
||||
$dboptions = ['fetchbuffersize' => $fetchbuffersize];
|
||||
$dboptions = $CFG->dboptions;
|
||||
$dboptions['fetchbuffersize'] = $fetchbuffersize;
|
||||
$this->specialdb->connect($CFG->dbhost, $CFG->dbuser, $CFG->dbpass, $CFG->dbname,
|
||||
$DB->get_prefix(), $dboptions);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user