This commit is contained in:
Shyam Saladi 2016-12-04 02:28:50 -08:00 committed by INADA Naoki
parent 755dfdc2e1
commit eced982f7c
2 changed files with 4 additions and 4 deletions

View File

@ -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;'

View File

@ -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