From 3fba2e94993ce7d1d5c54970817f48bcf81f42fb Mon Sep 17 00:00:00 2001 From: ivan Date: Fri, 15 Apr 2011 18:06:34 +0000 Subject: mysql fix for CAST ( vs CAST( --- FS/FS/part_event/Condition.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'FS/FS/part_event/Condition.pm') diff --git a/FS/FS/part_event/Condition.pm b/FS/FS/part_event/Condition.pm index 6902774..efe0d3c 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 -- cgit v1.1