projects
/
dbsrgits/SQL-Translator.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
ebad059
)
Fix SQLite diffing on perl 5.8.1
Dagfinn Ilmari Mannsåker [Tue, 6 Jan 2015 15:38:25 +0000 (15:38 +0000)]
Empty subs return their arguments in list context on 5.8.1, so stick
an empty expression in it.
lib/SQL/Translator/Producer/SQLite.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/SQL/Translator/Producer/SQLite.pm
b/lib/SQL/Translator/Producer/SQLite.pm
index
1c04edd
..
98b0eab
100644
(file)
--- a/
lib/SQL/Translator/Producer/SQLite.pm
+++ b/
lib/SQL/Translator/Producer/SQLite.pm
@@
-370,7
+370,7
@@
sub create_trigger {
return @statements;
}
-sub alter_table { } # Noop
+sub alter_table { () } # Noop
sub add_field {
my ($field) = @_;