Bug #2857: Fix boolean column for sqlite, do not report false errors in slave DB