Commit c9656ba5 authored by konstantin@mysql.com's avatar konstantin@mysql.com

Compilation failure on Windows fixed.

parent e2d6d838
...@@ -224,7 +224,8 @@ void del_dbopt(const char *path) ...@@ -224,7 +224,8 @@ void del_dbopt(const char *path)
{ {
my_dbopt_t *opt; my_dbopt_t *opt;
rw_wrlock(&LOCK_dboptions); rw_wrlock(&LOCK_dboptions);
if ((opt= (my_dbopt_t *)hash_search(&dboptions, path, strlen(path)))) if ((opt= (my_dbopt_t *)hash_search(&dboptions, (const byte*) path,
strlen(path))))
hash_delete(&dboptions, (byte*) opt); hash_delete(&dboptions, (byte*) opt);
rw_unlock(&LOCK_dboptions); rw_unlock(&LOCK_dboptions);
} }
......
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