95ae115c7d
Merge pull request #32 from methane/autocommit
...
More precise get_autocommit based on server_status.
2013-11-21 11:57:32 -08:00
9b0b59f1bb
Merge pull request #34 from tyzhnenko/test-and-fix-issue-33
...
Fix cut off SQL query when its contained `))`
2013-11-21 11:55:10 -08:00
44f8b4d2b9
Merge pull request #36 from Multiposting/master
...
Fix the conversion of list or tuple args to SQL.
2013-11-21 11:52:42 -08:00
fb1c79d85a
microsecond-bug-fix
...
When the MySQL Datetime Fraction is less than 6, microseconds set
incorrectly. For example, you set the field, Datetime(3). Then this
library read the time `2013-11-07 10:27:35.705` as `2013-11-08
10:27:35.000705`.
2013-11-08 12:18:55 +09:00
100485f627
microsecond-bug-fix for datetime.datetime
2013-11-08 11:51:31 +09:00
8096d8c053
Also fix executemany().
2013-11-05 11:34:43 +01:00
8bef3359fb
Syntax fix for python 2.5 support.
2013-11-05 11:01:22 +01:00
87d1145c0d
Fix the conversion of list or tuple args to a SQL.
...
When there is one element on the list, the generated SQL was
(1,) (python notation of a single element tuple, which is not
valid in SQL.
2013-11-04 16:17:57 +01:00
052955e093
Fix cut off SQL query when its contained ))
, edit insert_values
...
regexp. Fixes issue #33 .
2013-10-07 12:35:13 +03:00
2204283605
Remove unused variable.
2013-10-02 02:17:48 +09:00
3dbf035fa5
More precise get_autocommit based on server_status.
2013-10-02 02:10:02 +09:00
c8b2744ea2
Merge pull request #12 from KLab/autocommit_on
...
Support keyword argument to initially autocommit=on
2013-08-18 14:22:40 -07:00
0226f1a727
Fix problem with return None if Datetime field contained microsecond (Issue #24 )
2013-07-15 18:11:07 +03:00
f064692a36
'BEGIN' on __enter__ if autocommit is enabled.
2013-05-22 22:33:20 +09:00
470eb56c4d
Fix typo.
2013-05-21 13:32:23 +09:00
c1b8e8a047
autocommit=None means using server default.
2013-05-21 12:09:55 +09:00
797d9c3029
Support autocommit=True
for constructor argument.
2013-01-05 09:34:59 +09:00
52894fd137
remove unused lines.
2013-01-05 09:19:43 +09:00
ad119309fc
Version bump
2013-01-01 17:14:08 -05:00
49f8ab9689
Fix some broken types module references.
2012-11-02 11:29:59 -04:00
369810dff7
PyPy fixes, and probably some reference issues for CPython too.
...
Derived from a patch at https://bitbucket.org/pypy/compatibility/wiki/edit/mysql-python
2012-10-17 18:30:19 -04:00
c9b282f8b5
Version bump.
2012-10-11 10:05:28 -04:00
a34cd2a9a0
Merge remote-tracking branch 'remotes/evax/utf8mb4' into MySQLdb-1.2
2012-10-08 14:02:42 -04:00
030d175754
Use db.unicode_literal.charset in cursors.py
2012-10-08 19:16:01 +02:00
0f8d86cc87
Prep for 1.2.4b4 release
2012-10-08 11:47:09 -04:00
9eb906e8a7
Map utf8mb4 to utf8 in python
2012-10-08 17:25:14 +02:00
7d4993a53c
Workaround for recommended MySQL 5.5 utf8mb4 character set, which is not recognized by Python yet.
2012-10-05 14:01:51 -04:00
7a846cf5e3
Allow pip install from git
...
Merged with modifications from a815269010
2012-10-04 13:34:39 -04:00
0164ffeb25
Let's not forget history...
2012-10-03 14:11:05 -04:00
973660bdc6
Version 1.2.4b3
2012-10-03 13:34:33 -04:00
cd44524fef
Patch 4/4: Fix TEXT vs. BLOB conversion.
...
This patch assumes an applied patch 3 (https://sourceforge.net/p/mysql-python/patches/79/ ). Looks a bit like a hack, but the infrastructure doesn't seem to allow anything else. And it works here very well. I'm not sure, how it works with very old mysql versions (<= 4.0).
https://sourceforge.net/p/mysql-python/patches/80/
2012-10-03 13:20:19 -04:00
c05a2c6a50
Patch 3/4: _mysql.c reference counting and exception issues
...
This patch fixes a reference leak and improves the error handling in the converter mapping code. Rather accidentially it also drops the cleanup: label and the gotos ;)
https://sourceforge.net/p/mysql-python/patches/79/
2012-10-03 13:17:35 -04:00
1c33baf352
Patch 2/4: executemany-regex improvement. It should match better and faster now. It also may be more readable.
...
https://sourceforge.net/p/mysql-python/patches/78/
2012-10-03 13:15:38 -04:00
a7f55a5d6a
Patch 1/4: Minor exception handling improvements (don't swallow program exits)
...
https://sourceforge.net/p/mysql-python/patches/77/
2012-10-03 13:10:25 -04:00
72848c84bc
Somehow I missed this connection setup
2012-10-02 13:50:00 -04:00
413c3b6623
Giving Travis it's own database with utf8 charset in hopes this will fix the callproc test (which works everywhere else)
2012-10-02 13:19:09 -04:00
ae94e44ed1
Add Travis-specific configuration file
2012-10-02 12:59:29 -04:00
3581603f45
Merge branch 'master' into MySQLdb-1.2
...
Conflicts:
MySQLdb/tests/test_MySQLdb_capabilities.py
MySQLdb/tests/test_MySQLdb_dbapi20.py
2012-10-02 12:58:00 -04:00
d0e96c7155
Unify test connection configuration
2012-10-02 12:37:41 -04:00
1936b93cf0
Test connection tweaks for Travis
2012-10-01 13:14:38 -04:00
235d8466dd
History updates for 1.2.4b2
2012-09-27 12:40:05 -04:00
5fda4c2579
Revert raise exc as value statements to raise exc, value since it breaks Python < 2.6.
2012-09-27 12:40:04 -04:00
048b70d901
Fix MySQLdb1-1 Exception format incompatible with previous versions
...
Unfortunately, when I broke this, I broke the test at the same time. That should have been a red flag.
2012-09-27 12:40:03 -04:00
162e9e4d84
General cleanups
2012-09-27 12:40:02 -04:00
4af9b70b91
History updates for 1.2.4b2
2012-09-27 12:18:07 -04:00
2b5b909529
Revert raise exc as value statements to raise exc, value since it breaks Python < 2.6.
2012-09-27 12:06:58 -04:00
d1b43681cf
Fix MySQLdb1-1 Exception format incompatible with previous versions
...
Unfortunately, when I broke this, I broke the test at the same time. That should have been a red flag.
2012-09-26 16:02:05 -04:00
129f09ace4
Windows is HELL
2012-09-26 11:24:14 -04:00
f60f81d114
Revert "Hopefully this is just a very minor spacing cleanup."
...
This reverts commit cdc221a8078382f3a0d97b8b43b155a4f6246297.
Conflicts:
MySQLdb/MANIFEST.in
MySQLdb/metadata.cfg
2012-09-26 11:18:32 -04:00
08945a4627
License file, cleanup MANIFEST.in, and bump version to 1.2.4b1
2012-09-25 21:45:14 -04:00