Consistent spacing
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
This commit is contained in:
parent
358e001382
commit
02a266e9b2
@ -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;
|
||||
|
||||
@ -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 )"
|
||||
);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user