diff options
author | konstantin@mysql.com <> | 2004-07-19 15:12:23 -0700 |
---|---|---|
committer | konstantin@mysql.com <> | 2004-07-19 15:12:23 -0700 |
commit | c9656ba5515848b441dfd8fbbc760aa78e941544 (patch) | |
tree | 7a63ecbce36a7581bcee49cc2bbcfbd844ab53a9 /sql/sql_db.cc | |
parent | e2d6d838e1fa233aef9817b2ab53050b9aacf1cc (diff) | |
download | mariadb-git-c9656ba5515848b441dfd8fbbc760aa78e941544.tar.gz |
Compilation failure on Windows fixed.
Diffstat (limited to 'sql/sql_db.cc')
-rw-r--r-- | sql/sql_db.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/sql_db.cc b/sql/sql_db.cc index d3804b972c8..43a683db9de 100644 --- a/sql/sql_db.cc +++ b/sql/sql_db.cc @@ -224,7 +224,8 @@ void del_dbopt(const char *path) { my_dbopt_t *opt; 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); rw_unlock(&LOCK_dboptions); } |