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
0d15e5e3
Commit
0d15e5e3
authored
Jul 14, 2006
by
ramil/ram@mysql.com/myoffice.izhnet.ru
Browse files
Options
Browse Files
Download
Plain Diff
Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/usr/home/ram/work/4.1.b15195
parents
9b687356
b57efe73
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
26 additions
and
6 deletions
+26
-6
mysql-test/r/warnings.result
mysql-test/r/warnings.result
+7
-0
mysql-test/t/warnings-master.opt
mysql-test/t/warnings-master.opt
+1
-1
mysql-test/t/warnings.test
mysql-test/t/warnings.test
+4
-0
sql/handler.cc
sql/handler.cc
+2
-2
sql/mysql_priv.h
sql/mysql_priv.h
+1
-1
sql/mysqld.cc
sql/mysqld.cc
+10
-2
sql/set_var.cc
sql/set_var.cc
+1
-0
No files found.
mysql-test/r/warnings.result
View file @
0d15e5e3
...
...
@@ -171,6 +171,13 @@ alter table t1 engine=isam;
Warnings:
Warning 1266 Using storage engine MyISAM for table 't1'
drop table t1;
create table t1 (id int) engine=merge;
Warnings:
Warning 1266 Using storage engine MyISAM for table 't1'
alter table t1 engine=merge;
Warnings:
Warning 1266 Using storage engine MyISAM for table 't1'
drop table t1;
create table t1 (id int) type=heap;
Warnings:
Warning 1287 'TYPE=storage_engine' is deprecated; use 'ENGINE=storage_engine' instead
...
...
mysql-test/t/warnings-master.opt
View file @
0d15e5e3
--skip-isam
--skip-isam
--skip-merge
mysql-test/t/warnings.test
View file @
0d15e5e3
...
...
@@ -118,6 +118,10 @@ create table t1 (id int) engine=isam;
alter
table
t1
engine
=
isam
;
drop
table
t1
;
create
table
t1
(
id
int
)
engine
=
merge
;
alter
table
t1
engine
=
merge
;
drop
table
t1
;
#
# Test for deprecated TYPE= syntax
#
...
...
sql/handler.cc
View file @
0d15e5e3
...
...
@@ -73,9 +73,9 @@ struct show_table_type_st sys_table_types[]=
"Alias for MEMORY"
,
DB_TYPE_HEAP
},
{
"MEMORY"
,
&
have_yes
,
"Hash based, stored in memory, useful for temporary tables"
,
DB_TYPE_HEAP
},
{
"MERGE"
,
&
have_
yes
,
{
"MERGE"
,
&
have_
merge_db
,
"Collection of identical MyISAM tables"
,
DB_TYPE_MRG_MYISAM
},
{
"MRG_MYISAM"
,
&
have_
yes
,
{
"MRG_MYISAM"
,
&
have_
merge_db
,
"Alias for MERGE"
,
DB_TYPE_MRG_MYISAM
},
{
"ISAM"
,
&
have_isam
,
"Obsolete storage engine, now replaced by MyISAM"
,
DB_TYPE_ISAM
},
...
...
sql/mysql_priv.h
View file @
0d15e5e3
...
...
@@ -1021,7 +1021,7 @@ extern SHOW_COMP_OPTION have_query_cache, have_berkeley_db, have_innodb;
extern
SHOW_COMP_OPTION
have_geometry
,
have_rtree_keys
;
extern
SHOW_COMP_OPTION
have_crypt
;
extern
SHOW_COMP_OPTION
have_compress
;
extern
SHOW_COMP_OPTION
have_blackhole_db
;
extern
SHOW_COMP_OPTION
have_blackhole_db
,
have_merge_db
;
#ifndef __WIN__
extern
pthread_t
signal_thread
;
...
...
sql/mysqld.cc
View file @
0d15e5e3
...
...
@@ -287,6 +287,7 @@ my_bool opt_safe_user_create = 0, opt_no_mix_types = 0;
my_bool
opt_show_slave_auth_info
,
opt_sql_bin_update
=
0
;
my_bool
opt_log_slave_updates
=
0
;
my_bool
opt_console
=
0
,
opt_bdb
,
opt_innodb
,
opt_isam
,
opt_ndbcluster
;
my_bool
opt_merge
;
#ifdef HAVE_NDBCLUSTER_DB
const
char
*
opt_ndbcluster_connectstring
=
0
;
my_bool
opt_ndb_shm
,
opt_ndb_optimized_node_selection
;
...
...
@@ -420,7 +421,7 @@ CHARSET_INFO *system_charset_info, *files_charset_info ;
CHARSET_INFO
*
national_charset_info
,
*
table_alias_charset
;
SHOW_COMP_OPTION
have_berkeley_db
,
have_innodb
,
have_isam
,
have_ndbcluster
,
have_example_db
,
have_archive_db
,
have_csv_db
;
have_example_db
,
have_archive_db
,
have_csv_db
,
have_merge_db
;
SHOW_COMP_OPTION
have_raid
,
have_openssl
,
have_symlink
,
have_query_cache
;
SHOW_COMP_OPTION
have_geometry
,
have_rtree_keys
;
SHOW_COMP_OPTION
have_crypt
,
have_compress
;
...
...
@@ -4345,7 +4346,8 @@ enum options_mysqld
OPT_DATETIME_FORMAT
,
OPT_LOG_QUERIES_NOT_USING_INDEXES
,
OPT_DEFAULT_TIME_ZONE
,
OPT_LOG_SLOW_ADMIN_STATEMENTS
OPT_LOG_SLOW_ADMIN_STATEMENTS
,
OPT_MERGE
};
...
...
@@ -4705,6 +4707,9 @@ master-ssl",
#endif
/* HAVE_REPLICATION */
{
"memlock"
,
OPT_MEMLOCK
,
"Lock mysqld in memory."
,
(
gptr
*
)
&
locked_in_memory
,
(
gptr
*
)
&
locked_in_memory
,
0
,
GET_BOOL
,
NO_ARG
,
0
,
0
,
0
,
0
,
0
,
0
},
{
"merge"
,
OPT_MERGE
,
"Enable Merge storage engine. Disable with \
--skip-merge."
,
(
gptr
*
)
&
opt_merge
,
(
gptr
*
)
&
opt_merge
,
0
,
GET_BOOL
,
NO_ARG
,
1
,
0
,
0
,
0
,
0
},
{
"myisam-recover"
,
OPT_MYISAM_RECOVER
,
"Syntax: myisam-recover[=option[,option...]], where option can be DEFAULT, BACKUP, FORCE or QUICK."
,
(
gptr
*
)
&
myisam_recover_options_str
,
(
gptr
*
)
&
myisam_recover_options_str
,
0
,
...
...
@@ -6468,6 +6473,9 @@ get_one_option(int optid, const struct my_option *opt __attribute__((unused)),
have_berkeley_db
=
SHOW_OPTION_DISABLED
;
#endif
break
;
case
OPT_MERGE
:
have_merge_db
=
opt_merge
?
SHOW_OPTION_YES
:
SHOW_OPTION_DISABLED
;
break
;
case
OPT_ISAM
:
#ifdef HAVE_ISAM
if
(
opt_isam
)
...
...
sql/set_var.cc
View file @
0d15e5e3
...
...
@@ -738,6 +738,7 @@ struct show_var_st init_vars[]= {
{
"have_innodb"
,
(
char
*
)
&
have_innodb
,
SHOW_HAVE
},
{
"have_isam"
,
(
char
*
)
&
have_isam
,
SHOW_HAVE
},
{
"have_ndbcluster"
,
(
char
*
)
&
have_ndbcluster
,
SHOW_HAVE
},
{
"have_merge_engine"
,
(
char
*
)
&
have_merge_db
,
SHOW_HAVE
},
{
"have_openssl"
,
(
char
*
)
&
have_openssl
,
SHOW_HAVE
},
{
"have_query_cache"
,
(
char
*
)
&
have_query_cache
,
SHOW_HAVE
},
{
"have_raid"
,
(
char
*
)
&
have_raid
,
SHOW_HAVE
},
...
...
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