[#2057] Cannot properly extract bind values for LIMIT .. OFFSET clause

from a SELECT statement
This commit is contained in:
Lukas Eder 2012-12-28 16:11:54 +01:00
parent 87b16189ed
commit fa52ecd05f

View File

@ -299,6 +299,13 @@ class Limit extends AbstractQueryPart {
context.bind(getLowerRownum());
break;
}
// [#2057] Bind the same values as rendered in toSQL() by default
default: {
context.bind(numberOfRows);
context.bind(offsetOrZero);
break;
}
}
}