Commit 887eef8f authored by bell@sanja.is.com.ua's avatar bell@sanja.is.com.ua

avoidance of caching mysqldump queries

parent 2f290adb
...@@ -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