[Commits] a2c52b0: Adjusted a test case for new syntax.

IgorBabaev igor at mariadb.com
Sun Apr 1 20:12:46 EEST 2018


revision-id: a2c52b0a63bf1bfb17827d33886f8f0ab109d085 (mariadb-10.3.1-134-ga2c52b0)
parent(s): 1959a5f3c871fcf66424e770e14253551fdd8a2c
author: Igor Babaev
committer: Igor Babaev
timestamp: 2018-04-01 10:12:46 -0700
message:

Adjusted a test case for new syntax.

---
 mysql-test/include/deadlock.inc     | 2 +-
 mysql-test/r/deadlock_innodb.result | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/mysql-test/include/deadlock.inc b/mysql-test/include/deadlock.inc
index 2fa61f4..7ac2a16 100644
--- a/mysql-test/include/deadlock.inc
+++ b/mysql-test/include/deadlock.inc
@@ -94,7 +94,7 @@ insert into t2 values(0, 0), (1, 20), (2, 30);
 commit;
 
 connection con1;
-select a,b from t2 UNION SELECT id, x from t1 FOR UPDATE;
+select a,b from t2 UNION (SELECT id, x from t1 FOR UPDATE);
 select * from t2;
 select * from t1;
 
diff --git a/mysql-test/r/deadlock_innodb.result b/mysql-test/r/deadlock_innodb.result
index af78a6a..fca0ff6 100644
--- a/mysql-test/r/deadlock_innodb.result
+++ b/mysql-test/r/deadlock_innodb.result
@@ -72,7 +72,7 @@ insert into t1 values(0, 0), (300, 300);
 insert into t2 values(0, 0), (1, 20), (2, 30);
 commit;
 connection con1;
-select a,b from t2 UNION SELECT id, x from t1 FOR UPDATE;
+select a,b from t2 UNION (SELECT id, x from t1 FOR UPDATE);
 a	b
 0	0
 20	1


More information about the commits mailing list