[#2057] Cannot properly extract bind values for LIMIT .. OFFSET clause
from a SELECT statement
This commit is contained in:
parent
87b16189ed
commit
fa52ecd05f
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user