Skip to content

Commit 194defd

Browse files
committed
Fixed remaining failing tests in union test
1 parent 80bd2ab commit 194defd

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

src/PHPSQLParser/processors/UnionProcessor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ protected function splitUnionRemainder($queries, $unionType, $outputArray)
140140
if (!empty($finalQuery) && $finalQueryString != '') {
141141
$queries[$unionType][] = $finalQuery;
142142
}
143-
143+
144144
$defaultProcessor = new DefaultProcessor($this->options);
145145
$rePrepareSqlString = trim(implode($outputArray));
146146

tests/cases/parser/unionTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ public function testUnion1()
5757
$p = $parser->parse($sql, true);
5858
Analog::log(serialize($p));
5959
$expected = getExpectedValue(dirname(__FILE__), 'union1.serialized');
60-
//var_export($p);die();
6160
$this->assertEquals($expected, $p, 'simple union');
6261
}
6362

0 commit comments

Comments
 (0)