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
99e347c4
Commit
99e347c4
authored
Nov 03, 2005
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge mysql.com:/home/jimw/my/mysql-5.0-9815
into mysql.com:/home/jimw/my/mysql-5.0-clean
parents
480d6685
6d208394
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
16 deletions
+17
-16
sql/mysqld.cc
sql/mysqld.cc
+17
-16
No files found.
sql/mysqld.cc
View file @
99e347c4
...
...
@@ -3033,6 +3033,23 @@ server.");
sql_print_error
(
"Can't init databases"
);
unireg_abort
(
1
);
}
/*
Check that the default storage engine is actually available.
*/
if
(
!
ha_storage_engine_is_enabled
((
enum
db_type
)
global_system_variables
.
table_type
))
{
if
(
!
opt_bootstrap
)
{
sql_print_error
(
"Default storage engine (%s) is not available"
,
ha_get_storage_engine
((
enum
db_type
)
global_system_variables
.
table_type
));
unireg_abort
(
1
);
}
global_system_variables
.
table_type
=
DB_TYPE_MYISAM
;
}
tc_log
=
(
total_ha_2pc
>
1
?
(
opt_bin_log
?
(
TC_LOG
*
)
&
mysql_bin_log
:
(
TC_LOG
*
)
&
tc_log_mmap
)
:
...
...
@@ -6999,22 +7016,6 @@ static void get_options(int argc,char **argv)
!
opt_slow_log
)
sql_print_warning
(
"options --log-slow-admin-statements and --log-queries-not-using-indexes have no effect if --log-slow-queries is not set"
);
/*
Check that the default storage engine is actually available.
*/
if
(
!
ha_storage_engine_is_enabled
((
enum
db_type
)
global_system_variables
.
table_type
))
{
if
(
!
opt_bootstrap
)
{
sql_print_error
(
"Default storage engine (%s) is not available"
,
ha_get_storage_engine
((
enum
db_type
)
global_system_variables
.
table_type
));
exit
(
1
);
}
global_system_variables
.
table_type
=
DB_TYPE_MYISAM
;
}
if
(
argc
>
0
)
{
fprintf
(
stderr
,
"%s: Too many arguments (first extra is '%s').
\n
Use --help to get a list of available options
\n
"
,
my_progname
,
*
argv
);
...
...
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