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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
91a72ee3
Commit
91a72ee3
authored
Dec 02, 2010
by
Vladislav Vaintroub
Browse files
Options
Browse Files
Download
Plain Diff
merge
parents
6f279f40
ea728806
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
47 additions
and
29 deletions
+47
-29
CMakeLists.txt
CMakeLists.txt
+0
-1
include/my_pthread.h
include/my_pthread.h
+2
-1
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+6
-8
scripts/make_win_bin_dist
scripts/make_win_bin_dist
+2
-4
server-tools/instance-manager/CMakeLists.txt
server-tools/instance-manager/CMakeLists.txt
+0
-1
sql/CMakeLists.txt
sql/CMakeLists.txt
+1
-1
storage/innodb_plugin/CMakeLists.txt
storage/innodb_plugin/CMakeLists.txt
+13
-6
storage/xtradb/CMakeLists.txt
storage/xtradb/CMakeLists.txt
+14
-6
storage/xtradb/include/fsp0types.h
storage/xtradb/include/fsp0types.h
+1
-1
win/configure-mariadb.bat
win/configure-mariadb.bat
+8
-0
No files found.
CMakeLists.txt
View file @
91a72ee3
...
...
@@ -116,7 +116,6 @@ IF(MSVC)
STRING
(
REPLACE
"/MDd"
"/MTd"
CMAKE_CXX_FLAGS_DEBUG_INIT
${
CMAKE_CXX_FLAGS_DEBUG_INIT
}
)
# generate map files, set stack size (see bug#20815)
SET
(
CMAKE_EXE_LINKER_FLAGS
"
${
CMAKE_EXE_LINKER_FLAGS
}
/MAP /MAPINFO:EXPORTS"
)
SET
(
CMAKE_EXE_LINKER_FLAGS
"
${
CMAKE_EXE_LINKER_FLAGS
}
/STACK:1048576"
)
# remove support for Exception handling
...
...
include/my_pthread.h
View file @
91a72ee3
...
...
@@ -127,8 +127,9 @@ struct tm *gmtime_r(const time_t *timep,struct tm *tmp);
void
pthread_exit
(
void
*
a
);
/* was #define pthread_exit(A) ExitThread(A)*/
#ifndef ETIMEDOUT
#define ETIMEDOUT 145
/* Win32 doesn't have this */
#endif
#define getpid() GetCurrentThreadId()
#define HAVE_LOCALTIME_R 1
#define _REENTRANT 1
...
...
mysql-test/mysql-test-run.pl
View file @
91a72ee3
...
...
@@ -2516,14 +2516,12 @@ sub fix_vs_config_dir () {
my
$modified
=
1e30
;
$opt_vs_config
=
"";
for
my
$dir
(
qw(client/*.dir libmysql/libmysql.dir sql/mysqld.dir
sql/udf_example.dir storage/*/*.dir plugin/*/*.dir)
)
{
for
(
<
$basedir
/$dir/
*/
BuildLog
.
htm
>
)
{
if
(
-
M
$_
<
$modified
)
{
$modified
=
-
M
_
;
$opt_vs_config
=
basename
(
dirname
(
$_
));
}
for
(
<
$basedir
/sql/
*/
mysqld
.
exe
>
)
{
if
(
-
M
$_
<
$modified
)
{
$modified
=
-
M
_
;
$opt_vs_config
=
basename
(
dirname
(
$_
));
}
}
...
...
scripts/make_win_bin_dist
View file @
91a72ee3
...
...
@@ -163,7 +163,7 @@ if [ -f "storage/pbxt/bin/xtstat.exe" ] ; then
cp
storage/pbxt/bin/xtstat.
{
exe,pdb
}
$DESTDIR
/bin
fi
cp
server-tools/instance-manager/
$TARGET
/
*
.
{
exe,map
}
$DESTDIR
/bin/
cp
server-tools/instance-manager/
$TARGET
/
*
.
exe
$DESTDIR
/bin/
if
[
x
"
$TARGET
"
!=
x
"release"
]
;
then
cp
server-tools/instance-manager/
$TARGET
/
*
.pdb
$DESTDIR
/bin/
cp
client/
$TARGET
/mysql.pdb
$DESTDIR
/bin/
...
...
@@ -177,7 +177,6 @@ cp tests/$TARGET/*.exe $DESTDIR/bin/
cp
libmysql/
$TARGET
/libmysql.dll
$DESTDIR
/bin/
cp
sql/
$TARGET
/mysqld.exe
$DESTDIR
/bin/mysqld
$EXE_SUFFIX
.exe
cp
sql/
$TARGET
/mysqld.map
$DESTDIR
/bin/mysqld
$EXE_SUFFIX
.map
if
[
x
"
$TARGET
"
!=
x
"release"
]
;
then
cp
sql/
$TARGET
/mysqld.pdb
$DESTDIR
/bin/mysqld
$EXE_SUFFIX
.pdb
fi
...
...
@@ -186,7 +185,6 @@ if [ x"$PACK_DEBUG" = x"" -a -f "sql/debug/mysqld.exe" -o \
x
"
$PACK_DEBUG
"
=
x
"yes"
]
;
then
cp
sql/debug/mysqld.exe
$DESTDIR
/bin/mysqld-debug.exe
cp
sql/debug/mysqld.pdb
$DESTDIR
/bin/mysqld-debug.pdb
cp
sql/debug/mysqld.map
$DESTDIR
/bin/mysqld-debug.map
fi
# ----------------------------------------------------------------------
...
...
@@ -362,7 +360,7 @@ cp -R mysql-test/{t,r,include,suite,std_data,lib,collections} $DESTDIR/mysql-tes
rm
-rf
$DESTDIR
/mysql-test/lib/My/SafeProcess/my_safe_kill.
{
dir
,vcproj
}
rm
-rf
$DESTDIR
/mysql-test/lib/My/SafeProcess/my_safe_process.
{
dir
,vcproj
}
rm
-rf
$DESTDIR
/mysql-test/lib/My/SafeProcess/
{
Debug,RelWithDebInfo
}
/
*
.
{
ilk,idb
,map
}
rm
-rf
$DESTDIR
/mysql-test/lib/My/SafeProcess/
{
Debug,RelWithDebInfo
}
/
*
.
{
ilk,idb
}
# Note that this will not copy "extra" if a soft link
...
...
server-tools/instance-manager/CMakeLists.txt
View file @
91a72ee3
...
...
@@ -21,7 +21,6 @@ ADD_DEFINITIONS(-DMYSQL_SERVER -DMYSQL_INSTANCE_MANAGER)
INCLUDE_DIRECTORIES
(
${
PROJECT_SOURCE_DIR
}
/include
${
PROJECT_SOURCE_DIR
}
/sql
${
PROJECT_SOURCE_DIR
}
/extra/yassl/include
)
SET
(
CMAKE_EXE_LINKER_FLAGS
"
${
CMAKE_EXE_LINKER_FLAGS
}
/MAP /MAPINFO:EXPORTS"
)
ADD_EXECUTABLE
(
mysqlmanager buffer.cc command.cc commands.cc guardian.cc instance.cc instance_map.cc
instance_options.cc listener.cc log.cc manager.cc messages.cc mysql_connection.cc
...
...
sql/CMakeLists.txt
View file @
91a72ee3
...
...
@@ -18,7 +18,7 @@ SET(CMAKE_CXX_FLAGS_DEBUG
"
${
CMAKE_CXX_FLAGS_DEBUG
}
-DSAFEMALLOC -DSAFE_MUTEX -DUSE_SYMDIR /Zi"
)
SET
(
CMAKE_C_FLAGS_DEBUG
"
${
CMAKE_C_FLAGS_DEBUG
}
-DSAFEMALLOC -DSAFE_MUTEX -DUSE_SYMDIR /Zi"
)
SET
(
CMAKE_EXE_LINKER_FLAGS_DEBUG
"
${
CMAKE_EXE_LINKER_FLAGS_DEBUG
}
/MAP /MAPINFO:EXPORTS
"
)
SET
(
CMAKE_EXE_LINKER_FLAGS_DEBUG
"
${
CMAKE_EXE_LINKER_FLAGS_DEBUG
}
"
)
INCLUDE_DIRECTORIES
(
${
CMAKE_SOURCE_DIR
}
/include
${
CMAKE_SOURCE_DIR
}
/extra/yassl/include
...
...
storage/innodb_plugin/CMakeLists.txt
View file @
91a72ee3
...
...
@@ -40,12 +40,19 @@ INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/include
${
CMAKE_SOURCE_DIR
}
/zlib
${
CMAKE_SOURCE_DIR
}
/extra/yassl/include
)
# Removing compiler optimizations for innodb/mem/* files on 64-bit Windows
# due to 64-bit compiler error, See MySQL Bug #19424, #36366, #34297
IF
(
MSVC AND $
(
WIN64
))
SET_SOURCE_FILES_PROPERTIES
(
mem/mem0mem.c mem/mem0pool.c
PROPERTIES COMPILE_FLAGS -Od
)
ENDIF
(
MSVC AND $
(
WIN64
))
IF
(
MSVC
)
# Removing compiler optimizations for innodb/mem/* files on 64-bit Windows
# due to 64-bit compiler error, See MySQL Bug #19424, #36366, #34297
IF
(
CMAKE_SIZEOF_VOID_P MATCHES 8
)
SET_SOURCE_FILES_PROPERTIES
(
mem/mem0mem.c mem/mem0pool.c
PROPERTIES COMPILE_FLAGS -Od
)
ENDIF
()
# Avoid "unreferenced label" warning in generated file
SET_SOURCE_FILES_PROPERTIES
(
pars/pars0grm.c
PROPERTIES COMPILE_FLAGS
"/wd4102"
)
SET_SOURCE_FILES_PROPERTIES
(
pars/lexyy.c
PROPERTIES COMPILE_FLAGS
"/wd4003"
)
ENDIF
()
SET
(
INNODB_PLUGIN_SOURCES btr/btr0btr.c btr/btr0cur.c btr/btr0pcur.c btr/btr0sea.c
buf/buf0buddy.c buf/buf0buf.c buf/buf0flu.c buf/buf0lru.c buf/buf0rea.c
...
...
storage/xtradb/CMakeLists.txt
View file @
91a72ee3
...
...
@@ -42,12 +42,20 @@ INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/include
${
CMAKE_SOURCE_DIR
}
/zlib
${
CMAKE_SOURCE_DIR
}
/extra/yassl/include
)
# Removing compiler optimizations for innodb/mem/* files on 64-bit Windows
# due to 64-bit compiler error, See MySQL Bug #19424, #36366, #34297
IF
(
MSVC AND $
(
WIN64
))
SET_SOURCE_FILES_PROPERTIES
(
mem/mem0mem.c mem/mem0pool.c
PROPERTIES COMPILE_FLAGS -Od
)
ENDIF
(
MSVC AND $
(
WIN64
))
IF
(
MSVC
)
# Removing compiler optimizations for innodb/mem/* files on 64-bit Windows
# due to 64-bit compiler error, See MySQL Bug #19424, #36366, #34297
IF
(
CMAKE_SIZEOF_VOID_P MATCHES 8
)
SET_SOURCE_FILES_PROPERTIES
(
mem/mem0mem.c mem/mem0pool.c
PROPERTIES COMPILE_FLAGS -Od
)
ENDIF
()
# Avoid "unreferenced label" warning in generated file
SET_SOURCE_FILES_PROPERTIES
(
pars/pars0grm.c
PROPERTIES COMPILE_FLAGS
"/wd4102"
)
SET_SOURCE_FILES_PROPERTIES
(
pars/lexyy.c
PROPERTIES COMPILE_FLAGS
"/wd4003"
)
ENDIF
()
SET
(
XTRADB_SOURCES btr/btr0btr.c btr/btr0cur.c btr/btr0pcur.c btr/btr0sea.c
buf/buf0buddy.c buf/buf0buf.c buf/buf0flu.c buf/buf0lru.c buf/buf0rea.c
...
...
storage/xtradb/include/fsp0types.h
View file @
91a72ee3
...
...
@@ -42,7 +42,7 @@ fseg_alloc_free_page) */
/* @} */
/** File space extent size (one megabyte) in pages */
#define FSP_EXTENT_SIZE (1
u
<< (20 - UNIV_PAGE_SIZE_SHIFT))
#define FSP_EXTENT_SIZE (1
ULL
<< (20 - UNIV_PAGE_SIZE_SHIFT))
/** On a page of any file segment, data may be put starting from this
offset */
...
...
win/configure-mariadb.bat
0 → 100644
View file @
91a72ee3
cscript
win
\configure.js
^
WITH_EXAMPLE_STORAGE_ENGINE
^
WITH_FEDERATEDX_STORAGE_ENGINE
^
WITH_MERGE_STORAGE_ENGINE
^
WITH_PARTITION_STORAGE_ENGINE
^
WITH_MARIA_STORAGE_ENGINE
^
WITH_PBXT_STORAGE_ENGINE
^
WITH_XTRADB_STORAGE_ENGINE
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