Foooollowup r106373 - update comment
This commit is contained in:
parent
43f00eb80c
commit
d88e18abc8
1 changed files with 1 additions and 3 deletions
|
|
@ -639,9 +639,7 @@ class DatabasePostgres extends DatabaseBase {
|
|||
if ( preg_match( '/(^|\s)(DISTINCT|JOIN|ON|AS)(\s|$)/i', $name ) !== 0 ) {
|
||||
return $name;
|
||||
}
|
||||
# Split database and table into proper variables.
|
||||
# We reverse the explode so that schema.table and table both output
|
||||
# the correct table.
|
||||
# Extract the database prefix, if any and quote it
|
||||
$dbDetails = explode( '.', $name, 2 );
|
||||
if ( isset( $dbDetails[1] ) ) {
|
||||
$schema = '"' . $dbDetails[0] . '".';
|
||||
|
|
|
|||
Loading…
Reference in a new issue