projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a256d5
)
mysql fix for CAST ( vs CAST(
author
ivan
<ivan>
Fri, 15 Apr 2011 18:06:34 +0000
(18:06 +0000)
committer
ivan
<ivan>
Fri, 15 Apr 2011 18:06:34 +0000
(18:06 +0000)
FS/FS/part_event/Condition.pm
patch
|
blob
|
history
diff --git
a/FS/FS/part_event/Condition.pm
b/FS/FS/part_event/Condition.pm
index
6902774
..
efe0d3c
100644
(file)
--- a/
FS/FS/part_event/Condition.pm
+++ b/
FS/FS/part_event/Condition.pm
@@
-469,7
+469,7
@@
sub condition_sql_option_integer {
my $integer = ($driver_name =~ /^mysql/) ? 'UNSIGNED INTEGER' : 'INTEGER';
- 'CAST
('. $class->condition_sql_option($option). " AS $integer )";
+ 'CAST('. $class->condition_sql_option($option). " AS $integer )";
}
=head1 NEW CONDITION CLASSES