Skip to content

Commit 785de03

Browse files
committed
Merge remote-tracking branch 'pymysql/master' into tornado
Conflicts: README.rst example.py pymysql/tests/__init__.py pymysql/tests/test_issues.py runtests.py tornado_mysql/connections.py tornado_mysql/cursors.py tornado_mysql/tests/base.py tornado_mysql/tests/test_DictCursor.py tornado_mysql/tests/test_basic.py tox.ini
2 parents 8b4cb33 + 82e9ae9 commit 785de03

24 files changed

Lines changed: 23478 additions & 242 deletions

.travis.databases.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
[
2-
{"host": "localhost", "user": "root", "passwd": "", "db": "test_pymysql", "use_unicode": true},
2+
{"host": "localhost", "user": "root", "passwd": "", "db": "test_pymysql", "use_unicode": true, "local_infile": true},
33
{"host": "localhost", "user": "root", "passwd": "", "db": "test_pymysql2" }
44
]

.travis.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,20 @@
1+
sudo: false
12
language: python
2-
python: "2.7"
3+
python: "3.4"
4+
env:
5+
- TOX_ENV=py26
6+
- TOX_ENV=py27
7+
- TOX_ENV=py33
8+
- TOX_ENV=py34
9+
- TOX_ENV=pypy
10+
- TOX_ENV=pypy3
311

412
install:
5-
- pip install -M tox
13+
- pip install -U tox
614

715
before_script:
816
- "mysql -e 'create database test_pymysql DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci;'"
917
- "mysql -e 'create database test_pymysql2 DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci;'"
1018
- cp .travis.databases.json tornado_mysql/tests/databases.json
1119

12-
script: tox
20+
script: tox -e $TOX_ENV

CHANGELOG

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,20 @@
11
Changes
22
--------
33

4+
0.6.4 -Support "LOAD LOCAL INFILE". Thanks @wraziens
5+
-Show MySQL warnings after execute query.
6+
-Fix MySQLError may be wrapped with OperationalError while connectiong. (#274)
7+
-SSCursor no longer attempts to expire un-collected rows within __del__,
8+
delaying termination of an interrupted program; cleanup of uncollected
9+
rows is left to the Connection on next execute, which emits a
10+
warning at that time. (#287)
11+
12+
0.6.3 -Fixed multiple result sets with SSCursor.
13+
-Fixed connection timeout.
14+
-Fixed literal set syntax to work on Py2.6.
15+
-Allow for mysql negative values with 0 hour timedelta.
16+
-Added Connection.begin().
17+
418
0.6.2 -Fixed old password on Python 3.
519
-Added support for bulk insert in Cursor.executemany().
620
-Added support for microseconds in datetimes and dates before 1900.
@@ -37,7 +51,7 @@ Changes
3751
-Removed DeprecationWarnings
3852
-Ran against the MySQLdb unit tests to check for bugs
3953
-Added support for client_flag, charset, sql_mode, read_default_file,
40-
use_unicode, cursorclass, init_command, and connect_timeout.
54+
use_unicode, cursorclass, init_command, and connect_timeout.
4155
-Refactoring for some more compatibility with MySQLdb including a fake
4256
pymysql.version_info attribute.
4357
-Now runs with no warnings with the -3 command-line switch

README.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ example_pool
7676
print(POOL._opened_conns)
7777

7878

79+
7980
Requirements
8081
-------------
8182

0 commit comments

Comments
 (0)