Bookmark editing does not word with sqlite backend

Different db backend need different error handling. In case of a PDO connection prepare() returns a PDOStatementWrapper which returns an integer on execute(). So we can't call numRows() on an integer...