From 0ee94e4d213b25df00056223e05e5e6929ef2161 Mon Sep 17 00:00:00 2001 From: Shlomi Noach Date: Fri, 14 Oct 2016 09:34:27 +0200 Subject: [PATCH] refined failure tests --- localtests/datetime-to-timestamp/create.sql | 2 +- localtests/fail-fk-parent/expect_failure | 1 + localtests/fail-fk/expect_failure | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/localtests/datetime-to-timestamp/create.sql b/localtests/datetime-to-timestamp/create.sql index bc571ca..95ca5d3 100644 --- a/localtests/datetime-to-timestamp/create.sql +++ b/localtests/datetime-to-timestamp/create.sql @@ -1,6 +1,6 @@ drop table if exists gh_ost_test; create table gh_ost_test ( - id int auto_increment, + id int unsigned auto_increment, i int not null, ts0 timestamp default current_timestamp, ts1 timestamp, diff --git a/localtests/fail-fk-parent/expect_failure b/localtests/fail-fk-parent/expect_failure index e69de29..f45ff89 100644 --- a/localtests/fail-fk-parent/expect_failure +++ b/localtests/fail-fk-parent/expect_failure @@ -0,0 +1 @@ +Parent-side foreign keys are not supported diff --git a/localtests/fail-fk/expect_failure b/localtests/fail-fk/expect_failure index e69de29..ac94498 100644 --- a/localtests/fail-fk/expect_failure +++ b/localtests/fail-fk/expect_failure @@ -0,0 +1 @@ +Child-side foreign keys are not supported. Bailing out