summaryrefslogtreecommitdiff
path: root/mysys/mf_loadpath.c
diff options
context:
space:
mode:
authorunknown <monty@hundin.mysql.fi>2002-03-12 11:52:41 +0200
committerunknown <monty@hundin.mysql.fi>2002-03-12 11:52:41 +0200
commit6e37987c512b4fb3b11f347b050eeabf30bfae04 (patch)
treecc5ddb707fd6b0aa9b53c89ae0d0fc731486fef9 /mysys/mf_loadpath.c
parent016a6cd3857503cf6e4604e3168d3c860557a572 (diff)
downloadmariadb-git-6e37987c512b4fb3b11f347b050eeabf30bfae04.tar.gz
Fixed mysqldumpslow for new dump format.
Fix for HEAP tables with many rows deleted. Add '' arround database names in SHOW GRANT Docs/manual.texi: Fixed symlink examples. heap/hp_rfirst.c: Remove not needed patch. mysql-test/r/heap.result: Added test case for HEAP + many deletes mysql-test/t/heap.test: Added test case for HEAP + many deletes mysys/mf_loadpath.c: Resolve path's even if they don't end in '/' scripts/mysqldumpslow.sh: Fix for new dump format. sql/handler.cc: Fix for HEAP tables with many rows deleted. sql/sql_acl.cc: Add '' arround database names in SHOW GRANT
Diffstat (limited to 'mysys/mf_loadpath.c')
-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)))