Skip to content

Commit

Permalink
MDL-17020 dml: native pgsql driver - minor coding style improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
skodak committed Oct 28, 2008
1 parent dd2ce45 commit 7063c80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/dml/pgsql_native_moodle_database.php
Expand Up @@ -108,7 +108,7 @@ public function connect($dbhost, $dbuser, $dbpass, $dbname, $prefix, array $dbop
}
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;
Expand Down

0 comments on commit 7063c80

Please sign in to comment.