Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #56166 > unrolled thread

Re: Where does MySQLdb put inserted data?

Started byDennis Lee Bieber <wlfraed@ix.netcom.com>
First post2013-10-04 18:55 -0400
Last post2013-10-04 18:55 -0400
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Where does MySQLdb put inserted data? Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-10-04 18:55 -0400

#56166 — Re: Where does MySQLdb put inserted data?

FromDennis Lee Bieber <wlfraed@ix.netcom.com>
Date2013-10-04 18:55 -0400
SubjectRe: Where does MySQLdb put inserted data?
Message-ID<mailman.734.1380927317.18130.python-list@python.org>
On Fri, 04 Oct 2013 09:38:41 +0200, "F.R." <anthra.norell@bluewin.ch>
declaimed the following:

<snip convoluted unformatted stuff>

	MySQLdb, as with all DB-API compliant adapters, does NOT do
"auto-commit" -- you MUST execute a con.commit() after any query (sequence)
that modifies data. Without it, closing the connection will invoke a
ROLLBACK operation, removing any attempted changes.
-- 
	Wulfraed                 Dennis Lee Bieber         AF6VN
    wlfraed@ix.netcom.com    HTTP://wlfraed.home.netcom.com/

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web