diff --git a/client/mysqldump.c b/client/mysqldump.c index ed8300b13be..b1c4707e211 100644 --- a/client/mysqldump.c +++ b/client/mysqldump.c @@ -1421,6 +1421,8 @@ int main(int argc, char **argv) return(first_error); } } + if(mysql_query(sock, "set sql_query_cache_type=off") && verbose) + fprintf(stderr, "-- can't take off query cache (not supported).\n"); if (opt_alldbs) dump_all_databases(); /* Only one database and selected table(s) */