[ticket/9278] Support for sqlite version 3

PHPBB3-9278