I tried to get Bot running on a D7 installation using SQLite last night, but was getting PDO errors originating from this line in bot.smartirc.inc:

db_query('SET SESSION wait_timeout = 86400');

…because this is meaningless to SQLite, and probably other SQL engines as well. Fortunately, the workaround is simple, and after doing so, Bot seems to work just fine with SQLite (though I haven't tried it with any submodules yet, except my own).

CommentFileSizeAuthor
bot-mysql-only-D7.patch750 bytesGarrett Albright
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Shiny’s picture

Status: Needs review » Reviewed & tested by the community
Issue tags: +PostgreSQL

Ditto on postgres

ERROR: unrecognized configuration parameter "wait_timeout"

Patch works nicely.

Morbus Iff’s picture

Status: Reviewed & tested by the community » Fixed

Committed.

Status: Fixed » Closed (fixed)
Issue tags: -PostgreSQL, -sqlite

Automatically closed -- issue fixed for 2 weeks with no activity.