mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Merge branch '10.2' into 10.3
This commit is contained in:
@ -3127,13 +3127,13 @@ xb_load_single_table_tablespace(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
ut_free(name);
|
|
||||||
|
|
||||||
delete file;
|
delete file;
|
||||||
|
|
||||||
if (err != DB_SUCCESS && xtrabackup_backup && !is_empty_file) {
|
if (err != DB_SUCCESS && xtrabackup_backup && !is_empty_file) {
|
||||||
die("Failed to not validate first page of the file %s, error %d",name, (int)err);
|
die("Failed to not validate first page of the file %s, error %d",name, (int)err);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ut_free(name);
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Scan the database directories under the MySQL datadir, looking for
|
/** Scan the database directories under the MySQL datadir, looking for
|
||||||
|
@ -14,8 +14,6 @@ events_time_zone : Test is not predictable as it depends on precise timi
|
|||||||
read_many_rows_innodb : Bug#11748886 2010-11-15 mattiasj report already exists
|
read_many_rows_innodb : Bug#11748886 2010-11-15 mattiasj report already exists
|
||||||
mysql_embedded : Bug#12561297 2011-05-14 Anitha Dependent on PB2 changes - eventum#41836
|
mysql_embedded : Bug#12561297 2011-05-14 Anitha Dependent on PB2 changes - eventum#41836
|
||||||
#show_explain : Psergey: random timeout in range-checked-for-each record query.
|
#show_explain : Psergey: random timeout in range-checked-for-each record query.
|
||||||
innodb-wl5522-debug-zip : broken upstream
|
|
||||||
innodb_bug12902967 : broken upstream
|
|
||||||
file_contents : MDEV-6526 these files are not installed anymore
|
file_contents : MDEV-6526 these files are not installed anymore
|
||||||
max_statement_time : cannot possibly work, depends on timing
|
max_statement_time : cannot possibly work, depends on timing
|
||||||
partition_open_files_limit : open_files_limit check broken by MDEV-18360
|
partition_open_files_limit : open_files_limit check broken by MDEV-18360
|
||||||
|
@ -110,3 +110,30 @@ Db Name Definer Time zone Type Execute at Interval value Interval field Starts E
|
|||||||
test e1 root@localhost SYSTEM RECURRING # 1 SECOND # # DISABLED 1 latin1 latin1_swedish_ci latin1_swedish_ci
|
test e1 root@localhost SYSTEM RECURRING # 1 SECOND # # DISABLED 1 latin1 latin1_swedish_ci latin1_swedish_ci
|
||||||
DROP EVENT e1;
|
DROP EVENT e1;
|
||||||
# end test for bug#11748899
|
# end test for bug#11748899
|
||||||
|
#
|
||||||
|
# Test for MDEV-21758 Events switched randomly to SLAVESIDE_DISABLED
|
||||||
|
#
|
||||||
|
create event ev on schedule every 1 minute do set @a= 1;
|
||||||
|
select name, originator, status from mysql.event;
|
||||||
|
name originator status
|
||||||
|
ev 1 ENABLED
|
||||||
|
#
|
||||||
|
# Restarting server with server_id=100
|
||||||
|
#
|
||||||
|
select @@global.server_id;
|
||||||
|
@@global.server_id
|
||||||
|
100
|
||||||
|
select name, originator, status from mysql.event;
|
||||||
|
name originator status
|
||||||
|
ev 1 ENABLED
|
||||||
|
set global server_id= 1;
|
||||||
|
#
|
||||||
|
# Restarting server with the original server_id=1
|
||||||
|
#
|
||||||
|
select @@global.server_id;
|
||||||
|
@@global.server_id
|
||||||
|
1
|
||||||
|
select name, originator, status from mysql.event;
|
||||||
|
name originator status
|
||||||
|
ev 1 ENABLED
|
||||||
|
drop event ev;
|
||||||
|
@ -141,3 +141,34 @@ SHOW EVENTS;
|
|||||||
DROP EVENT e1;
|
DROP EVENT e1;
|
||||||
|
|
||||||
--echo # end test for bug#11748899
|
--echo # end test for bug#11748899
|
||||||
|
|
||||||
|
--echo #
|
||||||
|
--echo # Test for MDEV-21758 Events switched randomly to SLAVESIDE_DISABLED
|
||||||
|
--echo #
|
||||||
|
|
||||||
|
create event ev on schedule every 1 minute do set @a= 1;
|
||||||
|
select name, originator, status from mysql.event;
|
||||||
|
|
||||||
|
--let $server_id= `SELECT @@global.server_id`
|
||||||
|
|
||||||
|
--echo #
|
||||||
|
--echo # Restarting server with server_id=100
|
||||||
|
--echo #
|
||||||
|
--let $restart_parameters= --server-id=100
|
||||||
|
--source include/restart_mysqld.inc
|
||||||
|
|
||||||
|
select @@global.server_id;
|
||||||
|
select name, originator, status from mysql.event;
|
||||||
|
--eval set global server_id= $server_id
|
||||||
|
|
||||||
|
--echo #
|
||||||
|
--echo # Restarting server with the original server_id=$server_id
|
||||||
|
--echo #
|
||||||
|
--let $restart_parameters=
|
||||||
|
--source include/restart_mysqld.inc
|
||||||
|
|
||||||
|
select @@global.server_id;
|
||||||
|
select name, originator, status from mysql.event;
|
||||||
|
|
||||||
|
# Cleanup
|
||||||
|
drop event ev;
|
||||||
|
@ -2,8 +2,6 @@
|
|||||||
-- source include/not_embedded.inc
|
-- source include/not_embedded.inc
|
||||||
# need to have the dynamic loading turned on for the client plugin tests
|
# need to have the dynamic loading turned on for the client plugin tests
|
||||||
--source include/have_plugin_auth.inc
|
--source include/have_plugin_auth.inc
|
||||||
# This test is slow on buildbot.
|
|
||||||
--source include/big_test.inc
|
|
||||||
|
|
||||||
# Run test with default character set
|
# Run test with default character set
|
||||||
--source include/default_charset.inc
|
--source include/default_charset.inc
|
||||||
|
@ -386,33 +386,33 @@ DROP TABLE t1;
|
|||||||
create table t1 (a int) engine=innodb partition by hash(a) ;
|
create table t1 (a int) engine=innodb partition by hash(a) ;
|
||||||
show table status like 't1';
|
show table status like 't1';
|
||||||
Name Engine Version Row_format Rows Avg_row_length Data_length Max_data_length Index_length Data_free Auto_increment Create_time Update_time Check_time Collation Checksum Create_options Comment Max_index_length Temporary
|
Name Engine Version Row_format Rows Avg_row_length Data_length Max_data_length Index_length Data_free Auto_increment Create_time Update_time Check_time Collation Checksum Create_options Comment Max_index_length Temporary
|
||||||
t1 InnoDB 10 Dynamic 2 8192 16384 0 0 # NULL # NULL NULL latin1_swedish_ci NULL partitioned 0 N
|
t1 InnoDB 10 Dynamic 2 8192 16384 0 0 0 NULL # NULL NULL latin1_swedish_ci NULL partitioned 0 N
|
||||||
drop table t1;
|
drop table t1;
|
||||||
create table t1 (a int)
|
create table t1 (a int)
|
||||||
engine = innodb
|
engine = innodb
|
||||||
partition by key (a);
|
partition by key (a);
|
||||||
show table status;
|
show table status;
|
||||||
Name Engine Version Row_format Rows Avg_row_length Data_length Max_data_length Index_length Data_free Auto_increment Create_time Update_time Check_time Collation Checksum Create_options Comment Max_index_length Temporary
|
Name Engine Version Row_format Rows Avg_row_length Data_length Max_data_length Index_length Data_free Auto_increment Create_time Update_time Check_time Collation Checksum Create_options Comment Max_index_length Temporary
|
||||||
t1 InnoDB 10 Dynamic 2 8192 16384 0 0 # NULL # NULL NULL latin1_swedish_ci NULL partitioned 0 N
|
t1 InnoDB 10 Dynamic 2 8192 16384 0 0 0 NULL Create_time NULL NULL latin1_swedish_ci NULL partitioned 0 N
|
||||||
insert into t1 values (0), (1), (2), (3);
|
insert into t1 values (0), (1), (2), (3);
|
||||||
show table status;
|
show table status;
|
||||||
Name Engine Version Row_format Rows Avg_row_length Data_length Max_data_length Index_length Data_free Auto_increment Create_time Update_time Check_time Collation Checksum Create_options Comment Max_index_length Temporary
|
Name Engine Version Row_format Rows Avg_row_length Data_length Max_data_length Index_length Data_free Auto_increment Create_time Update_time Check_time Collation Checksum Create_options Comment Max_index_length Temporary
|
||||||
t1 InnoDB 10 Dynamic 4 4096 16384 0 0 # NULL # NULL NULL latin1_swedish_ci NULL partitioned 0 N
|
t1 InnoDB 10 Dynamic 4 4096 16384 0 0 0 NULL Create_time Update_time NULL latin1_swedish_ci NULL partitioned 0 N
|
||||||
drop table t1;
|
drop table t1;
|
||||||
create table t1 (a int auto_increment primary key)
|
create table t1 (a int auto_increment primary key)
|
||||||
engine = innodb
|
engine = innodb
|
||||||
partition by key (a);
|
partition by key (a);
|
||||||
show table status;
|
show table status;
|
||||||
Name Engine Version Row_format Rows Avg_row_length Data_length Max_data_length Index_length Data_free Auto_increment Create_time Update_time Check_time Collation Checksum Create_options Comment Max_index_length Temporary
|
Name Engine Version Row_format Rows Avg_row_length Data_length Max_data_length Index_length Data_free Auto_increment Create_time Update_time Check_time Collation Checksum Create_options Comment Max_index_length Temporary
|
||||||
t1 InnoDB 10 Dynamic 2 8192 16384 0 0 # 1 # NULL NULL latin1_swedish_ci NULL partitioned 0 N
|
t1 InnoDB 10 Dynamic 2 8192 16384 0 0 0 1 Create_time NULL NULL latin1_swedish_ci NULL partitioned 0 N
|
||||||
insert into t1 values (NULL), (NULL), (NULL), (NULL);
|
insert into t1 values (NULL), (NULL), (NULL), (NULL);
|
||||||
show table status;
|
show table status;
|
||||||
Name Engine Version Row_format Rows Avg_row_length Data_length Max_data_length Index_length Data_free Auto_increment Create_time Update_time Check_time Collation Checksum Create_options Comment Max_index_length Temporary
|
Name Engine Version Row_format Rows Avg_row_length Data_length Max_data_length Index_length Data_free Auto_increment Create_time Update_time Check_time Collation Checksum Create_options Comment Max_index_length Temporary
|
||||||
t1 InnoDB 10 Dynamic 4 4096 16384 0 0 # 5 # NULL NULL latin1_swedish_ci NULL partitioned 0 N
|
t1 InnoDB 10 Dynamic 4 4096 16384 0 0 0 5 Create_time Update_time NULL latin1_swedish_ci NULL partitioned 0 N
|
||||||
insert into t1 values (NULL), (NULL), (NULL), (NULL);
|
insert into t1 values (NULL), (NULL), (NULL), (NULL);
|
||||||
show table status;
|
show table status;
|
||||||
Name Engine Version Row_format Rows Avg_row_length Data_length Max_data_length Index_length Data_free Auto_increment Create_time Update_time Check_time Collation Checksum Create_options Comment Max_index_length Temporary
|
Name Engine Version Row_format Rows Avg_row_length Data_length Max_data_length Index_length Data_free Auto_increment Create_time Update_time Check_time Collation Checksum Create_options Comment Max_index_length Temporary
|
||||||
t1 InnoDB 10 Dynamic 8 2048 16384 0 0 # 9 # NULL NULL latin1_swedish_ci NULL partitioned 0 N
|
t1 InnoDB 10 Dynamic 8 2048 16384 0 0 0 9 Create_time Update_time NULL latin1_swedish_ci NULL partitioned 0 N
|
||||||
drop table t1;
|
drop table t1;
|
||||||
create table t1 (a int)
|
create table t1 (a int)
|
||||||
partition by key (a)
|
partition by key (a)
|
||||||
|
@ -401,9 +401,7 @@ DROP TABLE t1;
|
|||||||
# Bug #14673: Wrong InnoDB default row format
|
# Bug #14673: Wrong InnoDB default row format
|
||||||
#
|
#
|
||||||
create table t1 (a int) engine=innodb partition by hash(a) ;
|
create table t1 (a int) engine=innodb partition by hash(a) ;
|
||||||
# Data_free for InnoDB tablespace varies depending on which
|
--replace_column 12 #
|
||||||
# tests have been run before this one
|
|
||||||
--replace_column 10 # 12 #
|
|
||||||
show table status like 't1';
|
show table status like 't1';
|
||||||
drop table t1;
|
drop table t1;
|
||||||
|
|
||||||
@ -413,33 +411,23 @@ drop table t1;
|
|||||||
create table t1 (a int)
|
create table t1 (a int)
|
||||||
engine = innodb
|
engine = innodb
|
||||||
partition by key (a);
|
partition by key (a);
|
||||||
# Data_free for InnoDB tablespace varies depending on which
|
--replace_column 12 Create_time
|
||||||
# tests have been run before this one
|
|
||||||
--replace_column 10 # 12 #
|
|
||||||
show table status;
|
show table status;
|
||||||
insert into t1 values (0), (1), (2), (3);
|
insert into t1 values (0), (1), (2), (3);
|
||||||
# Data_free for InnoDB tablespace varies depending on which
|
--replace_column 12 Create_time 13 Update_time
|
||||||
# tests have been run before this one
|
|
||||||
--replace_column 10 # 12 #
|
|
||||||
show table status;
|
show table status;
|
||||||
drop table t1;
|
drop table t1;
|
||||||
|
|
||||||
create table t1 (a int auto_increment primary key)
|
create table t1 (a int auto_increment primary key)
|
||||||
engine = innodb
|
engine = innodb
|
||||||
partition by key (a);
|
partition by key (a);
|
||||||
# Data_free for InnoDB tablespace varies depending on which
|
--replace_column 12 Create_time
|
||||||
# tests have been run before this one
|
|
||||||
--replace_column 10 # 12 #
|
|
||||||
show table status;
|
show table status;
|
||||||
insert into t1 values (NULL), (NULL), (NULL), (NULL);
|
insert into t1 values (NULL), (NULL), (NULL), (NULL);
|
||||||
# Data_free for InnoDB tablespace varies depending on which
|
--replace_column 12 Create_time 13 Update_time
|
||||||
# tests have been run before this one
|
|
||||||
--replace_column 10 # 12 #
|
|
||||||
show table status;
|
show table status;
|
||||||
insert into t1 values (NULL), (NULL), (NULL), (NULL);
|
insert into t1 values (NULL), (NULL), (NULL), (NULL);
|
||||||
# Data_free for InnoDB tablespace varies depending on which
|
--replace_column 12 Create_time 13 Update_time
|
||||||
# tests have been run before this one
|
|
||||||
--replace_column 10 # 12 #
|
|
||||||
show table status;
|
show table status;
|
||||||
drop table t1;
|
drop table t1;
|
||||||
|
|
||||||
|
@ -30,6 +30,7 @@ galera_sst_mariabackup_table_options: MDEV-19741 Galera test failure on galera.g
|
|||||||
galera_var_innodb_disallow_writes : MDEV-20928 galera.galera_var_innodb_disallow_writes
|
galera_var_innodb_disallow_writes : MDEV-20928 galera.galera_var_innodb_disallow_writes
|
||||||
galera_var_node_address : MDEV-20485 Galera test failure
|
galera_var_node_address : MDEV-20485 Galera test failure
|
||||||
galera_wan : MDEV-17259 Test failure on galera.galera_wan
|
galera_wan : MDEV-17259 Test failure on galera.galera_wan
|
||||||
|
lp1376747-4 : MDEV-21911 Galera test failure on lp1376747-4
|
||||||
partition : MDEV-19958 Galera test failure on galera.partition
|
partition : MDEV-19958 Galera test failure on galera.partition
|
||||||
query_cache: MDEV-15805 Test failure on galera.query_cache
|
query_cache: MDEV-15805 Test failure on galera.query_cache
|
||||||
sql_log_bin : MDEV-21491 galera.sql_log_bin
|
sql_log_bin : MDEV-21491 galera.sql_log_bin
|
||||||
|
@ -3,18 +3,13 @@ CREATE TABLE t1 (id INT PRIMARY KEY) ENGINE=InnoDB;
|
|||||||
INSERT INTO t1 VALUES (1);
|
INSERT INTO t1 VALUES (1);
|
||||||
connection node_2;
|
connection node_2;
|
||||||
SET session wsrep_sync_wait=0;
|
SET session wsrep_sync_wait=0;
|
||||||
SET session wsrep_causal_reads=OFF;
|
|
||||||
Warnings:
|
|
||||||
Warning 1287 '@@wsrep_causal_reads' is deprecated and will be removed in a future release. Please use '@@wsrep_sync_wait=1' instead
|
|
||||||
FLUSH TABLE WITH READ LOCK;
|
FLUSH TABLE WITH READ LOCK;
|
||||||
connection node_1;
|
connection node_1;
|
||||||
ALTER TABLE t1 ADD COLUMN f2 INTEGER;
|
ALTER TABLE t1 ADD COLUMN f2 INTEGER;
|
||||||
INSERT INTO t1 VALUES (2,3);
|
INSERT INTO t1 VALUES (2,3);
|
||||||
connection node_2a;
|
connection node_2a;
|
||||||
SET session wsrep_sync_wait=0;
|
SET session wsrep_sync_wait=0;
|
||||||
SET session wsrep_causal_reads=OFF;
|
# node_1 DDL should not yet be applied
|
||||||
Warnings:
|
|
||||||
Warning 1287 '@@wsrep_causal_reads' is deprecated and will be removed in a future release. Please use '@@wsrep_sync_wait=1' instead
|
|
||||||
SHOW CREATE TABLE t1;
|
SHOW CREATE TABLE t1;
|
||||||
Table Create Table
|
Table Create Table
|
||||||
t1 CREATE TABLE `t1` (
|
t1 CREATE TABLE `t1` (
|
||||||
@ -24,6 +19,7 @@ t1 CREATE TABLE `t1` (
|
|||||||
FLUSH TABLES t1 WITH READ LOCK;;
|
FLUSH TABLES t1 WITH READ LOCK;;
|
||||||
connection node_2;
|
connection node_2;
|
||||||
UNLOCK TABLES;
|
UNLOCK TABLES;
|
||||||
|
# node_1 DDL should not yet be applied 2
|
||||||
SHOW CREATE TABLE t1;
|
SHOW CREATE TABLE t1;
|
||||||
Table Create Table
|
Table Create Table
|
||||||
t1 CREATE TABLE `t1` (
|
t1 CREATE TABLE `t1` (
|
||||||
@ -32,6 +28,7 @@ t1 CREATE TABLE `t1` (
|
|||||||
) ENGINE=InnoDB DEFAULT CHARSET=latin1
|
) ENGINE=InnoDB DEFAULT CHARSET=latin1
|
||||||
connection node_2a;
|
connection node_2a;
|
||||||
UNLOCK TABLES;
|
UNLOCK TABLES;
|
||||||
|
# node_1 DDL should be applied 2
|
||||||
SHOW CREATE TABLE t1;
|
SHOW CREATE TABLE t1;
|
||||||
Table Create Table
|
Table Create Table
|
||||||
t1 CREATE TABLE `t1` (
|
t1 CREATE TABLE `t1` (
|
||||||
|
@ -17,7 +17,6 @@ INSERT INTO t1 VALUES (1);
|
|||||||
|
|
||||||
--connection node_2
|
--connection node_2
|
||||||
SET session wsrep_sync_wait=0;
|
SET session wsrep_sync_wait=0;
|
||||||
SET session wsrep_causal_reads=OFF;
|
|
||||||
FLUSH TABLE WITH READ LOCK;
|
FLUSH TABLE WITH READ LOCK;
|
||||||
|
|
||||||
--connection node_1
|
--connection node_1
|
||||||
@ -26,16 +25,19 @@ INSERT INTO t1 VALUES (2,3);
|
|||||||
|
|
||||||
--connection node_2a
|
--connection node_2a
|
||||||
SET session wsrep_sync_wait=0;
|
SET session wsrep_sync_wait=0;
|
||||||
SET session wsrep_causal_reads=OFF;
|
|
||||||
|
|
||||||
|
--echo # node_1 DDL should not yet be applied
|
||||||
SHOW CREATE TABLE t1;
|
SHOW CREATE TABLE t1;
|
||||||
|
|
||||||
--send FLUSH TABLES t1 WITH READ LOCK;
|
--send FLUSH TABLES t1 WITH READ LOCK;
|
||||||
|
|
||||||
--connection node_2
|
--connection node_2
|
||||||
--let $wait_condition = SELECT COUNT(*) = 1 FROM INFORMATION_SCHEMA.PROCESSLIST WHERE USER = 'system user' AND STATE LIKE 'committed%';
|
--let $wait_condition = SELECT COUNT(*) = 1 FROM INFORMATION_SCHEMA.PROCESSLIST WHERE USER = 'system user' AND STATE LIKE '%committed%';
|
||||||
--source include/wait_condition.inc
|
--source include/wait_condition.inc
|
||||||
|
|
||||||
UNLOCK TABLES;
|
UNLOCK TABLES;
|
||||||
|
|
||||||
|
--echo # node_1 DDL should not yet be applied 2
|
||||||
SHOW CREATE TABLE t1;
|
SHOW CREATE TABLE t1;
|
||||||
|
|
||||||
--connection node_2a
|
--connection node_2a
|
||||||
@ -45,6 +47,10 @@ UNLOCK TABLES;
|
|||||||
--let $wait_condition = SELECT COUNT(*) = 2 FROM t1;
|
--let $wait_condition = SELECT COUNT(*) = 2 FROM t1;
|
||||||
--source include/wait_condition.inc
|
--source include/wait_condition.inc
|
||||||
|
|
||||||
|
--let $wait_condition = SELECT COUNT(*) = 2 FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_SCHEMA = 'test' AND TABLE_NAME = 't1';
|
||||||
|
--source include/wait_condition.inc
|
||||||
|
|
||||||
|
--echo # node_1 DDL should be applied 2
|
||||||
SHOW CREATE TABLE t1;
|
SHOW CREATE TABLE t1;
|
||||||
SELECT * from t1;
|
SELECT * from t1;
|
||||||
|
|
||||||
|
@ -1202,9 +1202,9 @@ Events::load_events_from_db(THD *thd)
|
|||||||
|
|
||||||
#ifdef WITH_WSREP
|
#ifdef WITH_WSREP
|
||||||
/**
|
/**
|
||||||
IF SST is done from a galera node that is also acting as MASTER
|
If SST is done from a galera node that is also acting as MASTER
|
||||||
newly synced node in galera eco-system will also copy-over the event state
|
newly synced node in galera eco-system will also copy-over the
|
||||||
enabling duplicate event in galera eco-system.
|
event state enabling duplicate event in galera eco-system.
|
||||||
DISABLE such events if the current node is not event orginator.
|
DISABLE such events if the current node is not event orginator.
|
||||||
(Also, make sure you skip disabling it if is already disabled to avoid
|
(Also, make sure you skip disabling it if is already disabled to avoid
|
||||||
creation of redundant action)
|
creation of redundant action)
|
||||||
@ -1214,7 +1214,7 @@ Events::load_events_from_db(THD *thd)
|
|||||||
Infact, based on galera use-case it seems like it recommends to have each
|
Infact, based on galera use-case it seems like it recommends to have each
|
||||||
node with different server-id.
|
node with different server-id.
|
||||||
*/
|
*/
|
||||||
if (et->originator != thd->variables.server_id)
|
if (WSREP(thd) && et->originator != thd->variables.server_id)
|
||||||
{
|
{
|
||||||
if (et->status == Event_parse_data::SLAVESIDE_DISABLED)
|
if (et->status == Event_parse_data::SLAVESIDE_DISABLED)
|
||||||
continue;
|
continue;
|
||||||
|
@ -7970,10 +7970,10 @@ alter:
|
|||||||
lex->server_options.reset($3);
|
lex->server_options.reset($3);
|
||||||
} OPTIONS_SYM '(' server_options_list ')' { }
|
} OPTIONS_SYM '(' server_options_list ')' { }
|
||||||
/* ALTER USER foo is allowed for MySQL compatibility. */
|
/* ALTER USER foo is allowed for MySQL compatibility. */
|
||||||
| ALTER opt_if_exists USER_SYM clear_privileges grant_list
|
| ALTER USER_SYM opt_if_exists clear_privileges grant_list
|
||||||
opt_require_clause opt_resource_options
|
opt_require_clause opt_resource_options
|
||||||
{
|
{
|
||||||
Lex->create_info.set($2);
|
Lex->create_info.set($3);
|
||||||
Lex->sql_command= SQLCOM_ALTER_USER;
|
Lex->sql_command= SQLCOM_ALTER_USER;
|
||||||
}
|
}
|
||||||
| ALTER SEQUENCE_SYM opt_if_exists
|
| ALTER SEQUENCE_SYM opt_if_exists
|
||||||
|
@ -3434,11 +3434,12 @@ page_zip_validate_low(
|
|||||||
differed. Let us ignore it. */
|
differed. Let us ignore it. */
|
||||||
page_zip_fail(("page_zip_validate:"
|
page_zip_fail(("page_zip_validate:"
|
||||||
" min_rec_flag"
|
" min_rec_flag"
|
||||||
" (%s%lu,%lu,0x%02lx)\n",
|
" (%s" ULINTPF "," ULINTPF
|
||||||
|
",0x%02x)\n",
|
||||||
sloppy ? "ignored, " : "",
|
sloppy ? "ignored, " : "",
|
||||||
page_get_space_id(page),
|
page_get_space_id(page),
|
||||||
page_get_page_no(page),
|
page_get_page_no(page),
|
||||||
(ulong) page[offset]));
|
page[offset]));
|
||||||
/* We don't check for spatial index, since
|
/* We don't check for spatial index, since
|
||||||
the "minimum record" could be deleted when
|
the "minimum record" could be deleted when
|
||||||
doing rtr_update_mbr_field.
|
doing rtr_update_mbr_field.
|
||||||
|
Reference in New Issue
Block a user