Skip to content
Unverified Commit 3c027bd0 authored by Joas Schilling's avatar Joas Schilling
Browse files

Fix order of GREATEST for Oracle

As per https://docs.oracle.com/cd/B19306_01/server.102/b14200/functions060.htm


Oracle uses the first value to cast the rest or the values.
So when the first value is a plain int, instead of doing the math,
it will cast the expression to int and continue with a potential 0.

Signed-off-by: default avatarJoas Schilling <coding@schilljs.com>
parent 2c6bbe78
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment