Wanted to complete a small patch for Bugzilla. Last time I tried to complete it I failed due to the weird errors I was getting. Today I figured out that I was triggering a bug in Bugzilla (not filed yet) and another one in MySQL. That in 57 changed lines. Grrr.