In opendmarc-import we should never set values to NULL (or anywhere else for that matter).
$dbi_s = $dbi_h->prepare("UPDATE requests SET repuri = NULL WHERE id = ?");
$dbi_s = $dbi_h->prepare("UPDATE requests SET repuri = '' WHERE id = ?");
Could not find any other locations (didn't dig very deep), however we should always ensure we NEVER set a value to null as to ensure strict mode compatibility and ensure matching on empty records remains sane.
Log in to post a comment.