avoidance of caching mysqldump queries

This commit is contained in:
unknown 2002-04-12 12:44:26 +03:00
parent d10eb32a38
commit 1342c941c2

View file

@ -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) */