Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
qiang.xue committed May 8, 2009
1 parent a377b15 commit afb73c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion framework/db/schema/pgsql/CPgsqlSchema.php
Expand Up @@ -200,7 +200,7 @@ protected function findConstraints($table)
*/ */
protected function findPrimaryKey($table,$indices) protected function findPrimaryKey($table,$indices)
{ {
$indices=implode(', ',preg_split('\s+',$indices)); $indices=implode(', ',preg_split('/\s+/',$indices));
$sql=<<<EOD $sql=<<<EOD
SELECT attnum, attname FROM pg_catalog.pg_attribute WHERE SELECT attnum, attname FROM pg_catalog.pg_attribute WHERE
attrelid=( attrelid=(
Expand Down

0 comments on commit afb73c7

Please sign in to comment.