]> source.dussan.org Git - nextcloud-server.git/commit
Fix order of GREATEST for Oracle
authorJoas Schilling <coding@schilljs.com>
Wed, 4 Nov 2020 16:02:23 +0000 (17:02 +0100)
committerJoas Schilling <coding@schilljs.com>
Fri, 6 Nov 2020 11:13:22 +0000 (12:13 +0100)
commit3c027bd0cf698ab573e4b92fbeeccd929c2beb19
tree667e1dfffdd6c8e401038386aa2423ab92110696
parent2c6bbe783a6ab0f75f9ad85d66d9b4511a7543be
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: Joas Schilling <coding@schilljs.com>
lib/private/Files/Cache/Propagator.php