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
edfcb97a
Commit
edfcb97a
authored
Apr 19, 2012
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-220 MariaDB server 5.5 GA candidate has default storage engine MyISAM
parent
5f68269a
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
24 additions
and
3 deletions
+24
-3
config.h.cmake
config.h.cmake
+2
-0
mysql-test/include/default_mysqld.cnf
mysql-test/include/default_mysqld.cnf
+2
-0
mysql-test/r/default_storage_engine.result
mysql-test/r/default_storage_engine.result
+1
-0
mysql-test/t/default_storage_engine.test
mysql-test/t/default_storage_engine.test
+16
-0
sql/mysqld.cc
sql/mysqld.cc
+3
-3
No files found.
config.h.cmake
View file @
edfcb97a
...
...
@@ -589,6 +589,8 @@
#cmakedefine WITH_MYISAM_STORAGE_ENGINE 1
#cmakedefine WITH_MYISAMMRG_STORAGE_ENGINE 1
#cmakedefine WITH_HEAP_STORAGE_ENGINE 1
#cmakedefine WITH_INNOBASE_STORAGE_ENGINE 1
#cmakedefine WITH_XTRADB_STORAGE_ENGINE 1
#cmakedefine WITH_CSV_STORAGE_ENGINE 1
#cmakedefine WITH_PARTITION_STORAGE_ENGINE 1
#cmakedefine WITH_PERFSCHEMA_STORAGE_ENGINE 1
...
...
mysql-test/include/default_mysqld.cnf
View file @
edfcb97a
...
...
@@ -60,6 +60,8 @@ loose-performance-schema-max-table-handles=1000
binlog-direct-non-transactional-updates
default-storage-engine=myisam
# here, at the end of [mysqld] group mtr will automatically disable
# all optional plugins.
...
...
mysql-test/r/default_storage_engine.result
0 → 100644
View file @
edfcb97a
"all ok"
mysql-test/t/default_storage_engine.test
0 → 100644
View file @
edfcb97a
if
(
`SELECT COUNT(*) = 0 FROM INFORMATION_SCHEMA.PLUGINS WHERE PLUGIN_NAME = 'innodb' AND PLUGIN_LIBRARY IS NULL`
)
{
--
skip
Requires
built
-
in
InnoDB
.
}
let
$cmd
=
`select replace("$MYSQLD_BOOTSTRAP_CMD", " --default-storage-engine=myisam", "")`
;
#
# Now it *must* fail, because if InnoDB is compiled in, it is used as a default
# storage engine. but $MYSQLD_BOOTSTRAP_CMD includes --skip-innodb
#
error
1
;
exec
$cmd
;
echo
"all ok"
;
# to not have zero-length result file
sql/mysqld.cc
View file @
edfcb97a
...
...
@@ -3491,10 +3491,10 @@ static int init_common_variables()
(except in the embedded server, where the default continues to
be MyISAM)
*/
#ifndef WITH_INNOBASE_STORAGE_ENGINE
default_storage_engine
=
const_cast
<
char
*>
(
"MyISAM"
);
#else
#if defined(WITH_INNOBASE_STORAGE_ENGINE) || defined(WITH_XTRADB_STORAGE_ENGINE)
default_storage_engine
=
const_cast
<
char
*>
(
"InnoDB"
);
#else
default_storage_engine
=
const_cast
<
char
*>
(
"MyISAM"
);
#endif
/*
...
...
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