projects
/
dbsrgits/SQL-Translator.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
fddd757
)
Put double quotes and backticks around table identifiers to test rules.
Ken Youens-Clark [Thu, 12 Mar 2009 14:03:19 +0000 (14:03 +0000)]
t/02mysql-parser.t
patch
|
blob
|
blame
|
history
diff --git
a/t/02mysql-parser.t
b/t/02mysql-parser.t
index
a515009
..
8981f74
100644
(file)
--- 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',