projects
/
dbsrgits/SQL-Translator-2.0-ish.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
c53f984
)
make schema lazy
Justin Hunter [Sun, 23 Aug 2009 06:59:28 +0000 (23:59 -0700)]
lib/SQL/Translator.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/SQL/Translator.pm
b/lib/SQL/Translator.pm
index
711bca4
..
5726794
100644
(file)
--- a/
lib/SQL/Translator.pm
+++ b/
lib/SQL/Translator.pm
@@
-40,7
+40,8
@@
class SQL::Translator {
has 'schema' => (
isa => Schema,
is => 'rw',
- default => sub { SQL::Translator::Object::Schema->new }
+ lazy => 1,
+ default => sub { SQL::Translator::Object::Schema->new },
);
has 'parser_args' => (