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
3734a364
Commit
3734a364
authored
Oct 04, 2012
by
Michael Widenius
Browse files
Options
Browse Files
Download
Plain Diff
Automatic merge
parents
620d14f8
b722aebd
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
17 additions
and
9 deletions
+17
-9
debian/dist/Debian/mariadb-server-5.5.postinst
debian/dist/Debian/mariadb-server-5.5.postinst
+1
-1
debian/mariadb-server-5.5.mysql.init
debian/mariadb-server-5.5.mysql.init
+2
-2
libmysql/CMakeLists.txt
libmysql/CMakeLists.txt
+0
-1
storage/maria/CMakeLists.txt
storage/maria/CMakeLists.txt
+1
-1
storage/maria/ma_test_all.sh
storage/maria/ma_test_all.sh
+11
-2
storage/myisam/CMakeLists.txt
storage/myisam/CMakeLists.txt
+1
-1
storage/myisam/mi_test_all.sh
storage/myisam/mi_test_all.sh
+1
-1
No files found.
debian/dist/Debian/mariadb-server-5.5.postinst
View file @
3734a364
...
@@ -212,7 +212,7 @@ EOF
...
@@ -212,7 +212,7 @@ EOF
# admin might already have chosen to remove one or more plugins. Newlines are necessary.
# admin might already have chosen to remove one or more plugins. Newlines are necessary.
install_plugins
=
`
/bin/echo
-e
\
install_plugins
=
`
/bin/echo
-e
\
"USE mysql;
\n
"
\
"USE mysql;
\n
"
\
"CREATE TABLE plugin (name char(64) COLLATE utf8_bin NOT NULL DEFAULT '', "
\
"CREATE TABLE
IF NOT EXISTS
plugin (name char(64) COLLATE utf8_bin NOT NULL DEFAULT '', "
\
" dl char(128) COLLATE utf8_bin NOT NULL DEFAULT '', "
\
" dl char(128) COLLATE utf8_bin NOT NULL DEFAULT '', "
\
" PRIMARY KEY (name)) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='MySQL plugins';"
`
" PRIMARY KEY (name)) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='MySQL plugins';"
`
...
...
debian/mariadb-server-5.5.mysql.init
View file @
3734a364
...
@@ -109,7 +109,7 @@ case "${1:-''}" in
...
@@ -109,7 +109,7 @@ case "${1:-''}" in
/usr/bin/mysqld_safe
>
/dev/null 2>&1 &
/usr/bin/mysqld_safe
>
/dev/null 2>&1 &
# 6s was reported in #352070 to be too few when using ndbcluster
# 6s was reported in #352070 to be too few when using ndbcluster
for
i
in
$(
seq
1
"
${
MYSQLD_STARTUP_TIMEOUT
:-
14
}
"
)
;
do
for
i
in
$(
seq
1
"
${
MYSQLD_STARTUP_TIMEOUT
:-
30
}
"
)
;
do
sleep
1
sleep
1
if
mysqld_status check_alive nowarn
;
then
break
;
fi
if
mysqld_status check_alive nowarn
;
then
break
;
fi
log_progress_msg
"."
log_progress_msg
"."
...
@@ -142,7 +142,7 @@ case "${1:-''}" in
...
@@ -142,7 +142,7 @@ case "${1:-''}" in
log_daemon_msg
"Killing MariaDB database server by signal"
"mysqld"
log_daemon_msg
"Killing MariaDB database server by signal"
"mysqld"
killall
-15
mysqld
killall
-15
mysqld
server_down
=
server_down
=
for
i
in
1 2 3 4 5 6 7 8 9 10
;
do
for
i
in
1 2 3 4 5 6 7 8 9 10
1 2 3 4 5 6 7 8 9 10 1 2 3 4 5 6 7 8 9 10
;
do
sleep
1
sleep
1
if
mysqld_status check_dead nowarn
;
then
server_down
=
1
;
break
;
fi
if
mysqld_status check_dead nowarn
;
then
server_down
=
1
;
break
;
fi
done
done
...
...
libmysql/CMakeLists.txt
View file @
3734a364
...
@@ -17,7 +17,6 @@ INCLUDE_DIRECTORIES(
...
@@ -17,7 +17,6 @@ INCLUDE_DIRECTORIES(
${
CMAKE_SOURCE_DIR
}
/include
${
CMAKE_SOURCE_DIR
}
/include
${
CMAKE_SOURCE_DIR
}
/libmysql
${
CMAKE_SOURCE_DIR
}
/libmysql
${
CMAKE_SOURCE_DIR
}
/regex
${
CMAKE_SOURCE_DIR
}
/regex
${
CMAKE_SOURCE_DIR
}
/sql
${
CMAKE_SOURCE_DIR
}
/strings
${
CMAKE_SOURCE_DIR
}
/strings
${
SSL_INCLUDE_DIRS
}
${
SSL_INCLUDE_DIRS
}
${
SSL_INTERNAL_INCLUDE_DIRS
}
${
SSL_INTERNAL_INCLUDE_DIRS
}
...
...
storage/maria/CMakeLists.txt
View file @
3734a364
...
@@ -68,7 +68,7 @@ SET_TARGET_PROPERTIES(aria_dump_log PROPERTIES COMPILE_FLAGS "-DMARIA_DUMP_LOG")
...
@@ -68,7 +68,7 @@ SET_TARGET_PROPERTIES(aria_dump_log PROPERTIES COMPILE_FLAGS "-DMARIA_DUMP_LOG")
MYSQL_ADD_EXECUTABLE
(
aria_pack maria_pack.c COMPONENT Server
)
MYSQL_ADD_EXECUTABLE
(
aria_pack maria_pack.c COMPONENT Server
)
TARGET_LINK_LIBRARIES
(
aria_pack aria
)
TARGET_LINK_LIBRARIES
(
aria_pack aria
)
IF
(
WITH_UNIT_TESTS
AND FALSE
)
IF
(
WITH_UNIT_TESTS
)
ADD_EXECUTABLE
(
ma_test1 ma_test1.c
)
ADD_EXECUTABLE
(
ma_test1 ma_test1.c
)
TARGET_LINK_LIBRARIES
(
ma_test1 aria
)
TARGET_LINK_LIBRARIES
(
ma_test1 aria
)
...
...
storage/maria/ma_test_all.sh
View file @
3734a364
...
@@ -7,13 +7,22 @@
...
@@ -7,13 +7,22 @@
#
#
#
#
PRG
=
'unittest/ma_test_all-t'
UTST
=
'../../unittest/unit.pl'
if
[
!
-x
$PRG
]
;
then
DIR
=
`
dirname
$0
`
PRG
=
"
$DIR
/unittest/ma_test_all-t"
UTST
=
"
$DIR
/../../unittest/unit.pl"
fi
if
test
-n
"
$1
"
;
then
if
test
-n
"
$1
"
;
then
# unit.pl can't pass options to ma_test_all-t, so if anything
# unit.pl can't pass options to ma_test_all-t, so if anything
# was passed as an argument, assume the purpose was to pass
# was passed as an argument, assume the purpose was to pass
# them to ma_test_all-t and call it directly
# them to ma_test_all-t and call it directly
unittest/ma_test_all-t
$@
$PRG
$@
else
else
perl
../../unittest/unit.pl run unittest/ma_test_all-t
perl
$UTST
run
$PRG
fi
fi
storage/myisam/CMakeLists.txt
View file @
3734a364
...
@@ -46,7 +46,7 @@ TARGET_LINK_LIBRARIES(myisamlog myisam)
...
@@ -46,7 +46,7 @@ TARGET_LINK_LIBRARIES(myisamlog myisam)
MYSQL_ADD_EXECUTABLE
(
myisampack myisampack.c COMPONENT Server
)
MYSQL_ADD_EXECUTABLE
(
myisampack myisampack.c COMPONENT Server
)
TARGET_LINK_LIBRARIES
(
myisampack myisam
)
TARGET_LINK_LIBRARIES
(
myisampack myisam
)
IF
(
WITH_UNIT_TESTS
AND FALSE
)
IF
(
WITH_UNIT_TESTS
)
ADD_EXECUTABLE
(
mi_test1 mi_test1.c
)
ADD_EXECUTABLE
(
mi_test1 mi_test1.c
)
TARGET_LINK_LIBRARIES
(
mi_test1 myisam
)
TARGET_LINK_LIBRARIES
(
mi_test1 myisam
)
...
...
storage/myisam/mi_test_all.sh
View file @
3734a364
...
@@ -99,7 +99,7 @@ if test -f mi_test1$MACH ; then suffix=$MACH ; else suffix=""; fi
...
@@ -99,7 +99,7 @@ if test -f mi_test1$MACH ; then suffix=$MACH ; else suffix=""; fi
# check of myisampack / myisamchk
# check of myisampack / myisamchk
./myisampack
$suffix
--force
-s
test1
./myisampack
$suffix
--force
-s
test1
# Ignore error for index file
# Ignore error for index file
./myisamchk
$suffix
-es
test1 2>&1
>
&
/dev/null
./myisamchk
$suffix
-es
test1 2>&1
>
/dev/null
./myisamchk
$suffix
-rqs
test1
./myisamchk
$suffix
-rqs
test1
./myisamchk
$suffix
-es
test1
./myisamchk
$suffix
-es
test1
./myisamchk
$suffix
-rs
test1
./myisamchk
$suffix
-rs
test1
...
...
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