From 31205edb7660422bd885eab9f619371a67726db0 Mon Sep 17 00:00:00 2001 From: Lukas Eder Date: Sat, 15 Dec 2012 13:43:17 +0100 Subject: [PATCH] [#2016] Bad parsing of MySQL ENUM literals by jooq-meta, if they contain special characters - Added test data --- jOOQ-test/src/org/jooq/test/cubrid/create.sql | 3 ++- jOOQ-test/src/org/jooq/test/mysql/create.sql | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/jOOQ-test/src/org/jooq/test/cubrid/create.sql b/jOOQ-test/src/org/jooq/test/cubrid/create.sql index ffacff6454..14d6b6a008 100644 --- a/jOOQ-test/src/org/jooq/test/cubrid/create.sql +++ b/jOOQ-test/src/org/jooq/test/cubrid/create.sql @@ -85,7 +85,8 @@ CREATE TABLE t_959 ( 'interface', 'int', 'long', 'native', 'new', 'package', 'private', 'protected', 'public', 'return', 'short', 'static', 'strictfp', 'super', 'switch', 'synchronized', 'this', 'throw', 'throws', - 'transient', 'true', 'try', 'void', 'volatile', 'while') + 'transient', 'true', 'try', 'void', 'volatile', 'while'), + special_characters enum('enum(', '(', ')', ',', '''', ')enum') ) / diff --git a/jOOQ-test/src/org/jooq/test/mysql/create.sql b/jOOQ-test/src/org/jooq/test/mysql/create.sql index fe9f07b59e..f8f03ab9c5 100644 --- a/jOOQ-test/src/org/jooq/test/mysql/create.sql +++ b/jOOQ-test/src/org/jooq/test/mysql/create.sql @@ -86,7 +86,8 @@ CREATE TABLE t_959 ( 'interface', 'int', 'long', 'native', 'new', 'package', 'private', 'protected', 'public', 'return', 'short', 'static', 'strictfp', 'super', 'switch', 'synchronized', 'this', 'throw', 'throws', - 'transient', 'true', 'try', 'void', 'volatile', 'while') + 'transient', 'true', 'try', 'void', 'volatile', 'while'), + special_characters enum('enum(', '(', ')', ',', '''', ')enum') ) ENGINE = InnoDB /