From 400d6a1e24ed8fd28c007f564f928724c6a607a1 Mon Sep 17 00:00:00 2001 From: Sunil Joshi Date: Wed, 7 Aug 2013 15:24:59 +1000 Subject: Bug 817306 - Add additional words to test for reserved SQL words in schema r=sgreen, a=glob --- t/013dbschema.t | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/t/013dbschema.t b/t/013dbschema.t index 47422b0b4..c1f9c7f0c 100644 --- a/t/013dbschema.t +++ b/t/013dbschema.t @@ -20,9 +20,9 @@ use Bugzilla::DB::Schema; # SQL reserved words use constant RESERVED_WORDS => qw( - ABSOLUTE ACTION ACTOR ADD AFTER ALL ALLOCATE ALTER ANY AND ARE ASC ASSERTION ASYNC AT - ATTRIBUTES BEFORE BEGIN BETWEEN BIT BIT_LENGTH BOOLEAN BOTH BREADTH CALL CASCADE - CASCADED CASE CAST CATALOG CHARACTER_LENGTH CHAR_LENGTH COLLATE + ABSOLUTE ACTION ACTOR ADD AFTER ALL ALLOCATE ALTER ANY AND ARE AS ASC ASSERTION ASYNC AT + ATTRIBUTES BEFORE BEGIN BETWEEN BIT BIT_LENGTH BOOLEAN BOTH BREADTH BY CALL CASCADE + CASCADED CASE CAST CATALOG CHAR CHARACTER_LENGTH CHAR_LENGTH COLLATE COLLATION COLUMN COMPLETION CONNECT CONNECTION CONSTRAINT CONSTRAINTS CONVERT CORRESPONDING CREATE CROSS CURRENT_DATE CURRENT_PATH CURRENT_TIME CURRENT_TIMESTAMP CURRENT_USER CYCLE DATA DATE DAY DEALLOCATE DECLARE DEFAULT DEFERRABLE @@ -42,7 +42,7 @@ use constant RESERVED_WORDS => qw( SQLWARNING START STATE STRUCTURE SUBSTRING SYMBOL SYSTEM_USER TABLE TEMPORARY TERM TEST THEN THERE TIME TIMESTAMP TIMEZONE_HOUR TIMEZONE_MINUTE TRAILING TRANSACTION TRANSLATE TRANSLATION TRIGGER TRIM TRUE TUPLE UNDER - UNKNOWN UNION UNIQUE UPDATE UPPER USAGE USING VARCHAR VARIABLE VARYING VIRTUAL VISIBLE + UNKNOWN UNION UNIQUE UPDATE UPPER USAGE USING VARCHAR VARIABLE VARYING VIEW VIRTUAL VISIBLE WAIT WHEN WHERE WHILE WITH WITHOUT WRITE YEAR ZONE ); -- cgit v1.2.1