From: Terry Burton Date: Fri, 23 Aug 2019 14:56:40 +0000 (+0100) Subject: MySQL queries.conf: Use expansions consistent with those of other drivers X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=57bc2c7bc5e25e2e49d277967c450ffb16ced077;p=thirdparty%2Ffreeradius-server.git MySQL queries.conf: Use expansions consistent with those of other drivers --- diff --git a/raddb/mods-config/sql/main/mysql/queries.conf b/raddb/mods-config/sql/main/mysql/queries.conf index 34e4899163b..77daae146eb 100644 --- a/raddb/mods-config/sql/main/mysql/queries.conf +++ b/raddb/mods-config/sql/main/mysql/queries.conf @@ -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