projects
/
dbsrgits/SQL-Abstract.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
1a67e3a
)
less warnings
Arthur Axel "fREW" Schmidt [Thu, 2 Sep 2010 04:40:03 +0000 (
04:40
+0000)]
lib/SQL/Abstract/Tree.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/SQL/Abstract/Tree.pm
b/lib/SQL/Abstract/Tree.pm
index
f967dc9
..
49dbe04
100644
(file)
--- a/
lib/SQL/Abstract/Tree.pm
+++ b/
lib/SQL/Abstract/Tree.pm
@@
-210,7
+210,7
@@
sub _is_select {
my $tree = shift;
$tree = $tree->[0] while ref $tree;
- lc $tree eq 'select';
+ defined $tree && lc $tree eq 'select';
}
sub unparse {