Menu

Commit [r13110]  Maximize  Restore  History

esqlc: say why strip() leaves the first character alone

Comment only, no change in behaviour.

strip() stops at str[0] rather than clearing it, which reads like an
off-by-one. It is deliberate: an empty field in an unload file means
NULL, so a column holding an empty or all-blank CHAR has to keep one
space to come back from LOAD as a value rather than a null.

Nothing said so, and the bound is an easy thing to "tidy up" while
working on unload formatting.

mikeaubury 2026-09-10

changed /aubit4glsrc/trunk/lib/libsql/esqlc/esql.ec
/aubit4glsrc/trunk/lib/libsql/esqlc/esql.ec Diff Switch to side-by-side view
Loading...