From 8c444d407b8fe87174d5698866c6eeef233f340b Mon Sep 17 00:00:00 2001 From: Qiang Xue Date: Sun, 15 Feb 2015 22:49:21 -0500 Subject: [PATCH] Fixed test break. --- tests/unit/data/cubrid.sql | 1 + tests/unit/data/mssql.sql | 1 + tests/unit/data/postgres.sql | 1 + tests/unit/data/sqlite.sql | 1 + 4 files changed, 4 insertions(+) diff --git a/tests/unit/data/cubrid.sql b/tests/unit/data/cubrid.sql index 37af703edf..88c69d0dff 100644 --- a/tests/unit/data/cubrid.sql +++ b/tests/unit/data/cubrid.sql @@ -15,6 +15,7 @@ DROP TABLE IF EXISTS "profile"; DROP TABLE IF EXISTS "null_values"; DROP TABLE IF EXISTS "type"; DROP TABLE IF EXISTS "constraints"; +DROP TABLE IF EXISTS "animal"; CREATE TABLE "constraints" ( diff --git a/tests/unit/data/mssql.sql b/tests/unit/data/mssql.sql index b1907d6895..ab2dcc45b8 100644 --- a/tests/unit/data/mssql.sql +++ b/tests/unit/data/mssql.sql @@ -8,6 +8,7 @@ IF OBJECT_ID('[dbo].[customer]', 'U') IS NOT NULL DROP TABLE [dbo].[customer]; IF OBJECT_ID('[dbo].[profile]', 'U') IS NOT NULL DROP TABLE [dbo].[profile]; IF OBJECT_ID('[dbo].[type]', 'U') IS NOT NULL DROP TABLE [dbo].[type]; IF OBJECT_ID('[dbo].[null_values]', 'U') IS NOT NULL DROP TABLE [dbo].[null_values]; +IF OBJECT_ID('[dbo].[animal]', 'U') IS NOT NULL DROP TABLE [dbo].[animal]; CREATE TABLE [dbo].[profile] ( [id] [int] IDENTITY(1,1) NOT NULL, diff --git a/tests/unit/data/postgres.sql b/tests/unit/data/postgres.sql index 21b12531f7..7aa7b9b23b 100644 --- a/tests/unit/data/postgres.sql +++ b/tests/unit/data/postgres.sql @@ -17,6 +17,7 @@ DROP TABLE IF EXISTS "type" CASCADE; DROP TABLE IF EXISTS "null_values" CASCADE; DROP TABLE IF EXISTS "constraints" CASCADE; DROP TABLE IF EXISTS "bool_values" CASCADE; +DROP TABLE IF EXISTS "animal" CASCADE; CREATE TABLE "constraints" ( diff --git a/tests/unit/data/sqlite.sql b/tests/unit/data/sqlite.sql index 22e69782ff..3d7a207de7 100644 --- a/tests/unit/data/sqlite.sql +++ b/tests/unit/data/sqlite.sql @@ -14,6 +14,7 @@ DROP TABLE IF EXISTS "customer"; DROP TABLE IF EXISTS "profile"; DROP TABLE IF EXISTS "type"; DROP TABLE IF EXISTS "null_values"; +DROP TABLE IF EXISTS "animal"; CREATE TABLE "profile" ( id INTEGER NOT NULL,