]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
MySQL queries.conf: Use expansions consistent with those of other drivers
authorTerry Burton <tez@terryburton.co.uk>
Fri, 23 Aug 2019 14:56:40 +0000 (15:56 +0100)
committerAlan DeKok <aland@freeradius.org>
Fri, 23 Aug 2019 17:29:05 +0000 (13:29 -0400)
raddb/mods-config/sql/main/mysql/queries.conf

index 34e4899163b56042da08a5ee2096cc0ca4ca74a4..77daae146eb5f0d89c730b9f26065b7977adcd9a 100644 (file)
@@ -54,7 +54,7 @@ event_timestamp_epoch = "%{%{integer:Event-Timestamp}:-%l}"
 # event_timestamp is the SQL snippet for converting an epoch timestamp
 # to an SQL date.
 
-event_timestamp = "FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l})"
+event_timestamp = "FROM_UNIXTIME(${event_timestamp_epoch})"
 
 #######################################################################
 # Default profile