diff options
author | unknown <cmiller@zippy.(none)> | 2006-06-13 16:06:35 -0400 |
---|---|---|
committer | unknown <cmiller@zippy.(none)> | 2006-06-13 16:06:35 -0400 |
commit | 4b639b6c58c2dacb449118e29fc480aca9a6fe48 (patch) | |
tree | 8719a5a0706de5334b4142c3a7f4efeec5419444 /mysys | |
parent | dd02c9d2e43487b51f84c06f3d3232557953f431 (diff) | |
parent | 6a46bf820d3cef208d4bd5986def30a967bd7710 (diff) | |
download | mariadb-git-4b639b6c58c2dacb449118e29fc480aca9a6fe48.tar.gz |
Merge zippy.(none):/home/cmiller/work/mysql/merge/tmp_merge
into zippy.(none):/home/cmiller/work/mysql/merge/mysql-5.1-new
BitKeeper/etc/ignore:
auto-union
client/mysql.cc:
Auto merged
include/config-win.h:
Auto merged
include/my_global.h:
Auto merged
mysql-test/r/create.result:
Auto merged
mysql-test/t/create.test:
Auto merged
sql/table.cc:
Null-merged, as this doesn't apply after 5.1.4 . -cm
Diffstat (limited to 'mysys')
-rw-r--r-- | mysys/mf_fn_ext.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mysys/mf_fn_ext.c b/mysys/mf_fn_ext.c index 9c86a8072ef..d7b1f8c1d61 100644 --- a/mysys/mf_fn_ext.c +++ b/mysys/mf_fn_ext.c @@ -40,14 +40,14 @@ my_string fn_ext(const char *name) DBUG_ENTER("fn_ext"); DBUG_PRINT("mfunkt",("name: '%s'",name)); -#if defined(FN_DEVCHAR) || defined(FN_C_AFTER_DIR) +#if defined(FN_DEVCHAR) || defined(FN_C_AFTER_DIR) || defined(BASKSLASH_MBTAIL) { char buff[FN_REFLEN]; gpos=(my_string) name+dirname_part(buff,(char*) name); } #else - if (!(gpos=strrchr(name,FNLIBCHAR))) - gpos=name; + if (!(gpos= strrchr(name, FN_LIBCHAR))) + gpos= (my_string) name; #endif pos=strchr(gpos,FN_EXTCHAR); DBUG_RETURN (pos ? pos : strend(gpos)); |