aboutsummaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorTing-Wei Lan <tingwei.lan@cobinhood.com>2019-04-02 16:50:01 +0800
committerJhih-Ming Huang <jm@dexon.org>2019-05-08 13:20:53 +0800
commit6008337f6e562af1e9cf4c6ab70fe2c09d993c62 (patch)
tree9c066ce7df5f49301844c98d06c919e979eff549 /build
parent682e15d8212cc376509f8f2ef854adf48efb64ef (diff)
downloaddexon-6008337f6e562af1e9cf4c6ab70fe2c09d993c62.tar
dexon-6008337f6e562af1e9cf4c6ab70fe2c09d993c62.tar.gz
dexon-6008337f6e562af1e9cf4c6ab70fe2c09d993c62.tar.bz2
dexon-6008337f6e562af1e9cf4c6ab70fe2c09d993c62.tar.lz
dexon-6008337f6e562af1e9cf4c6ab70fe2c09d993c62.tar.xz
dexon-6008337f6e562af1e9cf4c6ab70fe2c09d993c62.tar.zst
dexon-6008337f6e562af1e9cf4c6ab70fe2c09d993c62.zip
core: vm: sqlvm: return a bool from DecimalEncode and DecimalDecode
Instead of returning a fixed error code, we can return a boolean here because the only possibility of an error is invalid arguments. Callers of these functions must know where invalid arguments come from, and correctly handle it by converting it to an error struct or panicking.
Diffstat (limited to 'build')
0 files changed, 0 insertions, 0 deletions