Commit 2fadae91 authored by unknown's avatar unknown

changed return value to boolean


sql/sql_db.cc:
  changed -1 -> 1 because function return boolean value
parent b4956bd3
...@@ -912,7 +912,7 @@ static my_bool rm_dir_w_symlink(const char *org_path, my_bool send_error) ...@@ -912,7 +912,7 @@ static my_bool rm_dir_w_symlink(const char *org_path, my_bool send_error)
if (rmdir(path) < 0 && send_error) if (rmdir(path) < 0 && send_error)
{ {
my_error(ER_DB_DROP_RMDIR, MYF(0), path, errno); my_error(ER_DB_DROP_RMDIR, MYF(0), path, errno);
DBUG_RETURN(-1); DBUG_RETURN(1);
} }
DBUG_RETURN(0); DBUG_RETURN(0);
} }
......
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