aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTing-Wei Lan <lantw44@gmail.com>2019-05-09 17:33:44 +0800
committerTing-Wei Lan <tingwei.lan@cobinhood.com>2019-05-14 11:04:15 +0800
commitdeb4a494191b8669e0df4d1e2bad2c55bac0215d (patch)
tree9eee48aa434a0d9ec1f7ecc685d90a0362eb4a8b
parent3d251d6256dfc513dba469ff4a687d93d039acb3 (diff)
downloaddexon-deb4a494191b8669e0df4d1e2bad2c55bac0215d.tar
dexon-deb4a494191b8669e0df4d1e2bad2c55bac0215d.tar.gz
dexon-deb4a494191b8669e0df4d1e2bad2c55bac0215d.tar.bz2
dexon-deb4a494191b8669e0df4d1e2bad2c55bac0215d.tar.lz
dexon-deb4a494191b8669e0df4d1e2bad2c55bac0215d.tar.xz
dexon-deb4a494191b8669e0df4d1e2bad2c55bac0215d.tar.zst
dexon-deb4a494191b8669e0df4d1e2bad2c55bac0215d.zip
code backup 38
-rw-r--r--core/vm/sqlvm/checker/expr.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/vm/sqlvm/checker/expr.go b/core/vm/sqlvm/checker/expr.go
index 3f940c191..9ea754a48 100644
--- a/core/vm/sqlvm/checker/expr.go
+++ b/core/vm/sqlvm/checker/expr.go
@@ -1242,7 +1242,7 @@ func checkOrOperator(n *ast.OrOperatorNode,
}
subject := n.GetSubject()
dtSubject := subject.GetType()
- if !validateBoolType(dtSubject, el, object, fn, op) {
+ if !validateBoolType(dtSubject, el, subject, fn, op) {
return nil
}
dt := n.GetType()