Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #56180
| Path | csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <anthra.norell@bluewin.ch> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | UNSURE 0.232 |
| X-Spam-Level | ** |
| X-Spam-Evidence | '*H*': 0.60; '*S*': 0.06; 'modifies': 0.09; 'attempted': 0.16; 'operation,': 0.16; 'received:195.186': 0.16; 'received:bluewin.ch': 0.16; 'wrote:': 0.18; 'header:User- Agent:1': 0.23; 'query': 0.26; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'invoke': 0.31; 'another': 0.32; 'fri,': 0.33; 'could': 0.34; 'connection': 0.35; '+0200,': 0.36; 'much.': 0.36; 'subject:data': 0.36; 'thanks': 0.36; 'subject:?': 0.36; 'thank': 0.38; 'to:addr:python-list': 0.38; 'does': 0.39; 'to:addr:python.org': 0.39; 'how': 0.40; 'removing': 0.60; 'it!': 0.67; 'compliant': 0.68; 'sooo': 0.84; 'subject:Where': 0.84; 'works!': 0.91; 'miracle': 0.93; '2013': 0.98 |
| Date | Sat, 05 Oct 2013 10:39:03 +0200 |
| From | "F.R." <anthra.norell@bluewin.ch> |
| User-Agent | Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130510 Thunderbird/17.0.6 |
| MIME-Version | 1.0 |
| To | python-list@python.org |
| Subject | Re: Where does MySQLdb put inserted data? |
| References | <524E7081.3080308@bluewin.ch> <8mhu49dobl4dg99am35dcri2qegp0ssbrc@4ax.com> |
| In-Reply-To | <8mhu49dobl4dg99am35dcri2qegp0ssbrc@4ax.com> |
| Content-Type | text/plain; charset=ISO-8859-1; format=flowed |
| Content-Transfer-Encoding | 7bit |
| X-Mailman-Approved-At | Sat, 05 Oct 2013 13:19:58 +0200 |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.741.1380971999.18130.python-list@python.org> (permalink) |
| Lines | 19 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1380971999 news.xs4all.nl 15863 [2001:888:2000:d::a6]:51192 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:56180 |
Show key headers only | View raw
On 10/05/2013 12:55 AM, Dennis Lee Bieber wrote: > 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. That's it! It works! Thank you sooo much. A miracle how I could go without commits for years and never have missing data. Anyway, another lesson learned . . . Thanks Frederic
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Where does MySQLdb put inserted data? "F.R." <anthra.norell@bluewin.ch> - 2013-10-05 10:39 +0200
csiph-web