diff options
author | ivan <ivan> | 2011-04-15 18:06:34 +0000 |
---|---|---|
committer | ivan <ivan> | 2011-04-15 18:06:34 +0000 |
commit | 3fba2e94993ce7d1d5c54970817f48bcf81f42fb (patch) | |
tree | 15ebe9d684ecedc849ea69a7cc3634e955229b6a /FS/FS/part_event/Condition.pm | |
parent | 0a256d5758b5826aeaf7b59ac2e0f8c97ba8b86b (diff) |
mysql fix for CAST ( vs CAST(
Diffstat (limited to 'FS/FS/part_event/Condition.pm')
-rw-r--r-- | FS/FS/part_event/Condition.pm | 2 |
1 files changed, 1 insertions, 1 deletions
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 |