mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
MDEV-35550 main.log_slow test failure: expects count(*) 5 got 4
when testing MDEV-34539 create a table specifically for the test,
don't use a system table as a shortcut to save a couple of lines.
followup for 8d813f080b
This commit is contained in:
@@ -194,7 +194,9 @@ create database `a
|
|||||||
b`;
|
b`;
|
||||||
use `a
|
use `a
|
||||||
b`;
|
b`;
|
||||||
select count(*) from mysql.global_priv where length(priv)>2;
|
create table t1 (a int);
|
||||||
|
insert t1 values (1),(2),(3),(4),(5),(6),(7);
|
||||||
|
select count(*) from t1 where a>2;
|
||||||
count(*)
|
count(*)
|
||||||
5
|
5
|
||||||
drop database `a
|
drop database `a
|
||||||
@@ -207,7 +209,7 @@ set timestamp=default;
|
|||||||
use `a
|
use `a
|
||||||
b`;
|
b`;
|
||||||
SET timestamp=1234567890;
|
SET timestamp=1234567890;
|
||||||
select count(*) from mysql.global_priv where length(priv)>2
|
select count(*) from t1 where a>2
|
||||||
#
|
#
|
||||||
# MDEV-31366 Assertion `thd->start_time' failed in bool LOGGER::slow_log_print(THD*, const char*, size_t, ulonglong)
|
# MDEV-31366 Assertion `thd->start_time' failed in bool LOGGER::slow_log_print(THD*, const char*, size_t, ulonglong)
|
||||||
#
|
#
|
||||||
|
@@ -206,9 +206,11 @@ create database `a
|
|||||||
b`;
|
b`;
|
||||||
use `a
|
use `a
|
||||||
b`;
|
b`;
|
||||||
|
create table t1 (a int);
|
||||||
|
insert t1 values (1),(2),(3),(4),(5),(6),(7);
|
||||||
--disable_ps_protocol
|
--disable_ps_protocol
|
||||||
--disable_view_protocol
|
--disable_view_protocol
|
||||||
select count(*) from mysql.global_priv where length(priv)>2;
|
select count(*) from t1 where a>2;
|
||||||
--enable_view_protocol
|
--enable_view_protocol
|
||||||
--enable_ps_protocol
|
--enable_ps_protocol
|
||||||
drop database `a
|
drop database `a
|
||||||
|
Reference in New Issue
Block a user