diff options
author | unknown <monty@mysql.com> | 2005-01-18 03:49:39 +0200 |
---|---|---|
committer | unknown <monty@mysql.com> | 2005-01-18 03:49:39 +0200 |
commit | 96f64b4440daa411a887ded45d5cee1daca99360 (patch) | |
tree | ae1097a49c50db2ee49f069a0d82f0b3ae19e2d0 /myisam/mi_open.c | |
parent | 8f04aaae8750dd11688f6063fbaca703a58a9dba (diff) | |
download | mariadb-git-96f64b4440daa411a887ded45d5cee1daca99360.tar.gz |
Fixed new bug that caused symlink test to fail
mysys/my_symlink.c:
More debugging
Diffstat (limited to 'myisam/mi_open.c')
-rw-r--r-- | myisam/mi_open.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/myisam/mi_open.c b/myisam/mi_open.c index 442bf00b9d3..2a327e4bd35 100644 --- a/myisam/mi_open.c +++ b/myisam/mi_open.c @@ -142,7 +142,7 @@ MI_INFO *mi_open(const char *name, int mode, uint open_flags) goto err; } /* Don't call realpath() if the name can't be a link */ - if (strcmp(name_buff, org_name) || + if (!strcmp(name_buff, org_name) || my_readlink(index_name, org_name, MYF(0)) == -1) (void) strmov(index_name, org_name); (void) fn_format(data_name,org_name,"",MI_NAME_DEXT,2+4+16); |