mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Bug#59091 perfschema.binlog_mix and perfschema.binlog_row tests fail with openssl
Fixed the test case to be independent of build options used. Removed the lowercase-table-names constraint, since performance schema tables are now in lowercase.
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
# Copyright (C) 2009 Sun Microsystems, Inc
|
||||
# Copyright (c) 2009, 2011, Oracle and/or its affiliates. All rights reserved.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
@ -10,8 +10,8 @@
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
# along with this program; if not, write to the Free Software Foundation,
|
||||
# 51 Franklin Street, Suite 500, Boston, MA 02110-1335 USA
|
||||
|
||||
# Tests for PERFORMANCE_SCHEMA
|
||||
|
||||
@ -19,8 +19,13 @@ RESET MASTER;
|
||||
|
||||
select count(*) > 0 from performance_schema.setup_instruments;
|
||||
|
||||
# Note:
|
||||
# Do not include records that could depend on
|
||||
# compiling options (storage engines, SSL),
|
||||
# to ensure the expected output in the binlog is predictable.
|
||||
update performance_schema.setup_instruments set enabled='NO'
|
||||
where name like "wait/synch/rwlock/%";
|
||||
where name like "wait/synch/rwlock/sql/%"
|
||||
and name not in ("wait/synch/rwlock/sql/CRYPTO_dynlock_value::lock");
|
||||
|
||||
select count(*) > 0 from performance_schema.events_waits_current;
|
||||
|
||||
@ -37,13 +42,15 @@ insert into test.t1
|
||||
|
||||
insert into test.t2
|
||||
select name from performance_schema.setup_instruments
|
||||
where name like "wait/synch/rwlock/%";
|
||||
where name like "wait/synch/rwlock/sql/%"
|
||||
and name not in ("wait/synch/rwlock/sql/CRYPTO_dynlock_value::lock");
|
||||
|
||||
drop table test.t1;
|
||||
drop table test.t2;
|
||||
|
||||
update performance_schema.setup_instruments set enabled='YES'
|
||||
where name like "wait/synch/rwlock/%";
|
||||
where name like "wait/synch/rwlock/sql/%"
|
||||
and name not in ("wait/synch/rwlock/sql/CRYPTO_dynlock_value::lock");
|
||||
|
||||
--source include/show_binlog_events.inc
|
||||
|
||||
|
Reference in New Issue
Block a user