Consistent spacing

Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
This commit is contained in:
Madhura Jayaratne 2015-10-26 17:26:19 +11:00
parent 358e001382
commit 02a266e9b2
2 changed files with 3 additions and 3 deletions

View File

@ -480,7 +480,7 @@ class Node
$query = "SHOW DATABASES ";
$query .= $this->_getWhereClause('Database', $searchClause);
$query .= " AND (";
$query .= "AND (";
$subClauses = array();
foreach ($prefixes as $prefix) {
$subClauses[] = " LOCATE('"
@ -741,7 +741,7 @@ class Node
. " LIKE '"
. $each_only_db . "' ";
}
$whereClause .= implode("OR", $subClauses) . ")";
$whereClause .= implode("OR", $subClauses) . ") ";
}
return $whereClause;

View File

@ -475,7 +475,7 @@ class NodeTest extends PHPUnit_Framework_TestCase
$dbi->expects($this->once())
->method('fetchResult')
->with(
"SHOW DATABASES WHERE TRUE AND ("
"SHOW DATABASES WHERE TRUE AND ("
. " LOCATE('db_', CONCAT(`Database`, '_')) = 1"
. " OR LOCATE('aa_', CONCAT(`Database`, '_')) = 1 )"
);