comdb2 icon indicating copy to clipboard operation
comdb2 copied to clipboard

log schema parsing errors into a single buffer

Open aakash10292 opened this issue 3 years ago • 0 comments

This simple patch gets rid of a redundant buffer (syntax_err) to which we log errors encountered while parsing schema. Turns out we also always log those errors to the err buffer as well. So we can reliably fetch the same errors from csc2_get_err. A useful side-effect is a more informative rc 240 error encountered while trying to index on blob/UTF-8 fields

aakash10292 avatar Feb 18 '22 16:02 aakash10292