mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Merge bk-internal.mysql.com:/home/bk/mysql-5.1
into janus.mylan:/usr/home/serg/Abk/mysql-5.1 BitKeeper/triggers/post-commit: Auto merged mysql-test/mysql-test-run.pl: Auto merged sql/sp_head.cc: Auto merged sql/sql_table.cc: Auto merged
This commit is contained in:
@ -207,7 +207,12 @@ uint build_table_filename(char *buff, size_t bufflen, const char *db,
|
||||
if (pos - rootdir_len >= buff &&
|
||||
memcmp(pos - rootdir_len, FN_ROOTDIR, rootdir_len) != 0)
|
||||
pos= strnmov(pos, FN_ROOTDIR, end - pos);
|
||||
pos= strxnmov(pos, end - pos, dbbuff, FN_ROOTDIR, tbbuff, ext, NullS);
|
||||
pos= strxnmov(pos, end - pos, dbbuff, FN_ROOTDIR, NullS);
|
||||
#ifdef USE_SYMDIR
|
||||
unpack_dirname(buff, buff);
|
||||
pos= strend(buff);
|
||||
#endif
|
||||
pos= strxnmov(pos, end - pos, tbbuff, ext, NullS);
|
||||
|
||||
DBUG_PRINT("exit", ("buff: '%s'", buff));
|
||||
DBUG_RETURN(pos - buff);
|
||||
|
Reference in New Issue
Block a user