From 2ddfd8450ea2cafb2c084fac855c12a34a090008 Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Mon, 17 Feb 2020 14:57:35 +0100 Subject: [PATCH] functions.sql: Set `NO SQL` characteristic for function `unix_timestamp_ms` --- etc/schema/mysql/helper/functions.sql | 1 + 1 file changed, 1 insertion(+) diff --git a/etc/schema/mysql/helper/functions.sql b/etc/schema/mysql/helper/functions.sql index e5c57d89..1b1bf790 100644 --- a/etc/schema/mysql/helper/functions.sql +++ b/etc/schema/mysql/helper/functions.sql @@ -4,4 +4,5 @@ DROP FUNCTION IF EXISTS unix_timestamp_ms; CREATE FUNCTION unix_timestamp_ms() RETURNS BIGINT UNSIGNED + NO SQL RETURN FLOOR((UNIX_TIMESTAMP(NOW(3)) * 1000));