MWL#36: Add a mysqlbinlog option to change the used database.
Merge from trunk.
This commit is contained in:
commit
f7526c063e
@ -172,6 +172,7 @@ local_infile_configs="--enable-local-infile"
|
|||||||
|
|
||||||
|
|
||||||
max_no_embedded_configs="$SSL_LIBRARY --with-plugins=max"
|
max_no_embedded_configs="$SSL_LIBRARY --with-plugins=max"
|
||||||
|
max_no_qc_configs="$SSL_LIBRARY --with-plugins=max --without-query-cache"
|
||||||
max_no_ndb_configs="$SSL_LIBRARY --with-plugins=max-no-ndb --with-embedded-server --with-libevent"
|
max_no_ndb_configs="$SSL_LIBRARY --with-plugins=max-no-ndb --with-embedded-server --with-libevent"
|
||||||
max_configs="$SSL_LIBRARY --with-plugins=max --with-embedded-server --with-libevent"
|
max_configs="$SSL_LIBRARY --with-plugins=max --with-embedded-server --with-libevent"
|
||||||
# Disable NDB in maria max builds
|
# Disable NDB in maria max builds
|
||||||
|
10
BUILD/compile-pentium-debug-max-no-qc
Executable file
10
BUILD/compile-pentium-debug-max-no-qc
Executable file
@ -0,0 +1,10 @@
|
|||||||
|
#! /bin/sh
|
||||||
|
# Builds server without query cache support
|
||||||
|
|
||||||
|
path=`dirname $0`
|
||||||
|
. "$path/SETUP.sh"
|
||||||
|
|
||||||
|
extra_flags="$pentium_cflags $debug_cflags"
|
||||||
|
extra_configs="$pentium_configs $debug_configs $max_no_qc_configs"
|
||||||
|
|
||||||
|
. "$path/FINISH.sh"
|
@ -156,6 +156,8 @@ test-bt:
|
|||||||
-cd mysql-test ; MTR_BUILD_THREAD=auto \
|
-cd mysql-test ; MTR_BUILD_THREAD=auto \
|
||||||
@PERL@ ./mysql-test-run.pl $(MTR_EXTRA_OPTIONS) --comment=ps --force --timer \
|
@PERL@ ./mysql-test-run.pl $(MTR_EXTRA_OPTIONS) --comment=ps --force --timer \
|
||||||
--skip-ndbcluster --ps-protocol
|
--skip-ndbcluster --ps-protocol
|
||||||
|
-cd mysql-test ; MTR_BUILD_THREAD=auto \
|
||||||
|
@PERL@ ./mysql-test-run.pl $(MTR_EXTRA_OPTIONS) --force --comment=PBXT --mysqld=--default-storage-engine=pbxt --suite=pbxt
|
||||||
-if [ -e bin/ndbd -o -e storage/ndb/src/kernel/ndbd ] ; then \
|
-if [ -e bin/ndbd -o -e storage/ndb/src/kernel/ndbd ] ; then \
|
||||||
cd mysql-test ; \
|
cd mysql-test ; \
|
||||||
MTR_BUILD_THREAD=auto \
|
MTR_BUILD_THREAD=auto \
|
||||||
@ -171,8 +173,6 @@ test-bt:
|
|||||||
@PERL@ ./mysql-test-run.pl $(MTR_EXTRA_OPTIONS) --force --comment=funcs1+ps --ps-protocol --reorder --suite=funcs_1
|
@PERL@ ./mysql-test-run.pl $(MTR_EXTRA_OPTIONS) --force --comment=funcs1+ps --ps-protocol --reorder --suite=funcs_1
|
||||||
-cd mysql-test ; MTR_BUILD_THREAD=auto \
|
-cd mysql-test ; MTR_BUILD_THREAD=auto \
|
||||||
@PERL@ ./mysql-test-run.pl $(MTR_EXTRA_OPTIONS) --force --comment=funcs2 --suite=funcs_2
|
@PERL@ ./mysql-test-run.pl $(MTR_EXTRA_OPTIONS) --force --comment=funcs2 --suite=funcs_2
|
||||||
-cd mysql-test ; MTR_BUILD_THREAD=auto \
|
|
||||||
@PERL@ ./mysql-test-run.pl $(MTR_EXTRA_OPTIONS) --force --comment=partitions --suite=parts
|
|
||||||
-cd mysql-test ; MTR_BUILD_THREAD=auto \
|
-cd mysql-test ; MTR_BUILD_THREAD=auto \
|
||||||
@PERL@ ./mysql-test-run.pl $(MTR_EXTRA_OPTIONS) --force --comment=stress --suite=stress
|
@PERL@ ./mysql-test-run.pl $(MTR_EXTRA_OPTIONS) --force --comment=stress --suite=stress
|
||||||
-cd mysql-test ; MTR_BUILD_THREAD=auto \
|
-cd mysql-test ; MTR_BUILD_THREAD=auto \
|
||||||
|
@ -100,6 +100,7 @@ static my_bool display_result_vertically= FALSE,
|
|||||||
display_metadata= FALSE, display_result_sorted= FALSE;
|
display_metadata= FALSE, display_result_sorted= FALSE;
|
||||||
static my_bool disable_query_log= 0, disable_result_log= 0;
|
static my_bool disable_query_log= 0, disable_result_log= 0;
|
||||||
static my_bool disable_warnings= 0;
|
static my_bool disable_warnings= 0;
|
||||||
|
static my_bool prepare_warnings_enabled= 0;
|
||||||
static my_bool disable_info= 1;
|
static my_bool disable_info= 1;
|
||||||
static my_bool abort_on_error= 1;
|
static my_bool abort_on_error= 1;
|
||||||
static my_bool server_initialized= 0;
|
static my_bool server_initialized= 0;
|
||||||
@ -289,7 +290,7 @@ enum enum_commands {
|
|||||||
Q_SEND_QUIT, Q_CHANGE_USER, Q_MKDIR, Q_RMDIR,
|
Q_SEND_QUIT, Q_CHANGE_USER, Q_MKDIR, Q_RMDIR,
|
||||||
Q_LIST_FILES, Q_LIST_FILES_WRITE_FILE, Q_LIST_FILES_APPEND_FILE,
|
Q_LIST_FILES, Q_LIST_FILES_WRITE_FILE, Q_LIST_FILES_APPEND_FILE,
|
||||||
Q_SEND_SHUTDOWN, Q_SHUTDOWN_SERVER,
|
Q_SEND_SHUTDOWN, Q_SHUTDOWN_SERVER,
|
||||||
Q_MOVE_FILE,
|
Q_MOVE_FILE, Q_ENABLE_PREPARE_WARNINGS, Q_DISABLE_PREPARE_WARNINGS,
|
||||||
|
|
||||||
Q_UNKNOWN, /* Unknown command. */
|
Q_UNKNOWN, /* Unknown command. */
|
||||||
Q_COMMENT, /* Comments, ignored. */
|
Q_COMMENT, /* Comments, ignored. */
|
||||||
@ -387,6 +388,8 @@ const char *command_names[]=
|
|||||||
"send_shutdown",
|
"send_shutdown",
|
||||||
"shutdown_server",
|
"shutdown_server",
|
||||||
"move_file",
|
"move_file",
|
||||||
|
"enable_prepare_warnings",
|
||||||
|
"disable_prepare_warnings",
|
||||||
|
|
||||||
0
|
0
|
||||||
};
|
};
|
||||||
@ -6929,8 +6932,17 @@ void run_query_stmt(MYSQL *mysql, struct st_command *command,
|
|||||||
|
|
||||||
mysql_free_result(res); /* Free normal result set with meta data */
|
mysql_free_result(res); /* Free normal result set with meta data */
|
||||||
|
|
||||||
/* Clear prepare warnings */
|
/*
|
||||||
dynstr_set(&ds_prepare_warnings, NULL);
|
Normally, if there is a result set, we do not show warnings from the
|
||||||
|
prepare phase. This is because some warnings are generated both during
|
||||||
|
prepare and execute; this would generate different warning output
|
||||||
|
between normal and ps-protocol test runs.
|
||||||
|
|
||||||
|
The --enable_prepare_warnings command can be used to change this so
|
||||||
|
that warnings from both the prepare and execute phase are shown.
|
||||||
|
*/
|
||||||
|
if (!disable_warnings && !prepare_warnings_enabled)
|
||||||
|
dynstr_set(&ds_prepare_warnings, NULL);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@ -7754,6 +7766,8 @@ int main(int argc, char **argv)
|
|||||||
case Q_DISABLE_RESULT_LOG: disable_result_log=1; break;
|
case Q_DISABLE_RESULT_LOG: disable_result_log=1; break;
|
||||||
case Q_ENABLE_WARNINGS: disable_warnings=0; break;
|
case Q_ENABLE_WARNINGS: disable_warnings=0; break;
|
||||||
case Q_DISABLE_WARNINGS: disable_warnings=1; break;
|
case Q_DISABLE_WARNINGS: disable_warnings=1; break;
|
||||||
|
case Q_ENABLE_PREPARE_WARNINGS: prepare_warnings_enabled=1; break;
|
||||||
|
case Q_DISABLE_PREPARE_WARNINGS: prepare_warnings_enabled=0; break;
|
||||||
case Q_ENABLE_INFO: disable_info=0; break;
|
case Q_ENABLE_INFO: disable_info=0; break;
|
||||||
case Q_DISABLE_INFO: disable_info=1; break;
|
case Q_DISABLE_INFO: disable_info=1; break;
|
||||||
case Q_ENABLE_METADATA: display_metadata=1; break;
|
case Q_ENABLE_METADATA: display_metadata=1; break;
|
||||||
|
@ -12,8 +12,10 @@ AC_CANONICAL_SYSTEM
|
|||||||
# in mysqlbinlog.cc / check_master_version().
|
# in mysqlbinlog.cc / check_master_version().
|
||||||
#
|
#
|
||||||
# When merging new MySQL releases, update the version number to match the
|
# When merging new MySQL releases, update the version number to match the
|
||||||
# MySQL version number, but reset the maria subrelease (-beta1).
|
# MySQL version number.
|
||||||
AM_INIT_AUTOMAKE(mysql, 5.1.38-MariaDB-beta1)
|
#
|
||||||
|
# Note: the following line must be parseable by win/configure.js:GetVersion()
|
||||||
|
AM_INIT_AUTOMAKE(mysql, 5.1.38-maria-beta)
|
||||||
AM_CONFIG_HEADER([include/config.h:config.h.in])
|
AM_CONFIG_HEADER([include/config.h:config.h.in])
|
||||||
|
|
||||||
PROTOCOL_VERSION=10
|
PROTOCOL_VERSION=10
|
||||||
|
@ -1,6 +1,10 @@
|
|||||||
# Maria help script.
|
# Maria help script.
|
||||||
# Cleans up all logs to give recovery a fresh start.
|
# Cleans up all logs to give recovery a fresh start.
|
||||||
|
#
|
||||||
|
# Note that this script relies on the number of threads connect at start of
|
||||||
|
# this script, so one should run this script with a freshly started server
|
||||||
|
# for it to work.
|
||||||
|
#
|
||||||
# API: set mel_keep_control_file=1 if want to keep control file;
|
# API: set mel_keep_control_file=1 if want to keep control file;
|
||||||
# uses vardir, port and socket.
|
# uses vardir, port and socket.
|
||||||
|
|
||||||
|
@ -71,8 +71,8 @@ CREATE TRIGGER t1_bi before INSERT
|
|||||||
BEGIN
|
BEGIN
|
||||||
DECLARE CONTINUE HANDLER FOR SQLSTATE '40001' SET @a:= 'deadlock';
|
DECLARE CONTINUE HANDLER FOR SQLSTATE '40001' SET @a:= 'deadlock';
|
||||||
DECLARE CONTINUE HANDLER FOR SQLEXCEPTION SET @a:= 'exception';
|
DECLARE CONTINUE HANDLER FOR SQLEXCEPTION SET @a:= 'exception';
|
||||||
INSERT INTO t2 (f2) VALUES (1);
|
INSERT INTO t2 (f2) VALUES (NEW.f1);
|
||||||
DELETE FROM t2 WHERE f2 = 1;
|
DELETE FROM t2 WHERE f2 = NEW.f1;
|
||||||
END;|
|
END;|
|
||||||
|
|
||||||
CREATE PROCEDURE proc24989()
|
CREATE PROCEDURE proc24989()
|
||||||
@ -109,7 +109,7 @@ send insert into t1 values(1);
|
|||||||
|
|
||||||
connection con1;
|
connection con1;
|
||||||
--sleep 1
|
--sleep 1
|
||||||
insert into t1 values(1);
|
insert into t1 values(123);
|
||||||
|
|
||||||
connection con2;
|
connection con2;
|
||||||
--error 1213
|
--error 1213
|
||||||
@ -130,7 +130,7 @@ send call proc24989();
|
|||||||
|
|
||||||
connection con1;
|
connection con1;
|
||||||
--sleep 1
|
--sleep 1
|
||||||
insert into t1 values(1);
|
insert into t1 values(123);
|
||||||
|
|
||||||
connection con2;
|
connection con2;
|
||||||
reap;
|
reap;
|
||||||
@ -150,7 +150,7 @@ send call proc24989_2();
|
|||||||
|
|
||||||
connection con1;
|
connection con1;
|
||||||
--sleep 1
|
--sleep 1
|
||||||
insert into t1 values(1);
|
insert into t1 values(123);
|
||||||
commit;
|
commit;
|
||||||
|
|
||||||
connection con2;
|
connection con2;
|
||||||
|
@ -51,11 +51,12 @@ if (`SELECT '$_status_var_comparsion' = ''`)
|
|||||||
}
|
}
|
||||||
|
|
||||||
let $_show_status_value= query_get_value("SHOW $status_type STATUS LIKE '$status_var'", Value, 1);
|
let $_show_status_value= query_get_value("SHOW $status_type STATUS LIKE '$status_var'", Value, 1);
|
||||||
|
|
||||||
while (`SELECT NOT('$_show_status_value' $_status_var_comparsion '$status_var_value')`)
|
while (`SELECT NOT('$_show_status_value' $_status_var_comparsion '$status_var_value')`)
|
||||||
{
|
{
|
||||||
if (!$_status_timeout_counter)
|
if (!$_status_timeout_counter)
|
||||||
{
|
{
|
||||||
--echo **** ERROR: failed while waiting for $status_type $status_var $_status_var_comparison $status_var_value ****
|
--echo **** ERROR: failed while waiting for '$status_type' '$status_var' $_status_var_comparsion '$status_var_value' ****
|
||||||
--echo Note: the following output may have changed since the failure was detected
|
--echo Note: the following output may have changed since the failure was detected
|
||||||
--echo **** Showing STATUS, PROCESSLIST ****
|
--echo **** Showing STATUS, PROCESSLIST ****
|
||||||
eval SHOW $status_type STATUS LIKE '$status_var';
|
eval SHOW $status_type STATUS LIKE '$status_var';
|
||||||
|
@ -19,7 +19,7 @@ my @pre_rules=
|
|||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
my @share_locations= ("share/mysql", "sql/share", "share");
|
my @share_locations= ("share/mariadb", "share/mysql", "sql/share", "share");
|
||||||
|
|
||||||
|
|
||||||
sub get_basedir {
|
sub get_basedir {
|
||||||
|
@ -490,6 +490,8 @@ sub collect_one_suite($)
|
|||||||
my $lib_innodb_plugin=
|
my $lib_innodb_plugin=
|
||||||
mtr_file_exists(::vs_config_dirs('storage/innodb_plugin', 'ha_innodb_plugin.dll'),
|
mtr_file_exists(::vs_config_dirs('storage/innodb_plugin', 'ha_innodb_plugin.dll'),
|
||||||
"$::basedir/storage/innodb_plugin/.libs/ha_innodb_plugin.so",
|
"$::basedir/storage/innodb_plugin/.libs/ha_innodb_plugin.so",
|
||||||
|
"$::basedir/lib/mariadb/plugin/ha_innodb_plugin.so",
|
||||||
|
"$::basedir/lib/mariadb/plugin/ha_innodb_plugin.dll",
|
||||||
"$::basedir/lib/mysql/plugin/ha_innodb_plugin.so",
|
"$::basedir/lib/mysql/plugin/ha_innodb_plugin.so",
|
||||||
"$::basedir/lib/mysql/plugin/ha_innodb_plugin.dll");
|
"$::basedir/lib/mysql/plugin/ha_innodb_plugin.dll");
|
||||||
if ($::mysql_version_id >= 50100 && !(IS_WINDOWS && $::opt_embedded_server) &&
|
if ($::mysql_version_id >= 50100 && !(IS_WINDOWS && $::opt_embedded_server) &&
|
||||||
@ -1094,6 +1096,17 @@ sub collect_one_test_case {
|
|||||||
$tinfo->{template_path}= $config;
|
$tinfo->{template_path}= $config;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ( $tinfo->{'example_plugin_test'} )
|
||||||
|
{
|
||||||
|
if ( !$ENV{'EXAMPLE_PLUGIN'} )
|
||||||
|
{
|
||||||
|
$tinfo->{'skip'}= 1;
|
||||||
|
$tinfo->{'comment'}= "Test requires the 'example' plugin";
|
||||||
|
return $tinfo;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
# Set extra config file to use
|
# Set extra config file to use
|
||||||
if (defined $defaults_extra_file) {
|
if (defined $defaults_extra_file) {
|
||||||
$tinfo->{extra_template_path}= $defaults_extra_file;
|
$tinfo->{extra_template_path}= $defaults_extra_file;
|
||||||
@ -1146,6 +1159,7 @@ my @tags=
|
|||||||
["federated.inc", "federated_test", 1],
|
["federated.inc", "federated_test", 1],
|
||||||
["include/not_embedded.inc", "not_embedded", 1],
|
["include/not_embedded.inc", "not_embedded", 1],
|
||||||
["include/not_valgrind.inc", "not_valgrind", 1],
|
["include/not_valgrind.inc", "not_valgrind", 1],
|
||||||
|
["include/have_example_plugin.inc", "example_plugin_test", 1]
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
@ -1018,7 +1018,8 @@ sub command_line_setup {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Look for language files and charsetsdir, use same share
|
# Look for language files and charsetsdir, use same share
|
||||||
$path_language= mtr_path_exists("$basedir/share/mysql/english",
|
$path_language= mtr_path_exists("$basedir/share/mariadb/english",
|
||||||
|
"$basedir/share/mysql/english",
|
||||||
"$basedir/sql/share/english",
|
"$basedir/sql/share/english",
|
||||||
"$basedir/share/english");
|
"$basedir/share/english");
|
||||||
|
|
||||||
@ -1887,6 +1888,7 @@ sub environment_setup {
|
|||||||
my $lib_udf_example=
|
my $lib_udf_example=
|
||||||
mtr_file_exists(vs_config_dirs('sql', 'udf_example.dll'),
|
mtr_file_exists(vs_config_dirs('sql', 'udf_example.dll'),
|
||||||
"$basedir/sql/.libs/udf_example.so",
|
"$basedir/sql/.libs/udf_example.so",
|
||||||
|
"$basedir/lib/mariadb/plugin/udf_example.so",
|
||||||
"$basedir/lib/mysql/plugin/udf_example.so",);
|
"$basedir/lib/mysql/plugin/udf_example.so",);
|
||||||
|
|
||||||
if ( $lib_udf_example )
|
if ( $lib_udf_example )
|
||||||
@ -1915,6 +1917,7 @@ sub environment_setup {
|
|||||||
my $lib_example_plugin=
|
my $lib_example_plugin=
|
||||||
mtr_file_exists(vs_config_dirs('storage/example',$plugin_filename),
|
mtr_file_exists(vs_config_dirs('storage/example',$plugin_filename),
|
||||||
"$basedir/storage/example/.libs/".$plugin_filename,
|
"$basedir/storage/example/.libs/".$plugin_filename,
|
||||||
|
"$basedir/lib/mariadb/plugin/".$plugin_filename,
|
||||||
"$basedir/lib/mysql/plugin/".$plugin_filename);
|
"$basedir/lib/mysql/plugin/".$plugin_filename);
|
||||||
$ENV{'EXAMPLE_PLUGIN'}=
|
$ENV{'EXAMPLE_PLUGIN'}=
|
||||||
($lib_example_plugin ? basename($lib_example_plugin) : "");
|
($lib_example_plugin ? basename($lib_example_plugin) : "");
|
||||||
@ -1931,6 +1934,7 @@ sub environment_setup {
|
|||||||
my $lib_simple_parser=
|
my $lib_simple_parser=
|
||||||
mtr_file_exists(vs_config_dirs('plugin/fulltext', 'mypluglib.dll'),
|
mtr_file_exists(vs_config_dirs('plugin/fulltext', 'mypluglib.dll'),
|
||||||
"$basedir/plugin/fulltext/.libs/mypluglib.so",
|
"$basedir/plugin/fulltext/.libs/mypluglib.so",
|
||||||
|
"$basedir/lib/mariadb/plugin/mypluglib.so",
|
||||||
"$basedir/lib/mysql/plugin/mypluglib.so",);
|
"$basedir/lib/mysql/plugin/mypluglib.so",);
|
||||||
|
|
||||||
$ENV{'SIMPLE_PARSER'}=
|
$ENV{'SIMPLE_PARSER'}=
|
||||||
@ -2074,6 +2078,7 @@ sub environment_setup {
|
|||||||
my $file_mysql_fix_privilege_tables=
|
my $file_mysql_fix_privilege_tables=
|
||||||
mtr_file_exists("$basedir/scripts/mysql_fix_privilege_tables.sql",
|
mtr_file_exists("$basedir/scripts/mysql_fix_privilege_tables.sql",
|
||||||
"$basedir/share/mysql_fix_privilege_tables.sql",
|
"$basedir/share/mysql_fix_privilege_tables.sql",
|
||||||
|
"$basedir/share/mariadb/mysql_fix_privilege_tables.sql",
|
||||||
"$basedir/share/mysql/mysql_fix_privilege_tables.sql");
|
"$basedir/share/mysql/mysql_fix_privilege_tables.sql");
|
||||||
$ENV{'MYSQL_FIX_PRIVILEGE_TABLES'}= $file_mysql_fix_privilege_tables;
|
$ENV{'MYSQL_FIX_PRIVILEGE_TABLES'}= $file_mysql_fix_privilege_tables;
|
||||||
|
|
||||||
@ -2826,7 +2831,7 @@ sub mysql_install_db {
|
|||||||
mtr_add_arg($args, "--basedir=%s", $install_basedir);
|
mtr_add_arg($args, "--basedir=%s", $install_basedir);
|
||||||
mtr_add_arg($args, "--datadir=%s", $install_datadir);
|
mtr_add_arg($args, "--datadir=%s", $install_datadir);
|
||||||
mtr_add_arg($args, "--loose-skip-innodb");
|
mtr_add_arg($args, "--loose-skip-innodb");
|
||||||
mtr_add_arg($args, "--loose-skip-falcon");
|
mtr_add_arg($args, "--loose-skip-pbxt");
|
||||||
mtr_add_arg($args, "--loose-skip-ndbcluster");
|
mtr_add_arg($args, "--loose-skip-ndbcluster");
|
||||||
mtr_add_arg($args, "--loose-skip-maria");
|
mtr_add_arg($args, "--loose-skip-maria");
|
||||||
mtr_add_arg($args, "--disable-sync-frm");
|
mtr_add_arg($args, "--disable-sync-frm");
|
||||||
@ -2870,8 +2875,8 @@ sub mysql_install_db {
|
|||||||
my $bootstrap_sql_file= "$opt_vardir/tmp/bootstrap.sql";
|
my $bootstrap_sql_file= "$opt_vardir/tmp/bootstrap.sql";
|
||||||
|
|
||||||
my $path_sql= my_find_file($install_basedir,
|
my $path_sql= my_find_file($install_basedir,
|
||||||
["mysql", "sql/share", "share/mysql",
|
["mysql", "sql/share", "share/mariadb",
|
||||||
"share", "scripts"],
|
"share/mysql", "share", "scripts"],
|
||||||
"mysql_system_tables.sql",
|
"mysql_system_tables.sql",
|
||||||
NOT_REQUIRED);
|
NOT_REQUIRED);
|
||||||
|
|
||||||
|
40
mysql-test/r/mysqltest_ps.result
Normal file
40
mysql-test/r/mysqltest_ps.result
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
select 1 + "2 a";
|
||||||
|
1 + "2 a"
|
||||||
|
3
|
||||||
|
Warnings:
|
||||||
|
Warning 1292 Truncated incorrect DOUBLE value: '2 a'
|
||||||
|
create table t (a int primary key, b blob default '');
|
||||||
|
Warnings:
|
||||||
|
Warning 1101 BLOB/TEXT column 'b' can't have a default value
|
||||||
|
select a, (2*a) AS a from t group by a;
|
||||||
|
a a
|
||||||
|
Warnings:
|
||||||
|
Warning 1052 Column 'a' in group statement is ambiguous
|
||||||
|
drop table t;
|
||||||
|
select 1 + "2 a";
|
||||||
|
1 + "2 a"
|
||||||
|
3
|
||||||
|
Warnings:
|
||||||
|
Warning 1292 Truncated incorrect DOUBLE value: '2 a'
|
||||||
|
create table t (a int primary key, b blob default '');
|
||||||
|
Warnings:
|
||||||
|
Warning 1101 BLOB/TEXT column 'b' can't have a default value
|
||||||
|
select a, (2*a) AS a from t group by a;
|
||||||
|
a a
|
||||||
|
Warnings:
|
||||||
|
Warning 1052 Column 'a' in group statement is ambiguous
|
||||||
|
Warning 1052 Column 'a' in group statement is ambiguous
|
||||||
|
drop table t;
|
||||||
|
select 1 + "2 a";
|
||||||
|
1 + "2 a"
|
||||||
|
3
|
||||||
|
Warnings:
|
||||||
|
Warning 1292 Truncated incorrect DOUBLE value: '2 a'
|
||||||
|
create table t (a int primary key, b blob default '');
|
||||||
|
Warnings:
|
||||||
|
Warning 1101 BLOB/TEXT column 'b' can't have a default value
|
||||||
|
select a, (2*a) AS a from t group by a;
|
||||||
|
a a
|
||||||
|
Warnings:
|
||||||
|
Warning 1052 Column 'a' in group statement is ambiguous
|
||||||
|
drop table t;
|
@ -40,8 +40,8 @@ ON t1 FOR EACH ROW
|
|||||||
BEGIN
|
BEGIN
|
||||||
DECLARE CONTINUE HANDLER FOR SQLSTATE '40001' SET @a:= 'deadlock';
|
DECLARE CONTINUE HANDLER FOR SQLSTATE '40001' SET @a:= 'deadlock';
|
||||||
DECLARE CONTINUE HANDLER FOR SQLEXCEPTION SET @a:= 'exception';
|
DECLARE CONTINUE HANDLER FOR SQLEXCEPTION SET @a:= 'exception';
|
||||||
INSERT INTO t2 (f2) VALUES (1);
|
INSERT INTO t2 (f2) VALUES (NEW.f1);
|
||||||
DELETE FROM t2 WHERE f2 = 1;
|
DELETE FROM t2 WHERE f2 = NEW.f1;
|
||||||
END;|
|
END;|
|
||||||
CREATE PROCEDURE proc24989()
|
CREATE PROCEDURE proc24989()
|
||||||
BEGIN
|
BEGIN
|
||||||
@ -63,7 +63,7 @@ insert into t1 values(1);
|
|||||||
start transaction;
|
start transaction;
|
||||||
insert into t2 values(123);
|
insert into t2 values(123);
|
||||||
insert into t1 values(1);
|
insert into t1 values(1);
|
||||||
insert into t1 values(1);
|
insert into t1 values(123);
|
||||||
ERROR 40001: Deadlock found when trying to get lock; try restarting transaction
|
ERROR 40001: Deadlock found when trying to get lock; try restarting transaction
|
||||||
select @a;
|
select @a;
|
||||||
@a
|
@a
|
||||||
@ -76,7 +76,7 @@ insert into t1 values(1);
|
|||||||
start transaction;
|
start transaction;
|
||||||
insert into t2 values(123);
|
insert into t2 values(123);
|
||||||
call proc24989();
|
call proc24989();
|
||||||
insert into t1 values(1);
|
insert into t1 values(123);
|
||||||
select @a,@b;
|
select @a,@b;
|
||||||
@a @b
|
@a @b
|
||||||
exception deadlock
|
exception deadlock
|
||||||
@ -88,7 +88,7 @@ insert into t1 values(1);
|
|||||||
start transaction;
|
start transaction;
|
||||||
insert into t2 values(123);
|
insert into t2 values(123);
|
||||||
call proc24989_2();
|
call proc24989_2();
|
||||||
insert into t1 values(1);
|
insert into t1 values(123);
|
||||||
commit;
|
commit;
|
||||||
exception
|
exception
|
||||||
Outer handler
|
Outer handler
|
||||||
|
@ -66,7 +66,7 @@
|
|||||||
let $table= processlist;
|
let $table= processlist;
|
||||||
#
|
#
|
||||||
# columns of the information_schema table e.g. to use in a select.
|
# columns of the information_schema table e.g. to use in a select.
|
||||||
let $columns= ID, USER, HOST, DB, COMMAND, TIME, STATE, INFO;
|
let $columns= ID, USER, HOST, DB, COMMAND, TIME, STATE, INFO, TIME_MS;
|
||||||
#
|
#
|
||||||
# Where clause for an update.
|
# Where clause for an update.
|
||||||
let $update_where= WHERE id=1 ;
|
let $update_where= WHERE id=1 ;
|
||||||
@ -137,11 +137,11 @@ WHERE DB = 'information_schema' AND COMMAND = 'Sleep' AND USER = 'ddicttestuser1
|
|||||||
--source include/wait_condition.inc
|
--source include/wait_condition.inc
|
||||||
--replace_result ENGINE=MyISAM "" ENGINE=MARIA "" " PAGE_CHECKSUM=1" "" " PAGE_CHECKSUM=0" ""
|
--replace_result ENGINE=MyISAM "" ENGINE=MARIA "" " PAGE_CHECKSUM=1" "" " PAGE_CHECKSUM=0" ""
|
||||||
eval SHOW CREATE TABLE $table;
|
eval SHOW CREATE TABLE $table;
|
||||||
--replace_column 1 ID 3 HOST_NAME 6 TIME
|
--replace_column 1 ID 3 HOST_NAME 6 TIME 9 TIME_MS
|
||||||
eval SHOW $table;
|
eval SHOW $table;
|
||||||
--replace_column 1 ID 3 HOST_NAME 6 TIME
|
--replace_column 1 ID 3 HOST_NAME 6 TIME 9 TIME_MS
|
||||||
eval SELECT * FROM $table $select_where ORDER BY id;
|
eval SELECT * FROM $table $select_where ORDER BY id;
|
||||||
--replace_column 1 ID 3 HOST_NAME 6 TIME
|
--replace_column 1 ID 3 HOST_NAME 6 TIME 9 TIME_MS
|
||||||
eval SELECT $columns FROM $table $select_where ORDER BY id;
|
eval SELECT $columns FROM $table $select_where ORDER BY id;
|
||||||
--source suite/funcs_1/datadict/datadict_priv.inc
|
--source suite/funcs_1/datadict/datadict_priv.inc
|
||||||
--real_sleep 0.3
|
--real_sleep 0.3
|
||||||
@ -157,11 +157,11 @@ connection con100;
|
|||||||
# but "ddicttestuser1" must not see anything of the root session.
|
# but "ddicttestuser1" must not see anything of the root session.
|
||||||
--replace_result ENGINE=MyISAM "" ENGINE=MARIA "" " PAGE_CHECKSUM=1" "" " PAGE_CHECKSUM=0" ""
|
--replace_result ENGINE=MyISAM "" ENGINE=MARIA "" " PAGE_CHECKSUM=1" "" " PAGE_CHECKSUM=0" ""
|
||||||
eval SHOW CREATE TABLE $table;
|
eval SHOW CREATE TABLE $table;
|
||||||
--replace_column 1 ID 3 HOST_NAME 6 TIME
|
--replace_column 1 ID 3 HOST_NAME 6 TIME 9 TIME_MS
|
||||||
eval SHOW $table;
|
eval SHOW $table;
|
||||||
--replace_column 1 ID 3 HOST_NAME 6 TIME
|
--replace_column 1 ID 3 HOST_NAME 6 TIME 9 TIME_MS
|
||||||
eval SELECT * FROM $table $select_where ORDER BY id;
|
eval SELECT * FROM $table $select_where ORDER BY id;
|
||||||
--replace_column 1 ID 3 HOST_NAME 6 TIME
|
--replace_column 1 ID 3 HOST_NAME 6 TIME 9 TIME_MS
|
||||||
eval SELECT $columns FROM $table $select_where ORDER BY id;
|
eval SELECT $columns FROM $table $select_where ORDER BY id;
|
||||||
--source suite/funcs_1/datadict/datadict_priv.inc
|
--source suite/funcs_1/datadict/datadict_priv.inc
|
||||||
--real_sleep 0.3
|
--real_sleep 0.3
|
||||||
@ -183,9 +183,9 @@ GRANT PROCESS ON *.* TO ddicttestuser1@'localhost' IDENTIFIED BY 'ddictpass';
|
|||||||
--echo ####################################################################################
|
--echo ####################################################################################
|
||||||
connection con100;
|
connection con100;
|
||||||
SHOW GRANTS;
|
SHOW GRANTS;
|
||||||
--replace_column 1 ID 3 HOST_NAME 6 TIME
|
--replace_column 1 ID 3 HOST_NAME 6 TIME 9 TIME_MS
|
||||||
SHOW processlist;
|
SHOW processlist;
|
||||||
--replace_column 1 ID 3 HOST_NAME 6 TIME
|
--replace_column 1 ID 3 HOST_NAME 6 TIME 9 TIME_MS
|
||||||
SELECT * FROM information_schema.processlist;
|
SELECT * FROM information_schema.processlist;
|
||||||
--real_sleep 0.3
|
--real_sleep 0.3
|
||||||
|
|
||||||
@ -195,9 +195,9 @@ SELECT * FROM information_schema.processlist;
|
|||||||
--echo ####################################################################################
|
--echo ####################################################################################
|
||||||
connect (con101,localhost,ddicttestuser1,ddictpass,information_schema);
|
connect (con101,localhost,ddicttestuser1,ddictpass,information_schema);
|
||||||
SHOW GRANTS;
|
SHOW GRANTS;
|
||||||
--replace_column 1 ID 3 HOST_NAME 6 TIME
|
--replace_column 1 ID 3 HOST_NAME 6 TIME 9 TIME_MS
|
||||||
SHOW processlist;
|
SHOW processlist;
|
||||||
--replace_column 1 ID 3 HOST_NAME 6 TIME
|
--replace_column 1 ID 3 HOST_NAME 6 TIME 9 TIME_MS
|
||||||
SELECT * FROM information_schema.processlist;
|
SELECT * FROM information_schema.processlist;
|
||||||
--real_sleep 0.3
|
--real_sleep 0.3
|
||||||
|
|
||||||
@ -217,9 +217,9 @@ GRANT PROCESS ON *.* TO ''@'localhost';
|
|||||||
--echo ####################################################################################
|
--echo ####################################################################################
|
||||||
connect (anonymous1,localhost,"''",,information_schema);
|
connect (anonymous1,localhost,"''",,information_schema);
|
||||||
SHOW GRANTS;
|
SHOW GRANTS;
|
||||||
--replace_column 1 ID 3 HOST_NAME 6 TIME
|
--replace_column 1 ID 3 HOST_NAME 6 TIME 9 TIME_MS
|
||||||
SHOW processlist;
|
SHOW processlist;
|
||||||
--replace_column 1 ID 3 HOST_NAME 6 TIME
|
--replace_column 1 ID 3 HOST_NAME 6 TIME 9 TIME_MS
|
||||||
SELECT * FROM information_schema.processlist;
|
SELECT * FROM information_schema.processlist;
|
||||||
--real_sleep 0.3
|
--real_sleep 0.3
|
||||||
|
|
||||||
@ -239,9 +239,9 @@ connect (con102,localhost,ddicttestuser1,ddictpass,information_schema);
|
|||||||
--echo ddicttestuser1 are visible.
|
--echo ddicttestuser1 are visible.
|
||||||
--echo ####################################################################################
|
--echo ####################################################################################
|
||||||
SHOW GRANTS;
|
SHOW GRANTS;
|
||||||
--replace_column 1 ID 3 HOST_NAME 6 TIME
|
--replace_column 1 ID 3 HOST_NAME 6 TIME 9 TIME_MS
|
||||||
SHOW processlist;
|
SHOW processlist;
|
||||||
--replace_column 1 ID 3 HOST_NAME 6 TIME
|
--replace_column 1 ID 3 HOST_NAME 6 TIME 9 TIME_MS
|
||||||
SELECT * FROM information_schema.processlist;
|
SELECT * FROM information_schema.processlist;
|
||||||
--real_sleep 0.3
|
--real_sleep 0.3
|
||||||
|
|
||||||
@ -264,10 +264,10 @@ SHOW GRANTS FOR ''@'localhost';
|
|||||||
if ($fixed_bug_30395)
|
if ($fixed_bug_30395)
|
||||||
{
|
{
|
||||||
# Bug#30395 strange results after REVOKE PROCESS ON *.* FROM ...
|
# Bug#30395 strange results after REVOKE PROCESS ON *.* FROM ...
|
||||||
--replace_column 1 ID 3 HOST_NAME 6 TIME
|
--replace_column 1 ID 3 HOST_NAME 6 TIME 9 TIME_MS
|
||||||
SHOW processlist;
|
SHOW processlist;
|
||||||
}
|
}
|
||||||
--replace_column 1 ID 3 HOST_NAME 6 TIME
|
--replace_column 1 ID 3 HOST_NAME 6 TIME 9 TIME_MS
|
||||||
SELECT * FROM information_schema.processlist;
|
SELECT * FROM information_schema.processlist;
|
||||||
--real_sleep 0.3
|
--real_sleep 0.3
|
||||||
|
|
||||||
@ -286,9 +286,9 @@ connect (con103,localhost,ddicttestuser1,ddictpass,information_schema);
|
|||||||
--echo Only the processes of ddicttestuser1 user are visible.
|
--echo Only the processes of ddicttestuser1 user are visible.
|
||||||
--echo ####################################################################################
|
--echo ####################################################################################
|
||||||
SHOW GRANTS FOR 'ddicttestuser1'@'localhost';
|
SHOW GRANTS FOR 'ddicttestuser1'@'localhost';
|
||||||
--replace_column 1 ID 3 HOST_NAME 6 TIME
|
--replace_column 1 ID 3 HOST_NAME 6 TIME 9 TIME_MS
|
||||||
SHOW processlist;
|
SHOW processlist;
|
||||||
--replace_column 1 ID 3 HOST_NAME 6 TIME
|
--replace_column 1 ID 3 HOST_NAME 6 TIME 9 TIME_MS
|
||||||
SELECT * FROM information_schema.processlist;
|
SELECT * FROM information_schema.processlist;
|
||||||
--real_sleep 0.3
|
--real_sleep 0.3
|
||||||
|
|
||||||
@ -308,9 +308,9 @@ connect (con104,localhost,ddicttestuser1,ddictpass,information_schema);
|
|||||||
--echo Only the processes of ddicttestuser1 are visible.
|
--echo Only the processes of ddicttestuser1 are visible.
|
||||||
--echo ####################################################################################
|
--echo ####################################################################################
|
||||||
SHOW GRANTS FOR 'ddicttestuser1'@'localhost';
|
SHOW GRANTS FOR 'ddicttestuser1'@'localhost';
|
||||||
--replace_column 1 ID 3 HOST_NAME 6 TIME
|
--replace_column 1 ID 3 HOST_NAME 6 TIME 9 TIME_MS
|
||||||
SHOW processlist;
|
SHOW processlist;
|
||||||
--replace_column 1 ID 3 HOST_NAME 6 TIME
|
--replace_column 1 ID 3 HOST_NAME 6 TIME 9 TIME_MS
|
||||||
SELECT * FROM information_schema.processlist;
|
SELECT * FROM information_schema.processlist;
|
||||||
--real_sleep 0.3
|
--real_sleep 0.3
|
||||||
|
|
||||||
@ -355,9 +355,9 @@ connect (con200,localhost,ddicttestuser2,ddictpass,information_schema);
|
|||||||
--echo ddicttestuser2 has now the PROCESS privilege and sees all connections
|
--echo ddicttestuser2 has now the PROCESS privilege and sees all connections
|
||||||
--echo ####################################################################################
|
--echo ####################################################################################
|
||||||
SHOW GRANTS FOR 'ddicttestuser2'@'localhost';
|
SHOW GRANTS FOR 'ddicttestuser2'@'localhost';
|
||||||
--replace_column 1 ID 3 HOST_NAME 6 TIME
|
--replace_column 1 ID 3 HOST_NAME 6 TIME 9 TIME_MS
|
||||||
SHOW processlist;
|
SHOW processlist;
|
||||||
--replace_column 1 ID 3 HOST_NAME 6 TIME
|
--replace_column 1 ID 3 HOST_NAME 6 TIME 9 TIME_MS
|
||||||
SELECT * FROM information_schema.processlist;
|
SELECT * FROM information_schema.processlist;
|
||||||
--real_sleep 0.3
|
--real_sleep 0.3
|
||||||
|
|
||||||
@ -376,9 +376,9 @@ connect (con201,localhost,ddicttestuser2,ddictpass,information_schema);
|
|||||||
--echo ddicttestuser2 has no more the PROCESS privilege and can only see own connects
|
--echo ddicttestuser2 has no more the PROCESS privilege and can only see own connects
|
||||||
--echo ####################################################################################
|
--echo ####################################################################################
|
||||||
SHOW GRANTS;
|
SHOW GRANTS;
|
||||||
--replace_column 1 ID 3 HOST_NAME 6 TIME
|
--replace_column 1 ID 3 HOST_NAME 6 TIME 9 TIME_MS
|
||||||
SHOW processlist;
|
SHOW processlist;
|
||||||
--replace_column 1 ID 3 HOST_NAME 6 TIME
|
--replace_column 1 ID 3 HOST_NAME 6 TIME 9 TIME_MS
|
||||||
SELECT * FROM information_schema.processlist;
|
SELECT * FROM information_schema.processlist;
|
||||||
--real_sleep 0.3
|
--real_sleep 0.3
|
||||||
|
|
||||||
@ -399,9 +399,9 @@ connect (con107,localhost,ddicttestuser1,ddictpass,information_schema);
|
|||||||
SHOW GRANTS FOR 'ddicttestuser1'@'localhost';
|
SHOW GRANTS FOR 'ddicttestuser1'@'localhost';
|
||||||
--error ER_ACCESS_DENIED_ERROR
|
--error ER_ACCESS_DENIED_ERROR
|
||||||
GRANT PROCESS ON *.* TO 'ddicttestuser2'@'localhost';
|
GRANT PROCESS ON *.* TO 'ddicttestuser2'@'localhost';
|
||||||
--replace_column 1 ID 3 HOST_NAME 6 TIME
|
--replace_column 1 ID 3 HOST_NAME 6 TIME 9 TIME_MS
|
||||||
SHOW processlist;
|
SHOW processlist;
|
||||||
--replace_column 1 ID 3 HOST_NAME 6 TIME
|
--replace_column 1 ID 3 HOST_NAME 6 TIME 9 TIME_MS
|
||||||
SELECT * FROM information_schema.processlist;
|
SELECT * FROM information_schema.processlist;
|
||||||
--real_sleep 0.3
|
--real_sleep 0.3
|
||||||
|
|
||||||
@ -423,9 +423,9 @@ connect (con108,localhost,ddicttestuser1,ddictpass,information_schema);
|
|||||||
--echo Therefore the missing SELECT privilege does not affect SELECTs on PROCESSLIST.
|
--echo Therefore the missing SELECT privilege does not affect SELECTs on PROCESSLIST.
|
||||||
--echo ####################################################################################
|
--echo ####################################################################################
|
||||||
SHOW GRANTS FOR 'ddicttestuser1'@'localhost';
|
SHOW GRANTS FOR 'ddicttestuser1'@'localhost';
|
||||||
--replace_column 1 ID 3 HOST_NAME 6 TIME
|
--replace_column 1 ID 3 HOST_NAME 6 TIME 9 TIME_MS
|
||||||
SHOW processlist;
|
SHOW processlist;
|
||||||
--replace_column 1 ID 3 HOST_NAME 6 TIME
|
--replace_column 1 ID 3 HOST_NAME 6 TIME 9 TIME_MS
|
||||||
SELECT * FROM information_schema.processlist;
|
SELECT * FROM information_schema.processlist;
|
||||||
--real_sleep 0.3
|
--real_sleep 0.3
|
||||||
|
|
||||||
|
@ -93,9 +93,9 @@ echo
|
|||||||
# - INFO must contain the corresponding SHOW/SELECT PROCESSLIST
|
# - INFO must contain the corresponding SHOW/SELECT PROCESSLIST
|
||||||
#
|
#
|
||||||
# 1. Just dump what we get
|
# 1. Just dump what we get
|
||||||
--replace_column 1 <ID> 3 <HOST_NAME> 6 <TIME>
|
--replace_column 1 <ID> 3 <HOST_NAME> 6 <TIME> 9 <TIME_MS>
|
||||||
SELECT * FROM INFORMATION_SCHEMA.PROCESSLIST;
|
SELECT * FROM INFORMATION_SCHEMA.PROCESSLIST;
|
||||||
--replace_column 1 <ID> 3 <HOST_NAME> 6 <TIME>
|
--replace_column 1 <ID> 3 <HOST_NAME> 6 <TIME> 9 <TIME_MS>
|
||||||
SHOW FULL PROCESSLIST;
|
SHOW FULL PROCESSLIST;
|
||||||
#
|
#
|
||||||
# Determine the connection id of the current connection (default)
|
# Determine the connection id of the current connection (default)
|
||||||
@ -129,7 +129,7 @@ SELECT @my_info = '$my_statement'
|
|||||||
# 6. TIME must have a reasonable value
|
# 6. TIME must have a reasonable value
|
||||||
SELECT COUNT(*) = 1 AS "Has TIME a reasonable value?"
|
SELECT COUNT(*) = 1 AS "Has TIME a reasonable value?"
|
||||||
FROM INFORMATION_SCHEMA.PROCESSLIST
|
FROM INFORMATION_SCHEMA.PROCESSLIST
|
||||||
WHERE ID = @default_id AND 0 <= TIME < 10;
|
WHERE ID = @default_id AND 0 <= TIME < 10 AND 0 <= TIME_MS < 10000;
|
||||||
|
|
||||||
|
|
||||||
echo
|
echo
|
||||||
@ -166,7 +166,7 @@ let $wait_condition= SELECT COUNT(*) = 1 FROM INFORMATION_SCHEMA.PROCESSLIST
|
|||||||
WHERE COMMAND = 'Sleep' AND USER = 'test_user';
|
WHERE COMMAND = 'Sleep' AND USER = 'test_user';
|
||||||
--source include/wait_condition.inc
|
--source include/wait_condition.inc
|
||||||
# 1. Just dump what we get
|
# 1. Just dump what we get
|
||||||
--replace_column 1 <ID> 3 <HOST_NAME> 6 <TIME>
|
--replace_column 1 <ID> 3 <HOST_NAME> 6 <TIME> 9 <TIME_MS>
|
||||||
SELECT * FROM INFORMATION_SCHEMA.PROCESSLIST;
|
SELECT * FROM INFORMATION_SCHEMA.PROCESSLIST;
|
||||||
--replace_column 1 <ID> 3 <HOST_NAME> 6 <TIME>
|
--replace_column 1 <ID> 3 <HOST_NAME> 6 <TIME>
|
||||||
SHOW FULL PROCESSLIST;
|
SHOW FULL PROCESSLIST;
|
||||||
@ -211,7 +211,7 @@ echo
|
|||||||
# ----- switch to connection con1 (user = test_user) -----
|
# ----- switch to connection con1 (user = test_user) -----
|
||||||
;
|
;
|
||||||
connection con1;
|
connection con1;
|
||||||
--replace_column 1 <ID> 3 <HOST_NAME> 6 <TIME>
|
--replace_column 1 <ID> 3 <HOST_NAME> 6 <TIME> 9 <TIME_MS>
|
||||||
SELECT * FROM INFORMATION_SCHEMA.PROCESSLIST;
|
SELECT * FROM INFORMATION_SCHEMA.PROCESSLIST;
|
||||||
--replace_column 1 <ID> 3 <HOST_NAME> 6 <TIME>
|
--replace_column 1 <ID> 3 <HOST_NAME> 6 <TIME>
|
||||||
SHOW FULL PROCESSLIST;
|
SHOW FULL PROCESSLIST;
|
||||||
@ -245,7 +245,7 @@ echo
|
|||||||
;
|
;
|
||||||
connection con2;
|
connection con2;
|
||||||
# Just dump what we get
|
# Just dump what we get
|
||||||
--replace_column 1 <ID> 3 <HOST_NAME> 6 <TIME>
|
--replace_column 1 <ID> 3 <HOST_NAME> 6 <TIME> 9 <TIME_MS>
|
||||||
SELECT * FROM INFORMATION_SCHEMA.PROCESSLIST;
|
SELECT * FROM INFORMATION_SCHEMA.PROCESSLIST;
|
||||||
--replace_column 1 <ID> 3 <HOST_NAME> 6 <TIME>
|
--replace_column 1 <ID> 3 <HOST_NAME> 6 <TIME>
|
||||||
SHOW FULL PROCESSLIST;
|
SHOW FULL PROCESSLIST;
|
||||||
@ -305,7 +305,7 @@ WHERE ID = @test_user_con2_id AND Command IN('Query','Execute')
|
|||||||
AND State = 'User sleep' AND INFO IS NOT NULL ;
|
AND State = 'User sleep' AND INFO IS NOT NULL ;
|
||||||
--source include/wait_condition.inc
|
--source include/wait_condition.inc
|
||||||
# 1. Just dump what we get
|
# 1. Just dump what we get
|
||||||
--replace_column 1 <ID> 3 <HOST_NAME> 6 <TIME>
|
--replace_column 1 <ID> 3 <HOST_NAME> 6 <TIME> 9 <TIME_MS>
|
||||||
SELECT * FROM INFORMATION_SCHEMA.PROCESSLIST;
|
SELECT * FROM INFORMATION_SCHEMA.PROCESSLIST;
|
||||||
--replace_column 1 <ID> 3 <HOST_NAME> 6 <TIME>
|
--replace_column 1 <ID> 3 <HOST_NAME> 6 <TIME>
|
||||||
SHOW FULL PROCESSLIST;
|
SHOW FULL PROCESSLIST;
|
||||||
@ -376,7 +376,7 @@ let $wait_condition= SELECT COUNT(*) FROM INFORMATION_SCHEMA.PROCESSLIST
|
|||||||
#
|
#
|
||||||
# Expect to see the state 'Locked' for the third connection because the SELECT
|
# Expect to see the state 'Locked' for the third connection because the SELECT
|
||||||
# collides with the WRITE TABLE LOCK.
|
# collides with the WRITE TABLE LOCK.
|
||||||
--replace_column 1 <ID> 3 <HOST_NAME> 6 <TIME>
|
--replace_column 1 <ID> 3 <HOST_NAME> 6 <TIME> 9 <TIME_MS>
|
||||||
SELECT * FROM INFORMATION_SCHEMA.PROCESSLIST;
|
SELECT * FROM INFORMATION_SCHEMA.PROCESSLIST;
|
||||||
UNLOCK TABLES;
|
UNLOCK TABLES;
|
||||||
#
|
#
|
||||||
@ -435,7 +435,7 @@ echo
|
|||||||
# SHOW FULL PROCESSLIST Complete statement
|
# SHOW FULL PROCESSLIST Complete statement
|
||||||
# SHOW PROCESSLIST statement truncated after 100 char
|
# SHOW PROCESSLIST statement truncated after 100 char
|
||||||
;
|
;
|
||||||
--replace_column 1 <ID> 3 <HOST_NAME> 5 <COMMAND> 6 <TIME> 7 <STATE>
|
--replace_column 1 <ID> 3 <HOST_NAME> 5 <COMMAND> 6 <TIME> 7 <STATE> 9 <TIME_MS>
|
||||||
SELECT * FROM INFORMATION_SCHEMA.PROCESSLIST;
|
SELECT * FROM INFORMATION_SCHEMA.PROCESSLIST;
|
||||||
--replace_column 1 <ID> 3 <HOST_NAME> 5 <COMMAND> 6 <TIME> 7 <STATE>
|
--replace_column 1 <ID> 3 <HOST_NAME> 5 <COMMAND> 6 <TIME> 7 <STATE>
|
||||||
SHOW FULL PROCESSLIST;
|
SHOW FULL PROCESSLIST;
|
||||||
|
@ -113,6 +113,96 @@ NULL information_schema GLOBAL_STATUS VARIABLE_NAME 1 NO varchar 64 192 NULL NU
|
|||||||
NULL information_schema GLOBAL_STATUS VARIABLE_VALUE 2 NULL YES varchar 1024 3072 NULL NULL utf8 utf8_general_ci varchar(1024) select
|
NULL information_schema GLOBAL_STATUS VARIABLE_VALUE 2 NULL YES varchar 1024 3072 NULL NULL utf8 utf8_general_ci varchar(1024) select
|
||||||
NULL information_schema GLOBAL_VARIABLES VARIABLE_NAME 1 NO varchar 64 192 NULL NULL utf8 utf8_general_ci varchar(64) select
|
NULL information_schema GLOBAL_VARIABLES VARIABLE_NAME 1 NO varchar 64 192 NULL NULL utf8 utf8_general_ci varchar(64) select
|
||||||
NULL information_schema GLOBAL_VARIABLES VARIABLE_VALUE 2 NULL YES varchar 1024 3072 NULL NULL utf8 utf8_general_ci varchar(1024) select
|
NULL information_schema GLOBAL_VARIABLES VARIABLE_VALUE 2 NULL YES varchar 1024 3072 NULL NULL utf8 utf8_general_ci varchar(1024) select
|
||||||
|
NULL information_schema INNODB_BUFFER_POOL_PAGES fix_count 5 0 NO bigint NULL NULL 19 0 NULL NULL bigint(21) unsigned select
|
||||||
|
NULL information_schema INNODB_BUFFER_POOL_PAGES flush_type 6 0 NO bigint NULL NULL 19 0 NULL NULL bigint(21) unsigned select
|
||||||
|
NULL information_schema INNODB_BUFFER_POOL_PAGES lru_position 4 0 NO bigint NULL NULL 19 0 NULL NULL bigint(21) unsigned select
|
||||||
|
NULL information_schema INNODB_BUFFER_POOL_PAGES page_no 3 0 NO bigint NULL NULL 19 0 NULL NULL bigint(21) unsigned select
|
||||||
|
NULL information_schema INNODB_BUFFER_POOL_PAGES page_type 1 NULL YES varchar 64 192 NULL NULL utf8 utf8_general_ci varchar(64) select
|
||||||
|
NULL information_schema INNODB_BUFFER_POOL_PAGES space_id 2 0 NO bigint NULL NULL 19 0 NULL NULL bigint(21) unsigned select
|
||||||
|
NULL information_schema INNODB_BUFFER_POOL_PAGES_BLOB compressed 3 0 NO bigint NULL NULL 19 0 NULL NULL bigint(21) unsigned select
|
||||||
|
NULL information_schema INNODB_BUFFER_POOL_PAGES_BLOB fix_count 7 0 NO bigint NULL NULL 19 0 NULL NULL bigint(21) unsigned select
|
||||||
|
NULL information_schema INNODB_BUFFER_POOL_PAGES_BLOB flush_type 8 0 NO bigint NULL NULL 19 0 NULL NULL bigint(21) unsigned select
|
||||||
|
NULL information_schema INNODB_BUFFER_POOL_PAGES_BLOB lru_position 6 0 NO bigint NULL NULL 19 0 NULL NULL bigint(21) unsigned select
|
||||||
|
NULL information_schema INNODB_BUFFER_POOL_PAGES_BLOB next_page_no 5 0 NO bigint NULL NULL 19 0 NULL NULL bigint(21) unsigned select
|
||||||
|
NULL information_schema INNODB_BUFFER_POOL_PAGES_BLOB page_no 2 0 NO bigint NULL NULL 19 0 NULL NULL bigint(21) unsigned select
|
||||||
|
NULL information_schema INNODB_BUFFER_POOL_PAGES_BLOB part_len 4 0 NO bigint NULL NULL 19 0 NULL NULL bigint(21) unsigned select
|
||||||
|
NULL information_schema INNODB_BUFFER_POOL_PAGES_BLOB space_id 1 0 NO bigint NULL NULL 19 0 NULL NULL bigint(21) unsigned select
|
||||||
|
NULL information_schema INNODB_BUFFER_POOL_PAGES_INDEX accessed 9 0 NO bigint NULL NULL 19 0 NULL NULL bigint(21) unsigned select
|
||||||
|
NULL information_schema INNODB_BUFFER_POOL_PAGES_INDEX data_size 7 0 NO bigint NULL NULL 19 0 NULL NULL bigint(21) unsigned select
|
||||||
|
NULL information_schema INNODB_BUFFER_POOL_PAGES_INDEX dirty 11 0 NO bigint NULL NULL 19 0 NULL NULL bigint(21) unsigned select
|
||||||
|
NULL information_schema INNODB_BUFFER_POOL_PAGES_INDEX fix_count 14 0 NO bigint NULL NULL 19 0 NULL NULL bigint(21) unsigned select
|
||||||
|
NULL information_schema INNODB_BUFFER_POOL_PAGES_INDEX flush_type 15 0 NO bigint NULL NULL 19 0 NULL NULL bigint(21) unsigned select
|
||||||
|
NULL information_schema INNODB_BUFFER_POOL_PAGES_INDEX hashed 8 0 NO bigint NULL NULL 19 0 NULL NULL bigint(21) unsigned select
|
||||||
|
NULL information_schema INNODB_BUFFER_POOL_PAGES_INDEX index_name 3 NO varchar 64 192 NULL NULL utf8 utf8_general_ci varchar(64) select
|
||||||
|
NULL information_schema INNODB_BUFFER_POOL_PAGES_INDEX lru_position 13 0 NO bigint NULL NULL 19 0 NULL NULL bigint(21) unsigned select
|
||||||
|
NULL information_schema INNODB_BUFFER_POOL_PAGES_INDEX modified 10 0 NO bigint NULL NULL 19 0 NULL NULL bigint(21) unsigned select
|
||||||
|
NULL information_schema INNODB_BUFFER_POOL_PAGES_INDEX n_recs 6 0 NO bigint NULL NULL 19 0 NULL NULL bigint(21) unsigned select
|
||||||
|
NULL information_schema INNODB_BUFFER_POOL_PAGES_INDEX old 12 0 NO bigint NULL NULL 19 0 NULL NULL bigint(21) unsigned select
|
||||||
|
NULL information_schema INNODB_BUFFER_POOL_PAGES_INDEX page_no 5 0 NO bigint NULL NULL 19 0 NULL NULL bigint(21) unsigned select
|
||||||
|
NULL information_schema INNODB_BUFFER_POOL_PAGES_INDEX schema_name 1 NULL YES varchar 64 192 NULL NULL utf8 utf8_general_ci varchar(64) select
|
||||||
|
NULL information_schema INNODB_BUFFER_POOL_PAGES_INDEX space_id 4 0 NO bigint NULL NULL 19 0 NULL NULL bigint(21) unsigned select
|
||||||
|
NULL information_schema INNODB_BUFFER_POOL_PAGES_INDEX table_name 2 NO varchar 64 192 NULL NULL utf8 utf8_general_ci varchar(64) select
|
||||||
|
NULL information_schema INNODB_CMP compress_ops 2 0 NO int NULL NULL 10 0 NULL NULL int(11) select
|
||||||
|
NULL information_schema INNODB_CMP compress_ops_ok 3 0 NO int NULL NULL 10 0 NULL NULL int(11) select
|
||||||
|
NULL information_schema INNODB_CMP compress_time 4 0 NO int NULL NULL 10 0 NULL NULL int(11) select
|
||||||
|
NULL information_schema INNODB_CMP page_size 1 0 NO int NULL NULL 10 0 NULL NULL int(5) select
|
||||||
|
NULL information_schema INNODB_CMP uncompress_ops 5 0 NO int NULL NULL 10 0 NULL NULL int(11) select
|
||||||
|
NULL information_schema INNODB_CMP uncompress_time 6 0 NO int NULL NULL 10 0 NULL NULL int(11) select
|
||||||
|
NULL information_schema INNODB_CMPMEM pages_free 3 0 NO int NULL NULL 10 0 NULL NULL int(11) select
|
||||||
|
NULL information_schema INNODB_CMPMEM pages_used 2 0 NO int NULL NULL 10 0 NULL NULL int(11) select
|
||||||
|
NULL information_schema INNODB_CMPMEM page_size 1 0 NO int NULL NULL 10 0 NULL NULL int(5) select
|
||||||
|
NULL information_schema INNODB_CMPMEM relocation_ops 4 0 NO bigint NULL NULL 19 0 NULL NULL bigint(21) select
|
||||||
|
NULL information_schema INNODB_CMPMEM relocation_time 5 0 NO int NULL NULL 10 0 NULL NULL int(11) select
|
||||||
|
NULL information_schema INNODB_CMPMEM_RESET pages_free 3 0 NO int NULL NULL 10 0 NULL NULL int(11) select
|
||||||
|
NULL information_schema INNODB_CMPMEM_RESET pages_used 2 0 NO int NULL NULL 10 0 NULL NULL int(11) select
|
||||||
|
NULL information_schema INNODB_CMPMEM_RESET page_size 1 0 NO int NULL NULL 10 0 NULL NULL int(5) select
|
||||||
|
NULL information_schema INNODB_CMPMEM_RESET relocation_ops 4 0 NO bigint NULL NULL 19 0 NULL NULL bigint(21) select
|
||||||
|
NULL information_schema INNODB_CMPMEM_RESET relocation_time 5 0 NO int NULL NULL 10 0 NULL NULL int(11) select
|
||||||
|
NULL information_schema INNODB_CMP_RESET compress_ops 2 0 NO int NULL NULL 10 0 NULL NULL int(11) select
|
||||||
|
NULL information_schema INNODB_CMP_RESET compress_ops_ok 3 0 NO int NULL NULL 10 0 NULL NULL int(11) select
|
||||||
|
NULL information_schema INNODB_CMP_RESET compress_time 4 0 NO int NULL NULL 10 0 NULL NULL int(11) select
|
||||||
|
NULL information_schema INNODB_CMP_RESET page_size 1 0 NO int NULL NULL 10 0 NULL NULL int(5) select
|
||||||
|
NULL information_schema INNODB_CMP_RESET uncompress_ops 5 0 NO int NULL NULL 10 0 NULL NULL int(11) select
|
||||||
|
NULL information_schema INNODB_CMP_RESET uncompress_time 6 0 NO int NULL NULL 10 0 NULL NULL int(11) select
|
||||||
|
NULL information_schema INNODB_INDEX_STATS fields 3 0 NO bigint NULL NULL 19 0 NULL NULL bigint(21) unsigned select
|
||||||
|
NULL information_schema INNODB_INDEX_STATS index_name 2 NO varchar 192 576 NULL NULL utf8 utf8_general_ci varchar(192) select
|
||||||
|
NULL information_schema INNODB_INDEX_STATS index_size 5 0 NO bigint NULL NULL 19 0 NULL NULL bigint(21) unsigned select
|
||||||
|
NULL information_schema INNODB_INDEX_STATS leaf_pages 6 0 NO bigint NULL NULL 19 0 NULL NULL bigint(21) unsigned select
|
||||||
|
NULL information_schema INNODB_INDEX_STATS row_per_keys 4 NO varchar 256 768 NULL NULL utf8 utf8_general_ci varchar(256) select
|
||||||
|
NULL information_schema INNODB_INDEX_STATS table_name 1 NO varchar 192 576 NULL NULL utf8 utf8_general_ci varchar(192) select
|
||||||
|
NULL information_schema INNODB_LOCKS lock_data 10 NULL YES varchar 8192 24576 NULL NULL utf8 utf8_general_ci varchar(8192) select
|
||||||
|
NULL information_schema INNODB_LOCKS lock_id 1 NO varchar 81 243 NULL NULL utf8 utf8_general_ci varchar(81) select
|
||||||
|
NULL information_schema INNODB_LOCKS lock_index 6 NULL YES varchar 1024 3072 NULL NULL utf8 utf8_general_ci varchar(1024) select
|
||||||
|
NULL information_schema INNODB_LOCKS lock_mode 3 NO varchar 32 96 NULL NULL utf8 utf8_general_ci varchar(32) select
|
||||||
|
NULL information_schema INNODB_LOCKS lock_page 8 NULL YES bigint NULL NULL 19 0 NULL NULL bigint(21) unsigned select
|
||||||
|
NULL information_schema INNODB_LOCKS lock_rec 9 NULL YES bigint NULL NULL 19 0 NULL NULL bigint(21) unsigned select
|
||||||
|
NULL information_schema INNODB_LOCKS lock_space 7 NULL YES bigint NULL NULL 19 0 NULL NULL bigint(21) unsigned select
|
||||||
|
NULL information_schema INNODB_LOCKS lock_table 5 NO varchar 1024 3072 NULL NULL utf8 utf8_general_ci varchar(1024) select
|
||||||
|
NULL information_schema INNODB_LOCKS lock_trx_id 2 NO varchar 18 54 NULL NULL utf8 utf8_general_ci varchar(18) select
|
||||||
|
NULL information_schema INNODB_LOCKS lock_type 4 NO varchar 32 96 NULL NULL utf8 utf8_general_ci varchar(32) select
|
||||||
|
NULL information_schema INNODB_LOCK_WAITS blocking_lock_id 4 NO varchar 81 243 NULL NULL utf8 utf8_general_ci varchar(81) select
|
||||||
|
NULL information_schema INNODB_LOCK_WAITS blocking_trx_id 3 NO varchar 18 54 NULL NULL utf8 utf8_general_ci varchar(18) select
|
||||||
|
NULL information_schema INNODB_LOCK_WAITS requested_lock_id 2 NO varchar 81 243 NULL NULL utf8 utf8_general_ci varchar(81) select
|
||||||
|
NULL information_schema INNODB_LOCK_WAITS requesting_trx_id 1 NO varchar 18 54 NULL NULL utf8 utf8_general_ci varchar(18) select
|
||||||
|
NULL information_schema INNODB_RSEG curr_size 6 0 NO bigint NULL NULL 19 0 NULL NULL bigint(21) unsigned select
|
||||||
|
NULL information_schema INNODB_RSEG max_size 5 0 NO bigint NULL NULL 19 0 NULL NULL bigint(21) unsigned select
|
||||||
|
NULL information_schema INNODB_RSEG page_no 4 0 NO bigint NULL NULL 19 0 NULL NULL bigint(21) unsigned select
|
||||||
|
NULL information_schema INNODB_RSEG rseg_id 1 0 NO bigint NULL NULL 19 0 NULL NULL bigint(21) unsigned select
|
||||||
|
NULL information_schema INNODB_RSEG space_id 2 0 NO bigint NULL NULL 19 0 NULL NULL bigint(21) unsigned select
|
||||||
|
NULL information_schema INNODB_RSEG zip_size 3 0 NO bigint NULL NULL 19 0 NULL NULL bigint(21) unsigned select
|
||||||
|
NULL information_schema INNODB_TABLE_STATS clust_size 3 0 NO bigint NULL NULL 19 0 NULL NULL bigint(21) unsigned select
|
||||||
|
NULL information_schema INNODB_TABLE_STATS modified 5 0 NO bigint NULL NULL 19 0 NULL NULL bigint(21) unsigned select
|
||||||
|
NULL information_schema INNODB_TABLE_STATS other_size 4 0 NO bigint NULL NULL 19 0 NULL NULL bigint(21) unsigned select
|
||||||
|
NULL information_schema INNODB_TABLE_STATS rows 2 0 NO bigint NULL NULL 19 0 NULL NULL bigint(21) unsigned select
|
||||||
|
NULL information_schema INNODB_TABLE_STATS table_name 1 NO varchar 192 576 NULL NULL utf8 utf8_general_ci varchar(192) select
|
||||||
|
NULL information_schema INNODB_TRX trx_id 1 NO varchar 18 54 NULL NULL utf8 utf8_general_ci varchar(18) select
|
||||||
|
NULL information_schema INNODB_TRX trx_mysql_thread_id 7 0 NO bigint NULL NULL 19 0 NULL NULL bigint(21) unsigned select
|
||||||
|
NULL information_schema INNODB_TRX trx_query 8 NULL YES varchar 1024 3072 NULL NULL utf8 utf8_general_ci varchar(1024) select
|
||||||
|
NULL information_schema INNODB_TRX trx_requested_lock_id 4 NULL YES varchar 81 243 NULL NULL utf8 utf8_general_ci varchar(81) select
|
||||||
|
NULL information_schema INNODB_TRX trx_started 3 0000-00-00 00:00:00 NO datetime NULL NULL NULL NULL NULL NULL datetime select
|
||||||
|
NULL information_schema INNODB_TRX trx_state 2 NO varchar 13 39 NULL NULL utf8 utf8_general_ci varchar(13) select
|
||||||
|
NULL information_schema INNODB_TRX trx_wait_started 5 NULL YES datetime NULL NULL NULL NULL NULL NULL datetime select
|
||||||
|
NULL information_schema INNODB_TRX trx_weight 6 0 NO bigint NULL NULL 19 0 NULL NULL bigint(21) unsigned select
|
||||||
NULL information_schema KEY_COLUMN_USAGE COLUMN_NAME 7 NO varchar 64 192 NULL NULL utf8 utf8_general_ci varchar(64) select
|
NULL information_schema KEY_COLUMN_USAGE COLUMN_NAME 7 NO varchar 64 192 NULL NULL utf8 utf8_general_ci varchar(64) select
|
||||||
NULL information_schema KEY_COLUMN_USAGE CONSTRAINT_CATALOG 1 NULL YES varchar 512 1536 NULL NULL utf8 utf8_general_ci varchar(512) select
|
NULL information_schema KEY_COLUMN_USAGE CONSTRAINT_CATALOG 1 NULL YES varchar 512 1536 NULL NULL utf8 utf8_general_ci varchar(512) select
|
||||||
NULL information_schema KEY_COLUMN_USAGE CONSTRAINT_NAME 3 NO varchar 64 192 NULL NULL utf8 utf8_general_ci varchar(64) select
|
NULL information_schema KEY_COLUMN_USAGE CONSTRAINT_NAME 3 NO varchar 64 192 NULL NULL utf8 utf8_general_ci varchar(64) select
|
||||||
@ -150,6 +240,9 @@ NULL information_schema PARTITIONS TABLE_NAME 3 NO varchar 64 192 NULL NULL utf
|
|||||||
NULL information_schema PARTITIONS TABLE_ROWS 13 0 NO bigint NULL NULL 19 0 NULL NULL bigint(21) unsigned select
|
NULL information_schema PARTITIONS TABLE_ROWS 13 0 NO bigint NULL NULL 19 0 NULL NULL bigint(21) unsigned select
|
||||||
NULL information_schema PARTITIONS TABLE_SCHEMA 2 NO varchar 64 192 NULL NULL utf8 utf8_general_ci varchar(64) select
|
NULL information_schema PARTITIONS TABLE_SCHEMA 2 NO varchar 64 192 NULL NULL utf8 utf8_general_ci varchar(64) select
|
||||||
NULL information_schema PARTITIONS UPDATE_TIME 20 NULL YES datetime NULL NULL NULL NULL NULL NULL datetime select
|
NULL information_schema PARTITIONS UPDATE_TIME 20 NULL YES datetime NULL NULL NULL NULL NULL NULL datetime select
|
||||||
|
NULL information_schema PBXT_STATISTICS ID 1 0 NO int NULL NULL 10 0 NULL NULL int(4) select
|
||||||
|
NULL information_schema PBXT_STATISTICS Name 2 NO varchar 40 120 NULL NULL utf8 utf8_general_ci varchar(40) select
|
||||||
|
NULL information_schema PBXT_STATISTICS Value 3 0 NO bigint NULL NULL 19 0 NULL NULL bigint(8) select
|
||||||
NULL information_schema PLUGINS PLUGIN_AUTHOR 8 NULL YES varchar 64 192 NULL NULL utf8 utf8_general_ci varchar(64) select
|
NULL information_schema PLUGINS PLUGIN_AUTHOR 8 NULL YES varchar 64 192 NULL NULL utf8 utf8_general_ci varchar(64) select
|
||||||
NULL information_schema PLUGINS PLUGIN_DESCRIPTION 9 NULL YES longtext 4294967295 4294967295 NULL NULL utf8 utf8_general_ci longtext select
|
NULL information_schema PLUGINS PLUGIN_DESCRIPTION 9 NULL YES longtext 4294967295 4294967295 NULL NULL utf8 utf8_general_ci longtext select
|
||||||
NULL information_schema PLUGINS PLUGIN_LIBRARY 6 NULL YES varchar 64 192 NULL NULL utf8 utf8_general_ci varchar(64) select
|
NULL information_schema PLUGINS PLUGIN_LIBRARY 6 NULL YES varchar 64 192 NULL NULL utf8 utf8_general_ci varchar(64) select
|
||||||
@ -167,6 +260,7 @@ NULL information_schema PROCESSLIST ID 1 0 NO bigint NULL NULL 19 0 NULL NULL bi
|
|||||||
NULL information_schema PROCESSLIST INFO 8 NULL YES longtext 4294967295 4294967295 NULL NULL utf8 utf8_general_ci longtext select
|
NULL information_schema PROCESSLIST INFO 8 NULL YES longtext 4294967295 4294967295 NULL NULL utf8 utf8_general_ci longtext select
|
||||||
NULL information_schema PROCESSLIST STATE 7 NULL YES varchar 64 192 NULL NULL utf8 utf8_general_ci varchar(64) select
|
NULL information_schema PROCESSLIST STATE 7 NULL YES varchar 64 192 NULL NULL utf8 utf8_general_ci varchar(64) select
|
||||||
NULL information_schema PROCESSLIST TIME 6 0 NO int NULL NULL 10 0 NULL NULL int(7) select
|
NULL information_schema PROCESSLIST TIME 6 0 NO int NULL NULL 10 0 NULL NULL int(7) select
|
||||||
|
NULL information_schema PROCESSLIST TIME_MS 9 0.000 NO decimal NULL NULL 22 3 NULL NULL decimal(22,3) select
|
||||||
NULL information_schema PROCESSLIST USER 2 NO varchar 16 48 NULL NULL utf8 utf8_general_ci varchar(16) select
|
NULL information_schema PROCESSLIST USER 2 NO varchar 16 48 NULL NULL utf8 utf8_general_ci varchar(16) select
|
||||||
NULL information_schema REFERENTIAL_CONSTRAINTS CONSTRAINT_CATALOG 1 NULL YES varchar 512 1536 NULL NULL utf8 utf8_general_ci varchar(512) select
|
NULL information_schema REFERENTIAL_CONSTRAINTS CONSTRAINT_CATALOG 1 NULL YES varchar 512 1536 NULL NULL utf8 utf8_general_ci varchar(512) select
|
||||||
NULL information_schema REFERENTIAL_CONSTRAINTS CONSTRAINT_NAME 3 NO varchar 64 192 NULL NULL utf8 utf8_general_ci varchar(64) select
|
NULL information_schema REFERENTIAL_CONSTRAINTS CONSTRAINT_NAME 3 NO varchar 64 192 NULL NULL utf8 utf8_general_ci varchar(64) select
|
||||||
@ -300,6 +394,10 @@ NULL information_schema VIEWS TABLE_CATALOG 1 NULL YES varchar 512 1536 NULL NUL
|
|||||||
NULL information_schema VIEWS TABLE_NAME 3 NO varchar 64 192 NULL NULL utf8 utf8_general_ci varchar(64) select
|
NULL information_schema VIEWS TABLE_NAME 3 NO varchar 64 192 NULL NULL utf8 utf8_general_ci varchar(64) select
|
||||||
NULL information_schema VIEWS TABLE_SCHEMA 2 NO varchar 64 192 NULL NULL utf8 utf8_general_ci varchar(64) select
|
NULL information_schema VIEWS TABLE_SCHEMA 2 NO varchar 64 192 NULL NULL utf8 utf8_general_ci varchar(64) select
|
||||||
NULL information_schema VIEWS VIEW_DEFINITION 4 NULL NO longtext 4294967295 4294967295 NULL NULL utf8 utf8_general_ci longtext select
|
NULL information_schema VIEWS VIEW_DEFINITION 4 NULL NO longtext 4294967295 4294967295 NULL NULL utf8 utf8_general_ci longtext select
|
||||||
|
NULL information_schema XTRADB_ENHANCEMENTS comment 3 NO varchar 100 300 NULL NULL utf8 utf8_general_ci varchar(100) select
|
||||||
|
NULL information_schema XTRADB_ENHANCEMENTS description 2 NO varchar 255 765 NULL NULL utf8 utf8_general_ci varchar(255) select
|
||||||
|
NULL information_schema XTRADB_ENHANCEMENTS link 4 NO varchar 255 765 NULL NULL utf8 utf8_general_ci varchar(255) select
|
||||||
|
NULL information_schema XTRADB_ENHANCEMENTS name 1 NO varchar 255 765 NULL NULL utf8 utf8_general_ci varchar(255) select
|
||||||
##########################################################################
|
##########################################################################
|
||||||
# Show the quotient of CHARACTER_OCTET_LENGTH and CHARACTER_MAXIMUM_LENGTH
|
# Show the quotient of CHARACTER_OCTET_LENGTH and CHARACTER_MAXIMUM_LENGTH
|
||||||
##########################################################################
|
##########################################################################
|
||||||
@ -340,6 +438,7 @@ ORDER BY CHARACTER_SET_NAME, COLLATION_NAME, COL_CML;
|
|||||||
COL_CML DATA_TYPE CHARACTER_SET_NAME COLLATION_NAME
|
COL_CML DATA_TYPE CHARACTER_SET_NAME COLLATION_NAME
|
||||||
NULL bigint NULL NULL
|
NULL bigint NULL NULL
|
||||||
NULL datetime NULL NULL
|
NULL datetime NULL NULL
|
||||||
|
NULL decimal NULL NULL
|
||||||
NULL int NULL NULL
|
NULL int NULL NULL
|
||||||
--> CHAR(0) is allowed (see manual), and here both CHARACHTER_* values
|
--> CHAR(0) is allowed (see manual), and here both CHARACHTER_* values
|
||||||
--> are 0, which is intended behavior, and the result of 0 / 0 IS NULL
|
--> are 0, which is intended behavior, and the result of 0 / 0 IS NULL
|
||||||
@ -468,6 +567,96 @@ NULL information_schema FILES CHECKSUM bigint NULL NULL NULL NULL bigint(21) uns
|
|||||||
3.0000 information_schema GLOBAL_STATUS VARIABLE_VALUE varchar 1024 3072 utf8 utf8_general_ci varchar(1024)
|
3.0000 information_schema GLOBAL_STATUS VARIABLE_VALUE varchar 1024 3072 utf8 utf8_general_ci varchar(1024)
|
||||||
3.0000 information_schema GLOBAL_VARIABLES VARIABLE_NAME varchar 64 192 utf8 utf8_general_ci varchar(64)
|
3.0000 information_schema GLOBAL_VARIABLES VARIABLE_NAME varchar 64 192 utf8 utf8_general_ci varchar(64)
|
||||||
3.0000 information_schema GLOBAL_VARIABLES VARIABLE_VALUE varchar 1024 3072 utf8 utf8_general_ci varchar(1024)
|
3.0000 information_schema GLOBAL_VARIABLES VARIABLE_VALUE varchar 1024 3072 utf8 utf8_general_ci varchar(1024)
|
||||||
|
3.0000 information_schema INNODB_BUFFER_POOL_PAGES page_type varchar 64 192 utf8 utf8_general_ci varchar(64)
|
||||||
|
NULL information_schema INNODB_BUFFER_POOL_PAGES space_id bigint NULL NULL NULL NULL bigint(21) unsigned
|
||||||
|
NULL information_schema INNODB_BUFFER_POOL_PAGES page_no bigint NULL NULL NULL NULL bigint(21) unsigned
|
||||||
|
NULL information_schema INNODB_BUFFER_POOL_PAGES lru_position bigint NULL NULL NULL NULL bigint(21) unsigned
|
||||||
|
NULL information_schema INNODB_BUFFER_POOL_PAGES fix_count bigint NULL NULL NULL NULL bigint(21) unsigned
|
||||||
|
NULL information_schema INNODB_BUFFER_POOL_PAGES flush_type bigint NULL NULL NULL NULL bigint(21) unsigned
|
||||||
|
NULL information_schema INNODB_BUFFER_POOL_PAGES_BLOB space_id bigint NULL NULL NULL NULL bigint(21) unsigned
|
||||||
|
NULL information_schema INNODB_BUFFER_POOL_PAGES_BLOB page_no bigint NULL NULL NULL NULL bigint(21) unsigned
|
||||||
|
NULL information_schema INNODB_BUFFER_POOL_PAGES_BLOB compressed bigint NULL NULL NULL NULL bigint(21) unsigned
|
||||||
|
NULL information_schema INNODB_BUFFER_POOL_PAGES_BLOB part_len bigint NULL NULL NULL NULL bigint(21) unsigned
|
||||||
|
NULL information_schema INNODB_BUFFER_POOL_PAGES_BLOB next_page_no bigint NULL NULL NULL NULL bigint(21) unsigned
|
||||||
|
NULL information_schema INNODB_BUFFER_POOL_PAGES_BLOB lru_position bigint NULL NULL NULL NULL bigint(21) unsigned
|
||||||
|
NULL information_schema INNODB_BUFFER_POOL_PAGES_BLOB fix_count bigint NULL NULL NULL NULL bigint(21) unsigned
|
||||||
|
NULL information_schema INNODB_BUFFER_POOL_PAGES_BLOB flush_type bigint NULL NULL NULL NULL bigint(21) unsigned
|
||||||
|
3.0000 information_schema INNODB_BUFFER_POOL_PAGES_INDEX schema_name varchar 64 192 utf8 utf8_general_ci varchar(64)
|
||||||
|
3.0000 information_schema INNODB_BUFFER_POOL_PAGES_INDEX table_name varchar 64 192 utf8 utf8_general_ci varchar(64)
|
||||||
|
3.0000 information_schema INNODB_BUFFER_POOL_PAGES_INDEX index_name varchar 64 192 utf8 utf8_general_ci varchar(64)
|
||||||
|
NULL information_schema INNODB_BUFFER_POOL_PAGES_INDEX space_id bigint NULL NULL NULL NULL bigint(21) unsigned
|
||||||
|
NULL information_schema INNODB_BUFFER_POOL_PAGES_INDEX page_no bigint NULL NULL NULL NULL bigint(21) unsigned
|
||||||
|
NULL information_schema INNODB_BUFFER_POOL_PAGES_INDEX n_recs bigint NULL NULL NULL NULL bigint(21) unsigned
|
||||||
|
NULL information_schema INNODB_BUFFER_POOL_PAGES_INDEX data_size bigint NULL NULL NULL NULL bigint(21) unsigned
|
||||||
|
NULL information_schema INNODB_BUFFER_POOL_PAGES_INDEX hashed bigint NULL NULL NULL NULL bigint(21) unsigned
|
||||||
|
NULL information_schema INNODB_BUFFER_POOL_PAGES_INDEX accessed bigint NULL NULL NULL NULL bigint(21) unsigned
|
||||||
|
NULL information_schema INNODB_BUFFER_POOL_PAGES_INDEX modified bigint NULL NULL NULL NULL bigint(21) unsigned
|
||||||
|
NULL information_schema INNODB_BUFFER_POOL_PAGES_INDEX dirty bigint NULL NULL NULL NULL bigint(21) unsigned
|
||||||
|
NULL information_schema INNODB_BUFFER_POOL_PAGES_INDEX old bigint NULL NULL NULL NULL bigint(21) unsigned
|
||||||
|
NULL information_schema INNODB_BUFFER_POOL_PAGES_INDEX lru_position bigint NULL NULL NULL NULL bigint(21) unsigned
|
||||||
|
NULL information_schema INNODB_BUFFER_POOL_PAGES_INDEX fix_count bigint NULL NULL NULL NULL bigint(21) unsigned
|
||||||
|
NULL information_schema INNODB_BUFFER_POOL_PAGES_INDEX flush_type bigint NULL NULL NULL NULL bigint(21) unsigned
|
||||||
|
NULL information_schema INNODB_CMP page_size int NULL NULL NULL NULL int(5)
|
||||||
|
NULL information_schema INNODB_CMP compress_ops int NULL NULL NULL NULL int(11)
|
||||||
|
NULL information_schema INNODB_CMP compress_ops_ok int NULL NULL NULL NULL int(11)
|
||||||
|
NULL information_schema INNODB_CMP compress_time int NULL NULL NULL NULL int(11)
|
||||||
|
NULL information_schema INNODB_CMP uncompress_ops int NULL NULL NULL NULL int(11)
|
||||||
|
NULL information_schema INNODB_CMP uncompress_time int NULL NULL NULL NULL int(11)
|
||||||
|
NULL information_schema INNODB_CMPMEM page_size int NULL NULL NULL NULL int(5)
|
||||||
|
NULL information_schema INNODB_CMPMEM pages_used int NULL NULL NULL NULL int(11)
|
||||||
|
NULL information_schema INNODB_CMPMEM pages_free int NULL NULL NULL NULL int(11)
|
||||||
|
NULL information_schema INNODB_CMPMEM relocation_ops bigint NULL NULL NULL NULL bigint(21)
|
||||||
|
NULL information_schema INNODB_CMPMEM relocation_time int NULL NULL NULL NULL int(11)
|
||||||
|
NULL information_schema INNODB_CMPMEM_RESET page_size int NULL NULL NULL NULL int(5)
|
||||||
|
NULL information_schema INNODB_CMPMEM_RESET pages_used int NULL NULL NULL NULL int(11)
|
||||||
|
NULL information_schema INNODB_CMPMEM_RESET pages_free int NULL NULL NULL NULL int(11)
|
||||||
|
NULL information_schema INNODB_CMPMEM_RESET relocation_ops bigint NULL NULL NULL NULL bigint(21)
|
||||||
|
NULL information_schema INNODB_CMPMEM_RESET relocation_time int NULL NULL NULL NULL int(11)
|
||||||
|
NULL information_schema INNODB_CMP_RESET page_size int NULL NULL NULL NULL int(5)
|
||||||
|
NULL information_schema INNODB_CMP_RESET compress_ops int NULL NULL NULL NULL int(11)
|
||||||
|
NULL information_schema INNODB_CMP_RESET compress_ops_ok int NULL NULL NULL NULL int(11)
|
||||||
|
NULL information_schema INNODB_CMP_RESET compress_time int NULL NULL NULL NULL int(11)
|
||||||
|
NULL information_schema INNODB_CMP_RESET uncompress_ops int NULL NULL NULL NULL int(11)
|
||||||
|
NULL information_schema INNODB_CMP_RESET uncompress_time int NULL NULL NULL NULL int(11)
|
||||||
|
3.0000 information_schema INNODB_INDEX_STATS table_name varchar 192 576 utf8 utf8_general_ci varchar(192)
|
||||||
|
3.0000 information_schema INNODB_INDEX_STATS index_name varchar 192 576 utf8 utf8_general_ci varchar(192)
|
||||||
|
NULL information_schema INNODB_INDEX_STATS fields bigint NULL NULL NULL NULL bigint(21) unsigned
|
||||||
|
3.0000 information_schema INNODB_INDEX_STATS row_per_keys varchar 256 768 utf8 utf8_general_ci varchar(256)
|
||||||
|
NULL information_schema INNODB_INDEX_STATS index_size bigint NULL NULL NULL NULL bigint(21) unsigned
|
||||||
|
NULL information_schema INNODB_INDEX_STATS leaf_pages bigint NULL NULL NULL NULL bigint(21) unsigned
|
||||||
|
3.0000 information_schema INNODB_LOCKS lock_id varchar 81 243 utf8 utf8_general_ci varchar(81)
|
||||||
|
3.0000 information_schema INNODB_LOCKS lock_trx_id varchar 18 54 utf8 utf8_general_ci varchar(18)
|
||||||
|
3.0000 information_schema INNODB_LOCKS lock_mode varchar 32 96 utf8 utf8_general_ci varchar(32)
|
||||||
|
3.0000 information_schema INNODB_LOCKS lock_type varchar 32 96 utf8 utf8_general_ci varchar(32)
|
||||||
|
3.0000 information_schema INNODB_LOCKS lock_table varchar 1024 3072 utf8 utf8_general_ci varchar(1024)
|
||||||
|
3.0000 information_schema INNODB_LOCKS lock_index varchar 1024 3072 utf8 utf8_general_ci varchar(1024)
|
||||||
|
NULL information_schema INNODB_LOCKS lock_space bigint NULL NULL NULL NULL bigint(21) unsigned
|
||||||
|
NULL information_schema INNODB_LOCKS lock_page bigint NULL NULL NULL NULL bigint(21) unsigned
|
||||||
|
NULL information_schema INNODB_LOCKS lock_rec bigint NULL NULL NULL NULL bigint(21) unsigned
|
||||||
|
3.0000 information_schema INNODB_LOCKS lock_data varchar 8192 24576 utf8 utf8_general_ci varchar(8192)
|
||||||
|
3.0000 information_schema INNODB_LOCK_WAITS requesting_trx_id varchar 18 54 utf8 utf8_general_ci varchar(18)
|
||||||
|
3.0000 information_schema INNODB_LOCK_WAITS requested_lock_id varchar 81 243 utf8 utf8_general_ci varchar(81)
|
||||||
|
3.0000 information_schema INNODB_LOCK_WAITS blocking_trx_id varchar 18 54 utf8 utf8_general_ci varchar(18)
|
||||||
|
3.0000 information_schema INNODB_LOCK_WAITS blocking_lock_id varchar 81 243 utf8 utf8_general_ci varchar(81)
|
||||||
|
NULL information_schema INNODB_RSEG rseg_id bigint NULL NULL NULL NULL bigint(21) unsigned
|
||||||
|
NULL information_schema INNODB_RSEG space_id bigint NULL NULL NULL NULL bigint(21) unsigned
|
||||||
|
NULL information_schema INNODB_RSEG zip_size bigint NULL NULL NULL NULL bigint(21) unsigned
|
||||||
|
NULL information_schema INNODB_RSEG page_no bigint NULL NULL NULL NULL bigint(21) unsigned
|
||||||
|
NULL information_schema INNODB_RSEG max_size bigint NULL NULL NULL NULL bigint(21) unsigned
|
||||||
|
NULL information_schema INNODB_RSEG curr_size bigint NULL NULL NULL NULL bigint(21) unsigned
|
||||||
|
3.0000 information_schema INNODB_TABLE_STATS table_name varchar 192 576 utf8 utf8_general_ci varchar(192)
|
||||||
|
NULL information_schema INNODB_TABLE_STATS rows bigint NULL NULL NULL NULL bigint(21) unsigned
|
||||||
|
NULL information_schema INNODB_TABLE_STATS clust_size bigint NULL NULL NULL NULL bigint(21) unsigned
|
||||||
|
NULL information_schema INNODB_TABLE_STATS other_size bigint NULL NULL NULL NULL bigint(21) unsigned
|
||||||
|
NULL information_schema INNODB_TABLE_STATS modified bigint NULL NULL NULL NULL bigint(21) unsigned
|
||||||
|
3.0000 information_schema INNODB_TRX trx_id varchar 18 54 utf8 utf8_general_ci varchar(18)
|
||||||
|
3.0000 information_schema INNODB_TRX trx_state varchar 13 39 utf8 utf8_general_ci varchar(13)
|
||||||
|
NULL information_schema INNODB_TRX trx_started datetime NULL NULL NULL NULL datetime
|
||||||
|
3.0000 information_schema INNODB_TRX trx_requested_lock_id varchar 81 243 utf8 utf8_general_ci varchar(81)
|
||||||
|
NULL information_schema INNODB_TRX trx_wait_started datetime NULL NULL NULL NULL datetime
|
||||||
|
NULL information_schema INNODB_TRX trx_weight bigint NULL NULL NULL NULL bigint(21) unsigned
|
||||||
|
NULL information_schema INNODB_TRX trx_mysql_thread_id bigint NULL NULL NULL NULL bigint(21) unsigned
|
||||||
|
3.0000 information_schema INNODB_TRX trx_query varchar 1024 3072 utf8 utf8_general_ci varchar(1024)
|
||||||
3.0000 information_schema KEY_COLUMN_USAGE CONSTRAINT_CATALOG varchar 512 1536 utf8 utf8_general_ci varchar(512)
|
3.0000 information_schema KEY_COLUMN_USAGE CONSTRAINT_CATALOG varchar 512 1536 utf8 utf8_general_ci varchar(512)
|
||||||
3.0000 information_schema KEY_COLUMN_USAGE CONSTRAINT_SCHEMA varchar 64 192 utf8 utf8_general_ci varchar(64)
|
3.0000 information_schema KEY_COLUMN_USAGE CONSTRAINT_SCHEMA varchar 64 192 utf8 utf8_general_ci varchar(64)
|
||||||
3.0000 information_schema KEY_COLUMN_USAGE CONSTRAINT_NAME varchar 64 192 utf8 utf8_general_ci varchar(64)
|
3.0000 information_schema KEY_COLUMN_USAGE CONSTRAINT_NAME varchar 64 192 utf8 utf8_general_ci varchar(64)
|
||||||
@ -505,6 +694,9 @@ NULL information_schema PARTITIONS CHECKSUM bigint NULL NULL NULL NULL bigint(21
|
|||||||
3.0000 information_schema PARTITIONS PARTITION_COMMENT varchar 80 240 utf8 utf8_general_ci varchar(80)
|
3.0000 information_schema PARTITIONS PARTITION_COMMENT varchar 80 240 utf8 utf8_general_ci varchar(80)
|
||||||
3.0000 information_schema PARTITIONS NODEGROUP varchar 12 36 utf8 utf8_general_ci varchar(12)
|
3.0000 information_schema PARTITIONS NODEGROUP varchar 12 36 utf8 utf8_general_ci varchar(12)
|
||||||
3.0000 information_schema PARTITIONS TABLESPACE_NAME varchar 64 192 utf8 utf8_general_ci varchar(64)
|
3.0000 information_schema PARTITIONS TABLESPACE_NAME varchar 64 192 utf8 utf8_general_ci varchar(64)
|
||||||
|
NULL information_schema PBXT_STATISTICS ID int NULL NULL NULL NULL int(4)
|
||||||
|
3.0000 information_schema PBXT_STATISTICS Name varchar 40 120 utf8 utf8_general_ci varchar(40)
|
||||||
|
NULL information_schema PBXT_STATISTICS Value bigint NULL NULL NULL NULL bigint(8)
|
||||||
3.0000 information_schema PLUGINS PLUGIN_NAME varchar 64 192 utf8 utf8_general_ci varchar(64)
|
3.0000 information_schema PLUGINS PLUGIN_NAME varchar 64 192 utf8 utf8_general_ci varchar(64)
|
||||||
3.0000 information_schema PLUGINS PLUGIN_VERSION varchar 20 60 utf8 utf8_general_ci varchar(20)
|
3.0000 information_schema PLUGINS PLUGIN_VERSION varchar 20 60 utf8 utf8_general_ci varchar(20)
|
||||||
3.0000 information_schema PLUGINS PLUGIN_STATUS varchar 10 30 utf8 utf8_general_ci varchar(10)
|
3.0000 information_schema PLUGINS PLUGIN_STATUS varchar 10 30 utf8 utf8_general_ci varchar(10)
|
||||||
@ -523,6 +715,7 @@ NULL information_schema PROCESSLIST ID bigint NULL NULL NULL NULL bigint(4)
|
|||||||
NULL information_schema PROCESSLIST TIME int NULL NULL NULL NULL int(7)
|
NULL information_schema PROCESSLIST TIME int NULL NULL NULL NULL int(7)
|
||||||
3.0000 information_schema PROCESSLIST STATE varchar 64 192 utf8 utf8_general_ci varchar(64)
|
3.0000 information_schema PROCESSLIST STATE varchar 64 192 utf8 utf8_general_ci varchar(64)
|
||||||
1.0000 information_schema PROCESSLIST INFO longtext 4294967295 4294967295 utf8 utf8_general_ci longtext
|
1.0000 information_schema PROCESSLIST INFO longtext 4294967295 4294967295 utf8 utf8_general_ci longtext
|
||||||
|
NULL information_schema PROCESSLIST TIME_MS decimal NULL NULL NULL NULL decimal(22,3)
|
||||||
3.0000 information_schema REFERENTIAL_CONSTRAINTS CONSTRAINT_CATALOG varchar 512 1536 utf8 utf8_general_ci varchar(512)
|
3.0000 information_schema REFERENTIAL_CONSTRAINTS CONSTRAINT_CATALOG varchar 512 1536 utf8 utf8_general_ci varchar(512)
|
||||||
3.0000 information_schema REFERENTIAL_CONSTRAINTS CONSTRAINT_SCHEMA varchar 64 192 utf8 utf8_general_ci varchar(64)
|
3.0000 information_schema REFERENTIAL_CONSTRAINTS CONSTRAINT_SCHEMA varchar 64 192 utf8 utf8_general_ci varchar(64)
|
||||||
3.0000 information_schema REFERENTIAL_CONSTRAINTS CONSTRAINT_NAME varchar 64 192 utf8 utf8_general_ci varchar(64)
|
3.0000 information_schema REFERENTIAL_CONSTRAINTS CONSTRAINT_NAME varchar 64 192 utf8 utf8_general_ci varchar(64)
|
||||||
@ -655,3 +848,7 @@ NULL information_schema TRIGGERS CREATED datetime NULL NULL NULL NULL datetime
|
|||||||
3.0000 information_schema VIEWS SECURITY_TYPE varchar 7 21 utf8 utf8_general_ci varchar(7)
|
3.0000 information_schema VIEWS SECURITY_TYPE varchar 7 21 utf8 utf8_general_ci varchar(7)
|
||||||
3.0000 information_schema VIEWS CHARACTER_SET_CLIENT varchar 32 96 utf8 utf8_general_ci varchar(32)
|
3.0000 information_schema VIEWS CHARACTER_SET_CLIENT varchar 32 96 utf8 utf8_general_ci varchar(32)
|
||||||
3.0000 information_schema VIEWS COLLATION_CONNECTION varchar 32 96 utf8 utf8_general_ci varchar(32)
|
3.0000 information_schema VIEWS COLLATION_CONNECTION varchar 32 96 utf8 utf8_general_ci varchar(32)
|
||||||
|
3.0000 information_schema XTRADB_ENHANCEMENTS name varchar 255 765 utf8 utf8_general_ci varchar(255)
|
||||||
|
3.0000 information_schema XTRADB_ENHANCEMENTS description varchar 255 765 utf8 utf8_general_ci varchar(255)
|
||||||
|
3.0000 information_schema XTRADB_ENHANCEMENTS comment varchar 100 300 utf8 utf8_general_ci varchar(100)
|
||||||
|
3.0000 information_schema XTRADB_ENHANCEMENTS link varchar 255 765 utf8 utf8_general_ci varchar(255)
|
||||||
|
@ -245,6 +245,305 @@ user_comment
|
|||||||
Separator -----------------------------------------------------
|
Separator -----------------------------------------------------
|
||||||
TABLE_CATALOG NULL
|
TABLE_CATALOG NULL
|
||||||
TABLE_SCHEMA information_schema
|
TABLE_SCHEMA information_schema
|
||||||
|
TABLE_NAME INNODB_BUFFER_POOL_PAGES
|
||||||
|
TABLE_TYPE SYSTEM VIEW
|
||||||
|
ENGINE MEMORY
|
||||||
|
VERSION 10
|
||||||
|
ROW_FORMAT Fixed
|
||||||
|
TABLE_ROWS #TBLR#
|
||||||
|
AVG_ROW_LENGTH #ARL#
|
||||||
|
DATA_LENGTH #DL#
|
||||||
|
MAX_DATA_LENGTH #MDL#
|
||||||
|
INDEX_LENGTH #IL#
|
||||||
|
DATA_FREE #DF#
|
||||||
|
AUTO_INCREMENT NULL
|
||||||
|
CREATE_TIME #CRT#
|
||||||
|
UPDATE_TIME #UT#
|
||||||
|
CHECK_TIME #CT#
|
||||||
|
TABLE_COLLATION utf8_general_ci
|
||||||
|
CHECKSUM NULL
|
||||||
|
CREATE_OPTIONS #CO#
|
||||||
|
TABLE_COMMENT #TC#
|
||||||
|
user_comment
|
||||||
|
Separator -----------------------------------------------------
|
||||||
|
TABLE_CATALOG NULL
|
||||||
|
TABLE_SCHEMA information_schema
|
||||||
|
TABLE_NAME INNODB_BUFFER_POOL_PAGES_BLOB
|
||||||
|
TABLE_TYPE SYSTEM VIEW
|
||||||
|
ENGINE MEMORY
|
||||||
|
VERSION 10
|
||||||
|
ROW_FORMAT Fixed
|
||||||
|
TABLE_ROWS #TBLR#
|
||||||
|
AVG_ROW_LENGTH #ARL#
|
||||||
|
DATA_LENGTH #DL#
|
||||||
|
MAX_DATA_LENGTH #MDL#
|
||||||
|
INDEX_LENGTH #IL#
|
||||||
|
DATA_FREE #DF#
|
||||||
|
AUTO_INCREMENT NULL
|
||||||
|
CREATE_TIME #CRT#
|
||||||
|
UPDATE_TIME #UT#
|
||||||
|
CHECK_TIME #CT#
|
||||||
|
TABLE_COLLATION utf8_general_ci
|
||||||
|
CHECKSUM NULL
|
||||||
|
CREATE_OPTIONS #CO#
|
||||||
|
TABLE_COMMENT #TC#
|
||||||
|
user_comment
|
||||||
|
Separator -----------------------------------------------------
|
||||||
|
TABLE_CATALOG NULL
|
||||||
|
TABLE_SCHEMA information_schema
|
||||||
|
TABLE_NAME INNODB_BUFFER_POOL_PAGES_INDEX
|
||||||
|
TABLE_TYPE SYSTEM VIEW
|
||||||
|
ENGINE MEMORY
|
||||||
|
VERSION 10
|
||||||
|
ROW_FORMAT Fixed
|
||||||
|
TABLE_ROWS #TBLR#
|
||||||
|
AVG_ROW_LENGTH #ARL#
|
||||||
|
DATA_LENGTH #DL#
|
||||||
|
MAX_DATA_LENGTH #MDL#
|
||||||
|
INDEX_LENGTH #IL#
|
||||||
|
DATA_FREE #DF#
|
||||||
|
AUTO_INCREMENT NULL
|
||||||
|
CREATE_TIME #CRT#
|
||||||
|
UPDATE_TIME #UT#
|
||||||
|
CHECK_TIME #CT#
|
||||||
|
TABLE_COLLATION utf8_general_ci
|
||||||
|
CHECKSUM NULL
|
||||||
|
CREATE_OPTIONS #CO#
|
||||||
|
TABLE_COMMENT #TC#
|
||||||
|
user_comment
|
||||||
|
Separator -----------------------------------------------------
|
||||||
|
TABLE_CATALOG NULL
|
||||||
|
TABLE_SCHEMA information_schema
|
||||||
|
TABLE_NAME INNODB_CMP
|
||||||
|
TABLE_TYPE SYSTEM VIEW
|
||||||
|
ENGINE MEMORY
|
||||||
|
VERSION 10
|
||||||
|
ROW_FORMAT Fixed
|
||||||
|
TABLE_ROWS #TBLR#
|
||||||
|
AVG_ROW_LENGTH #ARL#
|
||||||
|
DATA_LENGTH #DL#
|
||||||
|
MAX_DATA_LENGTH #MDL#
|
||||||
|
INDEX_LENGTH #IL#
|
||||||
|
DATA_FREE #DF#
|
||||||
|
AUTO_INCREMENT NULL
|
||||||
|
CREATE_TIME #CRT#
|
||||||
|
UPDATE_TIME #UT#
|
||||||
|
CHECK_TIME #CT#
|
||||||
|
TABLE_COLLATION utf8_general_ci
|
||||||
|
CHECKSUM NULL
|
||||||
|
CREATE_OPTIONS #CO#
|
||||||
|
TABLE_COMMENT #TC#
|
||||||
|
user_comment
|
||||||
|
Separator -----------------------------------------------------
|
||||||
|
TABLE_CATALOG NULL
|
||||||
|
TABLE_SCHEMA information_schema
|
||||||
|
TABLE_NAME INNODB_CMPMEM
|
||||||
|
TABLE_TYPE SYSTEM VIEW
|
||||||
|
ENGINE MEMORY
|
||||||
|
VERSION 10
|
||||||
|
ROW_FORMAT Fixed
|
||||||
|
TABLE_ROWS #TBLR#
|
||||||
|
AVG_ROW_LENGTH #ARL#
|
||||||
|
DATA_LENGTH #DL#
|
||||||
|
MAX_DATA_LENGTH #MDL#
|
||||||
|
INDEX_LENGTH #IL#
|
||||||
|
DATA_FREE #DF#
|
||||||
|
AUTO_INCREMENT NULL
|
||||||
|
CREATE_TIME #CRT#
|
||||||
|
UPDATE_TIME #UT#
|
||||||
|
CHECK_TIME #CT#
|
||||||
|
TABLE_COLLATION utf8_general_ci
|
||||||
|
CHECKSUM NULL
|
||||||
|
CREATE_OPTIONS #CO#
|
||||||
|
TABLE_COMMENT #TC#
|
||||||
|
user_comment
|
||||||
|
Separator -----------------------------------------------------
|
||||||
|
TABLE_CATALOG NULL
|
||||||
|
TABLE_SCHEMA information_schema
|
||||||
|
TABLE_NAME INNODB_CMPMEM_RESET
|
||||||
|
TABLE_TYPE SYSTEM VIEW
|
||||||
|
ENGINE MEMORY
|
||||||
|
VERSION 10
|
||||||
|
ROW_FORMAT Fixed
|
||||||
|
TABLE_ROWS #TBLR#
|
||||||
|
AVG_ROW_LENGTH #ARL#
|
||||||
|
DATA_LENGTH #DL#
|
||||||
|
MAX_DATA_LENGTH #MDL#
|
||||||
|
INDEX_LENGTH #IL#
|
||||||
|
DATA_FREE #DF#
|
||||||
|
AUTO_INCREMENT NULL
|
||||||
|
CREATE_TIME #CRT#
|
||||||
|
UPDATE_TIME #UT#
|
||||||
|
CHECK_TIME #CT#
|
||||||
|
TABLE_COLLATION utf8_general_ci
|
||||||
|
CHECKSUM NULL
|
||||||
|
CREATE_OPTIONS #CO#
|
||||||
|
TABLE_COMMENT #TC#
|
||||||
|
user_comment
|
||||||
|
Separator -----------------------------------------------------
|
||||||
|
TABLE_CATALOG NULL
|
||||||
|
TABLE_SCHEMA information_schema
|
||||||
|
TABLE_NAME INNODB_CMP_RESET
|
||||||
|
TABLE_TYPE SYSTEM VIEW
|
||||||
|
ENGINE MEMORY
|
||||||
|
VERSION 10
|
||||||
|
ROW_FORMAT Fixed
|
||||||
|
TABLE_ROWS #TBLR#
|
||||||
|
AVG_ROW_LENGTH #ARL#
|
||||||
|
DATA_LENGTH #DL#
|
||||||
|
MAX_DATA_LENGTH #MDL#
|
||||||
|
INDEX_LENGTH #IL#
|
||||||
|
DATA_FREE #DF#
|
||||||
|
AUTO_INCREMENT NULL
|
||||||
|
CREATE_TIME #CRT#
|
||||||
|
UPDATE_TIME #UT#
|
||||||
|
CHECK_TIME #CT#
|
||||||
|
TABLE_COLLATION utf8_general_ci
|
||||||
|
CHECKSUM NULL
|
||||||
|
CREATE_OPTIONS #CO#
|
||||||
|
TABLE_COMMENT #TC#
|
||||||
|
user_comment
|
||||||
|
Separator -----------------------------------------------------
|
||||||
|
TABLE_CATALOG NULL
|
||||||
|
TABLE_SCHEMA information_schema
|
||||||
|
TABLE_NAME INNODB_INDEX_STATS
|
||||||
|
TABLE_TYPE SYSTEM VIEW
|
||||||
|
ENGINE MEMORY
|
||||||
|
VERSION 10
|
||||||
|
ROW_FORMAT Fixed
|
||||||
|
TABLE_ROWS #TBLR#
|
||||||
|
AVG_ROW_LENGTH #ARL#
|
||||||
|
DATA_LENGTH #DL#
|
||||||
|
MAX_DATA_LENGTH #MDL#
|
||||||
|
INDEX_LENGTH #IL#
|
||||||
|
DATA_FREE #DF#
|
||||||
|
AUTO_INCREMENT NULL
|
||||||
|
CREATE_TIME #CRT#
|
||||||
|
UPDATE_TIME #UT#
|
||||||
|
CHECK_TIME #CT#
|
||||||
|
TABLE_COLLATION utf8_general_ci
|
||||||
|
CHECKSUM NULL
|
||||||
|
CREATE_OPTIONS #CO#
|
||||||
|
TABLE_COMMENT #TC#
|
||||||
|
user_comment
|
||||||
|
Separator -----------------------------------------------------
|
||||||
|
TABLE_CATALOG NULL
|
||||||
|
TABLE_SCHEMA information_schema
|
||||||
|
TABLE_NAME INNODB_LOCKS
|
||||||
|
TABLE_TYPE SYSTEM VIEW
|
||||||
|
ENGINE MEMORY
|
||||||
|
VERSION 10
|
||||||
|
ROW_FORMAT Fixed
|
||||||
|
TABLE_ROWS #TBLR#
|
||||||
|
AVG_ROW_LENGTH #ARL#
|
||||||
|
DATA_LENGTH #DL#
|
||||||
|
MAX_DATA_LENGTH #MDL#
|
||||||
|
INDEX_LENGTH #IL#
|
||||||
|
DATA_FREE #DF#
|
||||||
|
AUTO_INCREMENT NULL
|
||||||
|
CREATE_TIME #CRT#
|
||||||
|
UPDATE_TIME #UT#
|
||||||
|
CHECK_TIME #CT#
|
||||||
|
TABLE_COLLATION utf8_general_ci
|
||||||
|
CHECKSUM NULL
|
||||||
|
CREATE_OPTIONS #CO#
|
||||||
|
TABLE_COMMENT #TC#
|
||||||
|
user_comment
|
||||||
|
Separator -----------------------------------------------------
|
||||||
|
TABLE_CATALOG NULL
|
||||||
|
TABLE_SCHEMA information_schema
|
||||||
|
TABLE_NAME INNODB_LOCK_WAITS
|
||||||
|
TABLE_TYPE SYSTEM VIEW
|
||||||
|
ENGINE MEMORY
|
||||||
|
VERSION 10
|
||||||
|
ROW_FORMAT Fixed
|
||||||
|
TABLE_ROWS #TBLR#
|
||||||
|
AVG_ROW_LENGTH #ARL#
|
||||||
|
DATA_LENGTH #DL#
|
||||||
|
MAX_DATA_LENGTH #MDL#
|
||||||
|
INDEX_LENGTH #IL#
|
||||||
|
DATA_FREE #DF#
|
||||||
|
AUTO_INCREMENT NULL
|
||||||
|
CREATE_TIME #CRT#
|
||||||
|
UPDATE_TIME #UT#
|
||||||
|
CHECK_TIME #CT#
|
||||||
|
TABLE_COLLATION utf8_general_ci
|
||||||
|
CHECKSUM NULL
|
||||||
|
CREATE_OPTIONS #CO#
|
||||||
|
TABLE_COMMENT #TC#
|
||||||
|
user_comment
|
||||||
|
Separator -----------------------------------------------------
|
||||||
|
TABLE_CATALOG NULL
|
||||||
|
TABLE_SCHEMA information_schema
|
||||||
|
TABLE_NAME INNODB_RSEG
|
||||||
|
TABLE_TYPE SYSTEM VIEW
|
||||||
|
ENGINE MEMORY
|
||||||
|
VERSION 10
|
||||||
|
ROW_FORMAT Fixed
|
||||||
|
TABLE_ROWS #TBLR#
|
||||||
|
AVG_ROW_LENGTH #ARL#
|
||||||
|
DATA_LENGTH #DL#
|
||||||
|
MAX_DATA_LENGTH #MDL#
|
||||||
|
INDEX_LENGTH #IL#
|
||||||
|
DATA_FREE #DF#
|
||||||
|
AUTO_INCREMENT NULL
|
||||||
|
CREATE_TIME #CRT#
|
||||||
|
UPDATE_TIME #UT#
|
||||||
|
CHECK_TIME #CT#
|
||||||
|
TABLE_COLLATION utf8_general_ci
|
||||||
|
CHECKSUM NULL
|
||||||
|
CREATE_OPTIONS #CO#
|
||||||
|
TABLE_COMMENT #TC#
|
||||||
|
user_comment
|
||||||
|
Separator -----------------------------------------------------
|
||||||
|
TABLE_CATALOG NULL
|
||||||
|
TABLE_SCHEMA information_schema
|
||||||
|
TABLE_NAME INNODB_TABLE_STATS
|
||||||
|
TABLE_TYPE SYSTEM VIEW
|
||||||
|
ENGINE MEMORY
|
||||||
|
VERSION 10
|
||||||
|
ROW_FORMAT Fixed
|
||||||
|
TABLE_ROWS #TBLR#
|
||||||
|
AVG_ROW_LENGTH #ARL#
|
||||||
|
DATA_LENGTH #DL#
|
||||||
|
MAX_DATA_LENGTH #MDL#
|
||||||
|
INDEX_LENGTH #IL#
|
||||||
|
DATA_FREE #DF#
|
||||||
|
AUTO_INCREMENT NULL
|
||||||
|
CREATE_TIME #CRT#
|
||||||
|
UPDATE_TIME #UT#
|
||||||
|
CHECK_TIME #CT#
|
||||||
|
TABLE_COLLATION utf8_general_ci
|
||||||
|
CHECKSUM NULL
|
||||||
|
CREATE_OPTIONS #CO#
|
||||||
|
TABLE_COMMENT #TC#
|
||||||
|
user_comment
|
||||||
|
Separator -----------------------------------------------------
|
||||||
|
TABLE_CATALOG NULL
|
||||||
|
TABLE_SCHEMA information_schema
|
||||||
|
TABLE_NAME INNODB_TRX
|
||||||
|
TABLE_TYPE SYSTEM VIEW
|
||||||
|
ENGINE MEMORY
|
||||||
|
VERSION 10
|
||||||
|
ROW_FORMAT Fixed
|
||||||
|
TABLE_ROWS #TBLR#
|
||||||
|
AVG_ROW_LENGTH #ARL#
|
||||||
|
DATA_LENGTH #DL#
|
||||||
|
MAX_DATA_LENGTH #MDL#
|
||||||
|
INDEX_LENGTH #IL#
|
||||||
|
DATA_FREE #DF#
|
||||||
|
AUTO_INCREMENT NULL
|
||||||
|
CREATE_TIME #CRT#
|
||||||
|
UPDATE_TIME #UT#
|
||||||
|
CHECK_TIME #CT#
|
||||||
|
TABLE_COLLATION utf8_general_ci
|
||||||
|
CHECKSUM NULL
|
||||||
|
CREATE_OPTIONS #CO#
|
||||||
|
TABLE_COMMENT #TC#
|
||||||
|
user_comment
|
||||||
|
Separator -----------------------------------------------------
|
||||||
|
TABLE_CATALOG NULL
|
||||||
|
TABLE_SCHEMA information_schema
|
||||||
TABLE_NAME KEY_COLUMN_USAGE
|
TABLE_NAME KEY_COLUMN_USAGE
|
||||||
TABLE_TYPE SYSTEM VIEW
|
TABLE_TYPE SYSTEM VIEW
|
||||||
ENGINE MEMORY
|
ENGINE MEMORY
|
||||||
@ -291,6 +590,29 @@ user_comment
|
|||||||
Separator -----------------------------------------------------
|
Separator -----------------------------------------------------
|
||||||
TABLE_CATALOG NULL
|
TABLE_CATALOG NULL
|
||||||
TABLE_SCHEMA information_schema
|
TABLE_SCHEMA information_schema
|
||||||
|
TABLE_NAME PBXT_STATISTICS
|
||||||
|
TABLE_TYPE SYSTEM VIEW
|
||||||
|
ENGINE MEMORY
|
||||||
|
VERSION 10
|
||||||
|
ROW_FORMAT Fixed
|
||||||
|
TABLE_ROWS #TBLR#
|
||||||
|
AVG_ROW_LENGTH #ARL#
|
||||||
|
DATA_LENGTH #DL#
|
||||||
|
MAX_DATA_LENGTH #MDL#
|
||||||
|
INDEX_LENGTH #IL#
|
||||||
|
DATA_FREE #DF#
|
||||||
|
AUTO_INCREMENT NULL
|
||||||
|
CREATE_TIME #CRT#
|
||||||
|
UPDATE_TIME #UT#
|
||||||
|
CHECK_TIME #CT#
|
||||||
|
TABLE_COLLATION utf8_general_ci
|
||||||
|
CHECKSUM NULL
|
||||||
|
CREATE_OPTIONS #CO#
|
||||||
|
TABLE_COMMENT #TC#
|
||||||
|
user_comment
|
||||||
|
Separator -----------------------------------------------------
|
||||||
|
TABLE_CATALOG NULL
|
||||||
|
TABLE_SCHEMA information_schema
|
||||||
TABLE_NAME PLUGINS
|
TABLE_NAME PLUGINS
|
||||||
TABLE_TYPE SYSTEM VIEW
|
TABLE_TYPE SYSTEM VIEW
|
||||||
ENGINE MYISAM_OR_MARIA
|
ENGINE MYISAM_OR_MARIA
|
||||||
@ -634,6 +956,29 @@ CREATE_OPTIONS #CO#
|
|||||||
TABLE_COMMENT #TC#
|
TABLE_COMMENT #TC#
|
||||||
user_comment
|
user_comment
|
||||||
Separator -----------------------------------------------------
|
Separator -----------------------------------------------------
|
||||||
|
TABLE_CATALOG NULL
|
||||||
|
TABLE_SCHEMA information_schema
|
||||||
|
TABLE_NAME XTRADB_ENHANCEMENTS
|
||||||
|
TABLE_TYPE SYSTEM VIEW
|
||||||
|
ENGINE MEMORY
|
||||||
|
VERSION 10
|
||||||
|
ROW_FORMAT Fixed
|
||||||
|
TABLE_ROWS #TBLR#
|
||||||
|
AVG_ROW_LENGTH #ARL#
|
||||||
|
DATA_LENGTH #DL#
|
||||||
|
MAX_DATA_LENGTH #MDL#
|
||||||
|
INDEX_LENGTH #IL#
|
||||||
|
DATA_FREE #DF#
|
||||||
|
AUTO_INCREMENT NULL
|
||||||
|
CREATE_TIME #CRT#
|
||||||
|
UPDATE_TIME #UT#
|
||||||
|
CHECK_TIME #CT#
|
||||||
|
TABLE_COLLATION utf8_general_ci
|
||||||
|
CHECKSUM NULL
|
||||||
|
CREATE_OPTIONS #CO#
|
||||||
|
TABLE_COMMENT #TC#
|
||||||
|
user_comment
|
||||||
|
Separator -----------------------------------------------------
|
||||||
DROP USER testuser1@localhost;
|
DROP USER testuser1@localhost;
|
||||||
CREATE USER testuser1@localhost;
|
CREATE USER testuser1@localhost;
|
||||||
GRANT SELECT ON test1.* TO testuser1@localhost;
|
GRANT SELECT ON test1.* TO testuser1@localhost;
|
||||||
@ -883,6 +1228,305 @@ user_comment
|
|||||||
Separator -----------------------------------------------------
|
Separator -----------------------------------------------------
|
||||||
TABLE_CATALOG NULL
|
TABLE_CATALOG NULL
|
||||||
TABLE_SCHEMA information_schema
|
TABLE_SCHEMA information_schema
|
||||||
|
TABLE_NAME INNODB_BUFFER_POOL_PAGES
|
||||||
|
TABLE_TYPE SYSTEM VIEW
|
||||||
|
ENGINE MEMORY
|
||||||
|
VERSION 10
|
||||||
|
ROW_FORMAT Fixed
|
||||||
|
TABLE_ROWS #TBLR#
|
||||||
|
AVG_ROW_LENGTH #ARL#
|
||||||
|
DATA_LENGTH #DL#
|
||||||
|
MAX_DATA_LENGTH #MDL#
|
||||||
|
INDEX_LENGTH #IL#
|
||||||
|
DATA_FREE #DF#
|
||||||
|
AUTO_INCREMENT NULL
|
||||||
|
CREATE_TIME #CRT#
|
||||||
|
UPDATE_TIME #UT#
|
||||||
|
CHECK_TIME #CT#
|
||||||
|
TABLE_COLLATION utf8_general_ci
|
||||||
|
CHECKSUM NULL
|
||||||
|
CREATE_OPTIONS #CO#
|
||||||
|
TABLE_COMMENT #TC#
|
||||||
|
user_comment
|
||||||
|
Separator -----------------------------------------------------
|
||||||
|
TABLE_CATALOG NULL
|
||||||
|
TABLE_SCHEMA information_schema
|
||||||
|
TABLE_NAME INNODB_BUFFER_POOL_PAGES_BLOB
|
||||||
|
TABLE_TYPE SYSTEM VIEW
|
||||||
|
ENGINE MEMORY
|
||||||
|
VERSION 10
|
||||||
|
ROW_FORMAT Fixed
|
||||||
|
TABLE_ROWS #TBLR#
|
||||||
|
AVG_ROW_LENGTH #ARL#
|
||||||
|
DATA_LENGTH #DL#
|
||||||
|
MAX_DATA_LENGTH #MDL#
|
||||||
|
INDEX_LENGTH #IL#
|
||||||
|
DATA_FREE #DF#
|
||||||
|
AUTO_INCREMENT NULL
|
||||||
|
CREATE_TIME #CRT#
|
||||||
|
UPDATE_TIME #UT#
|
||||||
|
CHECK_TIME #CT#
|
||||||
|
TABLE_COLLATION utf8_general_ci
|
||||||
|
CHECKSUM NULL
|
||||||
|
CREATE_OPTIONS #CO#
|
||||||
|
TABLE_COMMENT #TC#
|
||||||
|
user_comment
|
||||||
|
Separator -----------------------------------------------------
|
||||||
|
TABLE_CATALOG NULL
|
||||||
|
TABLE_SCHEMA information_schema
|
||||||
|
TABLE_NAME INNODB_BUFFER_POOL_PAGES_INDEX
|
||||||
|
TABLE_TYPE SYSTEM VIEW
|
||||||
|
ENGINE MEMORY
|
||||||
|
VERSION 10
|
||||||
|
ROW_FORMAT Fixed
|
||||||
|
TABLE_ROWS #TBLR#
|
||||||
|
AVG_ROW_LENGTH #ARL#
|
||||||
|
DATA_LENGTH #DL#
|
||||||
|
MAX_DATA_LENGTH #MDL#
|
||||||
|
INDEX_LENGTH #IL#
|
||||||
|
DATA_FREE #DF#
|
||||||
|
AUTO_INCREMENT NULL
|
||||||
|
CREATE_TIME #CRT#
|
||||||
|
UPDATE_TIME #UT#
|
||||||
|
CHECK_TIME #CT#
|
||||||
|
TABLE_COLLATION utf8_general_ci
|
||||||
|
CHECKSUM NULL
|
||||||
|
CREATE_OPTIONS #CO#
|
||||||
|
TABLE_COMMENT #TC#
|
||||||
|
user_comment
|
||||||
|
Separator -----------------------------------------------------
|
||||||
|
TABLE_CATALOG NULL
|
||||||
|
TABLE_SCHEMA information_schema
|
||||||
|
TABLE_NAME INNODB_CMP
|
||||||
|
TABLE_TYPE SYSTEM VIEW
|
||||||
|
ENGINE MEMORY
|
||||||
|
VERSION 10
|
||||||
|
ROW_FORMAT Fixed
|
||||||
|
TABLE_ROWS #TBLR#
|
||||||
|
AVG_ROW_LENGTH #ARL#
|
||||||
|
DATA_LENGTH #DL#
|
||||||
|
MAX_DATA_LENGTH #MDL#
|
||||||
|
INDEX_LENGTH #IL#
|
||||||
|
DATA_FREE #DF#
|
||||||
|
AUTO_INCREMENT NULL
|
||||||
|
CREATE_TIME #CRT#
|
||||||
|
UPDATE_TIME #UT#
|
||||||
|
CHECK_TIME #CT#
|
||||||
|
TABLE_COLLATION utf8_general_ci
|
||||||
|
CHECKSUM NULL
|
||||||
|
CREATE_OPTIONS #CO#
|
||||||
|
TABLE_COMMENT #TC#
|
||||||
|
user_comment
|
||||||
|
Separator -----------------------------------------------------
|
||||||
|
TABLE_CATALOG NULL
|
||||||
|
TABLE_SCHEMA information_schema
|
||||||
|
TABLE_NAME INNODB_CMPMEM
|
||||||
|
TABLE_TYPE SYSTEM VIEW
|
||||||
|
ENGINE MEMORY
|
||||||
|
VERSION 10
|
||||||
|
ROW_FORMAT Fixed
|
||||||
|
TABLE_ROWS #TBLR#
|
||||||
|
AVG_ROW_LENGTH #ARL#
|
||||||
|
DATA_LENGTH #DL#
|
||||||
|
MAX_DATA_LENGTH #MDL#
|
||||||
|
INDEX_LENGTH #IL#
|
||||||
|
DATA_FREE #DF#
|
||||||
|
AUTO_INCREMENT NULL
|
||||||
|
CREATE_TIME #CRT#
|
||||||
|
UPDATE_TIME #UT#
|
||||||
|
CHECK_TIME #CT#
|
||||||
|
TABLE_COLLATION utf8_general_ci
|
||||||
|
CHECKSUM NULL
|
||||||
|
CREATE_OPTIONS #CO#
|
||||||
|
TABLE_COMMENT #TC#
|
||||||
|
user_comment
|
||||||
|
Separator -----------------------------------------------------
|
||||||
|
TABLE_CATALOG NULL
|
||||||
|
TABLE_SCHEMA information_schema
|
||||||
|
TABLE_NAME INNODB_CMPMEM_RESET
|
||||||
|
TABLE_TYPE SYSTEM VIEW
|
||||||
|
ENGINE MEMORY
|
||||||
|
VERSION 10
|
||||||
|
ROW_FORMAT Fixed
|
||||||
|
TABLE_ROWS #TBLR#
|
||||||
|
AVG_ROW_LENGTH #ARL#
|
||||||
|
DATA_LENGTH #DL#
|
||||||
|
MAX_DATA_LENGTH #MDL#
|
||||||
|
INDEX_LENGTH #IL#
|
||||||
|
DATA_FREE #DF#
|
||||||
|
AUTO_INCREMENT NULL
|
||||||
|
CREATE_TIME #CRT#
|
||||||
|
UPDATE_TIME #UT#
|
||||||
|
CHECK_TIME #CT#
|
||||||
|
TABLE_COLLATION utf8_general_ci
|
||||||
|
CHECKSUM NULL
|
||||||
|
CREATE_OPTIONS #CO#
|
||||||
|
TABLE_COMMENT #TC#
|
||||||
|
user_comment
|
||||||
|
Separator -----------------------------------------------------
|
||||||
|
TABLE_CATALOG NULL
|
||||||
|
TABLE_SCHEMA information_schema
|
||||||
|
TABLE_NAME INNODB_CMP_RESET
|
||||||
|
TABLE_TYPE SYSTEM VIEW
|
||||||
|
ENGINE MEMORY
|
||||||
|
VERSION 10
|
||||||
|
ROW_FORMAT Fixed
|
||||||
|
TABLE_ROWS #TBLR#
|
||||||
|
AVG_ROW_LENGTH #ARL#
|
||||||
|
DATA_LENGTH #DL#
|
||||||
|
MAX_DATA_LENGTH #MDL#
|
||||||
|
INDEX_LENGTH #IL#
|
||||||
|
DATA_FREE #DF#
|
||||||
|
AUTO_INCREMENT NULL
|
||||||
|
CREATE_TIME #CRT#
|
||||||
|
UPDATE_TIME #UT#
|
||||||
|
CHECK_TIME #CT#
|
||||||
|
TABLE_COLLATION utf8_general_ci
|
||||||
|
CHECKSUM NULL
|
||||||
|
CREATE_OPTIONS #CO#
|
||||||
|
TABLE_COMMENT #TC#
|
||||||
|
user_comment
|
||||||
|
Separator -----------------------------------------------------
|
||||||
|
TABLE_CATALOG NULL
|
||||||
|
TABLE_SCHEMA information_schema
|
||||||
|
TABLE_NAME INNODB_INDEX_STATS
|
||||||
|
TABLE_TYPE SYSTEM VIEW
|
||||||
|
ENGINE MEMORY
|
||||||
|
VERSION 10
|
||||||
|
ROW_FORMAT Fixed
|
||||||
|
TABLE_ROWS #TBLR#
|
||||||
|
AVG_ROW_LENGTH #ARL#
|
||||||
|
DATA_LENGTH #DL#
|
||||||
|
MAX_DATA_LENGTH #MDL#
|
||||||
|
INDEX_LENGTH #IL#
|
||||||
|
DATA_FREE #DF#
|
||||||
|
AUTO_INCREMENT NULL
|
||||||
|
CREATE_TIME #CRT#
|
||||||
|
UPDATE_TIME #UT#
|
||||||
|
CHECK_TIME #CT#
|
||||||
|
TABLE_COLLATION utf8_general_ci
|
||||||
|
CHECKSUM NULL
|
||||||
|
CREATE_OPTIONS #CO#
|
||||||
|
TABLE_COMMENT #TC#
|
||||||
|
user_comment
|
||||||
|
Separator -----------------------------------------------------
|
||||||
|
TABLE_CATALOG NULL
|
||||||
|
TABLE_SCHEMA information_schema
|
||||||
|
TABLE_NAME INNODB_LOCKS
|
||||||
|
TABLE_TYPE SYSTEM VIEW
|
||||||
|
ENGINE MEMORY
|
||||||
|
VERSION 10
|
||||||
|
ROW_FORMAT Fixed
|
||||||
|
TABLE_ROWS #TBLR#
|
||||||
|
AVG_ROW_LENGTH #ARL#
|
||||||
|
DATA_LENGTH #DL#
|
||||||
|
MAX_DATA_LENGTH #MDL#
|
||||||
|
INDEX_LENGTH #IL#
|
||||||
|
DATA_FREE #DF#
|
||||||
|
AUTO_INCREMENT NULL
|
||||||
|
CREATE_TIME #CRT#
|
||||||
|
UPDATE_TIME #UT#
|
||||||
|
CHECK_TIME #CT#
|
||||||
|
TABLE_COLLATION utf8_general_ci
|
||||||
|
CHECKSUM NULL
|
||||||
|
CREATE_OPTIONS #CO#
|
||||||
|
TABLE_COMMENT #TC#
|
||||||
|
user_comment
|
||||||
|
Separator -----------------------------------------------------
|
||||||
|
TABLE_CATALOG NULL
|
||||||
|
TABLE_SCHEMA information_schema
|
||||||
|
TABLE_NAME INNODB_LOCK_WAITS
|
||||||
|
TABLE_TYPE SYSTEM VIEW
|
||||||
|
ENGINE MEMORY
|
||||||
|
VERSION 10
|
||||||
|
ROW_FORMAT Fixed
|
||||||
|
TABLE_ROWS #TBLR#
|
||||||
|
AVG_ROW_LENGTH #ARL#
|
||||||
|
DATA_LENGTH #DL#
|
||||||
|
MAX_DATA_LENGTH #MDL#
|
||||||
|
INDEX_LENGTH #IL#
|
||||||
|
DATA_FREE #DF#
|
||||||
|
AUTO_INCREMENT NULL
|
||||||
|
CREATE_TIME #CRT#
|
||||||
|
UPDATE_TIME #UT#
|
||||||
|
CHECK_TIME #CT#
|
||||||
|
TABLE_COLLATION utf8_general_ci
|
||||||
|
CHECKSUM NULL
|
||||||
|
CREATE_OPTIONS #CO#
|
||||||
|
TABLE_COMMENT #TC#
|
||||||
|
user_comment
|
||||||
|
Separator -----------------------------------------------------
|
||||||
|
TABLE_CATALOG NULL
|
||||||
|
TABLE_SCHEMA information_schema
|
||||||
|
TABLE_NAME INNODB_RSEG
|
||||||
|
TABLE_TYPE SYSTEM VIEW
|
||||||
|
ENGINE MEMORY
|
||||||
|
VERSION 10
|
||||||
|
ROW_FORMAT Fixed
|
||||||
|
TABLE_ROWS #TBLR#
|
||||||
|
AVG_ROW_LENGTH #ARL#
|
||||||
|
DATA_LENGTH #DL#
|
||||||
|
MAX_DATA_LENGTH #MDL#
|
||||||
|
INDEX_LENGTH #IL#
|
||||||
|
DATA_FREE #DF#
|
||||||
|
AUTO_INCREMENT NULL
|
||||||
|
CREATE_TIME #CRT#
|
||||||
|
UPDATE_TIME #UT#
|
||||||
|
CHECK_TIME #CT#
|
||||||
|
TABLE_COLLATION utf8_general_ci
|
||||||
|
CHECKSUM NULL
|
||||||
|
CREATE_OPTIONS #CO#
|
||||||
|
TABLE_COMMENT #TC#
|
||||||
|
user_comment
|
||||||
|
Separator -----------------------------------------------------
|
||||||
|
TABLE_CATALOG NULL
|
||||||
|
TABLE_SCHEMA information_schema
|
||||||
|
TABLE_NAME INNODB_TABLE_STATS
|
||||||
|
TABLE_TYPE SYSTEM VIEW
|
||||||
|
ENGINE MEMORY
|
||||||
|
VERSION 10
|
||||||
|
ROW_FORMAT Fixed
|
||||||
|
TABLE_ROWS #TBLR#
|
||||||
|
AVG_ROW_LENGTH #ARL#
|
||||||
|
DATA_LENGTH #DL#
|
||||||
|
MAX_DATA_LENGTH #MDL#
|
||||||
|
INDEX_LENGTH #IL#
|
||||||
|
DATA_FREE #DF#
|
||||||
|
AUTO_INCREMENT NULL
|
||||||
|
CREATE_TIME #CRT#
|
||||||
|
UPDATE_TIME #UT#
|
||||||
|
CHECK_TIME #CT#
|
||||||
|
TABLE_COLLATION utf8_general_ci
|
||||||
|
CHECKSUM NULL
|
||||||
|
CREATE_OPTIONS #CO#
|
||||||
|
TABLE_COMMENT #TC#
|
||||||
|
user_comment
|
||||||
|
Separator -----------------------------------------------------
|
||||||
|
TABLE_CATALOG NULL
|
||||||
|
TABLE_SCHEMA information_schema
|
||||||
|
TABLE_NAME INNODB_TRX
|
||||||
|
TABLE_TYPE SYSTEM VIEW
|
||||||
|
ENGINE MEMORY
|
||||||
|
VERSION 10
|
||||||
|
ROW_FORMAT Fixed
|
||||||
|
TABLE_ROWS #TBLR#
|
||||||
|
AVG_ROW_LENGTH #ARL#
|
||||||
|
DATA_LENGTH #DL#
|
||||||
|
MAX_DATA_LENGTH #MDL#
|
||||||
|
INDEX_LENGTH #IL#
|
||||||
|
DATA_FREE #DF#
|
||||||
|
AUTO_INCREMENT NULL
|
||||||
|
CREATE_TIME #CRT#
|
||||||
|
UPDATE_TIME #UT#
|
||||||
|
CHECK_TIME #CT#
|
||||||
|
TABLE_COLLATION utf8_general_ci
|
||||||
|
CHECKSUM NULL
|
||||||
|
CREATE_OPTIONS #CO#
|
||||||
|
TABLE_COMMENT #TC#
|
||||||
|
user_comment
|
||||||
|
Separator -----------------------------------------------------
|
||||||
|
TABLE_CATALOG NULL
|
||||||
|
TABLE_SCHEMA information_schema
|
||||||
TABLE_NAME KEY_COLUMN_USAGE
|
TABLE_NAME KEY_COLUMN_USAGE
|
||||||
TABLE_TYPE SYSTEM VIEW
|
TABLE_TYPE SYSTEM VIEW
|
||||||
ENGINE MEMORY
|
ENGINE MEMORY
|
||||||
@ -929,6 +1573,29 @@ user_comment
|
|||||||
Separator -----------------------------------------------------
|
Separator -----------------------------------------------------
|
||||||
TABLE_CATALOG NULL
|
TABLE_CATALOG NULL
|
||||||
TABLE_SCHEMA information_schema
|
TABLE_SCHEMA information_schema
|
||||||
|
TABLE_NAME PBXT_STATISTICS
|
||||||
|
TABLE_TYPE SYSTEM VIEW
|
||||||
|
ENGINE MEMORY
|
||||||
|
VERSION 10
|
||||||
|
ROW_FORMAT Fixed
|
||||||
|
TABLE_ROWS #TBLR#
|
||||||
|
AVG_ROW_LENGTH #ARL#
|
||||||
|
DATA_LENGTH #DL#
|
||||||
|
MAX_DATA_LENGTH #MDL#
|
||||||
|
INDEX_LENGTH #IL#
|
||||||
|
DATA_FREE #DF#
|
||||||
|
AUTO_INCREMENT NULL
|
||||||
|
CREATE_TIME #CRT#
|
||||||
|
UPDATE_TIME #UT#
|
||||||
|
CHECK_TIME #CT#
|
||||||
|
TABLE_COLLATION utf8_general_ci
|
||||||
|
CHECKSUM NULL
|
||||||
|
CREATE_OPTIONS #CO#
|
||||||
|
TABLE_COMMENT #TC#
|
||||||
|
user_comment
|
||||||
|
Separator -----------------------------------------------------
|
||||||
|
TABLE_CATALOG NULL
|
||||||
|
TABLE_SCHEMA information_schema
|
||||||
TABLE_NAME PLUGINS
|
TABLE_NAME PLUGINS
|
||||||
TABLE_TYPE SYSTEM VIEW
|
TABLE_TYPE SYSTEM VIEW
|
||||||
ENGINE MYISAM_OR_MARIA
|
ENGINE MYISAM_OR_MARIA
|
||||||
@ -1272,6 +1939,29 @@ CREATE_OPTIONS #CO#
|
|||||||
TABLE_COMMENT #TC#
|
TABLE_COMMENT #TC#
|
||||||
user_comment
|
user_comment
|
||||||
Separator -----------------------------------------------------
|
Separator -----------------------------------------------------
|
||||||
|
TABLE_CATALOG NULL
|
||||||
|
TABLE_SCHEMA information_schema
|
||||||
|
TABLE_NAME XTRADB_ENHANCEMENTS
|
||||||
|
TABLE_TYPE SYSTEM VIEW
|
||||||
|
ENGINE MEMORY
|
||||||
|
VERSION 10
|
||||||
|
ROW_FORMAT Fixed
|
||||||
|
TABLE_ROWS #TBLR#
|
||||||
|
AVG_ROW_LENGTH #ARL#
|
||||||
|
DATA_LENGTH #DL#
|
||||||
|
MAX_DATA_LENGTH #MDL#
|
||||||
|
INDEX_LENGTH #IL#
|
||||||
|
DATA_FREE #DF#
|
||||||
|
AUTO_INCREMENT NULL
|
||||||
|
CREATE_TIME #CRT#
|
||||||
|
UPDATE_TIME #UT#
|
||||||
|
CHECK_TIME #CT#
|
||||||
|
TABLE_COLLATION utf8_general_ci
|
||||||
|
CHECKSUM NULL
|
||||||
|
CREATE_OPTIONS #CO#
|
||||||
|
TABLE_COMMENT #TC#
|
||||||
|
user_comment
|
||||||
|
Separator -----------------------------------------------------
|
||||||
# Switch to connection default and close connection testuser1
|
# Switch to connection default and close connection testuser1
|
||||||
DROP USER testuser1@localhost;
|
DROP USER testuser1@localhost;
|
||||||
DROP DATABASE test1;
|
DROP DATABASE test1;
|
||||||
|
@ -19,287 +19,11 @@ FROM information_schema.tables
|
|||||||
WHERE table_schema LIKE 'test%' AND table_type = 'BASE TABLE'
|
WHERE table_schema LIKE 'test%' AND table_type = 'BASE TABLE'
|
||||||
ORDER BY table_schema,table_name;
|
ORDER BY table_schema,table_name;
|
||||||
TABLE_CATALOG NULL
|
TABLE_CATALOG NULL
|
||||||
TABLE_SCHEMA test
|
TABLE_SCHEMA test1
|
||||||
TABLE_NAME t1
|
TABLE_NAME t1
|
||||||
TABLE_TYPE BASE TABLE
|
TABLE_TYPE BASE TABLE
|
||||||
ENGINE MYISAM_OR_MARIA
|
ENGINE MYISAM_OR_MARIA
|
||||||
VERSION 10
|
VERSION 10
|
||||||
ROW_FORMAT Fixed
|
|
||||||
TABLE_ROWS #TBLR#
|
|
||||||
AVG_ROW_LENGTH #ARL#
|
|
||||||
DATA_LENGTH #DL#
|
|
||||||
MAX_DATA_LENGTH #MDL#
|
|
||||||
INDEX_LENGTH #IL#
|
|
||||||
DATA_FREE #DF#
|
|
||||||
AUTO_INCREMENT NULL
|
|
||||||
CREATE_TIME #CRT#
|
|
||||||
UPDATE_TIME #UT#
|
|
||||||
CHECK_TIME #CT#
|
|
||||||
TABLE_COLLATION latin1_swedish_ci
|
|
||||||
CHECKSUM NULL
|
|
||||||
CREATE_OPTIONS #CO#
|
|
||||||
TABLE_COMMENT #TC#
|
|
||||||
user_comment
|
|
||||||
Separator -----------------------------------------------------
|
|
||||||
TABLE_CATALOG NULL
|
|
||||||
TABLE_SCHEMA test
|
|
||||||
TABLE_NAME t10
|
|
||||||
TABLE_TYPE BASE TABLE
|
|
||||||
ENGINE MYISAM_OR_MARIA
|
|
||||||
VERSION 10
|
|
||||||
ROW_FORMAT Fixed
|
|
||||||
TABLE_ROWS #TBLR#
|
|
||||||
AVG_ROW_LENGTH #ARL#
|
|
||||||
DATA_LENGTH #DL#
|
|
||||||
MAX_DATA_LENGTH #MDL#
|
|
||||||
INDEX_LENGTH #IL#
|
|
||||||
DATA_FREE #DF#
|
|
||||||
AUTO_INCREMENT NULL
|
|
||||||
CREATE_TIME #CRT#
|
|
||||||
UPDATE_TIME #UT#
|
|
||||||
CHECK_TIME #CT#
|
|
||||||
TABLE_COLLATION latin1_swedish_ci
|
|
||||||
CHECKSUM NULL
|
|
||||||
CREATE_OPTIONS #CO#
|
|
||||||
TABLE_COMMENT #TC#
|
|
||||||
user_comment
|
|
||||||
Separator -----------------------------------------------------
|
|
||||||
TABLE_CATALOG NULL
|
|
||||||
TABLE_SCHEMA test
|
|
||||||
TABLE_NAME t11
|
|
||||||
TABLE_TYPE BASE TABLE
|
|
||||||
ENGINE MYISAM_OR_MARIA
|
|
||||||
VERSION 10
|
|
||||||
ROW_FORMAT Fixed
|
|
||||||
TABLE_ROWS #TBLR#
|
|
||||||
AVG_ROW_LENGTH #ARL#
|
|
||||||
DATA_LENGTH #DL#
|
|
||||||
MAX_DATA_LENGTH #MDL#
|
|
||||||
INDEX_LENGTH #IL#
|
|
||||||
DATA_FREE #DF#
|
|
||||||
AUTO_INCREMENT NULL
|
|
||||||
CREATE_TIME #CRT#
|
|
||||||
UPDATE_TIME #UT#
|
|
||||||
CHECK_TIME #CT#
|
|
||||||
TABLE_COLLATION latin1_swedish_ci
|
|
||||||
CHECKSUM NULL
|
|
||||||
CREATE_OPTIONS #CO#
|
|
||||||
TABLE_COMMENT #TC#
|
|
||||||
user_comment
|
|
||||||
Separator -----------------------------------------------------
|
|
||||||
TABLE_CATALOG NULL
|
|
||||||
TABLE_SCHEMA test
|
|
||||||
TABLE_NAME t2
|
|
||||||
TABLE_TYPE BASE TABLE
|
|
||||||
ENGINE MYISAM_OR_MARIA
|
|
||||||
VERSION 10
|
|
||||||
ROW_FORMAT Fixed
|
|
||||||
TABLE_ROWS #TBLR#
|
|
||||||
AVG_ROW_LENGTH #ARL#
|
|
||||||
DATA_LENGTH #DL#
|
|
||||||
MAX_DATA_LENGTH #MDL#
|
|
||||||
INDEX_LENGTH #IL#
|
|
||||||
DATA_FREE #DF#
|
|
||||||
AUTO_INCREMENT NULL
|
|
||||||
CREATE_TIME #CRT#
|
|
||||||
UPDATE_TIME #UT#
|
|
||||||
CHECK_TIME #CT#
|
|
||||||
TABLE_COLLATION latin1_swedish_ci
|
|
||||||
CHECKSUM NULL
|
|
||||||
CREATE_OPTIONS #CO#
|
|
||||||
TABLE_COMMENT #TC#
|
|
||||||
user_comment
|
|
||||||
Separator -----------------------------------------------------
|
|
||||||
TABLE_CATALOG NULL
|
|
||||||
TABLE_SCHEMA test
|
|
||||||
TABLE_NAME t3
|
|
||||||
TABLE_TYPE BASE TABLE
|
|
||||||
ENGINE MYISAM_OR_MARIA
|
|
||||||
VERSION 10
|
|
||||||
ROW_FORMAT Fixed
|
|
||||||
TABLE_ROWS #TBLR#
|
|
||||||
AVG_ROW_LENGTH #ARL#
|
|
||||||
DATA_LENGTH #DL#
|
|
||||||
MAX_DATA_LENGTH #MDL#
|
|
||||||
INDEX_LENGTH #IL#
|
|
||||||
DATA_FREE #DF#
|
|
||||||
AUTO_INCREMENT NULL
|
|
||||||
CREATE_TIME #CRT#
|
|
||||||
UPDATE_TIME #UT#
|
|
||||||
CHECK_TIME #CT#
|
|
||||||
TABLE_COLLATION latin1_swedish_ci
|
|
||||||
CHECKSUM NULL
|
|
||||||
CREATE_OPTIONS #CO#
|
|
||||||
TABLE_COMMENT #TC#
|
|
||||||
user_comment
|
|
||||||
Separator -----------------------------------------------------
|
|
||||||
TABLE_CATALOG NULL
|
|
||||||
TABLE_SCHEMA test
|
|
||||||
TABLE_NAME t4
|
|
||||||
TABLE_TYPE BASE TABLE
|
|
||||||
ENGINE MYISAM_OR_MARIA
|
|
||||||
VERSION 10
|
|
||||||
ROW_FORMAT Fixed
|
|
||||||
TABLE_ROWS #TBLR#
|
|
||||||
AVG_ROW_LENGTH #ARL#
|
|
||||||
DATA_LENGTH #DL#
|
|
||||||
MAX_DATA_LENGTH #MDL#
|
|
||||||
INDEX_LENGTH #IL#
|
|
||||||
DATA_FREE #DF#
|
|
||||||
AUTO_INCREMENT NULL
|
|
||||||
CREATE_TIME #CRT#
|
|
||||||
UPDATE_TIME #UT#
|
|
||||||
CHECK_TIME #CT#
|
|
||||||
TABLE_COLLATION latin1_swedish_ci
|
|
||||||
CHECKSUM NULL
|
|
||||||
CREATE_OPTIONS #CO#
|
|
||||||
TABLE_COMMENT #TC#
|
|
||||||
user_comment
|
|
||||||
Separator -----------------------------------------------------
|
|
||||||
TABLE_CATALOG NULL
|
|
||||||
TABLE_SCHEMA test
|
|
||||||
TABLE_NAME t7
|
|
||||||
TABLE_TYPE BASE TABLE
|
|
||||||
ENGINE MYISAM_OR_MARIA
|
|
||||||
VERSION 10
|
|
||||||
ROW_FORMAT Fixed
|
|
||||||
TABLE_ROWS #TBLR#
|
|
||||||
AVG_ROW_LENGTH #ARL#
|
|
||||||
DATA_LENGTH #DL#
|
|
||||||
MAX_DATA_LENGTH #MDL#
|
|
||||||
INDEX_LENGTH #IL#
|
|
||||||
DATA_FREE #DF#
|
|
||||||
AUTO_INCREMENT NULL
|
|
||||||
CREATE_TIME #CRT#
|
|
||||||
UPDATE_TIME #UT#
|
|
||||||
CHECK_TIME #CT#
|
|
||||||
TABLE_COLLATION latin1_swedish_ci
|
|
||||||
CHECKSUM NULL
|
|
||||||
CREATE_OPTIONS #CO#
|
|
||||||
TABLE_COMMENT #TC#
|
|
||||||
user_comment
|
|
||||||
Separator -----------------------------------------------------
|
|
||||||
TABLE_CATALOG NULL
|
|
||||||
TABLE_SCHEMA test
|
|
||||||
TABLE_NAME t8
|
|
||||||
TABLE_TYPE BASE TABLE
|
|
||||||
ENGINE MYISAM_OR_MARIA
|
|
||||||
VERSION 10
|
|
||||||
ROW_FORMAT Fixed
|
|
||||||
TABLE_ROWS #TBLR#
|
|
||||||
AVG_ROW_LENGTH #ARL#
|
|
||||||
DATA_LENGTH #DL#
|
|
||||||
MAX_DATA_LENGTH #MDL#
|
|
||||||
INDEX_LENGTH #IL#
|
|
||||||
DATA_FREE #DF#
|
|
||||||
AUTO_INCREMENT NULL
|
|
||||||
CREATE_TIME #CRT#
|
|
||||||
UPDATE_TIME #UT#
|
|
||||||
CHECK_TIME #CT#
|
|
||||||
TABLE_COLLATION latin1_swedish_ci
|
|
||||||
CHECKSUM NULL
|
|
||||||
CREATE_OPTIONS #CO#
|
|
||||||
TABLE_COMMENT #TC#
|
|
||||||
user_comment
|
|
||||||
Separator -----------------------------------------------------
|
|
||||||
TABLE_CATALOG NULL
|
|
||||||
TABLE_SCHEMA test
|
|
||||||
TABLE_NAME t9
|
|
||||||
TABLE_TYPE BASE TABLE
|
|
||||||
ENGINE MYISAM_OR_MARIA
|
|
||||||
VERSION 10
|
|
||||||
ROW_FORMAT Fixed
|
|
||||||
TABLE_ROWS #TBLR#
|
|
||||||
AVG_ROW_LENGTH #ARL#
|
|
||||||
DATA_LENGTH #DL#
|
|
||||||
MAX_DATA_LENGTH #MDL#
|
|
||||||
INDEX_LENGTH #IL#
|
|
||||||
DATA_FREE #DF#
|
|
||||||
AUTO_INCREMENT NULL
|
|
||||||
CREATE_TIME #CRT#
|
|
||||||
UPDATE_TIME #UT#
|
|
||||||
CHECK_TIME #CT#
|
|
||||||
TABLE_COLLATION latin1_swedish_ci
|
|
||||||
CHECKSUM NULL
|
|
||||||
CREATE_OPTIONS #CO#
|
|
||||||
TABLE_COMMENT #TC#
|
|
||||||
user_comment
|
|
||||||
Separator -----------------------------------------------------
|
|
||||||
TABLE_CATALOG NULL
|
|
||||||
TABLE_SCHEMA test
|
|
||||||
TABLE_NAME tb1
|
|
||||||
TABLE_TYPE BASE TABLE
|
|
||||||
ENGINE MYISAM_OR_MARIA
|
|
||||||
VERSION 10
|
|
||||||
ROW_FORMAT DYNAMIC_OR_PAGE
|
|
||||||
TABLE_ROWS #TBLR#
|
|
||||||
AVG_ROW_LENGTH #ARL#
|
|
||||||
DATA_LENGTH #DL#
|
|
||||||
MAX_DATA_LENGTH #MDL#
|
|
||||||
INDEX_LENGTH #IL#
|
|
||||||
DATA_FREE #DF#
|
|
||||||
AUTO_INCREMENT NULL
|
|
||||||
CREATE_TIME #CRT#
|
|
||||||
UPDATE_TIME #UT#
|
|
||||||
CHECK_TIME #CT#
|
|
||||||
TABLE_COLLATION latin1_swedish_ci
|
|
||||||
CHECKSUM NULL
|
|
||||||
CREATE_OPTIONS #CO#
|
|
||||||
TABLE_COMMENT #TC#
|
|
||||||
user_comment
|
|
||||||
Separator -----------------------------------------------------
|
|
||||||
TABLE_CATALOG NULL
|
|
||||||
TABLE_SCHEMA test
|
|
||||||
TABLE_NAME tb2
|
|
||||||
TABLE_TYPE BASE TABLE
|
|
||||||
ENGINE MYISAM_OR_MARIA
|
|
||||||
VERSION 10
|
|
||||||
ROW_FORMAT DYNAMIC_OR_PAGE
|
|
||||||
TABLE_ROWS #TBLR#
|
|
||||||
AVG_ROW_LENGTH #ARL#
|
|
||||||
DATA_LENGTH #DL#
|
|
||||||
MAX_DATA_LENGTH #MDL#
|
|
||||||
INDEX_LENGTH #IL#
|
|
||||||
DATA_FREE #DF#
|
|
||||||
AUTO_INCREMENT NULL
|
|
||||||
CREATE_TIME #CRT#
|
|
||||||
UPDATE_TIME #UT#
|
|
||||||
CHECK_TIME #CT#
|
|
||||||
TABLE_COLLATION latin1_swedish_ci
|
|
||||||
CHECKSUM NULL
|
|
||||||
CREATE_OPTIONS #CO#
|
|
||||||
TABLE_COMMENT #TC#
|
|
||||||
user_comment
|
|
||||||
Separator -----------------------------------------------------
|
|
||||||
TABLE_CATALOG NULL
|
|
||||||
TABLE_SCHEMA test
|
|
||||||
TABLE_NAME tb3
|
|
||||||
TABLE_TYPE BASE TABLE
|
|
||||||
ENGINE MYISAM_OR_MARIA
|
|
||||||
VERSION 10
|
|
||||||
ROW_FORMAT DYNAMIC_OR_PAGE
|
|
||||||
TABLE_ROWS #TBLR#
|
|
||||||
AVG_ROW_LENGTH #ARL#
|
|
||||||
DATA_LENGTH #DL#
|
|
||||||
MAX_DATA_LENGTH #MDL#
|
|
||||||
INDEX_LENGTH #IL#
|
|
||||||
DATA_FREE #DF#
|
|
||||||
AUTO_INCREMENT NULL
|
|
||||||
CREATE_TIME #CRT#
|
|
||||||
UPDATE_TIME #UT#
|
|
||||||
CHECK_TIME #CT#
|
|
||||||
TABLE_COLLATION latin1_swedish_ci
|
|
||||||
CHECKSUM NULL
|
|
||||||
CREATE_OPTIONS #CO#
|
|
||||||
TABLE_COMMENT #TC#
|
|
||||||
user_comment
|
|
||||||
Separator -----------------------------------------------------
|
|
||||||
TABLE_CATALOG NULL
|
|
||||||
TABLE_SCHEMA test
|
|
||||||
TABLE_NAME tb4
|
|
||||||
TABLE_TYPE BASE TABLE
|
|
||||||
ENGINE MYISAM_OR_MARIA
|
|
||||||
VERSION 10
|
|
||||||
ROW_FORMAT DYNAMIC_OR_PAGE
|
ROW_FORMAT DYNAMIC_OR_PAGE
|
||||||
TABLE_ROWS #TBLR#
|
TABLE_ROWS #TBLR#
|
||||||
AVG_ROW_LENGTH #ARL#
|
AVG_ROW_LENGTH #ARL#
|
||||||
@ -319,7 +43,7 @@ user_comment
|
|||||||
Separator -----------------------------------------------------
|
Separator -----------------------------------------------------
|
||||||
TABLE_CATALOG NULL
|
TABLE_CATALOG NULL
|
||||||
TABLE_SCHEMA test1
|
TABLE_SCHEMA test1
|
||||||
TABLE_NAME tb2
|
TABLE_NAME t2
|
||||||
TABLE_TYPE BASE TABLE
|
TABLE_TYPE BASE TABLE
|
||||||
ENGINE MYISAM_OR_MARIA
|
ENGINE MYISAM_OR_MARIA
|
||||||
VERSION 10
|
VERSION 10
|
||||||
@ -341,12 +65,12 @@ TABLE_COMMENT #TC#
|
|||||||
user_comment
|
user_comment
|
||||||
Separator -----------------------------------------------------
|
Separator -----------------------------------------------------
|
||||||
TABLE_CATALOG NULL
|
TABLE_CATALOG NULL
|
||||||
TABLE_SCHEMA test4
|
TABLE_SCHEMA test2
|
||||||
TABLE_NAME t6
|
TABLE_NAME t1
|
||||||
TABLE_TYPE BASE TABLE
|
TABLE_TYPE BASE TABLE
|
||||||
ENGINE MYISAM_OR_MARIA
|
ENGINE MYISAM_OR_MARIA
|
||||||
VERSION 10
|
VERSION 10
|
||||||
ROW_FORMAT Fixed
|
ROW_FORMAT DYNAMIC_OR_PAGE
|
||||||
TABLE_ROWS #TBLR#
|
TABLE_ROWS #TBLR#
|
||||||
AVG_ROW_LENGTH #ARL#
|
AVG_ROW_LENGTH #ARL#
|
||||||
DATA_LENGTH #DL#
|
DATA_LENGTH #DL#
|
||||||
@ -387,12 +111,12 @@ FROM information_schema.tables
|
|||||||
WHERE table_schema LIKE 'test%' AND table_type = 'BASE TABLE'
|
WHERE table_schema LIKE 'test%' AND table_type = 'BASE TABLE'
|
||||||
ORDER BY table_schema,table_name;
|
ORDER BY table_schema,table_name;
|
||||||
TABLE_CATALOG NULL
|
TABLE_CATALOG NULL
|
||||||
TABLE_SCHEMA test
|
TABLE_SCHEMA test1
|
||||||
TABLE_NAME t1
|
TABLE_NAME t1
|
||||||
TABLE_TYPE BASE TABLE
|
TABLE_TYPE BASE TABLE
|
||||||
ENGINE MYISAM_OR_MARIA
|
ENGINE MYISAM_OR_MARIA
|
||||||
VERSION 10
|
VERSION 10
|
||||||
ROW_FORMAT Fixed
|
ROW_FORMAT DYNAMIC_OR_PAGE
|
||||||
TABLE_ROWS #TBLR#
|
TABLE_ROWS #TBLR#
|
||||||
AVG_ROW_LENGTH #ARL#
|
AVG_ROW_LENGTH #ARL#
|
||||||
DATA_LENGTH #DL#
|
DATA_LENGTH #DL#
|
||||||
@ -410,264 +134,11 @@ TABLE_COMMENT #TC#
|
|||||||
user_comment
|
user_comment
|
||||||
Separator -----------------------------------------------------
|
Separator -----------------------------------------------------
|
||||||
TABLE_CATALOG NULL
|
TABLE_CATALOG NULL
|
||||||
TABLE_SCHEMA test
|
TABLE_SCHEMA test1
|
||||||
TABLE_NAME t10
|
|
||||||
TABLE_TYPE BASE TABLE
|
|
||||||
ENGINE MYISAM_OR_MARIA
|
|
||||||
VERSION 10
|
|
||||||
ROW_FORMAT Fixed
|
|
||||||
TABLE_ROWS #TBLR#
|
|
||||||
AVG_ROW_LENGTH #ARL#
|
|
||||||
DATA_LENGTH #DL#
|
|
||||||
MAX_DATA_LENGTH #MDL#
|
|
||||||
INDEX_LENGTH #IL#
|
|
||||||
DATA_FREE #DF#
|
|
||||||
AUTO_INCREMENT NULL
|
|
||||||
CREATE_TIME #CRT#
|
|
||||||
UPDATE_TIME #UT#
|
|
||||||
CHECK_TIME #CT#
|
|
||||||
TABLE_COLLATION latin1_swedish_ci
|
|
||||||
CHECKSUM NULL
|
|
||||||
CREATE_OPTIONS #CO#
|
|
||||||
TABLE_COMMENT #TC#
|
|
||||||
user_comment
|
|
||||||
Separator -----------------------------------------------------
|
|
||||||
TABLE_CATALOG NULL
|
|
||||||
TABLE_SCHEMA test
|
|
||||||
TABLE_NAME t11
|
|
||||||
TABLE_TYPE BASE TABLE
|
|
||||||
ENGINE MYISAM_OR_MARIA
|
|
||||||
VERSION 10
|
|
||||||
ROW_FORMAT Fixed
|
|
||||||
TABLE_ROWS #TBLR#
|
|
||||||
AVG_ROW_LENGTH #ARL#
|
|
||||||
DATA_LENGTH #DL#
|
|
||||||
MAX_DATA_LENGTH #MDL#
|
|
||||||
INDEX_LENGTH #IL#
|
|
||||||
DATA_FREE #DF#
|
|
||||||
AUTO_INCREMENT NULL
|
|
||||||
CREATE_TIME #CRT#
|
|
||||||
UPDATE_TIME #UT#
|
|
||||||
CHECK_TIME #CT#
|
|
||||||
TABLE_COLLATION latin1_swedish_ci
|
|
||||||
CHECKSUM NULL
|
|
||||||
CREATE_OPTIONS #CO#
|
|
||||||
TABLE_COMMENT #TC#
|
|
||||||
user_comment
|
|
||||||
Separator -----------------------------------------------------
|
|
||||||
TABLE_CATALOG NULL
|
|
||||||
TABLE_SCHEMA test
|
|
||||||
TABLE_NAME t2
|
TABLE_NAME t2
|
||||||
TABLE_TYPE BASE TABLE
|
TABLE_TYPE BASE TABLE
|
||||||
ENGINE MYISAM_OR_MARIA
|
ENGINE MYISAM_OR_MARIA
|
||||||
VERSION 10
|
VERSION 10
|
||||||
ROW_FORMAT Fixed
|
|
||||||
TABLE_ROWS #TBLR#
|
|
||||||
AVG_ROW_LENGTH #ARL#
|
|
||||||
DATA_LENGTH #DL#
|
|
||||||
MAX_DATA_LENGTH #MDL#
|
|
||||||
INDEX_LENGTH #IL#
|
|
||||||
DATA_FREE #DF#
|
|
||||||
AUTO_INCREMENT NULL
|
|
||||||
CREATE_TIME #CRT#
|
|
||||||
UPDATE_TIME #UT#
|
|
||||||
CHECK_TIME #CT#
|
|
||||||
TABLE_COLLATION latin1_swedish_ci
|
|
||||||
CHECKSUM NULL
|
|
||||||
CREATE_OPTIONS #CO#
|
|
||||||
TABLE_COMMENT #TC#
|
|
||||||
user_comment
|
|
||||||
Separator -----------------------------------------------------
|
|
||||||
TABLE_CATALOG NULL
|
|
||||||
TABLE_SCHEMA test
|
|
||||||
TABLE_NAME t3
|
|
||||||
TABLE_TYPE BASE TABLE
|
|
||||||
ENGINE MYISAM_OR_MARIA
|
|
||||||
VERSION 10
|
|
||||||
ROW_FORMAT Fixed
|
|
||||||
TABLE_ROWS #TBLR#
|
|
||||||
AVG_ROW_LENGTH #ARL#
|
|
||||||
DATA_LENGTH #DL#
|
|
||||||
MAX_DATA_LENGTH #MDL#
|
|
||||||
INDEX_LENGTH #IL#
|
|
||||||
DATA_FREE #DF#
|
|
||||||
AUTO_INCREMENT NULL
|
|
||||||
CREATE_TIME #CRT#
|
|
||||||
UPDATE_TIME #UT#
|
|
||||||
CHECK_TIME #CT#
|
|
||||||
TABLE_COLLATION latin1_swedish_ci
|
|
||||||
CHECKSUM NULL
|
|
||||||
CREATE_OPTIONS #CO#
|
|
||||||
TABLE_COMMENT #TC#
|
|
||||||
user_comment
|
|
||||||
Separator -----------------------------------------------------
|
|
||||||
TABLE_CATALOG NULL
|
|
||||||
TABLE_SCHEMA test
|
|
||||||
TABLE_NAME t4
|
|
||||||
TABLE_TYPE BASE TABLE
|
|
||||||
ENGINE MYISAM_OR_MARIA
|
|
||||||
VERSION 10
|
|
||||||
ROW_FORMAT Fixed
|
|
||||||
TABLE_ROWS #TBLR#
|
|
||||||
AVG_ROW_LENGTH #ARL#
|
|
||||||
DATA_LENGTH #DL#
|
|
||||||
MAX_DATA_LENGTH #MDL#
|
|
||||||
INDEX_LENGTH #IL#
|
|
||||||
DATA_FREE #DF#
|
|
||||||
AUTO_INCREMENT NULL
|
|
||||||
CREATE_TIME #CRT#
|
|
||||||
UPDATE_TIME #UT#
|
|
||||||
CHECK_TIME #CT#
|
|
||||||
TABLE_COLLATION latin1_swedish_ci
|
|
||||||
CHECKSUM NULL
|
|
||||||
CREATE_OPTIONS #CO#
|
|
||||||
TABLE_COMMENT #TC#
|
|
||||||
user_comment
|
|
||||||
Separator -----------------------------------------------------
|
|
||||||
TABLE_CATALOG NULL
|
|
||||||
TABLE_SCHEMA test
|
|
||||||
TABLE_NAME t7
|
|
||||||
TABLE_TYPE BASE TABLE
|
|
||||||
ENGINE MYISAM_OR_MARIA
|
|
||||||
VERSION 10
|
|
||||||
ROW_FORMAT Fixed
|
|
||||||
TABLE_ROWS #TBLR#
|
|
||||||
AVG_ROW_LENGTH #ARL#
|
|
||||||
DATA_LENGTH #DL#
|
|
||||||
MAX_DATA_LENGTH #MDL#
|
|
||||||
INDEX_LENGTH #IL#
|
|
||||||
DATA_FREE #DF#
|
|
||||||
AUTO_INCREMENT NULL
|
|
||||||
CREATE_TIME #CRT#
|
|
||||||
UPDATE_TIME #UT#
|
|
||||||
CHECK_TIME #CT#
|
|
||||||
TABLE_COLLATION latin1_swedish_ci
|
|
||||||
CHECKSUM NULL
|
|
||||||
CREATE_OPTIONS #CO#
|
|
||||||
TABLE_COMMENT #TC#
|
|
||||||
user_comment
|
|
||||||
Separator -----------------------------------------------------
|
|
||||||
TABLE_CATALOG NULL
|
|
||||||
TABLE_SCHEMA test
|
|
||||||
TABLE_NAME t8
|
|
||||||
TABLE_TYPE BASE TABLE
|
|
||||||
ENGINE MYISAM_OR_MARIA
|
|
||||||
VERSION 10
|
|
||||||
ROW_FORMAT Fixed
|
|
||||||
TABLE_ROWS #TBLR#
|
|
||||||
AVG_ROW_LENGTH #ARL#
|
|
||||||
DATA_LENGTH #DL#
|
|
||||||
MAX_DATA_LENGTH #MDL#
|
|
||||||
INDEX_LENGTH #IL#
|
|
||||||
DATA_FREE #DF#
|
|
||||||
AUTO_INCREMENT NULL
|
|
||||||
CREATE_TIME #CRT#
|
|
||||||
UPDATE_TIME #UT#
|
|
||||||
CHECK_TIME #CT#
|
|
||||||
TABLE_COLLATION latin1_swedish_ci
|
|
||||||
CHECKSUM NULL
|
|
||||||
CREATE_OPTIONS #CO#
|
|
||||||
TABLE_COMMENT #TC#
|
|
||||||
user_comment
|
|
||||||
Separator -----------------------------------------------------
|
|
||||||
TABLE_CATALOG NULL
|
|
||||||
TABLE_SCHEMA test
|
|
||||||
TABLE_NAME t9
|
|
||||||
TABLE_TYPE BASE TABLE
|
|
||||||
ENGINE MYISAM_OR_MARIA
|
|
||||||
VERSION 10
|
|
||||||
ROW_FORMAT Fixed
|
|
||||||
TABLE_ROWS #TBLR#
|
|
||||||
AVG_ROW_LENGTH #ARL#
|
|
||||||
DATA_LENGTH #DL#
|
|
||||||
MAX_DATA_LENGTH #MDL#
|
|
||||||
INDEX_LENGTH #IL#
|
|
||||||
DATA_FREE #DF#
|
|
||||||
AUTO_INCREMENT NULL
|
|
||||||
CREATE_TIME #CRT#
|
|
||||||
UPDATE_TIME #UT#
|
|
||||||
CHECK_TIME #CT#
|
|
||||||
TABLE_COLLATION latin1_swedish_ci
|
|
||||||
CHECKSUM NULL
|
|
||||||
CREATE_OPTIONS #CO#
|
|
||||||
TABLE_COMMENT #TC#
|
|
||||||
user_comment
|
|
||||||
Separator -----------------------------------------------------
|
|
||||||
TABLE_CATALOG NULL
|
|
||||||
TABLE_SCHEMA test
|
|
||||||
TABLE_NAME tb1
|
|
||||||
TABLE_TYPE BASE TABLE
|
|
||||||
ENGINE MYISAM_OR_MARIA
|
|
||||||
VERSION 10
|
|
||||||
ROW_FORMAT DYNAMIC_OR_PAGE
|
|
||||||
TABLE_ROWS #TBLR#
|
|
||||||
AVG_ROW_LENGTH #ARL#
|
|
||||||
DATA_LENGTH #DL#
|
|
||||||
MAX_DATA_LENGTH #MDL#
|
|
||||||
INDEX_LENGTH #IL#
|
|
||||||
DATA_FREE #DF#
|
|
||||||
AUTO_INCREMENT NULL
|
|
||||||
CREATE_TIME #CRT#
|
|
||||||
UPDATE_TIME #UT#
|
|
||||||
CHECK_TIME #CT#
|
|
||||||
TABLE_COLLATION latin1_swedish_ci
|
|
||||||
CHECKSUM NULL
|
|
||||||
CREATE_OPTIONS #CO#
|
|
||||||
TABLE_COMMENT #TC#
|
|
||||||
user_comment
|
|
||||||
Separator -----------------------------------------------------
|
|
||||||
TABLE_CATALOG NULL
|
|
||||||
TABLE_SCHEMA test
|
|
||||||
TABLE_NAME tb2
|
|
||||||
TABLE_TYPE BASE TABLE
|
|
||||||
ENGINE MYISAM_OR_MARIA
|
|
||||||
VERSION 10
|
|
||||||
ROW_FORMAT DYNAMIC_OR_PAGE
|
|
||||||
TABLE_ROWS #TBLR#
|
|
||||||
AVG_ROW_LENGTH #ARL#
|
|
||||||
DATA_LENGTH #DL#
|
|
||||||
MAX_DATA_LENGTH #MDL#
|
|
||||||
INDEX_LENGTH #IL#
|
|
||||||
DATA_FREE #DF#
|
|
||||||
AUTO_INCREMENT NULL
|
|
||||||
CREATE_TIME #CRT#
|
|
||||||
UPDATE_TIME #UT#
|
|
||||||
CHECK_TIME #CT#
|
|
||||||
TABLE_COLLATION latin1_swedish_ci
|
|
||||||
CHECKSUM NULL
|
|
||||||
CREATE_OPTIONS #CO#
|
|
||||||
TABLE_COMMENT #TC#
|
|
||||||
user_comment
|
|
||||||
Separator -----------------------------------------------------
|
|
||||||
TABLE_CATALOG NULL
|
|
||||||
TABLE_SCHEMA test
|
|
||||||
TABLE_NAME tb3
|
|
||||||
TABLE_TYPE BASE TABLE
|
|
||||||
ENGINE MYISAM_OR_MARIA
|
|
||||||
VERSION 10
|
|
||||||
ROW_FORMAT DYNAMIC_OR_PAGE
|
|
||||||
TABLE_ROWS #TBLR#
|
|
||||||
AVG_ROW_LENGTH #ARL#
|
|
||||||
DATA_LENGTH #DL#
|
|
||||||
MAX_DATA_LENGTH #MDL#
|
|
||||||
INDEX_LENGTH #IL#
|
|
||||||
DATA_FREE #DF#
|
|
||||||
AUTO_INCREMENT NULL
|
|
||||||
CREATE_TIME #CRT#
|
|
||||||
UPDATE_TIME #UT#
|
|
||||||
CHECK_TIME #CT#
|
|
||||||
TABLE_COLLATION latin1_swedish_ci
|
|
||||||
CHECKSUM NULL
|
|
||||||
CREATE_OPTIONS #CO#
|
|
||||||
TABLE_COMMENT #TC#
|
|
||||||
user_comment
|
|
||||||
Separator -----------------------------------------------------
|
|
||||||
TABLE_CATALOG NULL
|
|
||||||
TABLE_SCHEMA test
|
|
||||||
TABLE_NAME tb4
|
|
||||||
TABLE_TYPE BASE TABLE
|
|
||||||
ENGINE MYISAM_OR_MARIA
|
|
||||||
VERSION 10
|
|
||||||
ROW_FORMAT DYNAMIC_OR_PAGE
|
ROW_FORMAT DYNAMIC_OR_PAGE
|
||||||
TABLE_ROWS #TBLR#
|
TABLE_ROWS #TBLR#
|
||||||
AVG_ROW_LENGTH #ARL#
|
AVG_ROW_LENGTH #ARL#
|
||||||
|
@ -29,28 +29,29 @@ PROCESSLIST CREATE TEMPORARY TABLE `PROCESSLIST` (
|
|||||||
`COMMAND` varchar(16) NOT NULL DEFAULT '',
|
`COMMAND` varchar(16) NOT NULL DEFAULT '',
|
||||||
`TIME` int(7) NOT NULL DEFAULT '0',
|
`TIME` int(7) NOT NULL DEFAULT '0',
|
||||||
`STATE` varchar(64) DEFAULT NULL,
|
`STATE` varchar(64) DEFAULT NULL,
|
||||||
`INFO` longtext
|
`INFO` longtext,
|
||||||
|
`TIME_MS` decimal(22,3) NOT NULL DEFAULT '0.000'
|
||||||
) DEFAULT CHARSET=utf8
|
) DEFAULT CHARSET=utf8
|
||||||
SHOW processlist;
|
SHOW processlist;
|
||||||
Id User Host db Command Time State Info
|
Id User Host db Command Time State Info
|
||||||
ID root HOST_NAME information_schema Query TIME NULL SHOW processlist
|
ID root HOST_NAME information_schema Query TIME NULL SHOW processlist
|
||||||
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL
|
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL
|
||||||
SELECT * FROM processlist ORDER BY id;
|
SELECT * FROM processlist ORDER BY id;
|
||||||
ID USER HOST DB COMMAND TIME STATE INFO
|
ID USER HOST DB COMMAND TIME STATE INFO TIME_MS
|
||||||
ID root HOST_NAME information_schema Query TIME executing SELECT * FROM processlist ORDER BY id
|
ID root HOST_NAME information_schema Query TIME executing SELECT * FROM processlist ORDER BY id TIME_MS
|
||||||
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL
|
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL TIME_MS
|
||||||
SELECT ID, USER, HOST, DB, COMMAND, TIME, STATE, INFO FROM processlist ORDER BY id;
|
SELECT ID, USER, HOST, DB, COMMAND, TIME, STATE, INFO, TIME_MS FROM processlist ORDER BY id;
|
||||||
ID USER HOST DB COMMAND TIME STATE INFO
|
ID USER HOST DB COMMAND TIME STATE INFO TIME_MS
|
||||||
ID root HOST_NAME information_schema Query TIME executing SELECT ID, USER, HOST, DB, COMMAND, TIME, STATE, INFO FROM processlist ORDER BY id
|
ID root HOST_NAME information_schema Query TIME executing SELECT ID, USER, HOST, DB, COMMAND, TIME, STATE, INFO, TIME_MS FROM processlist ORDER BY id TIME_MS
|
||||||
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL
|
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL TIME_MS
|
||||||
CREATE TEMPORARY TABLE test.t_processlist AS SELECT * FROM processlist;
|
CREATE TEMPORARY TABLE test.t_processlist AS SELECT * FROM processlist;
|
||||||
UPDATE test.t_processlist SET user='horst' WHERE id=1 ;
|
UPDATE test.t_processlist SET user='horst' WHERE id=1 ;
|
||||||
INSERT INTO processlist SELECT * FROM test.t_processlist;
|
INSERT INTO processlist SELECT * FROM test.t_processlist;
|
||||||
ERROR 42000: Access denied for user 'root'@'localhost' to database 'information_schema'
|
ERROR 42000: Access denied for user 'root'@'localhost' to database 'information_schema'
|
||||||
DROP TABLE test.t_processlist;
|
DROP TABLE test.t_processlist;
|
||||||
CREATE VIEW test.v_processlist (ID, USER, HOST, DB, COMMAND, TIME, STATE, INFO) AS SELECT * FROM processlist WITH CHECK OPTION;
|
CREATE VIEW test.v_processlist (ID, USER, HOST, DB, COMMAND, TIME, STATE, INFO, TIME_MS) AS SELECT * FROM processlist WITH CHECK OPTION;
|
||||||
ERROR HY000: CHECK OPTION on non-updatable view 'test.v_processlist'
|
ERROR HY000: CHECK OPTION on non-updatable view 'test.v_processlist'
|
||||||
CREATE VIEW test.v_processlist (ID, USER, HOST, DB, COMMAND, TIME, STATE, INFO) AS SELECT * FROM processlist;
|
CREATE VIEW test.v_processlist (ID, USER, HOST, DB, COMMAND, TIME, STATE, INFO, TIME_MS) AS SELECT * FROM processlist;
|
||||||
UPDATE test.v_processlist SET TIME=NOW() WHERE id = 1;
|
UPDATE test.v_processlist SET TIME=NOW() WHERE id = 1;
|
||||||
ERROR 42000: Access denied for user 'root'@'localhost' to database 'information_schema'
|
ERROR 42000: Access denied for user 'root'@'localhost' to database 'information_schema'
|
||||||
DROP VIEW test.v_processlist;
|
DROP VIEW test.v_processlist;
|
||||||
@ -99,25 +100,26 @@ PROCESSLIST CREATE TEMPORARY TABLE `PROCESSLIST` (
|
|||||||
`COMMAND` varchar(16) NOT NULL DEFAULT '',
|
`COMMAND` varchar(16) NOT NULL DEFAULT '',
|
||||||
`TIME` int(7) NOT NULL DEFAULT '0',
|
`TIME` int(7) NOT NULL DEFAULT '0',
|
||||||
`STATE` varchar(64) DEFAULT NULL,
|
`STATE` varchar(64) DEFAULT NULL,
|
||||||
`INFO` longtext
|
`INFO` longtext,
|
||||||
|
`TIME_MS` decimal(22,3) NOT NULL DEFAULT '0.000'
|
||||||
) DEFAULT CHARSET=utf8
|
) DEFAULT CHARSET=utf8
|
||||||
SHOW processlist;
|
SHOW processlist;
|
||||||
Id User Host db Command Time State Info
|
Id User Host db Command Time State Info
|
||||||
ID ddicttestuser1 HOST_NAME information_schema Query TIME NULL SHOW processlist
|
ID ddicttestuser1 HOST_NAME information_schema Query TIME NULL SHOW processlist
|
||||||
SELECT * FROM processlist ORDER BY id;
|
SELECT * FROM processlist ORDER BY id;
|
||||||
ID USER HOST DB COMMAND TIME STATE INFO
|
ID USER HOST DB COMMAND TIME STATE INFO TIME_MS
|
||||||
ID ddicttestuser1 HOST_NAME information_schema Query TIME executing SELECT * FROM processlist ORDER BY id
|
ID ddicttestuser1 HOST_NAME information_schema Query TIME executing SELECT * FROM processlist ORDER BY id TIME_MS
|
||||||
SELECT ID, USER, HOST, DB, COMMAND, TIME, STATE, INFO FROM processlist ORDER BY id;
|
SELECT ID, USER, HOST, DB, COMMAND, TIME, STATE, INFO, TIME_MS FROM processlist ORDER BY id;
|
||||||
ID USER HOST DB COMMAND TIME STATE INFO
|
ID USER HOST DB COMMAND TIME STATE INFO TIME_MS
|
||||||
ID ddicttestuser1 HOST_NAME information_schema Query TIME executing SELECT ID, USER, HOST, DB, COMMAND, TIME, STATE, INFO FROM processlist ORDER BY id
|
ID ddicttestuser1 HOST_NAME information_schema Query TIME executing SELECT ID, USER, HOST, DB, COMMAND, TIME, STATE, INFO, TIME_MS FROM processlist ORDER BY id TIME_MS
|
||||||
CREATE TEMPORARY TABLE test.t_processlist AS SELECT * FROM processlist;
|
CREATE TEMPORARY TABLE test.t_processlist AS SELECT * FROM processlist;
|
||||||
UPDATE test.t_processlist SET user='horst' WHERE id=1 ;
|
UPDATE test.t_processlist SET user='horst' WHERE id=1 ;
|
||||||
INSERT INTO processlist SELECT * FROM test.t_processlist;
|
INSERT INTO processlist SELECT * FROM test.t_processlist;
|
||||||
ERROR 42000: Access denied for user 'ddicttestuser1'@'localhost' to database 'information_schema'
|
ERROR 42000: Access denied for user 'ddicttestuser1'@'localhost' to database 'information_schema'
|
||||||
DROP TABLE test.t_processlist;
|
DROP TABLE test.t_processlist;
|
||||||
CREATE VIEW test.v_processlist (ID, USER, HOST, DB, COMMAND, TIME, STATE, INFO) AS SELECT * FROM processlist WITH CHECK OPTION;
|
CREATE VIEW test.v_processlist (ID, USER, HOST, DB, COMMAND, TIME, STATE, INFO, TIME_MS) AS SELECT * FROM processlist WITH CHECK OPTION;
|
||||||
ERROR HY000: CHECK OPTION on non-updatable view 'test.v_processlist'
|
ERROR HY000: CHECK OPTION on non-updatable view 'test.v_processlist'
|
||||||
CREATE VIEW test.v_processlist (ID, USER, HOST, DB, COMMAND, TIME, STATE, INFO) AS SELECT * FROM processlist;
|
CREATE VIEW test.v_processlist (ID, USER, HOST, DB, COMMAND, TIME, STATE, INFO, TIME_MS) AS SELECT * FROM processlist;
|
||||||
UPDATE test.v_processlist SET TIME=NOW() WHERE id = 1;
|
UPDATE test.v_processlist SET TIME=NOW() WHERE id = 1;
|
||||||
ERROR 42000: Access denied for user 'ddicttestuser1'@'localhost' to database 'information_schema'
|
ERROR 42000: Access denied for user 'ddicttestuser1'@'localhost' to database 'information_schema'
|
||||||
DROP VIEW test.v_processlist;
|
DROP VIEW test.v_processlist;
|
||||||
@ -170,8 +172,8 @@ SHOW processlist;
|
|||||||
Id User Host db Command Time State Info
|
Id User Host db Command Time State Info
|
||||||
ID ddicttestuser1 HOST_NAME information_schema Query TIME NULL SHOW processlist
|
ID ddicttestuser1 HOST_NAME information_schema Query TIME NULL SHOW processlist
|
||||||
SELECT * FROM information_schema.processlist;
|
SELECT * FROM information_schema.processlist;
|
||||||
ID USER HOST DB COMMAND TIME STATE INFO
|
ID USER HOST DB COMMAND TIME STATE INFO TIME_MS
|
||||||
ID ddicttestuser1 HOST_NAME information_schema Query TIME executing SELECT * FROM information_schema.processlist
|
ID ddicttestuser1 HOST_NAME information_schema Query TIME executing SELECT * FROM information_schema.processlist TIME_MS
|
||||||
####################################################################################
|
####################################################################################
|
||||||
4.2 New connection con101 (ddicttestuser1 with PROCESS privilege)
|
4.2 New connection con101 (ddicttestuser1 with PROCESS privilege)
|
||||||
SHOW/SELECT shows all processes/threads.
|
SHOW/SELECT shows all processes/threads.
|
||||||
@ -185,10 +187,10 @@ ID root HOST_NAME information_schema Sleep TIME NULL
|
|||||||
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL
|
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL
|
||||||
ID ddicttestuser1 HOST_NAME information_schema Query TIME NULL SHOW processlist
|
ID ddicttestuser1 HOST_NAME information_schema Query TIME NULL SHOW processlist
|
||||||
SELECT * FROM information_schema.processlist;
|
SELECT * FROM information_schema.processlist;
|
||||||
ID USER HOST DB COMMAND TIME STATE INFO
|
ID USER HOST DB COMMAND TIME STATE INFO TIME_MS
|
||||||
ID ddicttestuser1 HOST_NAME information_schema Query TIME executing SELECT * FROM information_schema.processlist
|
ID ddicttestuser1 HOST_NAME information_schema Query TIME executing SELECT * FROM information_schema.processlist TIME_MS
|
||||||
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL
|
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL TIME_MS
|
||||||
ID root HOST_NAME information_schema Sleep TIME NULL
|
ID root HOST_NAME information_schema Sleep TIME NULL TIME_MS
|
||||||
####################################################################################
|
####################################################################################
|
||||||
5 Grant PROCESS privilege to anonymous user.
|
5 Grant PROCESS privilege to anonymous user.
|
||||||
connection default (user=root)
|
connection default (user=root)
|
||||||
@ -209,11 +211,11 @@ ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL
|
|||||||
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL
|
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL
|
||||||
ID HOST_NAME information_schema Query TIME NULL SHOW processlist
|
ID HOST_NAME information_schema Query TIME NULL SHOW processlist
|
||||||
SELECT * FROM information_schema.processlist;
|
SELECT * FROM information_schema.processlist;
|
||||||
ID USER HOST DB COMMAND TIME STATE INFO
|
ID USER HOST DB COMMAND TIME STATE INFO TIME_MS
|
||||||
ID HOST_NAME information_schema Query TIME executing SELECT * FROM information_schema.processlist
|
ID HOST_NAME information_schema Query TIME executing SELECT * FROM information_schema.processlist TIME_MS
|
||||||
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL
|
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL TIME_MS
|
||||||
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL
|
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL TIME_MS
|
||||||
ID root HOST_NAME information_schema Sleep TIME NULL
|
ID root HOST_NAME information_schema Sleep TIME NULL TIME_MS
|
||||||
####################################################################################
|
####################################################################################
|
||||||
6 Revoke PROCESS privilege from ddicttestuser1
|
6 Revoke PROCESS privilege from ddicttestuser1
|
||||||
connection default (user=root)
|
connection default (user=root)
|
||||||
@ -233,10 +235,10 @@ ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL
|
|||||||
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL
|
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL
|
||||||
ID ddicttestuser1 HOST_NAME information_schema Query TIME NULL SHOW processlist
|
ID ddicttestuser1 HOST_NAME information_schema Query TIME NULL SHOW processlist
|
||||||
SELECT * FROM information_schema.processlist;
|
SELECT * FROM information_schema.processlist;
|
||||||
ID USER HOST DB COMMAND TIME STATE INFO
|
ID USER HOST DB COMMAND TIME STATE INFO TIME_MS
|
||||||
ID ddicttestuser1 HOST_NAME information_schema Query TIME executing SELECT * FROM information_schema.processlist
|
ID ddicttestuser1 HOST_NAME information_schema Query TIME executing SELECT * FROM information_schema.processlist TIME_MS
|
||||||
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL
|
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL TIME_MS
|
||||||
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL
|
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL TIME_MS
|
||||||
####################################################################################
|
####################################################################################
|
||||||
7 Revoke PROCESS privilege from anonymous user
|
7 Revoke PROCESS privilege from anonymous user
|
||||||
connection default (user=root)
|
connection default (user=root)
|
||||||
@ -251,9 +253,9 @@ SHOW GRANTS FOR ''@'localhost';
|
|||||||
Grants for @localhost
|
Grants for @localhost
|
||||||
GRANT USAGE ON *.* TO ''@'localhost'
|
GRANT USAGE ON *.* TO ''@'localhost'
|
||||||
SELECT * FROM information_schema.processlist;
|
SELECT * FROM information_schema.processlist;
|
||||||
ID USER HOST DB COMMAND TIME STATE INFO
|
ID USER HOST DB COMMAND TIME STATE INFO TIME_MS
|
||||||
ID HOST_NAME information_schema Query TIME executing SELECT * FROM information_schema.processlist
|
ID HOST_NAME information_schema Query TIME executing SELECT * FROM information_schema.processlist TIME_MS
|
||||||
ID HOST_NAME information_schema Sleep TIME NULL
|
ID HOST_NAME information_schema Sleep TIME NULL TIME_MS
|
||||||
####################################################################################
|
####################################################################################
|
||||||
8 Grant SUPER (does not imply PROCESS) privilege to ddicttestuser1
|
8 Grant SUPER (does not imply PROCESS) privilege to ddicttestuser1
|
||||||
connection default (user=root)
|
connection default (user=root)
|
||||||
@ -273,11 +275,11 @@ ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL
|
|||||||
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL
|
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL
|
||||||
ID ddicttestuser1 HOST_NAME information_schema Query TIME NULL SHOW processlist
|
ID ddicttestuser1 HOST_NAME information_schema Query TIME NULL SHOW processlist
|
||||||
SELECT * FROM information_schema.processlist;
|
SELECT * FROM information_schema.processlist;
|
||||||
ID USER HOST DB COMMAND TIME STATE INFO
|
ID USER HOST DB COMMAND TIME STATE INFO TIME_MS
|
||||||
ID ddicttestuser1 HOST_NAME information_schema Query TIME executing SELECT * FROM information_schema.processlist
|
ID ddicttestuser1 HOST_NAME information_schema Query TIME executing SELECT * FROM information_schema.processlist TIME_MS
|
||||||
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL
|
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL TIME_MS
|
||||||
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL
|
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL TIME_MS
|
||||||
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL
|
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL TIME_MS
|
||||||
####################################################################################
|
####################################################################################
|
||||||
9 Revoke SUPER privilege from user ddicttestuser1
|
9 Revoke SUPER privilege from user ddicttestuser1
|
||||||
connection default (user=root)
|
connection default (user=root)
|
||||||
@ -299,12 +301,12 @@ ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL
|
|||||||
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL
|
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL
|
||||||
ID ddicttestuser1 HOST_NAME information_schema Query TIME NULL SHOW processlist
|
ID ddicttestuser1 HOST_NAME information_schema Query TIME NULL SHOW processlist
|
||||||
SELECT * FROM information_schema.processlist;
|
SELECT * FROM information_schema.processlist;
|
||||||
ID USER HOST DB COMMAND TIME STATE INFO
|
ID USER HOST DB COMMAND TIME STATE INFO TIME_MS
|
||||||
ID ddicttestuser1 HOST_NAME information_schema Query TIME executing SELECT * FROM information_schema.processlist
|
ID ddicttestuser1 HOST_NAME information_schema Query TIME executing SELECT * FROM information_schema.processlist TIME_MS
|
||||||
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL
|
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL TIME_MS
|
||||||
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL
|
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL TIME_MS
|
||||||
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL
|
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL TIME_MS
|
||||||
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL
|
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL TIME_MS
|
||||||
####################################################################################
|
####################################################################################
|
||||||
10 Grant SUPER privilege with grant option to user ddicttestuser1.
|
10 Grant SUPER privilege with grant option to user ddicttestuser1.
|
||||||
connection default (user=root)
|
connection default (user=root)
|
||||||
@ -353,18 +355,18 @@ ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL
|
|||||||
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL
|
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL
|
||||||
ID ddicttestuser2 HOST_NAME information_schema Query TIME NULL SHOW processlist
|
ID ddicttestuser2 HOST_NAME information_schema Query TIME NULL SHOW processlist
|
||||||
SELECT * FROM information_schema.processlist;
|
SELECT * FROM information_schema.processlist;
|
||||||
ID USER HOST DB COMMAND TIME STATE INFO
|
ID USER HOST DB COMMAND TIME STATE INFO TIME_MS
|
||||||
ID ddicttestuser2 HOST_NAME information_schema Query TIME executing SELECT * FROM information_schema.processlist
|
ID ddicttestuser2 HOST_NAME information_schema Query TIME executing SELECT * FROM information_schema.processlist TIME_MS
|
||||||
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL
|
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL TIME_MS
|
||||||
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL
|
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL TIME_MS
|
||||||
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL
|
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL TIME_MS
|
||||||
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL
|
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL TIME_MS
|
||||||
ID HOST_NAME information_schema Sleep TIME NULL
|
ID HOST_NAME information_schema Sleep TIME NULL TIME_MS
|
||||||
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL
|
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL TIME_MS
|
||||||
ID HOST_NAME information_schema Sleep TIME NULL
|
ID HOST_NAME information_schema Sleep TIME NULL TIME_MS
|
||||||
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL
|
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL TIME_MS
|
||||||
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL
|
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL TIME_MS
|
||||||
ID root HOST_NAME information_schema Sleep TIME NULL
|
ID root HOST_NAME information_schema Sleep TIME NULL TIME_MS
|
||||||
####################################################################################
|
####################################################################################
|
||||||
11 User ddicttestuser1 revokes PROCESS privilege from user ddicttestuser2
|
11 User ddicttestuser1 revokes PROCESS privilege from user ddicttestuser2
|
||||||
connection ddicttestuser1;
|
connection ddicttestuser1;
|
||||||
@ -382,9 +384,9 @@ Id User Host db Command Time State Info
|
|||||||
ID ddicttestuser2 HOST_NAME information_schema Sleep TIME NULL
|
ID ddicttestuser2 HOST_NAME information_schema Sleep TIME NULL
|
||||||
ID ddicttestuser2 HOST_NAME information_schema Query TIME NULL SHOW processlist
|
ID ddicttestuser2 HOST_NAME information_schema Query TIME NULL SHOW processlist
|
||||||
SELECT * FROM information_schema.processlist;
|
SELECT * FROM information_schema.processlist;
|
||||||
ID USER HOST DB COMMAND TIME STATE INFO
|
ID USER HOST DB COMMAND TIME STATE INFO TIME_MS
|
||||||
ID ddicttestuser2 HOST_NAME information_schema Query TIME executing SELECT * FROM information_schema.processlist
|
ID ddicttestuser2 HOST_NAME information_schema Query TIME executing SELECT * FROM information_schema.processlist TIME_MS
|
||||||
ID ddicttestuser2 HOST_NAME information_schema Sleep TIME NULL
|
ID ddicttestuser2 HOST_NAME information_schema Sleep TIME NULL TIME_MS
|
||||||
####################################################################################
|
####################################################################################
|
||||||
11.2 Revoke SUPER,PROCESS,GRANT OPTION privilege from user ddicttestuser1
|
11.2 Revoke SUPER,PROCESS,GRANT OPTION privilege from user ddicttestuser1
|
||||||
connection default (user=root)
|
connection default (user=root)
|
||||||
@ -411,15 +413,15 @@ ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL
|
|||||||
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL
|
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL
|
||||||
ID ddicttestuser1 HOST_NAME information_schema Query TIME NULL SHOW processlist
|
ID ddicttestuser1 HOST_NAME information_schema Query TIME NULL SHOW processlist
|
||||||
SELECT * FROM information_schema.processlist;
|
SELECT * FROM information_schema.processlist;
|
||||||
ID USER HOST DB COMMAND TIME STATE INFO
|
ID USER HOST DB COMMAND TIME STATE INFO TIME_MS
|
||||||
ID ddicttestuser1 HOST_NAME information_schema Query TIME executing SELECT * FROM information_schema.processlist
|
ID ddicttestuser1 HOST_NAME information_schema Query TIME executing SELECT * FROM information_schema.processlist TIME_MS
|
||||||
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL
|
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL TIME_MS
|
||||||
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL
|
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL TIME_MS
|
||||||
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL
|
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL TIME_MS
|
||||||
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL
|
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL TIME_MS
|
||||||
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL
|
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL TIME_MS
|
||||||
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL
|
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL TIME_MS
|
||||||
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL
|
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL TIME_MS
|
||||||
####################################################################################
|
####################################################################################
|
||||||
12 Revoke the SELECT privilege from user ddicttestuser1
|
12 Revoke the SELECT privilege from user ddicttestuser1
|
||||||
connection default (user=root)
|
connection default (user=root)
|
||||||
@ -447,16 +449,16 @@ ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL
|
|||||||
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL
|
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL
|
||||||
ID ddicttestuser1 HOST_NAME information_schema Query TIME NULL SHOW processlist
|
ID ddicttestuser1 HOST_NAME information_schema Query TIME NULL SHOW processlist
|
||||||
SELECT * FROM information_schema.processlist;
|
SELECT * FROM information_schema.processlist;
|
||||||
ID USER HOST DB COMMAND TIME STATE INFO
|
ID USER HOST DB COMMAND TIME STATE INFO TIME_MS
|
||||||
ID ddicttestuser1 HOST_NAME information_schema Query TIME executing SELECT * FROM information_schema.processlist
|
ID ddicttestuser1 HOST_NAME information_schema Query TIME executing SELECT * FROM information_schema.processlist TIME_MS
|
||||||
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL
|
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL TIME_MS
|
||||||
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL
|
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL TIME_MS
|
||||||
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL
|
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL TIME_MS
|
||||||
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL
|
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL TIME_MS
|
||||||
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL
|
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL TIME_MS
|
||||||
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL
|
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL TIME_MS
|
||||||
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL
|
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL TIME_MS
|
||||||
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL
|
ID ddicttestuser1 HOST_NAME information_schema Sleep TIME NULL TIME_MS
|
||||||
####################################################################################
|
####################################################################################
|
||||||
12.2 Revoke only the SELECT privilege on the information_schema from ddicttestuser1.
|
12.2 Revoke only the SELECT privilege on the information_schema from ddicttestuser1.
|
||||||
connection default (user=root)
|
connection default (user=root)
|
||||||
|
File diff suppressed because one or more lines are too long
@ -16,6 +16,8 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
--source include/not_embedded.inc
|
--source include/not_embedded.inc
|
||||||
|
# This test depends on having the PBXT information_schema stuff.
|
||||||
|
--source include/have_pbxt.inc
|
||||||
|
|
||||||
let $my_where = WHERE table_schema = 'information_schema'
|
let $my_where = WHERE table_schema = 'information_schema'
|
||||||
AND table_name <> 'profiling';
|
AND table_name <> 'profiling';
|
||||||
|
@ -54,11 +54,10 @@ perl;
|
|||||||
close FILE;
|
close FILE;
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
# line below will be removed
|
|
||||||
disable_ps_protocol;
|
|
||||||
replace_regex /Table.*t_corrupted2/t_corrupted2/ ;
|
replace_regex /Table.*t_corrupted2/t_corrupted2/ ;
|
||||||
|
--enable_prepare_warnings
|
||||||
select * from t_corrupted2; # should show corruption and repair messages
|
select * from t_corrupted2; # should show corruption and repair messages
|
||||||
enable_ps_protocol;
|
--disable_prepare_warnings
|
||||||
select * from t_corrupted2; # should show just rows
|
select * from t_corrupted2; # should show just rows
|
||||||
|
|
||||||
drop database mysqltest;
|
drop database mysqltest;
|
||||||
|
1
mysql-test/suite/maria/t/maria_showlog_error-master.opt
Normal file
1
mysql-test/suite/maria/t/maria_showlog_error-master.opt
Normal file
@ -0,0 +1 @@
|
|||||||
|
--force-restart
|
@ -43,6 +43,9 @@ SET @max_row = 20;
|
|||||||
let $more_trigger_tests= 0;
|
let $more_trigger_tests= 0;
|
||||||
let $more_pk_ui_tests= 0;
|
let $more_pk_ui_tests= 0;
|
||||||
|
|
||||||
|
# This test relies on connecting externally from mysqltest, doesn't
|
||||||
|
# work with embedded.
|
||||||
|
--source include/not_embedded.inc
|
||||||
# The server must support partitioning.
|
# The server must support partitioning.
|
||||||
--source include/have_partition.inc
|
--source include/have_partition.inc
|
||||||
|
|
||||||
|
@ -42,6 +42,9 @@ SET @max_row = 20;
|
|||||||
let $more_trigger_tests= 0;
|
let $more_trigger_tests= 0;
|
||||||
let $more_pk_ui_tests= 0;
|
let $more_pk_ui_tests= 0;
|
||||||
|
|
||||||
|
# This test relies on connecting externally from mysqltest, doesn't
|
||||||
|
# work with embedded.
|
||||||
|
--source include/not_embedded.inc
|
||||||
# The server must support partitioning.
|
# The server must support partitioning.
|
||||||
--source include/have_partition.inc
|
--source include/have_partition.inc
|
||||||
|
|
||||||
|
@ -42,6 +42,9 @@ SET @max_row = 20;
|
|||||||
let $more_trigger_tests= 0;
|
let $more_trigger_tests= 0;
|
||||||
let $more_pk_ui_tests= 0;
|
let $more_pk_ui_tests= 0;
|
||||||
|
|
||||||
|
# This test relies on connecting externally from mysqltest, doesn't
|
||||||
|
# work with embedded.
|
||||||
|
--source include/not_embedded.inc
|
||||||
# The server must support partitioning.
|
# The server must support partitioning.
|
||||||
--source include/have_partition.inc
|
--source include/have_partition.inc
|
||||||
|
|
||||||
|
@ -43,6 +43,9 @@ SET @max_row = 20;
|
|||||||
let $more_trigger_tests= 0;
|
let $more_trigger_tests= 0;
|
||||||
let $more_pk_ui_tests= 0;
|
let $more_pk_ui_tests= 0;
|
||||||
|
|
||||||
|
# This test relies on connecting externally from mysqltest, doesn't
|
||||||
|
# work with embedded.
|
||||||
|
--source include/not_embedded.inc
|
||||||
# The server must support partitioning.
|
# The server must support partitioning.
|
||||||
--source include/have_partition.inc
|
--source include/have_partition.inc
|
||||||
|
|
||||||
|
@ -43,6 +43,9 @@ SET @max_row = 20;
|
|||||||
let $more_trigger_tests= 0;
|
let $more_trigger_tests= 0;
|
||||||
let $more_pk_ui_tests= 0;
|
let $more_pk_ui_tests= 0;
|
||||||
|
|
||||||
|
# This test relies on connecting externally from mysqltest, doesn't
|
||||||
|
# work with embedded.
|
||||||
|
--source include/not_embedded.inc
|
||||||
# The server must support partitioning.
|
# The server must support partitioning.
|
||||||
--source include/have_partition.inc
|
--source include/have_partition.inc
|
||||||
|
|
||||||
|
@ -43,6 +43,9 @@ SET @max_row = 20;
|
|||||||
let $more_trigger_tests= 0;
|
let $more_trigger_tests= 0;
|
||||||
let $more_pk_ui_tests= 0;
|
let $more_pk_ui_tests= 0;
|
||||||
|
|
||||||
|
# This test relies on connecting externally from mysqltest, doesn't
|
||||||
|
# work with embedded.
|
||||||
|
--source include/not_embedded.inc
|
||||||
# The server must support partitioning.
|
# The server must support partitioning.
|
||||||
--source include/have_partition.inc
|
--source include/have_partition.inc
|
||||||
|
|
||||||
|
@ -40,6 +40,9 @@ SET @max_row = 20;
|
|||||||
let $more_trigger_tests= 0;
|
let $more_trigger_tests= 0;
|
||||||
let $more_pk_ui_tests= 0;
|
let $more_pk_ui_tests= 0;
|
||||||
|
|
||||||
|
# This test relies on connecting externally from mysqltest, doesn't
|
||||||
|
# work with embedded.
|
||||||
|
--source include/not_embedded.inc
|
||||||
# The server must support partitioning.
|
# The server must support partitioning.
|
||||||
--source include/have_partition.inc
|
--source include/have_partition.inc
|
||||||
|
|
||||||
|
@ -40,6 +40,9 @@ SET @max_row = 20;
|
|||||||
let $more_trigger_tests= 0;
|
let $more_trigger_tests= 0;
|
||||||
let $more_pk_ui_tests= 0;
|
let $more_pk_ui_tests= 0;
|
||||||
|
|
||||||
|
# This test relies on connecting externally from mysqltest, doesn't
|
||||||
|
# work with embedded.
|
||||||
|
--source include/not_embedded.inc
|
||||||
# The server must support partitioning.
|
# The server must support partitioning.
|
||||||
--source include/have_partition.inc
|
--source include/have_partition.inc
|
||||||
|
|
||||||
|
@ -40,6 +40,9 @@ SET @max_row = 20;
|
|||||||
let $more_trigger_tests= 0;
|
let $more_trigger_tests= 0;
|
||||||
let $more_pk_ui_tests= 0;
|
let $more_pk_ui_tests= 0;
|
||||||
|
|
||||||
|
# This test relies on connecting externally from mysqltest, doesn't
|
||||||
|
# work with embedded.
|
||||||
|
--source include/not_embedded.inc
|
||||||
# The server must support partitioning.
|
# The server must support partitioning.
|
||||||
--source include/have_partition.inc
|
--source include/have_partition.inc
|
||||||
|
|
||||||
|
@ -40,6 +40,9 @@ SET @max_row = 20;
|
|||||||
let $more_trigger_tests= 0;
|
let $more_trigger_tests= 0;
|
||||||
let $more_pk_ui_tests= 0;
|
let $more_pk_ui_tests= 0;
|
||||||
|
|
||||||
|
# This test relies on connecting externally from mysqltest, doesn't
|
||||||
|
# work with embedded.
|
||||||
|
--source include/not_embedded.inc
|
||||||
# The server must support partitioning.
|
# The server must support partitioning.
|
||||||
--source include/have_partition.inc
|
--source include/have_partition.inc
|
||||||
|
|
||||||
|
@ -40,6 +40,9 @@ SET @max_row = 20;
|
|||||||
let $more_trigger_tests= 0;
|
let $more_trigger_tests= 0;
|
||||||
let $more_pk_ui_tests= 0;
|
let $more_pk_ui_tests= 0;
|
||||||
|
|
||||||
|
# This test relies on connecting externally from mysqltest, doesn't
|
||||||
|
# work with embedded.
|
||||||
|
--source include/not_embedded.inc
|
||||||
# The server must support partitioning.
|
# The server must support partitioning.
|
||||||
--source include/have_partition.inc
|
--source include/have_partition.inc
|
||||||
|
|
||||||
|
@ -40,6 +40,9 @@ SET @max_row = 20;
|
|||||||
let $more_trigger_tests= 0;
|
let $more_trigger_tests= 0;
|
||||||
let $more_pk_ui_tests= 0;
|
let $more_pk_ui_tests= 0;
|
||||||
|
|
||||||
|
# This test relies on connecting externally from mysqltest, doesn't
|
||||||
|
# work with embedded.
|
||||||
|
--source include/not_embedded.inc
|
||||||
# The server must support partitioning.
|
# The server must support partitioning.
|
||||||
--source include/have_partition.inc
|
--source include/have_partition.inc
|
||||||
|
|
||||||
|
@ -39,6 +39,8 @@ SET @max_row = 20;
|
|||||||
let $more_trigger_tests= 0;
|
let $more_trigger_tests= 0;
|
||||||
let $more_pk_ui_tests= 0;
|
let $more_pk_ui_tests= 0;
|
||||||
|
|
||||||
|
# This test relies on --list_files, which doesn't work correctly in embedded.
|
||||||
|
--source include/not_embedded.inc
|
||||||
# The server must support partitioning.
|
# The server must support partitioning.
|
||||||
--source include/have_partition.inc
|
--source include/have_partition.inc
|
||||||
|
|
||||||
|
@ -39,6 +39,8 @@ SET @max_row = 20;
|
|||||||
let $more_trigger_tests= 0;
|
let $more_trigger_tests= 0;
|
||||||
let $more_pk_ui_tests= 0;
|
let $more_pk_ui_tests= 0;
|
||||||
|
|
||||||
|
# This test relies on --list_files, which doesn't work correctly in embedded.
|
||||||
|
--source include/not_embedded.inc
|
||||||
# The server must support partitioning.
|
# The server must support partitioning.
|
||||||
--source include/have_partition.inc
|
--source include/have_partition.inc
|
||||||
|
|
||||||
|
@ -40,6 +40,9 @@ SET @max_row = 20;
|
|||||||
let $more_trigger_tests= 0;
|
let $more_trigger_tests= 0;
|
||||||
let $more_pk_ui_tests= 0;
|
let $more_pk_ui_tests= 0;
|
||||||
|
|
||||||
|
# This test relies on connecting externally from mysqltest, doesn't
|
||||||
|
# work with embedded.
|
||||||
|
--source include/not_embedded.inc
|
||||||
# The server must support partitioning.
|
# The server must support partitioning.
|
||||||
--source include/have_partition.inc
|
--source include/have_partition.inc
|
||||||
|
|
||||||
|
@ -40,6 +40,9 @@ SET @max_row = 20;
|
|||||||
let $more_trigger_tests= 0;
|
let $more_trigger_tests= 0;
|
||||||
let $more_pk_ui_tests= 0;
|
let $more_pk_ui_tests= 0;
|
||||||
|
|
||||||
|
# This test relies on connecting externally from mysqltest, doesn't
|
||||||
|
# work with embedded.
|
||||||
|
--source include/not_embedded.inc
|
||||||
# The server must support partitioning.
|
# The server must support partitioning.
|
||||||
--source include/have_partition.inc
|
--source include/have_partition.inc
|
||||||
|
|
||||||
|
@ -40,6 +40,9 @@ SET @max_row = 20;
|
|||||||
let $more_trigger_tests= 0;
|
let $more_trigger_tests= 0;
|
||||||
let $more_pk_ui_tests= 0;
|
let $more_pk_ui_tests= 0;
|
||||||
|
|
||||||
|
# This test relies on connecting externally from mysqltest, doesn't
|
||||||
|
# work with embedded.
|
||||||
|
--source include/not_embedded.inc
|
||||||
# The server must support partitioning.
|
# The server must support partitioning.
|
||||||
--source include/have_partition.inc
|
--source include/have_partition.inc
|
||||||
|
|
||||||
|
@ -40,6 +40,9 @@ SET @max_row = 20;
|
|||||||
let $more_trigger_tests= 0;
|
let $more_trigger_tests= 0;
|
||||||
let $more_pk_ui_tests= 0;
|
let $more_pk_ui_tests= 0;
|
||||||
|
|
||||||
|
# This test relies on connecting externally from mysqltest, doesn't
|
||||||
|
# work with embedded.
|
||||||
|
--source include/not_embedded.inc
|
||||||
# The server must support partitioning.
|
# The server must support partitioning.
|
||||||
--source include/have_partition.inc
|
--source include/have_partition.inc
|
||||||
|
|
||||||
|
@ -40,6 +40,9 @@ SET @max_row = 20;
|
|||||||
let $more_trigger_tests= 0;
|
let $more_trigger_tests= 0;
|
||||||
let $more_pk_ui_tests= 0;
|
let $more_pk_ui_tests= 0;
|
||||||
|
|
||||||
|
# This test relies on connecting externally from mysqltest, doesn't
|
||||||
|
# work with embedded.
|
||||||
|
--source include/not_embedded.inc
|
||||||
# The server must support partitioning.
|
# The server must support partitioning.
|
||||||
--source include/have_partition.inc
|
--source include/have_partition.inc
|
||||||
# The server must support symlink for DATA/INDEX DIRECTORY.
|
# The server must support symlink for DATA/INDEX DIRECTORY.
|
||||||
|
@ -39,6 +39,9 @@ SET @max_row = 20;
|
|||||||
let $more_trigger_tests= 0;
|
let $more_trigger_tests= 0;
|
||||||
let $more_pk_ui_tests= 0;
|
let $more_pk_ui_tests= 0;
|
||||||
|
|
||||||
|
# This test relies on connecting externally from mysqltest, doesn't
|
||||||
|
# work with embedded.
|
||||||
|
--source include/not_embedded.inc
|
||||||
# The server must support partitioning.
|
# The server must support partitioning.
|
||||||
--source include/have_partition.inc
|
--source include/have_partition.inc
|
||||||
|
|
||||||
|
@ -39,6 +39,9 @@ SET @max_row = 20;
|
|||||||
let $more_trigger_tests= 0;
|
let $more_trigger_tests= 0;
|
||||||
let $more_pk_ui_tests= 0;
|
let $more_pk_ui_tests= 0;
|
||||||
|
|
||||||
|
# This test relies on connecting externally from mysqltest, doesn't
|
||||||
|
# work with embedded.
|
||||||
|
--source include/not_embedded.inc
|
||||||
# The server must support partitioning.
|
# The server must support partitioning.
|
||||||
--source include/have_partition.inc
|
--source include/have_partition.inc
|
||||||
|
|
||||||
|
@ -16,7 +16,11 @@ FLUSH TABLES;
|
|||||||
let $MYSQLD_DATADIR= `select @@datadir`;
|
let $MYSQLD_DATADIR= `select @@datadir`;
|
||||||
--remove_file $MYSQLD_DATADIR/test/t1_will_crash.MYI
|
--remove_file $MYSQLD_DATADIR/test/t1_will_crash.MYI
|
||||||
--copy_file std_data/corrupt_t1.MYI $MYSQLD_DATADIR/test/t1_will_crash.MYI
|
--copy_file std_data/corrupt_t1.MYI $MYSQLD_DATADIR/test/t1_will_crash.MYI
|
||||||
|
# Embedded server doesn't chdir to data directory
|
||||||
|
--replace_regex /Table '.*\/data\/test\/t1_will_crash/Table '.\/test\/t1_will_crash/
|
||||||
|
--enable_prepare_warnings
|
||||||
SELECT * FROM t1_will_crash;
|
SELECT * FROM t1_will_crash;
|
||||||
|
--disable_prepare_warnings
|
||||||
DROP TABLE t1_will_crash;
|
DROP TABLE t1_will_crash;
|
||||||
CREATE TABLE t1_will_crash (a INT, KEY (a))
|
CREATE TABLE t1_will_crash (a INT, KEY (a))
|
||||||
ENGINE=MyISAM
|
ENGINE=MyISAM
|
||||||
@ -29,5 +33,9 @@ FLUSH TABLES;
|
|||||||
--echo # head -c1024 t1#P#p1.MYI > corrupt_t1#P#p1.MYI
|
--echo # head -c1024 t1#P#p1.MYI > corrupt_t1#P#p1.MYI
|
||||||
--remove_file $MYSQLD_DATADIR/test/t1_will_crash#P#p1.MYI
|
--remove_file $MYSQLD_DATADIR/test/t1_will_crash#P#p1.MYI
|
||||||
--copy_file std_data/corrupt_t1#P#p1.MYI $MYSQLD_DATADIR/test/t1_will_crash#P#p1.MYI
|
--copy_file std_data/corrupt_t1#P#p1.MYI $MYSQLD_DATADIR/test/t1_will_crash#P#p1.MYI
|
||||||
|
# Embedded server doesn't chdir to data directory
|
||||||
|
--replace_regex /Table '.*\/data\/test\/t1_will_crash/Table '.\/test\/t1_will_crash/
|
||||||
|
--enable_prepare_warnings
|
||||||
SELECT * FROM t1_will_crash;
|
SELECT * FROM t1_will_crash;
|
||||||
|
--disable_prepare_warnings
|
||||||
DROP TABLE t1_will_crash;
|
DROP TABLE t1_will_crash;
|
||||||
|
@ -58,8 +58,8 @@ ENGINE = InnoDB
|
|||||||
PARTITION BY HASH (a)
|
PARTITION BY HASH (a)
|
||||||
PARTITIONS 2;
|
PARTITIONS 2;
|
||||||
|
|
||||||
connect (con1,127.0.0.1,root,,test,$MASTER_MYPORT,);
|
connect (con1,localhost,root,,test,$MASTER_MYPORT,);
|
||||||
connect (con2,127.0.0.1,root,,test,$MASTER_MYPORT,);
|
connect (con2,localhost,root,,test,$MASTER_MYPORT,);
|
||||||
|
|
||||||
--connection con1
|
--connection con1
|
||||||
SET autocommit=OFF;
|
SET autocommit=OFF;
|
||||||
|
@ -39,6 +39,9 @@ SET @max_row = 20;
|
|||||||
let $more_trigger_tests= 0;
|
let $more_trigger_tests= 0;
|
||||||
let $more_pk_ui_tests= 0;
|
let $more_pk_ui_tests= 0;
|
||||||
|
|
||||||
|
# This test relies on connecting externally from mysqltest, doesn't
|
||||||
|
# work with embedded.
|
||||||
|
--source include/not_embedded.inc
|
||||||
# The server must support partitioning.
|
# The server must support partitioning.
|
||||||
--source include/have_partition.inc
|
--source include/have_partition.inc
|
||||||
|
|
||||||
|
@ -39,6 +39,9 @@ SET @max_row = 20;
|
|||||||
let $more_trigger_tests= 0;
|
let $more_trigger_tests= 0;
|
||||||
let $more_pk_ui_tests= 0;
|
let $more_pk_ui_tests= 0;
|
||||||
|
|
||||||
|
# This test relies on connecting externally from mysqltest, doesn't
|
||||||
|
# work with embedded.
|
||||||
|
--source include/not_embedded.inc
|
||||||
# The server must support partitioning.
|
# The server must support partitioning.
|
||||||
--source include/have_partition.inc
|
--source include/have_partition.inc
|
||||||
|
|
||||||
|
@ -61,8 +61,8 @@ show tables;
|
|||||||
Tables_in_test
|
Tables_in_test
|
||||||
connect(localhost,test,,test2,MASTER_PORT,MASTER_SOCKET);
|
connect(localhost,test,,test2,MASTER_PORT,MASTER_SOCKET);
|
||||||
ERROR 28000: Access denied for user 'test'@'localhost' (using password: NO)
|
ERROR 28000: Access denied for user 'test'@'localhost' (using password: NO)
|
||||||
connect(localhost,test,,"",MASTER_PORT,MASTER_SOCKET);
|
connect(localhost,,,,MASTER_PORT,MASTER_SOCKET);
|
||||||
ERROR 28000: Access denied for user 'test'@'localhost' (using password: NO)
|
ERROR 28000: Access denied for user ''@'localhost' (using password: NO)
|
||||||
connect(localhost,test,zorro,test2,MASTER_PORT,MASTER_SOCKET);
|
connect(localhost,test,zorro,test2,MASTER_PORT,MASTER_SOCKET);
|
||||||
ERROR 28000: Access denied for user 'test'@'localhost' (using password: YES)
|
ERROR 28000: Access denied for user 'test'@'localhost' (using password: YES)
|
||||||
connect(localhost,test,zorro,test,MASTER_PORT,MASTER_SOCKET);
|
connect(localhost,test,zorro,test,MASTER_PORT,MASTER_SOCKET);
|
||||||
|
@ -122,8 +122,7 @@ DROP SCHEMA IF EXISTS `mysqlslap`;
|
|||||||
DROP SCHEMA IF EXISTS `mysqlslap`;
|
DROP SCHEMA IF EXISTS `mysqlslap`;
|
||||||
CREATE SCHEMA `mysqlslap`;
|
CREATE SCHEMA `mysqlslap`;
|
||||||
use mysqlslap;
|
use mysqlslap;
|
||||||
set storage_engine=`heap`;
|
CREATE TABLE t1 (id int, name varchar(64)) Engine = heap;
|
||||||
CREATE TABLE t1 (id int, name varchar(64));
|
|
||||||
create table t2(foo1 varchar(32), foo2 varchar(32));
|
create table t2(foo1 varchar(32), foo2 varchar(32));
|
||||||
INSERT INTO t1 VALUES (1, 'This is a test');
|
INSERT INTO t1 VALUES (1, 'This is a test');
|
||||||
insert into t2 values ('test', 'test2');
|
insert into t2 values ('test', 'test2');
|
||||||
@ -133,8 +132,7 @@ DROP SCHEMA IF EXISTS `mysqlslap`;
|
|||||||
DROP SCHEMA IF EXISTS `mysqlslap`;
|
DROP SCHEMA IF EXISTS `mysqlslap`;
|
||||||
CREATE SCHEMA `mysqlslap`;
|
CREATE SCHEMA `mysqlslap`;
|
||||||
use mysqlslap;
|
use mysqlslap;
|
||||||
set storage_engine=`myisam`;
|
CREATE TABLE t1 (id int, name varchar(64)) Engine = myisam;
|
||||||
CREATE TABLE t1 (id int, name varchar(64));
|
|
||||||
create table t2(foo1 varchar(32), foo2 varchar(32));
|
create table t2(foo1 varchar(32), foo2 varchar(32));
|
||||||
INSERT INTO t1 VALUES (1, 'This is a test');
|
INSERT INTO t1 VALUES (1, 'This is a test');
|
||||||
insert into t2 values ('test', 'test2');
|
insert into t2 values ('test', 'test2');
|
||||||
@ -144,8 +142,7 @@ DROP SCHEMA IF EXISTS `mysqlslap`;
|
|||||||
DROP SCHEMA IF EXISTS `mysqlslap`;
|
DROP SCHEMA IF EXISTS `mysqlslap`;
|
||||||
CREATE SCHEMA `mysqlslap`;
|
CREATE SCHEMA `mysqlslap`;
|
||||||
use mysqlslap;
|
use mysqlslap;
|
||||||
set storage_engine=`heap`;
|
CREATE TABLE t1 (id int, name varchar(64)) Engine = heap;
|
||||||
CREATE TABLE t1 (id int, name varchar(64));
|
|
||||||
create table t2(foo1 varchar(32), foo2 varchar(32));
|
create table t2(foo1 varchar(32), foo2 varchar(32));
|
||||||
INSERT INTO t1 VALUES (1, 'This is a test');
|
INSERT INTO t1 VALUES (1, 'This is a test');
|
||||||
insert into t2 values ('test', 'test2');
|
insert into t2 values ('test', 'test2');
|
||||||
@ -157,8 +154,7 @@ DROP SCHEMA IF EXISTS `mysqlslap`;
|
|||||||
DROP SCHEMA IF EXISTS `mysqlslap`;
|
DROP SCHEMA IF EXISTS `mysqlslap`;
|
||||||
CREATE SCHEMA `mysqlslap`;
|
CREATE SCHEMA `mysqlslap`;
|
||||||
use mysqlslap;
|
use mysqlslap;
|
||||||
set storage_engine=`myisam`;
|
CREATE TABLE t1 (id int, name varchar(64)) Engine = myisam;
|
||||||
CREATE TABLE t1 (id int, name varchar(64));
|
|
||||||
create table t2(foo1 varchar(32), foo2 varchar(32));
|
create table t2(foo1 varchar(32), foo2 varchar(32));
|
||||||
INSERT INTO t1 VALUES (1, 'This is a test');
|
INSERT INTO t1 VALUES (1, 'This is a test');
|
||||||
insert into t2 values ('test', 'test2');
|
insert into t2 values ('test', 'test2');
|
||||||
@ -170,8 +166,7 @@ DROP SCHEMA IF EXISTS `mysqlslap`;
|
|||||||
DROP SCHEMA IF EXISTS `mysqlslap`;
|
DROP SCHEMA IF EXISTS `mysqlslap`;
|
||||||
CREATE SCHEMA `mysqlslap`;
|
CREATE SCHEMA `mysqlslap`;
|
||||||
use mysqlslap;
|
use mysqlslap;
|
||||||
set storage_engine=`heap`;
|
CREATE TABLE t1 (id int, name varchar(64)) Engine = heap;
|
||||||
CREATE TABLE t1 (id int, name varchar(64));
|
|
||||||
create table t2(foo1 varchar(32), foo2 varchar(32));
|
create table t2(foo1 varchar(32), foo2 varchar(32));
|
||||||
INSERT INTO t1 VALUES (1, 'This is a test');
|
INSERT INTO t1 VALUES (1, 'This is a test');
|
||||||
insert into t2 values ('test', 'test2');
|
insert into t2 values ('test', 'test2');
|
||||||
@ -196,8 +191,7 @@ DROP SCHEMA IF EXISTS `mysqlslap`;
|
|||||||
DROP SCHEMA IF EXISTS `mysqlslap`;
|
DROP SCHEMA IF EXISTS `mysqlslap`;
|
||||||
CREATE SCHEMA `mysqlslap`;
|
CREATE SCHEMA `mysqlslap`;
|
||||||
use mysqlslap;
|
use mysqlslap;
|
||||||
set storage_engine=`myisam`;
|
CREATE TABLE t1 (id int, name varchar(64)) Engine = myisam;
|
||||||
CREATE TABLE t1 (id int, name varchar(64));
|
|
||||||
create table t2(foo1 varchar(32), foo2 varchar(32));
|
create table t2(foo1 varchar(32), foo2 varchar(32));
|
||||||
INSERT INTO t1 VALUES (1, 'This is a test');
|
INSERT INTO t1 VALUES (1, 'This is a test');
|
||||||
insert into t2 values ('test', 'test2');
|
insert into t2 values ('test', 'test2');
|
||||||
|
@ -121,8 +121,8 @@ insert into t1 values (1);
|
|||||||
explain select * from t1 where 3 in (select (1+1) union select 1);
|
explain select * from t1 where 3 in (select (1+1) union select 1);
|
||||||
id select_type table type possible_keys key key_len ref rows Extra
|
id select_type table type possible_keys key key_len ref rows Extra
|
||||||
1 PRIMARY NULL NULL NULL NULL NULL NULL NULL Impossible WHERE noticed after reading const tables
|
1 PRIMARY NULL NULL NULL NULL NULL NULL NULL Impossible WHERE noticed after reading const tables
|
||||||
2 DEPENDENT SUBQUERY NULL NULL NULL NULL NULL NULL NULL No tables used
|
2 DEPENDENT SUBQUERY NULL NULL NULL NULL NULL NULL NULL Impossible HAVING
|
||||||
3 DEPENDENT UNION NULL NULL NULL NULL NULL NULL NULL No tables used
|
3 DEPENDENT UNION NULL NULL NULL NULL NULL NULL NULL Impossible HAVING
|
||||||
NULL UNION RESULT <union2,3> ALL NULL NULL NULL NULL NULL
|
NULL UNION RESULT <union2,3> ALL NULL NULL NULL NULL NULL
|
||||||
select * from t1 where 3 in (select (1+1) union select 1);
|
select * from t1 where 3 in (select (1+1) union select 1);
|
||||||
a
|
a
|
||||||
|
@ -3585,7 +3585,6 @@ INSERT INTO t2 VALUES (1,'a'),(2,'b'),(3,'c');
|
|||||||
EXPLAIN SELECT t1.a FROM t1 LEFT JOIN t2 ON t2.b=t1.b WHERE t1.a=3;
|
EXPLAIN SELECT t1.a FROM t1 LEFT JOIN t2 ON t2.b=t1.b WHERE t1.a=3;
|
||||||
id select_type table type possible_keys key key_len ref rows Extra
|
id select_type table type possible_keys key key_len ref rows Extra
|
||||||
1 SIMPLE t1 const PRIMARY PRIMARY 4 const 1
|
1 SIMPLE t1 const PRIMARY PRIMARY 4 const 1
|
||||||
1 SIMPLE t2 const b b 22 const 1 Using index
|
|
||||||
DROP TABLE t1,t2;
|
DROP TABLE t1,t2;
|
||||||
CREATE TABLE t1(id int PRIMARY KEY, b int, e int);
|
CREATE TABLE t1(id int PRIMARY KEY, b int, e int);
|
||||||
CREATE TABLE t2(i int, a int, INDEX si(i), INDEX ai(a));
|
CREATE TABLE t2(i int, a int, INDEX si(i), INDEX ai(a));
|
||||||
|
@ -480,7 +480,7 @@ id select_type table type possible_keys key key_len ref rows filtered Extra
|
|||||||
2 UNION t2 const PRIMARY PRIMARY 4 const 1 100.00
|
2 UNION t2 const PRIMARY PRIMARY 4 const 1 100.00
|
||||||
NULL UNION RESULT <union1,2> ALL NULL NULL NULL NULL NULL NULL
|
NULL UNION RESULT <union1,2> ALL NULL NULL NULL NULL NULL NULL
|
||||||
Warnings:
|
Warnings:
|
||||||
Note 1003 (select '1' AS `a`,'1' AS `b` from `test`.`t1` where ('1' = 1)) union (select '1' AS `a`,'10' AS `b` from `test`.`t2` where ('1' = 1))
|
Note 1003 (select '1' AS `a`,'1' AS `b` from `test`.`t1` where 1) union (select '1' AS `a`,'10' AS `b` from `test`.`t2` where 1)
|
||||||
(select * from t1 where a=5) union (select * from t2 where a=1);
|
(select * from t1 where a=5) union (select * from t2 where a=1);
|
||||||
a b
|
a b
|
||||||
1 10
|
1 10
|
||||||
|
@ -42,7 +42,7 @@ show tables;
|
|||||||
--replace_result $MASTER_MYSOCK MASTER_SOCKET $MASTER_MYPORT MASTER_PORT
|
--replace_result $MASTER_MYSOCK MASTER_SOCKET $MASTER_MYPORT MASTER_PORT
|
||||||
--error 1045
|
--error 1045
|
||||||
connect (fail_con,localhost,test,,test2);
|
connect (fail_con,localhost,test,,test2);
|
||||||
--replace_result $MASTER_MYSOCK MASTER_SOCKET $MASTER_MYPORT MASTER_PORT
|
--replace_result $MASTER_MYSOCK MASTER_SOCKET $MASTER_MYPORT MASTER_PORT test ""
|
||||||
--error 1045
|
--error 1045
|
||||||
connect (fail_con,localhost,test,,"");
|
connect (fail_con,localhost,test,,"");
|
||||||
--replace_result $MASTER_MYSOCK MASTER_SOCKET $MASTER_MYPORT MASTER_PORT
|
--replace_result $MASTER_MYSOCK MASTER_SOCKET $MASTER_MYPORT MASTER_PORT
|
||||||
|
34
mysql-test/t/mysqltest_ps.test
Normal file
34
mysql-test/t/mysqltest_ps.test
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
#
|
||||||
|
# Test mysqltest in --ps-protocol mode.
|
||||||
|
#
|
||||||
|
|
||||||
|
if (`SELECT $PS_PROTOCOL = 0`)
|
||||||
|
{
|
||||||
|
--skip Need prepared statement protocol
|
||||||
|
}
|
||||||
|
|
||||||
|
#
|
||||||
|
# Test the --enable_prepare_warnings command.
|
||||||
|
# Test default value (off), enabling, and disabling.
|
||||||
|
#
|
||||||
|
|
||||||
|
--enable_warnings
|
||||||
|
|
||||||
|
select 1 + "2 a";
|
||||||
|
create table t (a int primary key, b blob default '');
|
||||||
|
# This statement gives warning both during prepare and execute.
|
||||||
|
# So gives double warnings when --enable_prepare_warnings.
|
||||||
|
select a, (2*a) AS a from t group by a;
|
||||||
|
drop table t;
|
||||||
|
|
||||||
|
--enable_prepare_warnings
|
||||||
|
select 1 + "2 a";
|
||||||
|
create table t (a int primary key, b blob default '');
|
||||||
|
select a, (2*a) AS a from t group by a;
|
||||||
|
drop table t;
|
||||||
|
|
||||||
|
--disable_prepare_warnings
|
||||||
|
select 1 + "2 a";
|
||||||
|
create table t (a int primary key, b blob default '');
|
||||||
|
select a, (2*a) AS a from t group by a;
|
||||||
|
drop table t;
|
@ -38,18 +38,24 @@
|
|||||||
--disable_warnings
|
--disable_warnings
|
||||||
SET SESSION transaction_prealloc_size=1024*1024*1024*1;
|
SET SESSION transaction_prealloc_size=1024*1024*1024*1;
|
||||||
--replace_column 1 <Id> 6 <Time>
|
--replace_column 1 <Id> 6 <Time>
|
||||||
|
# Embedded server is hardcoded to show "Writing to net" as STATE.
|
||||||
|
--replace_result "Writing to net" "NULL"
|
||||||
SHOW PROCESSLIST;
|
SHOW PROCESSLIST;
|
||||||
SET SESSION transaction_prealloc_size=1024*1024*1024*2;
|
SET SESSION transaction_prealloc_size=1024*1024*1024*2;
|
||||||
--replace_column 1 <Id> 6 <Time>
|
--replace_column 1 <Id> 6 <Time>
|
||||||
|
--replace_result "Writing to net" "NULL"
|
||||||
SHOW PROCESSLIST;
|
SHOW PROCESSLIST;
|
||||||
SET SESSION transaction_prealloc_size=1024*1024*1024*3;
|
SET SESSION transaction_prealloc_size=1024*1024*1024*3;
|
||||||
--replace_column 1 <Id> 6 <Time>
|
--replace_column 1 <Id> 6 <Time>
|
||||||
|
--replace_result "Writing to net" "NULL"
|
||||||
SHOW PROCESSLIST;
|
SHOW PROCESSLIST;
|
||||||
SET SESSION transaction_prealloc_size=1024*1024*1024*4;
|
SET SESSION transaction_prealloc_size=1024*1024*1024*4;
|
||||||
--replace_column 1 <Id> 6 <Time>
|
--replace_column 1 <Id> 6 <Time>
|
||||||
|
--replace_result "Writing to net" "NULL"
|
||||||
SHOW PROCESSLIST;
|
SHOW PROCESSLIST;
|
||||||
SET SESSION transaction_prealloc_size=1024*1024*1024*5;
|
SET SESSION transaction_prealloc_size=1024*1024*1024*5;
|
||||||
--replace_column 1 <Id> 6 <Time>
|
--replace_column 1 <Id> 6 <Time>
|
||||||
|
--replace_result "Writing to net" "NULL"
|
||||||
SHOW PROCESSLIST;
|
SHOW PROCESSLIST;
|
||||||
--enable_warnings
|
--enable_warnings
|
||||||
|
|
||||||
|
@ -140,12 +140,24 @@ fi
|
|||||||
# ----------------------------------------------------------------------
|
# ----------------------------------------------------------------------
|
||||||
# Copy executables, and client DLL
|
# Copy executables, and client DLL
|
||||||
# ----------------------------------------------------------------------
|
# ----------------------------------------------------------------------
|
||||||
|
MYISAM_BINARIES="myisamchk myisamlog myisampack myisam_ftdump"
|
||||||
|
MARIA_BINARIES="maria_chk maria_dump_log maria_ftdump maria_pack maria_read_log"
|
||||||
mkdir $DESTDIR
|
mkdir $DESTDIR
|
||||||
mkdir $DESTDIR/bin
|
mkdir $DESTDIR/bin
|
||||||
cp client/$TARGET/*.exe $DESTDIR/bin/
|
cp client/$TARGET/*.exe $DESTDIR/bin/
|
||||||
cp extra/$TARGET/*.exe $DESTDIR/bin/
|
cp extra/$TARGET/*.exe $DESTDIR/bin/
|
||||||
cp storage/myisam/$TARGET/*.exe $DESTDIR/bin/
|
|
||||||
|
# MyISAM
|
||||||
|
#cp storage/myisam/$TARGET/*.exe $DESTDIR/bin/
|
||||||
|
for eng in $MYISAM_BINARIES ; do
|
||||||
|
cp storage/myisam/$TARGET/$eng.{exe,pdb} $DESTDIR/bin
|
||||||
|
done
|
||||||
|
|
||||||
|
# Maria
|
||||||
|
for eng in $MARIA_BINARIES ; do
|
||||||
|
cp storage/maria/$TARGET/$eng.{exe,pdb} $DESTDIR/bin
|
||||||
|
done
|
||||||
|
|
||||||
cp server-tools/instance-manager/$TARGET/*.{exe,map} $DESTDIR/bin/
|
cp server-tools/instance-manager/$TARGET/*.{exe,map} $DESTDIR/bin/
|
||||||
if [ x"$TARGET" != x"release" ] ; then
|
if [ x"$TARGET" != x"release" ] ; then
|
||||||
cp server-tools/instance-manager/$TARGET/*.pdb $DESTDIR/bin/
|
cp server-tools/instance-manager/$TARGET/*.pdb $DESTDIR/bin/
|
||||||
@ -280,6 +292,7 @@ cp include/mysql/plugin.h $DESTDIR/include/mysql/
|
|||||||
|
|
||||||
mkdir -p $DESTDIR/lib/opt
|
mkdir -p $DESTDIR/lib/opt
|
||||||
mkdir -p $DESTDIR/lib/plugin
|
mkdir -p $DESTDIR/lib/plugin
|
||||||
|
cp sql/$TARGET/mysqld.lib $DESTDIR/lib/
|
||||||
cp libmysql/$TARGET/libmysql.dll \
|
cp libmysql/$TARGET/libmysql.dll \
|
||||||
libmysql/$TARGET/libmysql.lib \
|
libmysql/$TARGET/libmysql.lib \
|
||||||
libmysql/$TARGET/mysqlclient.lib \
|
libmysql/$TARGET/mysqlclient.lib \
|
||||||
@ -340,6 +353,11 @@ cp mysql-test/mysql-test-run.pl $DESTDIR/mysql-test/
|
|||||||
cp mysql-test/README $DESTDIR/mysql-test/
|
cp mysql-test/README $DESTDIR/mysql-test/
|
||||||
cp -R mysql-test/{t,r,include,suite,std_data,lib} $DESTDIR/mysql-test/
|
cp -R mysql-test/{t,r,include,suite,std_data,lib} $DESTDIR/mysql-test/
|
||||||
|
|
||||||
|
rm -rf $DESTDIR/mysql-test/lib/My/SafeProcess/my_safe_kill.{dir,vcproj}
|
||||||
|
rm -rf $DESTDIR/mysql-test/lib/My/SafeProcess/my_safe_process.{dir,vcproj}
|
||||||
|
rm -rf $DESTDIR/mysql-test/lib/My/SafeProcess/{Debug,RelWithDebInfo}/*.{ilk,idb,map}
|
||||||
|
|
||||||
|
|
||||||
# Note that this will not copy "extra" if a soft link
|
# Note that this will not copy "extra" if a soft link
|
||||||
if [ -d mysql-test/extra ] ; then
|
if [ -d mysql-test/extra ] ; then
|
||||||
mkdir $DESTDIR/mysql-test/extra
|
mkdir $DESTDIR/mysql-test/extra
|
||||||
@ -378,7 +396,7 @@ cp scripts/*.sql $DESTDIR/share/
|
|||||||
# Clean up from possibly copied SCCS directories
|
# Clean up from possibly copied SCCS directories
|
||||||
# ----------------------------------------------------------------------
|
# ----------------------------------------------------------------------
|
||||||
|
|
||||||
rm -rf `find $DISTDIR -type d -name SCCS -print`
|
rm -rf `/bin/find $DISTDIR -type d -name SCCS -print`
|
||||||
|
|
||||||
# ----------------------------------------------------------------------
|
# ----------------------------------------------------------------------
|
||||||
# Copy other files specified on command line DEST=SOURCE
|
# Copy other files specified on command line DEST=SOURCE
|
||||||
|
@ -951,7 +951,6 @@ struct Query_cache_query_flags
|
|||||||
|
|
||||||
#define query_cache_abort(A)
|
#define query_cache_abort(A)
|
||||||
#define query_cache_end_of_result(A)
|
#define query_cache_end_of_result(A)
|
||||||
#define query_cache_invalidate_by_MyISAM_filename_ref NULL
|
|
||||||
#define query_cache_maybe_disabled(T) 1
|
#define query_cache_maybe_disabled(T) 1
|
||||||
#define query_cache_is_cacheable_query(L) 0
|
#define query_cache_is_cacheable_query(L) 0
|
||||||
#endif /*HAVE_QUERY_CACHE*/
|
#endif /*HAVE_QUERY_CACHE*/
|
||||||
|
@ -8429,7 +8429,7 @@ mysqld_get_one_option(int optid,
|
|||||||
break;
|
break;
|
||||||
case OPT_LOG_SLOW_FILTER:
|
case OPT_LOG_SLOW_FILTER:
|
||||||
global_system_variables.log_slow_filter=
|
global_system_variables.log_slow_filter=
|
||||||
find_bit_type_or_exit(argument, &log_slow_verbosity_typelib,
|
find_bit_type_or_exit(argument, &log_slow_filter_typelib,
|
||||||
opt->name, &error);
|
opt->name, &error);
|
||||||
/*
|
/*
|
||||||
If we are using filters, we set opt_slow_admin_statements to be always
|
If we are using filters, we set opt_slow_admin_statements to be always
|
||||||
@ -8441,7 +8441,7 @@ mysqld_get_one_option(int optid,
|
|||||||
break;
|
break;
|
||||||
case OPT_LOG_SLOW_VERBOSITY:
|
case OPT_LOG_SLOW_VERBOSITY:
|
||||||
global_system_variables.log_slow_verbosity=
|
global_system_variables.log_slow_verbosity=
|
||||||
find_bit_type_or_exit(argument, &log_slow_filter_typelib,
|
find_bit_type_or_exit(argument, &log_slow_verbosity_typelib,
|
||||||
opt->name, &error);
|
opt->name, &error);
|
||||||
if (error)
|
if (error)
|
||||||
return 1;
|
return 1;
|
||||||
|
@ -26,6 +26,10 @@
|
|||||||
#ifdef HAVE_FCONVERT
|
#ifdef HAVE_FCONVERT
|
||||||
#include <floatingpoint.h>
|
#include <floatingpoint.h>
|
||||||
#endif
|
#endif
|
||||||
|
<<<<<<< TREE
|
||||||
|
=======
|
||||||
|
|
||||||
|
>>>>>>> MERGE-SOURCE
|
||||||
#include "sql_string.h"
|
#include "sql_string.h"
|
||||||
|
|
||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
|
@ -28,6 +28,7 @@
|
|||||||
#include <my_bit.h>
|
#include <my_bit.h>
|
||||||
#include "ha_maria.h"
|
#include "ha_maria.h"
|
||||||
#include "trnman_public.h"
|
#include "trnman_public.h"
|
||||||
|
#include "trnman.h"
|
||||||
|
|
||||||
C_MODE_START
|
C_MODE_START
|
||||||
#include "maria_def.h"
|
#include "maria_def.h"
|
||||||
@ -918,6 +919,8 @@ int ha_maria::open(const char *name, int mode, uint test_if_locked)
|
|||||||
if (!(file= maria_open(name, mode, test_if_locked | HA_OPEN_FROM_SQL_LAYER)))
|
if (!(file= maria_open(name, mode, test_if_locked | HA_OPEN_FROM_SQL_LAYER)))
|
||||||
return (my_errno ? my_errno : -1);
|
return (my_errno ? my_errno : -1);
|
||||||
|
|
||||||
|
file->s->chst_invalidator= query_cache_invalidate_by_MyISAM_filename_ref;
|
||||||
|
|
||||||
if (test_if_locked & (HA_OPEN_IGNORE_IF_LOCKED | HA_OPEN_TMP_TABLE))
|
if (test_if_locked & (HA_OPEN_IGNORE_IF_LOCKED | HA_OPEN_TMP_TABLE))
|
||||||
VOID(maria_extra(file, HA_EXTRA_NO_WAIT_LOCK, 0));
|
VOID(maria_extra(file, HA_EXTRA_NO_WAIT_LOCK, 0));
|
||||||
|
|
||||||
@ -3238,6 +3241,9 @@ my_bool ha_maria::register_query_cache_table(THD *thd, char *table_name,
|
|||||||
*/
|
*/
|
||||||
*engine_data= 0;
|
*engine_data= 0;
|
||||||
|
|
||||||
|
if (file->s->now_transactional && file->s->have_versioning)
|
||||||
|
return (file->trn->trid >= file->s->state.last_change_trn);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
If a concurrent INSERT has happened just before the currently processed
|
If a concurrent INSERT has happened just before the currently processed
|
||||||
SELECT statement, the total size of the table is unknown.
|
SELECT statement, the total size of the table is unknown.
|
||||||
|
@ -318,6 +318,13 @@ void _ma_update_status(void* param)
|
|||||||
DBUG_ASSERT(!info->s->base.born_transactional);
|
DBUG_ASSERT(!info->s->base.born_transactional);
|
||||||
share->state.state= *info->state;
|
share->state.state= *info->state;
|
||||||
info->state= &share->state.state;
|
info->state= &share->state.state;
|
||||||
|
#ifdef HAVE_QUERY_CACHE
|
||||||
|
DBUG_PRINT("info", ("invalidator... '%s' (status update)",
|
||||||
|
info->s->data_file_name.str));
|
||||||
|
DBUG_ASSERT(info->s->chst_invalidator != NULL);
|
||||||
|
(*info->s->chst_invalidator)((const char *)info->s->data_file_name.str);
|
||||||
|
#endif
|
||||||
|
|
||||||
}
|
}
|
||||||
info->append_insert_at_end= 0;
|
info->append_insert_at_end= 0;
|
||||||
}
|
}
|
||||||
@ -469,6 +476,8 @@ my_bool _ma_trnman_end_trans_hook(TRN *trn, my_bool commit,
|
|||||||
tables->state_start.checksum);
|
tables->state_start.checksum);
|
||||||
history->trid= trn->commit_trid;
|
history->trid= trn->commit_trid;
|
||||||
|
|
||||||
|
share->state.last_change_trn= trn->commit_trid;
|
||||||
|
|
||||||
if (history->next)
|
if (history->next)
|
||||||
{
|
{
|
||||||
/* Remove not visible states */
|
/* Remove not visible states */
|
||||||
|
@ -83,6 +83,7 @@ typedef struct st_maria_state_info
|
|||||||
pgcache_page_no_t first_bitmap_with_space;
|
pgcache_page_no_t first_bitmap_with_space;
|
||||||
ulonglong auto_increment;
|
ulonglong auto_increment;
|
||||||
TrID create_trid; /* Minum trid for file */
|
TrID create_trid; /* Minum trid for file */
|
||||||
|
TrID last_change_trn; /* selfdescriptive */
|
||||||
ulong update_count; /* Updated for each write lock */
|
ulong update_count; /* Updated for each write lock */
|
||||||
ulong status;
|
ulong status;
|
||||||
double *rec_per_key_part;
|
double *rec_per_key_part;
|
||||||
@ -337,7 +338,10 @@ typedef struct st_maria_share
|
|||||||
/* Mapings to read/write the data file */
|
/* Mapings to read/write the data file */
|
||||||
size_t (*file_read)(MARIA_HA *, uchar *, size_t, my_off_t, myf);
|
size_t (*file_read)(MARIA_HA *, uchar *, size_t, my_off_t, myf);
|
||||||
size_t (*file_write)(MARIA_HA *, const uchar *, size_t, my_off_t, myf);
|
size_t (*file_write)(MARIA_HA *, const uchar *, size_t, my_off_t, myf);
|
||||||
invalidator_by_filename invalidator; /* query cache invalidator */
|
/* query cache invalidator for merged tables */
|
||||||
|
invalidator_by_filename invalidator;
|
||||||
|
/* query cache invalidator for changing state */
|
||||||
|
invalidator_by_filename chst_invalidator;
|
||||||
my_off_t key_del_current; /* delete links for index pages */
|
my_off_t key_del_current; /* delete links for index pages */
|
||||||
ulong this_process; /* processid */
|
ulong this_process; /* processid */
|
||||||
ulong last_process; /* For table-change-check */
|
ulong last_process; /* For table-change-check */
|
||||||
|
@ -690,6 +690,9 @@ int ha_myisam::open(const char *name, int mode, uint test_if_locked)
|
|||||||
|
|
||||||
if (!(file=mi_open(name, mode, test_if_locked | HA_OPEN_FROM_SQL_LAYER)))
|
if (!(file=mi_open(name, mode, test_if_locked | HA_OPEN_FROM_SQL_LAYER)))
|
||||||
return (my_errno ? my_errno : -1);
|
return (my_errno ? my_errno : -1);
|
||||||
|
|
||||||
|
file->s->chst_invalidator= query_cache_invalidate_by_MyISAM_filename_ref;
|
||||||
|
|
||||||
if (!table->s->tmp_table) /* No need to perform a check for tmp table */
|
if (!table->s->tmp_table) /* No need to perform a check for tmp table */
|
||||||
{
|
{
|
||||||
if ((my_errno= table2myisam(table, &keyinfo, &recinfo, &recs)))
|
if ((my_errno= table2myisam(table, &keyinfo, &recinfo, &recs)))
|
||||||
|
@ -329,6 +329,12 @@ void mi_update_status(void* param)
|
|||||||
#endif
|
#endif
|
||||||
info->s->state.state= *info->state;
|
info->s->state.state= *info->state;
|
||||||
info->state= &info->s->state.state;
|
info->state= &info->s->state.state;
|
||||||
|
#ifdef HAVE_QUERY_CACHE
|
||||||
|
DBUG_PRINT("info", ("invalidator... '%s' (status update)",
|
||||||
|
info->filename));
|
||||||
|
DBUG_ASSERT(info->s->chst_invalidator != NULL);
|
||||||
|
(*info->s->chst_invalidator)((const char *)info->filename);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
info->append_insert_at_end= 0;
|
info->append_insert_at_end= 0;
|
||||||
|
|
||||||
|
@ -190,7 +190,10 @@ typedef struct st_mi_isam_share
|
|||||||
const uchar *record, my_off_t pos);
|
const uchar *record, my_off_t pos);
|
||||||
size_t (*file_read) (MI_INFO *, uchar *, size_t, my_off_t, myf);
|
size_t (*file_read) (MI_INFO *, uchar *, size_t, my_off_t, myf);
|
||||||
size_t (*file_write) (MI_INFO *, const uchar *, size_t, my_off_t, myf);
|
size_t (*file_write) (MI_INFO *, const uchar *, size_t, my_off_t, myf);
|
||||||
invalidator_by_filename invalidator; /* query cache invalidator */
|
/* query cache invalidator for merged tables */
|
||||||
|
invalidator_by_filename invalidator;
|
||||||
|
/* query cache invalidator for changing state */
|
||||||
|
invalidator_by_filename chst_invalidator;
|
||||||
ulong this_process; /* processid */
|
ulong this_process; /* processid */
|
||||||
ulong last_process; /* For table-change-check */
|
ulong last_process; /* For table-change-check */
|
||||||
ulong last_version; /* Version on start */
|
ulong last_version; /* Version on start */
|
||||||
|
@ -49,4 +49,4 @@ libpbxt_a_SOURCES = $(libpbxt_la_SOURCES)
|
|||||||
libpbxt_a_CXXFLAGS = $(AM_CXXFLAGS)
|
libpbxt_a_CXXFLAGS = $(AM_CXXFLAGS)
|
||||||
libpbxt_a_CFLAGS = $(AM_CFLAGS) -std=c99
|
libpbxt_a_CFLAGS = $(AM_CFLAGS) -std=c99
|
||||||
|
|
||||||
EXTRA_DIST = pbms_enabled.cc
|
EXTRA_DIST = pbms_enabled.cc win_inttypes.h
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
EXTRA_DIST = build-vs71.bat build-vs8.bat build-vs8_x64.bat build-vs9.bat \
|
EXTRA_DIST = build-vs71.bat build-vs8.bat build-vs8_x64.bat build-vs9.bat \
|
||||||
build-vs9_x64.bat configure.js README mysql_manifest.cmake \
|
build-vs9_x64.bat configure.js README mysql_manifest.cmake \
|
||||||
create_manifest.js create_def_file.js build-nmake.bat \
|
create_manifest.js create_def_file.js build-nmake.bat \
|
||||||
build-nmake-x64.bat
|
build-nmake-x64.bat configure-mariadb.sh make_mariadb_win_dist
|
||||||
|
|
||||||
# Don't update the files from bitkeeper
|
# Don't update the files from bitkeeper
|
||||||
%::SCCS/s.%
|
%::SCCS/s.%
|
||||||
|
23
win/configure-mariadb.sh
Normal file
23
win/configure-mariadb.sh
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
#
|
||||||
|
# This script is the "standard" way to configure MariaDB on Windows. To be
|
||||||
|
# used by buildbot slaves and release build script.
|
||||||
|
#
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
cscript win/configure.js \
|
||||||
|
WITH_ARCHIVE_STORAGE_ENGINE \
|
||||||
|
WITH_BLACKHOLE_STORAGE_ENGINE \
|
||||||
|
WITH_CSV_STORAGE_ENGINE \
|
||||||
|
WITH_EXAMPLE_STORAGE_ENGINE \
|
||||||
|
WITH_FEDERATED_STORAGE_ENGINE \
|
||||||
|
WITH_MERGE_STORAGE_ENGINE \
|
||||||
|
WITH_PARTITION_STORAGE_ENGINE \
|
||||||
|
WITH_MARIA_STORAGE_ENGINE \
|
||||||
|
WITH_PBXT_STORAGE_ENGINE \
|
||||||
|
WITH_XTRADB_STORAGE_ENGINE \
|
||||||
|
WITH_EMBEDDED_SERVER
|
||||||
|
|
||||||
|
|
@ -156,9 +156,16 @@ function GetValue(str, key)
|
|||||||
function GetVersion(str)
|
function GetVersion(str)
|
||||||
{
|
{
|
||||||
var key = "AM_INIT_AUTOMAKE(mysql, ";
|
var key = "AM_INIT_AUTOMAKE(mysql, ";
|
||||||
|
var key2 = "AM_INIT_AUTOMAKE(mariadb, ";
|
||||||
|
var key_len = key.length;
|
||||||
var pos = str.indexOf(key); //5.0.6-beta)
|
var pos = str.indexOf(key); //5.0.6-beta)
|
||||||
|
if (pos == -1)
|
||||||
|
{
|
||||||
|
pos = str.indexOf(key2);
|
||||||
|
key_len= key2.length;
|
||||||
|
}
|
||||||
if (pos == -1) return null;
|
if (pos == -1) return null;
|
||||||
pos += key.length;
|
pos += key_len;
|
||||||
var end = str.indexOf(")", pos);
|
var end = str.indexOf(")", pos);
|
||||||
if (end == -1) return null;
|
if (end == -1) return null;
|
||||||
return str.substring(pos, end);
|
return str.substring(pos, end);
|
||||||
|
73
win/make_mariadb_win_dist
Normal file
73
win/make_mariadb_win_dist
Normal file
@ -0,0 +1,73 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
#
|
||||||
|
# This is a script that one needs to run in the source tarball to build
|
||||||
|
# a MariaDB release for Windows
|
||||||
|
#
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
if [ ! -d win/data ] ; then
|
||||||
|
echo This doesnt seem to be source tarball.
|
||||||
|
echo This script should be run from the top directory of the source tarball
|
||||||
|
echo that was produced by 'make dist'
|
||||||
|
exit 1;
|
||||||
|
fi
|
||||||
|
|
||||||
|
set -x
|
||||||
|
|
||||||
|
win/configure-mariadb.sh
|
||||||
|
|
||||||
|
cmake -G "Visual Studio 9 2008"
|
||||||
|
|
||||||
|
devenv.com MySQL.sln /build RelWithDebInfo
|
||||||
|
devenv.com MySQL.sln /build Debug
|
||||||
|
|
||||||
|
# TODO extract version number
|
||||||
|
VER=`cat configure.in |
|
||||||
|
perl -e 'while (<>) { if (/^AM_INIT_AUTOMAKE\([a-z ]*, *([0-9a-z\.-]+)/) { print "$1\n"; exit(0)} } ; exit 1'`
|
||||||
|
|
||||||
|
echo Version string: $VER.
|
||||||
|
|
||||||
|
# Remove '-maria-' from version number
|
||||||
|
VER_NO_MARIA=${VER/maria-/}
|
||||||
|
|
||||||
|
# We want the final zip to be named like this:
|
||||||
|
# mariadb-noinstall-5.1.38-win32.zip
|
||||||
|
ZIPNAME=mariadb-noinstall-$VER_NO_MARIA-win32
|
||||||
|
ZIPFILE=$ZIPNAME.zip
|
||||||
|
|
||||||
|
# The top directory inside the zip should be called like this:
|
||||||
|
# mariadb-5.1-38-win32
|
||||||
|
ZIPCONTENT=mariadb-$VER_NO_MARIA-win32
|
||||||
|
|
||||||
|
# This will make $ZIPCONTENT.zip
|
||||||
|
sh -x scripts/make_win_bin_dist $ZIPCONTENT
|
||||||
|
|
||||||
|
mv $ZIPCONTENT.zip $ZIPFILE
|
||||||
|
|
||||||
|
rm -rf unpack
|
||||||
|
mkdir unpack
|
||||||
|
|
||||||
|
cd unpack
|
||||||
|
wget -O base.list.gz \
|
||||||
|
http://askmonty.org/wiki/images/5/57/Mariadb-5.1-pre-beta-file-list-r2.txt.gz
|
||||||
|
gunzip base.list.gz
|
||||||
|
unzip ../$ZIPFILE
|
||||||
|
(cd $ZIPCONTENT; /bin/find . | sort ) > new.list
|
||||||
|
|
||||||
|
diff -u base.list new.list || true
|
||||||
|
RES=$?
|
||||||
|
|
||||||
|
cd ..
|
||||||
|
|
||||||
|
rm -rf unpack
|
||||||
|
ls -lah $ZIPFILE
|
||||||
|
echo "$ZIPFILE is the Windows noinstall binary zip"
|
||||||
|
|
||||||
|
if [ $RES ] ; then
|
||||||
|
echo "Archive contents differ from the standard file list, check the diff output above"
|
||||||
|
else
|
||||||
|
echo "Archive contents match the standard list, OK"
|
||||||
|
fi
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user