projects
/
dbsrgits/SQL-Translator.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
7b4b17a
)
remove unnecessary bit of code
Rafael Kitover [Tue, 1 Jun 2010 17:44:13 +0000 (17:44 +0000)]
lib/SQL/Translator/Utils.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/SQL/Translator/Utils.pm
b/lib/SQL/Translator/Utils.pm
index
6930506
..
3d5e572
100644
(file)
--- a/
lib/SQL/Translator/Utils.pm
+++ b/
lib/SQL/Translator/Utils.pm
@@
-251,7
+251,7
@@
sub parse_dbms_version {
return sprintf ('%d.%03d%03d', map { $_ || 0 } (@vers) );
}
elsif ($target eq 'native') {
- return join '.' => map 0+$_, grep defined, @vers;
+ return join '.' => grep defined, @vers;
}
else {
#how do I croak sanely here?