greenlion / warp

WarpSQL Server, an open source OLAP focused distribution of the world's most popular open source database bundled with OLAP performance related plugins such as the WARP storage engine..
http://warpsql.blog
Other
41 stars 2 forks source link

Storage engine does not check thd->killed during pushdown processing #75

Open greenlion opened 2 years ago

greenlion commented 2 years ago

It is basically impossible to kill a query until at least one row has been iterated from the storage engine (because the SE wrapper in the server checks thd->killed before invoking ha_warp::rnd_next.

At various points in ha_warp::rnd_next should check table->in_use->killed. [I think]