Fix maxrows offset calculation
The code that handles the resultset rows added the extra offset given as a parameter into the total offset when it should've be ignored.
This commit is contained in:
parent
a4bad5ffd2
commit
d168493ddf
@ -998,7 +998,7 @@ static int handle_rows(MAXROWS_SESSION_DATA *csdata, GWBUF* buffer, size_t extra
|
||||
}
|
||||
}
|
||||
|
||||
csdata->res.offset += offset;
|
||||
csdata->res.offset += offset - extra_offset;
|
||||
|
||||
return rv;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user