docs fix (#534)
This commit is contained in:
parent
755dfdc2e1
commit
eced982f7c
@ -17,7 +17,7 @@ Go to the ``docs`` directory and run ``make html``.
|
|||||||
Test Suite
|
Test Suite
|
||||||
-----------
|
-----------
|
||||||
|
|
||||||
If you would like to run the test suite, create database for test like this::
|
If you would like to run the test suite, create a database for testing like this::
|
||||||
|
|
||||||
mysql -e 'create database test_pymysql DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci;'
|
mysql -e 'create database test_pymysql DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci;'
|
||||||
mysql -e 'create database test_pymysql2 DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci;'
|
mysql -e 'create database test_pymysql2 DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci;'
|
||||||
|
@ -23,7 +23,7 @@ class Cursor(object):
|
|||||||
This is the object you use to interact with the database.
|
This is the object you use to interact with the database.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
#: Max stetement size which :meth:`executemany` generates.
|
#: Max statement size which :meth:`executemany` generates.
|
||||||
#:
|
#:
|
||||||
#: Max size of allowed statement is max_allowed_packet - packet_header_size.
|
#: Max size of allowed statement is max_allowed_packet - packet_header_size.
|
||||||
#: Default value of max_allowed_packet is 1048576.
|
#: Default value of max_allowed_packet is 1048576.
|
||||||
@ -403,8 +403,8 @@ class SSCursor(Cursor):
|
|||||||
or for connections to remote servers over a slow network.
|
or for connections to remote servers over a slow network.
|
||||||
|
|
||||||
Instead of copying every row of data into a buffer, this will fetch
|
Instead of copying every row of data into a buffer, this will fetch
|
||||||
rows as needed. The upside of this, is the client uses much less memory,
|
rows as needed. The upside of this is the client uses much less memory,
|
||||||
and rows are returned much faster when traveling over a slow network,
|
and rows are returned much faster when traveling over a slow network
|
||||||
or if the result set is very big.
|
or if the result set is very big.
|
||||||
|
|
||||||
There are limitations, though. The MySQL protocol doesn't support
|
There are limitations, though. The MySQL protocol doesn't support
|
||||||
|
Loading…
Reference in New Issue
Block a user