Commit 1342c941 authored by unknown's avatar unknown

avoidance of caching mysqldump queries

parent d10eb32a
...@@ -1421,6 +1421,8 @@ int main(int argc, char **argv) ...@@ -1421,6 +1421,8 @@ int main(int argc, char **argv)
return(first_error); 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) if (opt_alldbs)
dump_all_databases(); dump_all_databases();
/* Only one database and selected table(s) */ /* Only one database and selected table(s) */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment