mirror of
https://github.com/PyMySQL/mysqlclient.git
synced 2025-08-15 19:31:54 +08:00
Some corrections courtesy of Paul DuBois.
This commit is contained in:
@ -60,7 +60,7 @@ There may also be a link to some user-contributed binaries on the web site.
|
|||||||
Trouble with ZMySQLDA
|
Trouble with ZMySQLDA
|
||||||
<sect1>I installed MySQLdb but ZMySQLDA can't find it.
|
<sect1>I installed MySQLdb but ZMySQLDA can't find it.
|
||||||
<p>Probably you installed a binary version of Zope which comes with
|
<p>Probably you installed a binary version of Zope which comes with
|
||||||
it's own Python interpreter. You will have to compile MySQLdb against
|
its own Python interpreter. You will have to compile MySQLdb against
|
||||||
that particular Python installation. Find out where it's python binary
|
that particular Python installation. Find out where it's python binary
|
||||||
lives and use that to run setup.py.
|
lives and use that to run setup.py.
|
||||||
</sect1>
|
</sect1>
|
||||||
@ -126,7 +126,7 @@ performance a bit.
|
|||||||
Read the MySQL docs, particularly the C API, for an overview.
|
Read the MySQL docs, particularly the C API, for an overview.
|
||||||
<item>
|
<item>
|
||||||
Read the MySQLdb docs. This shows how the C API is transliterated
|
Read the MySQLdb docs. This shows how the C API is transliterated
|
||||||
into Python. Plus some examplesa are in there.
|
into Python. Plus some examples are in there.
|
||||||
<item>
|
<item>
|
||||||
Read the MySQLdb sources, particularly MySQLdb/cursors.py. That one
|
Read the MySQLdb sources, particularly MySQLdb/cursors.py. That one
|
||||||
file contains most of the gory details, particularly in the
|
file contains most of the gory details, particularly in the
|
||||||
|
@ -505,8 +505,8 @@ Compatibility note: The older <ref id="MySQLmodule"> defines this method,
|
|||||||
the additional supplied cursor classes in the <ref id="usage">
|
the additional supplied cursor classes in the <ref id="usage">
|
||||||
section.
|
section.
|
||||||
|
|
||||||
<tag>begin()</tag> Explicitly start a transactions. Normally you do
|
<tag>begin()</tag> Explicitly start a transaction. Normally you do
|
||||||
not need to use this: Executing a query implicitely starts a new
|
not need to use this: Executing a query implicitly starts a new
|
||||||
transaction if one is not in progress. If AUTOCOMMIT is on, you
|
transaction if one is not in progress. If AUTOCOMMIT is on, you
|
||||||
can use <tt/begin()/ to temporarily turn it off. AUTOCOMMIT will
|
can use <tt/begin()/ to temporarily turn it off. AUTOCOMMIT will
|
||||||
resume after the next <tt/commit()/ or <tt/rollback/.
|
resume after the next <tt/commit()/ or <tt/rollback/.
|
||||||
|
Reference in New Issue
Block a user