summaryrefslogtreecommitdiff
path: root/mysys
diff options
context:
space:
mode:
authormonty@hundin.mysql.fi <>2002-03-12 11:52:41 +0200
committermonty@hundin.mysql.fi <>2002-03-12 11:52:41 +0200
commit8eadb024dcf60ad16c9d9246a9f8cdfeeaa501e9 (patch)
treecc5ddb707fd6b0aa9b53c89ae0d0fc731486fef9 /mysys
parentc4b8c1b6c053a51d5c4187145741dda5ea20715a (diff)
downloadmariadb-git-8eadb024dcf60ad16c9d9246a9f8cdfeeaa501e9.tar.gz
Fixed mysqldumpslow for new dump format.
Fix for HEAP tables with many rows deleted. Add '' arround database names in SHOW GRANT
Diffstat (limited to 'mysys')
-rw-r--r--mysys/mf_loadpath.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/mysys/mf_loadpath.c b/mysys/mf_loadpath.c
index 68d6e3ceda3..291ad62e297 100644
--- a/mysys/mf_loadpath.c
+++ b/mysys/mf_loadpath.c
@@ -36,8 +36,7 @@ my_string my_load_path(my_string to, const char *path,
test_if_hard_path(path))
VOID(strmov(buff,path));
else if ((path[0] == FN_CURLIB && path[1] == FN_LIBCHAR) ||
- (is_prefix((gptr) path,FN_PARENTDIR) &&
- path[strlen(FN_PARENTDIR)] == FN_LIBCHAR) ||
+ (is_prefix((gptr) path,FN_PARENTDIR)) ||
! own_path_prefix)
{
if (! my_getwd(buff,(uint) (FN_REFLEN-strlen(path)),MYF(0)))