Ticket #6 (closed defect: worksforme)

Opened 6 years ago

Last modified 5 years ago

closing dbh with active statement handles

Reported by: dom Owned by: dom
Priority: minor Milestone:
Component: wiki-toolkit Version: svn
Keywords: hackfest2007-reviewed Cc:

Description

Most operations seem to result in

closing dbh with active statement handles

stderr output at the moment. Should be a trivial fix.

Change History

Changed 6 years ago by dom

Hmm, ignore this until I can track down where I saw those messages. They aren't popping up quite as often as I thought...

Changed 6 years ago by nick

I've seen them a few times

Is there any way to get DBI to track where they were created? I've never managed to get this to show up in a simple case, so I've never figured out where the statement with data left was is.

Changed 6 years ago by dom

  • milestone set to 0.70

Changed 6 years ago by dom

(In [324]) Close some active statements (references #6)

Changed 6 years ago by dom

  • milestone 0.70 deleted

I *think* this is due to problems upstream with DBD::SQLite. For example, see this:  http://rt.cpan.org/Public/Bug/Display.html?id=17603

In any case... for the time being I will leave this bug open, but have removed the 0.70 milestone.

Changed 6 years ago by Perigrin

Seems to happen in the following tests if that helps track it down:

t/017_delete_version..........................ok 30/78Asked to delete non existant version 2 of node 5 (Five Node) at /Users/perigrin/.cpan/build/Wiki-Toolkit-0.70/blib/lib/Wiki/Toolkit/Store/Database.pm line 1017. closing dbh with active statement handles

t/021_moderation..............................ok 72/164closing dbh with active statement handles t/021_moderation..............................ok 149/164closing dbh with active statement handles

Changed 5 years ago by dom

Test this with DBD::SQLite 1.13 - above RT bug is closed.

Changed 5 years ago by dom

  • owner changed from dom to Nobody

Changed 5 years ago by dom

  • keywords hackfest2007-reviewed added
  • owner changed from Nobody to dom
  • status changed from new to assigned

Changed 5 years ago by dom

  • status changed from assigned to closed
  • resolution set to worksforme

Confirmed that these messages do not appear with DBD::Sqlite 1.13.

Note: See TracTickets for help on using tickets.