Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #34600 > unrolled thread
| Started by | Anatoli Hristov <tolidtm@gmail.com> |
|---|---|
| First post | 2012-12-11 08:41 +0100 |
| Last post | 2012-12-11 08:41 +0100 |
| 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.
Re: MySQLdb insert HTML code error Anatoli Hristov <tolidtm@gmail.com> - 2012-12-11 08:41 +0100
| From | Anatoli Hristov <tolidtm@gmail.com> |
|---|---|
| Date | 2012-12-11 08:41 +0100 |
| Subject | Re: MySQLdb insert HTML code error |
| Message-ID | <mailman.710.1355211690.29569.python-list@python.org> |
> > First thing -- DON'T put quotes around the %s place-holders... The > whole purpose of using the parameterized .execute() is to let the > database adapter properly escape the parameters before putting them into > the SQL (since MySQL didn't have prepared statements before v5, it was > producing full SQL statements for each insert, even with .executemany() > ) Thank you, this solved my problem.:)
Back to top | Article view | comp.lang.python
csiph-web