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
2fe0836e
Commit
2fe0836e
authored
Sep 20, 2013
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Plain Diff
5.5.33a merge
parents
42328747
28ec3727
Changes
13
Show whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
48 additions
and
47 deletions
+48
-47
cmake/jemalloc.cmake
cmake/jemalloc.cmake
+12
-3
debian/dist/Debian/control
debian/dist/Debian/control
+2
-1
debian/dist/Ubuntu/control
debian/dist/Ubuntu/control
+2
-1
man/mysqld_safe.1
man/mysqld_safe.1
+4
-38
mysql-test/r/bad_frm_crash_5029.result
mysql-test/r/bad_frm_crash_5029.result
+11
-0
mysql-test/std_data/mdev5029_1.frm
mysql-test/std_data/mdev5029_1.frm
+0
-0
mysql-test/std_data/mdev5029_2.MAD
mysql-test/std_data/mdev5029_2.MAD
+0
-0
mysql-test/std_data/mdev5029_2.MAI
mysql-test/std_data/mdev5029_2.MAI
+0
-0
mysql-test/std_data/mdev5029_2.frm
mysql-test/std_data/mdev5029_2.frm
+0
-0
mysql-test/t/bad_frm_crash_5029.test
mysql-test/t/bad_frm_crash_5029.test
+10
-1
scripts/mysqld_safe.sh
scripts/mysqld_safe.sh
+1
-1
sql/table.cc
sql/table.cc
+4
-1
storage/tokudb/CMakeLists.txt
storage/tokudb/CMakeLists.txt
+2
-1
No files found.
cmake/jemalloc.cmake
View file @
2fe0836e
...
...
@@ -30,14 +30,23 @@ MACRO (USE_BUNDLED_JEMALLOC)
ENDMACRO
()
SET
(
WITH_JEMALLOC
"yes"
CACHE STRING
"Which jemalloc to use (possible values are 'no', 'bundled', 'yes' (same as bundled)"
)
#"Which jemalloc to use (possible values are 'no', 'bundled', 'system', 'yes' (system if possible, otherwise bundled)")
"Which jemalloc to use (possible values are 'no', 'bundled', 'system', 'yes' (system if possible, otherwise bundled)"
)
MACRO
(
CHECK_JEMALLOC
)
IF
(
WIN32
)
SET
(
WITH_JEMALLOC
"no"
)
ENDIF
()
IF
(
WITH_JEMALLOC STREQUAL
"bundled"
OR WITH_JEMALLOC STREQUAL
"yes"
)
IF
(
WITH_JEMALLOC STREQUAL
"system"
OR WITH_JEMALLOC STREQUAL
"yes"
)
CHECK_LIBRARY_EXISTS
(
jemalloc malloc_stats_print
""
HAVE_JEMALLOC
)
IF
(
HAVE_JEMALLOC
)
SET
(
LIBJEMALLOC jemalloc
)
ELSEIF
(
WITH_JEMALLOC STREQUAL
"system"
)
MESSAGE
(
FATAL_ERROR
"system jemalloc is not found"
)
ELSEIF
(
WITH_JEMALLOC STREQUAL
"yes"
)
SET
(
trybundled 1
)
ENDIF
()
ENDIF
()
IF
(
WITH_JEMALLOC STREQUAL
"bundled"
OR trybundled
)
USE_BUNDLED_JEMALLOC
()
ENDIF
()
ENDMACRO
()
debian/dist/Debian/control
View file @
2fe0836e
...
...
@@ -14,7 +14,8 @@ Package: libmariadbclient18
Section
:
libs
Architecture
:
any
Depends
:
mariadb
-
common
,
libmysqlclient18
(=
${
source
:
Version
}),
${
shlibs
:
Depends
},
${
misc
:
Depends
}
Conflicts
:
mariadb
-
server
-
5.5
(<<
5.5.33
),
mariadb
-
galera
-
server
-
5.5
(<<
5.5.33
)
Conflicts
:
mariadb
-
server
-
5.5
(<<
5.5.33
),
mariadb
-
galera
-
server
-
5.5
(<<
5.5.33
),
mariadb
-
server
-
5.1
,
mariadb
-
server
-
5.2
,
mariadb
-
server
-
5.3
Description
:
MariaDB
database
client
library
MariaDB
is
a
fast
,
stable
and
true
multi
-
user
,
multi
-
threaded
SQL
database
server
.
SQL
(
Structured
Query
Language
)
is
the
most
popular
database
query
...
...
debian/dist/Ubuntu/control
View file @
2fe0836e
...
...
@@ -14,7 +14,8 @@ Package: libmariadbclient18
Section
:
libs
Architecture
:
any
Depends
:
mariadb
-
common
,
libmysqlclient18
(=
${
source
:
Version
}),
${
shlibs
:
Depends
},
${
misc
:
Depends
}
Conflicts
:
mariadb
-
server
-
5.5
(<<
5.5.33
),
mariadb
-
galera
-
server
-
5.5
(<<
5.5.33
)
Conflicts
:
mariadb
-
server
-
5.5
(<<
5.5.33
),
mariadb
-
galera
-
server
-
5.5
(<<
5.5.33
),
mariadb
-
server
-
5.1
,
mariadb
-
server
-
5.2
,
mariadb
-
server
-
5.3
Description
:
MariaDB
database
client
library
MariaDB
is
a
fast
,
stable
and
true
multi
-
user
,
multi
-
threaded
SQL
database
server
.
SQL
(
Structured
Query
Language
)
is
the
most
popular
database
query
...
...
man/mysqld_safe.1
View file @
2fe0836e
...
...
@@ -83,15 +83,15 @@ Options unknown to
are passed to
\fBmysqld\fR
if they are specified on the command line, but ignored if they are specified in the
[mysqld_safe]
group of an option file\&. See
[mysqld_safe]
or [mariadb_safe]
group
s
of an option file\&. See
Section\ \&4.2.3.3, \(lqUsing Option Files\(rq\&.
.PP
\fBmysqld_safe\fR
reads all options from the
[mysqld],
[server],
and
[mysqld_safe]
[server],
[mysqld_safe]
, and [mariadb_safe]
sections in option files\&. For example, if you specify a
[mysqld]
section like this,
...
...
@@ -146,40 +146,6 @@ Display a help message and exit\&.
.sp -1
.IP \(bu 2.3
.\}
.\" mysqld_safe: autoclose option
.\" autoclose option: mysqld_safe
\fB\-\-autoclose\fR
.sp
(NetWare only) On NetWare,
\fBmysqld_safe\fR
provides a screen presence\&. When you unload (shut down) the
\fBmysqld_safe\fR
NLM, the screen does not by default go away\&. Instead, it prompts for user input:
.sp
.if n \{\
.RS 4
.\}
.nf
*<NLM has terminated; Press any key to close the screen>*
.fi
.if n \{\
.RE
.\}
.sp
If you want NetWare to close the screen automatically instead, use the
\fB\-\-autoclose\fR
option to
\fBmysqld_safe\fR\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysqld_safe: basedir option
.\" basedir option: mysqld_safe
\fB\-\-basedir=\fR\fB\fIpath\fR\fR
...
...
mysql-test/r/bad_frm_crash_5029.result
View file @
2fe0836e
show create table t1;
ERROR 42000: Unknown storage engine 'InnoDB'
call mtr.add_suppression("t1.frm is inconsistent: engine typecode 43, engine name Aria");
show create table t1;
Table Create Table
t1 CREATE TABLE `t1` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL,
`c` int(11) DEFAULT NULL,
KEY `a` (`a`),
KEY `b` (`b`)
) ENGINE=Aria DEFAULT CHARSET=latin1 PAGE_CHECKSUM=1
drop table t1;
mysql-test/std_data/mdev5029.frm
→
mysql-test/std_data/mdev5029
_1
.frm
View file @
2fe0836e
File moved
mysql-test/std_data/mdev5029_2.MAD
0 → 100644
View file @
2fe0836e
File added
mysql-test/std_data/mdev5029_2.MAI
0 → 100644
View file @
2fe0836e
File added
mysql-test/std_data/mdev5029_2.frm
0 → 100644
View file @
2fe0836e
File added
mysql-test/t/bad_frm_crash_5029.test
View file @
2fe0836e
...
...
@@ -4,8 +4,17 @@
# a.k.a. fail to open an frm with indexes:
let
$datadir
=
`select @@datadir`
;
copy_file
std_data
/
mdev5029
.
frm
$datadir
/
test
/
t1
.
frm
;
# normal innodb table (but innodb is disabled here)
copy_file
std_data
/
mdev5029_1
.
frm
$datadir
/
test
/
t1
.
frm
;
--
error
ER_UNKNOWN_STORAGE_ENGINE
show
create
table
t1
;
remove_file
$datadir
/
test
/
t1
.
frm
;
# Aria table, incorrect typecode
call
mtr
.
add_suppression
(
"t1.frm is inconsistent: engine typecode 43, engine name Aria"
);
copy_file
std_data
/
mdev5029_2
.
frm
$datadir
/
test
/
t1
.
frm
;
copy_file
std_data
/
mdev5029_2
.
MAI
$datadir
/
test
/
t1
.
MAI
;
copy_file
std_data
/
mdev5029_2
.
MAD
$datadir
/
test
/
t1
.
MAD
;
show
create
table
t1
;
drop
table
t1
;
scripts/mysqld_safe.sh
View file @
2fe0836e
...
...
@@ -509,7 +509,7 @@ then
SET_USER
=
0
fi
parse_arguments
`
$print_defaults
$defaults
--loose-verbose
mysqld_safe safe_mysqld
`
parse_arguments
`
$print_defaults
$defaults
--loose-verbose
mysqld_safe safe_mysqld
mariadb_safe
`
parse_arguments PICK-ARGS-FROM-ARGV
"
$@
"
...
...
sql/table.cc
View file @
2fe0836e
...
...
@@ -1135,7 +1135,10 @@ int TABLE_SHARE::init_from_binary_frm_image(THD *thd, bool write,
if
(
se_plugin
)
{
/* bad file, legacy_db_type did not match the name */
goto
err
;
sql_print_warning
(
"%s.frm is inconsistent: engine typecode %d, engine name %s (%d)"
,
share
->
normalized_path
.
str
,
legacy_db_type
,
plugin_name
(
tmp_plugin
)
->
str
,
ha_legacy_type
(
plugin_data
(
tmp_plugin
,
handlerton
*
)));
}
/*
tmp_plugin is locked with a local lock.
...
...
storage/tokudb/CMakeLists.txt
View file @
2fe0836e
# ft-index only supports x86-64 and cmake-2.8.9+
IF
(
CMAKE_SYSTEM_PROCESSOR STREQUAL
"x86_64"
AND
NOT CMAKE_VERSION VERSION_LESS
"2.8.9"
)
NOT CMAKE_VERSION VERSION_LESS
"2.8.9"
AND
NOT WITHOUT_TOKUDB AND NOT WITHOUT_TOKUDB_STORAGE_ENGINE
)
CHECK_CXX_SOURCE_COMPILES
(
"
struct a {int b; int c; };
...
...
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