mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +03:00
Patch two (the final one) for Bug#7306 "the server side preparedStatement
error for LIMIT placeholder". The patch adds grammar support for LIMIT ?, ? and changes the type of ST_SELECT_LEX::select_limit,offset_limit from ha_rows to Item*, so that it can point to Item_param.
This commit is contained in:
@@ -448,7 +448,7 @@ bool st_select_lex_unit::exec()
|
||||
table->no_keyread=1;
|
||||
}
|
||||
res= sl->join->error;
|
||||
offset_limit_cnt= sl->offset_limit;
|
||||
offset_limit_cnt= sl->offset_limit ? sl->offset_limit->val_uint() : 0;
|
||||
if (!res)
|
||||
{
|
||||
examined_rows+= thd->examined_row_count;
|
||||
|
||||
Reference in New Issue
Block a user