mirror of
https://github.com/dg/dibi.git
synced 2025-08-04 21:28:02 +02:00
Fluent: prevents doubled processing
This commit is contained in:
@@ -189,6 +189,7 @@ class Fluent implements IDataSource
|
|||||||
|
|
||||||
foreach ($args as $arg) {
|
foreach ($args as $arg) {
|
||||||
if ($arg instanceof self) {
|
if ($arg instanceof self) {
|
||||||
|
$this->cursor[] = '%SQL';
|
||||||
$arg = "($arg)";
|
$arg = "($arg)";
|
||||||
}
|
}
|
||||||
$this->cursor[] = $arg;
|
$this->cursor[] = $arg;
|
||||||
|
@@ -1,5 +1,9 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @dataProvider ../databases.ini
|
||||||
|
*/
|
||||||
|
|
||||||
use Tester\Assert;
|
use Tester\Assert;
|
||||||
|
|
||||||
require __DIR__ . '/bootstrap.php';
|
require __DIR__ . '/bootstrap.php';
|
||||||
|
Reference in New Issue
Block a user