Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
8ef28b49
Commit
8ef28b49
authored
Jul 31, 2009
by
Ignacio Galarza
Browse files
Options
Browse Files
Download
Plain Diff
Auto-merge
parents
e642140b
6df2af22
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
23 additions
and
11 deletions
+23
-11
CMakeLists.txt
CMakeLists.txt
+10
-0
client/Makefile.am
client/Makefile.am
+1
-1
include/config-netware.h
include/config-netware.h
+1
-1
include/config-win.h
include/config-win.h
+3
-1
libmysql/Makefile.shared
libmysql/Makefile.shared
+1
-1
libmysqld/Makefile.am
libmysqld/Makefile.am
+1
-1
mysys/Makefile.am
mysys/Makefile.am
+1
-1
sql/Makefile.am
sql/Makefile.am
+1
-1
sql/mysqld.cc
sql/mysqld.cc
+1
-1
sql/unireg.h
sql/unireg.h
+2
-2
storage/ndb/src/mgmsrv/Makefile.am
storage/ndb/src/mgmsrv/Makefile.am
+1
-1
No files found.
CMakeLists.txt
View file @
8ef28b49
...
...
@@ -14,6 +14,9 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.6 FATAL_ERROR
)
IF
(
COMMAND cmake_policy
)
cmake_policy
(
SET CMP0005 NEW
)
ENDIF
(
COMMAND cmake_policy
)
PROJECT
(
MySql
)
...
...
@@ -28,6 +31,13 @@ CONFIGURE_FILE(${CMAKE_SOURCE_DIR}/include/mysql_version.h.in
# Set standard options
ADD_DEFINITIONS
(
-DHAVE_YASSL
)
ADD_DEFINITIONS
(
-DCMAKE_CONFIGD
)
ADD_DEFINITIONS
(
-DDEFAULT_MYSQL_HOME=
"c:/Program Files/MySQL/MySQL Server
${
MYSQL_BASE_VERSION
}
/"
)
ADD_DEFINITIONS
(
-DDEFAULT_BASEDIR=
"c:/Program Files/MySQL/"
)
ADD_DEFINITIONS
(
-DMYSQL_DATADIR=
"c:/Program Files/MySQL/MySQL Server
${
MYSQL_BASE_VERSION
}
/data"
)
ADD_DEFINITIONS
(
-DDEFAULT_CHARSET_HOME=
"c:/Program Files/MySQL/MySQL Server
${
MYSQL_BASE_VERSION
}
/"
)
ADD_DEFINITIONS
(
-DPACKAGE=mysql
)
ADD_DEFINITIONS
(
-DSHAREDIR=
"share"
)
# Set debug options
SET
(
CMAKE_CXX_FLAGS_DEBUG
"
${
CMAKE_CXX_FLAGS_DEBUG
}
-DFORCE_INIT_OF_VARS"
)
...
...
client/Makefile.am
View file @
8ef28b49
...
...
@@ -101,7 +101,7 @@ mysql_upgrade_SOURCES= mysql_upgrade.c \
# Fix for mit-threads
DEFS
=
-DMYSQL_CLIENT_NO_THREADS
\
-DDEFAULT_MYSQL_HOME
=
"
\"
$(prefix)
\"
"
\
-DDATADIR
=
"
\"
$(localstatedir)
\"
"
-D
MYSQL_
DATADIR
=
"
\"
$(localstatedir)
\"
"
sql_src
=
log_event.h mysql_priv.h rpl_constants.h
\
rpl_utility.h rpl_tblmap.h rpl_tblmap.cc
\
...
...
include/config-netware.h
View file @
8ef28b49
...
...
@@ -131,7 +131,7 @@ extern "C" {
#define DEFAULT_BASEDIR "sys:/"
#define SHAREDIR "share/"
#define DEFAULT_CHARSET_HOME "sys:/mysql/"
#define
DATADIR
"data/"
#define
MYSQL_DATADIR
"data/"
/* 64-bit file system calls */
#define SIZEOF_OFF_T 8
...
...
include/config-win.h
View file @
8ef28b49
...
...
@@ -313,13 +313,15 @@ inline ulonglong double2ulonglong(double d)
#ifdef _CUSTOMCONFIG_
#include <custom_conf.h>
#else
#ifndef CMAKE_CONFIGD
#define DEFAULT_MYSQL_HOME "c:\\mysql"
#define
DATADIR
"c:\\mysql\\data"
#define
MYSQL_DATADIR
"c:\\mysql\\data"
#define PACKAGE "mysql"
#define DEFAULT_BASEDIR "C:\\"
#define SHAREDIR "share"
#define DEFAULT_CHARSET_HOME "C:/mysql/"
#endif
#endif
#ifndef DEFAULT_HOME_ENV
#define DEFAULT_HOME_ENV MYSQL_HOME
#endif
...
...
libmysql/Makefile.shared
View file @
8ef28b49
...
...
@@ -85,7 +85,7 @@ BUILT_SOURCES = link_sources
CLEANFILES
=
$(target_libadd)
$(SHLIBOBJS)
\
$(target)
$(BUILT_SOURCES)
DEFS
=
-DDEFAULT_CHARSET_HOME
=
"
\"
$(MYSQLBASEdir)
\"
"
\
-DDATADIR
=
"
\"
$(MYSQLDATAdir)
\"
"
\
-D
MYSQL_
DATADIR
=
"
\"
$(MYSQLDATAdir)
\"
"
\
-DDEFAULT_HOME_ENV
=
MYSQL_HOME
\
-DDEFAULT_GROUP_SUFFIX_ENV
=
MYSQL_GROUP_SUFFIX
\
-DDEFAULT_SYSCONFDIR
=
"
\"
$(sysconfdir)
\"
"
\
...
...
libmysqld/Makefile.am
View file @
8ef28b49
...
...
@@ -26,7 +26,7 @@ pkgplugindir = $(pkglibdir)/plugin
EXTRA_DIST
=
libmysqld.def CMakeLists.txt
DEFS
=
-DEMBEDDED_LIBRARY
-DMYSQL_SERVER
\
-DDEFAULT_MYSQL_HOME
=
"
\"
$(MYSQLBASEdir)
\"
"
\
-DDATADIR
=
"
\"
$(MYSQLDATAdir)
\"
"
\
-D
MYSQL_
DATADIR
=
"
\"
$(MYSQLDATAdir)
\"
"
\
-DSHAREDIR
=
"
\"
$(MYSQLSHAREdir)
\"
"
\
-DPLUGINDIR
=
"
\"
$(pkgplugindir)
\"
"
INCLUDES
=
-I
$(top_builddir)
/include
-I
$(top_srcdir)
/include
\
...
...
mysys/Makefile.am
View file @
8ef28b49
...
...
@@ -63,7 +63,7 @@ libmysys_a_LIBADD = @THREAD_LOBJECTS@
# test_charset_DEPENDENCIES= $(LIBRARIES)
# charset2html_DEPENDENCIES= $(LIBRARIES)
DEFS
=
-DDEFAULT_BASEDIR
=
\"
$(prefix)
\"
\
-DDATADIR
=
"
\"
$(MYSQLDATAdir)
\"
"
\
-D
MYSQL_
DATADIR
=
"
\"
$(MYSQLDATAdir)
\"
"
\
-DDEFAULT_CHARSET_HOME
=
"
\"
$(MYSQLBASEdir)
\"
"
\
-DSHAREDIR
=
"
\"
$(MYSQLSHAREdir)
\"
"
\
-DDEFAULT_HOME_ENV
=
MYSQL_HOME
\
...
...
sql/Makefile.am
View file @
8ef28b49
...
...
@@ -137,7 +137,7 @@ mysql_tzinfo_to_sql_CXXFLAGS= -DTZINFO2SQL
DEFS
=
-DMYSQL_SERVER
\
-DDEFAULT_MYSQL_HOME
=
"
\"
$(MYSQLBASEdir)
\"
"
\
-DDATADIR
=
"
\"
$(MYSQLDATAdir)
\"
"
\
-D
MYSQL_
DATADIR
=
"
\"
$(MYSQLDATAdir)
\"
"
\
-DSHAREDIR
=
"
\"
$(MYSQLSHAREdir)
\"
"
\
-DPLUGINDIR
=
"
\"
$(pkgplugindir)
\"
"
\
-DHAVE_EVENT_SCHEDULER
\
...
...
sql/mysqld.cc
View file @
8ef28b49
...
...
@@ -7650,7 +7650,7 @@ static int mysql_init_variables(void)
/* Set directory paths */
strmake
(
language
,
LANGUAGE
,
sizeof
(
language
)
-
1
);
strmake
(
mysql_real_data_home
,
get_relative_path
(
DATADIR
),
strmake
(
mysql_real_data_home
,
get_relative_path
(
MYSQL_
DATADIR
),
sizeof
(
mysql_real_data_home
)
-
1
);
mysql_data_home_buff
[
0
]
=
FN_CURLIB
;
// all paths are relative from here
mysql_data_home_buff
[
1
]
=
0
;
...
...
sql/unireg.h
View file @
8ef28b49
...
...
@@ -29,8 +29,8 @@
#define TEMP_PREFIX "MY"
#define LOG_PREFIX "ML"
#define PROGDIR "bin/"
#ifndef DATADIR
#define DATADIR "data/"
#ifndef
MYSQL_
DATADIR
#define
MYSQL_
DATADIR "data/"
#endif
#ifndef SHAREDIR
#define SHAREDIR "share/"
...
...
storage/ndb/src/mgmsrv/Makefile.am
View file @
8ef28b49
...
...
@@ -48,7 +48,7 @@ LDADD_LOC = $(top_builddir)/storage/ndb/src/mgmclient/CommandInterpreter.lo \
@TERMCAP_LIB@
DEFS_LOC
=
-DDEFAULT_MYSQL_HOME
=
"
\"
$(MYSQLBASEdir)
\"
"
\
-DDATADIR
=
"
\"
$(MYSQLDATAdir)
\"
"
\
-D
MYSQL_
DATADIR
=
"
\"
$(MYSQLDATAdir)
\"
"
\
-DSHAREDIR
=
"
\"
$(MYSQLSHAREdir)
\"
"
\
-DMYSQLCLUSTERDIR
=
"
\"
$(MYSQLCLUSTERdir)
\"
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment