Re: mysql: begin_work after commit fails



On 2005-10-28 18:17:22 +0200, Peter J. Holzer wrote:
> I have a strange problem with mysql 4.1 (innodb engine) and
> DBD::mysql 2.9006:
>
> A dbh->begin_work immediately after a dbh->commit fails with
> the error "Already in a transaction".

Reading the docs before posting wouldn't hurt:

If "AutoCommit" is already off when "begin_work" is called then
it does nothing except return an error.

Please excuse my while I stand a bit in the corner.

hp


--
_ | Peter J. Holzer | In our modern say,learn,know in a day
|_|_) | Sysadmin WSR | world, perhaps being an expert is an
| | | hjp@xxxxxxxxx | outdated concept.
__/ | http://www.hjp.at/ | -- Catharine Drozdowski on dbi-users.

Attachment:pgpKI1SIBVb7q.pgp
Description: PGP signature



Relevant Pages

  • Re: Old BSAs in Sumatra
    ... reading your stuff. ... shouldn't you and not use it as an excuse for your own incompetence. ... bottom posting depends on the flavour prefered by the locals who inhabit ...
    (uk.rec.motorcycles.classic)
  • Re: Effective kill list for this group?
    ... My posting of a kill list wasn't ... After reading my response I realise it was a bit reactionary, ... worthless rehashing of past flame wars. ... Thunderbird needs to be able to filter by ...
    (rec.audio.tubes)
  • Re: Columbus - why post? - how decide?
    ... can be hugely specificly inaccurate. ... quite often I quietly go away reading on topics of interest. ... So the good sides of not posting are I've never displayed ... the duh moment in this, ...
    (soc.history.medieval)
  • Re: http://JavaScript.FAQTs.com/
    ... Before posting to clj, you should thoroughly read this document. ... Average reading speed (Native English speakers ... start posting to the group have actually read the FAQ prior to posting. ... There is an obvious catch 22 in expecting people who are new to Usenet ...
    (comp.lang.javascript)
  • Re: Why do people detest top posting so much?
    ... bottom posting because, well, it makes reading easier but quite a few ... snap at you if you bottom post. ... "Please don't top-post. ... Top posting makes it easier to continue a conversation. ...
    (Ubuntu)