in reply to DBD::Mysql Strange Locking error

We cannot see the SQL statement that you are passing, so how can know whether it is not an error? For all I know, the table needs to be locked to execute your statement!

Replies are listed 'Best First'.
Re^2: DBD::Mysql Strange Locking error
by cormanaz (Deacon) on May 05, 2006 at 22:00 UTC
    It's a plain-old select statement, which is why I didn't post it, but here you go

    $wordid = getsqlvalue($dbh,"select id from words.vocabulary where toke +n like '$searchword'");