MXS-3041 Add test that reveals problem

This commit is contained in:
Johan Wikman
2020-06-18 08:29:00 +03:00
parent d78aa39765
commit f96c8d3a97
3 changed files with 4 additions and 1 deletions

View File

@ -35,3 +35,4 @@ SELECT 1 AS c1 FROM t1 ORDER BY ( SELECT 1 AS c2 FROM t1 GROUP BY GREATEST(LAST_
SET PASSWORD FOR 'user'@'10.0.0.1'='*C50EB75D7CB4C76B5264218B92BC69E6815B057A';
SELECT UTC_TIMESTAMP();
SELECT COUNT(IF(!c.ispackage, 1, NULL)) as cnt FROM test FOR UPDATE;
SELECT handler FROM abc FOR UPDATE;