diff --git a/docs/source/user/development.rst b/docs/source/user/development.rst index 872befe9..17b22d25 100644 --- a/docs/source/user/development.rst +++ b/docs/source/user/development.rst @@ -17,7 +17,7 @@ Go to the ``docs`` directory and run ``make html``. 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_pymysql2 DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci;' diff --git a/pymysql/cursors.py b/pymysql/cursors.py index c3e16ba1..41284538 100644 --- a/pymysql/cursors.py +++ b/pymysql/cursors.py @@ -23,7 +23,7 @@ class Cursor(object): 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. #: 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. 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, - and rows are returned much faster when traveling over a slow network, + 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 or if the result set is very big. There are limitations, though. The MySQL protocol doesn't support