From: Ken Youens-Clark Date: Thu, 12 Mar 2009 14:03:19 +0000 (+0000) Subject: Put double quotes and backticks around table identifiers to test rules. X-Git-Tag: v0.11008~221 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=6acd7c9586020d58908610599bbf1882bedc0723;p=dbsrgits%2FSQL-Translator.git Put double quotes and backticks around table identifiers to test rules. --- diff --git a/t/02mysql-parser.t b/t/02mysql-parser.t index a515009..8981f74 100644 --- a/t/02mysql-parser.t +++ b/t/02mysql-parser.t @@ -17,7 +17,7 @@ BEGIN { { my $tr = SQL::Translator->new; - my $data = q|create table sessions ( + my $data = q|create table "sessions" ( id char(32) not null default '0' primary key, a_session text, ssn varchar(12) unique key, @@ -67,7 +67,7 @@ BEGIN { my $tr = SQL::Translator->new; my $data = parse($tr, q[ - CREATE TABLE check ( + CREATE TABLE `check` ( check_id int(7) unsigned zerofill NOT NULL default '0000000' auto_increment primary key, successful date NOT NULL default '0000-00-00',