mirror of
https://github.com/moodle/moodle.git
synced 2025-04-19 23:42:11 +02:00
MDL-17020 dml: native pgsql driver - minor coding style improvement
This commit is contained in:
parent
dd2ce45907
commit
7063c802fa
@ -108,7 +108,7 @@ class pgsql_native_moodle_database extends moodle_database {
|
||||
}
|
||||
pg_set_client_encoding($this->pgsql, 'utf8');
|
||||
// find out the bytea oid
|
||||
$sql = "select oid from pg_type where typname = 'bytea'";
|
||||
$sql = "SELECT oid FROM pg_type WHERE typname = 'bytea'";
|
||||
$result = pg_query($this->pgsql, $sql);
|
||||
if ($result === false) {
|
||||
return false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user