diff options
author | marko@hundin.mysql.fi <> | 2004-04-05 15:40:56 +0300 |
---|---|---|
committer | marko@hundin.mysql.fi <> | 2004-04-05 15:40:56 +0300 |
commit | f7f8efc2638b35c95b1a26b2bc808aaa92a43c79 (patch) | |
tree | 4323b0449cdac3fc86a61de5852a8c5d459b0019 /innobase/include | |
parent | 23a5fc55588a2acea2d529ae4d7c8696c6f8522c (diff) | |
download | mariadb-git-f7f8efc2638b35c95b1a26b2bc808aaa92a43c79.tar.gz |
InnoDB: Backport fil_path_to_mysql_datadir from MySQL 4.1.x
Diffstat (limited to 'innobase/include')
-rw-r--r-- | innobase/include/fil0fil.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/innobase/include/fil0fil.h b/innobase/include/fil0fil.h index ad3149f0b36..ef41ca21d2c 100644 --- a/innobase/include/fil0fil.h +++ b/innobase/include/fil0fil.h @@ -16,6 +16,11 @@ Created 10/25/1995 Heikki Tuuri #include "ut0byte.h" #include "os0file.h" +/* When mysqld is run, the default directory "." is the mysqld datadir, but in +ibbackup we must set it explicitly; the path must NOT contain the trailing +'/' or '\' */ +extern const char* fil_path_to_mysql_datadir; + /* 'null' (undefined) page offset in the context of file spaces */ #define FIL_NULL ULINT32_UNDEFINED |