diff --git a/prefetch_worker.cc b/prefetch_worker.cc index e19763e..ab0563c 100644 --- a/prefetch_worker.cc +++ b/prefetch_worker.cc @@ -46,9 +46,7 @@ static char* convert_to_select(const std::string query, uint *length) if (boost::regex_search(query, result, update_exp)) { DBUG_PRINT("Match UPDATE."); - select = "select isnull(coalesce("; - select.append(result.str(2)); - select.append(")) from "); + select = "select * from "; select.append(result.str(1)); if (result.position(3) != -1) {