From 0e4359cc3f43c78c557d259a10c24f0372d9f464 Mon Sep 17 00:00:00 2001 From: ivan Date: Fri, 15 Apr 2011 18:06:35 +0000 Subject: [PATCH] mysql fix for CAST ( vs CAST( --- FS/FS/part_event/Condition.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FS/FS/part_event/Condition.pm b/FS/FS/part_event/Condition.pm index 69027744a..efe0d3cf3 100644 --- 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 -- 2.20.1