BTW - I just resubmitted a new job and then ran all the queries that
showed up in the logs manually to see what it was getting back here is
that output.

From development.log

  Bj::Table::Job Create (0.001226)   INSERT INTO
"bj_job" ("is_restartable", "pid", "stdout", "stdin", "command",
"submitter", "finished_at", "env", "stderr", "submitted_at",
"priority", "tag", "runner", "started_at", "exit_status", "state")
VALUES(1, NULL, NULL, NULL, 'ls', 'dustymini.local', NULL, NULL, NULL,
'2008-07-22 01:30:09', 0, '', NULL, NULL, NULL, 'pending')
  Bj::Table::Config Load (0.000502)   SELECT * FROM "bj_config" WHERE
("bj_config"."key" = 'development.no_tickle' AND
"bj_config"."hostname" = 'dustymini.local') LIMIT 1
  Bj::Table::Config Load (0.000677)   SELECT * FROM "bj_config" WHERE
("bj_config"."key" = 'development.no_tickle' AND
"bj_config"."hostname" = '*') LIMIT 1
  Bj::Table::Config Load (0.000361)   SELECT * FROM "bj_config" WHERE
("bj_config"."key" = 'development.23996.pid' AND
"bj_config"."hostname" = 'dustymini.local') LIMIT 1
  Bj::Table::Config Load (0.000267)   SELECT * FROM "bj_config" WHERE
("bj_config"."key" = 'development.23996.pid' AND
"bj_config"."hostname" = '*') LIMIT 1
  Bj::Table::Config Load (0.000276)   SELECT * FROM "bj_config" WHERE
("bj_config"."key" = 'development.0.pid' AND "bj_config"."hostname" =
'dustymini.local') LIMIT 1
  Bj::Table::Config Load (0.000247)   SELECT * FROM "bj_config" WHERE
("bj_config"."key" = 'development.0.pid' AND "bj_config"."hostname" =
'*') LIMIT 1
  Bj::Table::Config Load (0.000254)   SELECT * FROM "bj_config" WHERE
("bj_config"."key" = '.uri' AND "bj_config"."hostname" =
'dustymini.local') LIMIT 1
  Bj::Table::Config Load (0.000244)   SELECT * FROM "bj_config" WHERE
("bj_config"."key" = '.uri' AND "bj_config"."hostname" = '*') LIMIT 1


Running all those commands manually, one returned an answer (between
the **)

sqlite> SELECT * FROM "bj_config" WHERE ("bj_config"."key" =
'development.no_tickle' AND "bj_config"."hostname" =
'dustymini.local') LIMIT 1;
sqlite> SELECT * FROM "bj_config" WHERE ("bj_config"."key" =
'development.no_tickle' AND "bj_config"."hostname" = '*') LIMIT 1;

**
sqlite> SELECT * FROM "bj_config" WHERE ("bj_config"."key" =
'development.23996.pid' AND "bj_config"."hostname" =
'dustymini.local') LIMIT 1;
1|dustymini.local|development.23996.pid|24011|to_i
**

sqlite> SELECT * FROM "bj_config" WHERE ("bj_config"."key" =
'development.23996.pid' AND "bj_config"."hostname" = '*') LIMIT 1;
sqlite> SELECT * FROM "bj_config" WHERE ("bj_config"."key" =
'development.0.pid' AND "bj_config"."hostname" = 'dustymini.local')
LIMIT 1;
sqlite> SELECT * FROM "bj_config" WHERE ("bj_config"."key" =
'development.0.pid' AND "bj_config"."hostname" = '*') LIMIT 1;
sqlite> SELECT * FROM "bj_config" WHERE ("bj_config"."key" = '.uri'
AND "bj_config"."hostname" = 'dustymini.local') LIMIT 1;
sqlite> SELECT * FROM "bj_config" WHERE ("bj_config"."key" = '.uri'
AND "bj_config"."hostname" = '*') LIMIT 1;