1
0
mirror of https://github.com/dg/dibi.git synced 2025-08-28 08:19:48 +02:00

Fluent::fetch(): fixed limit clause duplication [Closes #188][Closes #186][Closes #185]

This commit is contained in:
castamir
2015-10-07 16:38:35 +02:00
committed by David Grudl
parent 0c4a28935d
commit 20f2093aa5
3 changed files with 103 additions and 9 deletions

View File

@@ -81,7 +81,7 @@ try {
} catch (Exception $e) {
}
Assert::same(
reformat(' SELECT * FROM [table] LIMIT 1'),
reformat('SELECT * FROM [table] LIMIT 1'),
dibi::$sql
);