Skip to content
This repository was archived by the owner on Aug 28, 2024. It is now read-only.

Commit bf848c4

Browse files
committed
Make reverse_format_time() deterministic.
1 parent bb17c7c commit bf848c4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

functions/reverse_format_time.sql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ DELIMITER $$
7171

7272
CREATE FUNCTION reverse_format_time(time_string VARCHAR(32))
7373
RETURNS BIGINT
74+
DETERMINISTIC
7475
BEGIN
7576
IF time_string IS NULL THEN RETURN NULL;
7677
ELSEIF time_string LIKE '% ps' THEN RETURN CAST(LEFT(time_string, LENGTH(time_string) - 3) AS DECIMAL);

0 commit comments

Comments
 (0)