http://qs321.pair.com?node_id=293231


in reply to Re: Yet Another Unitialized Value Question
in thread Yet Another Unitialized Value Question

The column is a boolean flag with a not null constraint. I assume if fetchrow returns no rows, lock is undefined, but then I don't reference it again.

If there is a row, then lock must be 0 or 1.