Unverified Commit 21a86230 authored by Atallah khedrane's avatar Atallah khedrane Committed by GitHub

duo to #3278 numRow should be 0

parent 0e4d954f
......@@ -928,7 +928,7 @@ func (d *dbBase) ReadBatch(q dbQuerier, qs *querySet, mi *modelInfo, cond *Condi
maps[fi.column] = true
}
} else {
return -1, fmt.Errorf("wrong field/column name `%s`", col)
return 0, fmt.Errorf("wrong field/column name `%s`", col)
}
}
if hasRel {
......
Markdown is supported
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