I've been a reading a lot on the "database locked" problem, but still need guidance trying to locate the source of my problem.

environment: DBI/DBD::SQLite (latest versions) with SQLite3 (3.2.1) on Mac OS X (10.3.9).

I am trying to update a table via the web. The UPDATE in question is the very first (and the only) DML statement. Yet, I get the "database locked" error.

The sequence of commands is

my $sql = "UPDATE statement";
my $sth = $dbh->prepare(qq{$sql});
$sth->execute;
$dbh->commit;

My question is: could I set some kind of "trace" that tells me what is going on with SQLite?

Many thanks.

--
Puneet Kishor

Reply via email to