mirror of
https://github.com/Icinga/icingadb.git
synced 2026-05-28 04:35:54 -04:00
functions.sql: Set NO SQL characteristic for function unix_timestamp_ms
This commit is contained in:
parent
600154657f
commit
2ddfd8450e
1 changed files with 1 additions and 0 deletions
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Reference in a new issue