diff options
author | Sunil Joshi <joshi_sunil@in.com> | 2013-08-07 15:24:59 +1000 |
---|---|---|
committer | Simon Green <sgreen@redhat.com> | 2013-08-07 15:24:59 +1000 |
commit | 400d6a1e24ed8fd28c007f564f928724c6a607a1 (patch) | |
tree | d63736d332009fea1e43227e71ad0a2fd425aa79 /t | |
parent | f559b688e6ead9ab61062b63ae7c8a48b21ee676 (diff) | |
download | bugs-400d6a1e24ed8fd28c007f564f928724c6a607a1.tar bugs-400d6a1e24ed8fd28c007f564f928724c6a607a1.tar.gz bugs-400d6a1e24ed8fd28c007f564f928724c6a607a1.tar.bz2 bugs-400d6a1e24ed8fd28c007f564f928724c6a607a1.tar.xz bugs-400d6a1e24ed8fd28c007f564f928724c6a607a1.zip |
Bug 817306 - Add additional words to test for reserved SQL words in schema
r=sgreen, a=glob
Diffstat (limited to 't')
-rw-r--r-- | t/013dbschema.t | 8 |
1 files 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 ); |