From f7f8efc2638b35c95b1a26b2bc808aaa92a43c79 Mon Sep 17 00:00:00 2001 From: "marko@hundin.mysql.fi" <> Date: Mon, 5 Apr 2004 15:40:56 +0300 Subject: InnoDB: Backport fil_path_to_mysql_datadir from MySQL 4.1.x --- innobase/include/fil0fil.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'innobase/include') 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 -- cgit v1.2.1