Permalink
Browse files

Fixed issue with RDS by disabling (unsupported anyway) SSL support bi…

…t in handshake.
  • Loading branch information...
jskorpan committed Feb 13, 2012
1 parent a6d8a12 commit 05166ccbd4dd12ce012596a181ea3f661f4419dc
Showing with 2 additions and 4 deletions.
  1. +1 −0 lib/Connection.cpp
  2. +1 −1 setup.py
  3. +0 −3 tests/tests.py
View
@@ -286,6 +286,7 @@ bool Connection::processHandshake()
m_clientCaps &= ~MCP_COMPRESS;
m_clientCaps &= ~MCP_NO_SCHEMA;
+ m_clientCaps &= ~MCP_SSL;
if (!(serverCaps & MCP_CONNECT_WITH_DB) && !m_database.empty())
{
View
@@ -94,7 +94,7 @@
define_macros=[('WIN32_LEAN_AND_MEAN', None)])
setup (name = 'umysql',
- version = "2.1",
+ version = "2.2",
description = "Ultra fast MySQL driver for Python",
ext_modules = [module1],
author="Jonas Tarnstrom",
View
@@ -64,9 +64,6 @@
import datetime
import logging
import unittest
-import gevent
-from gevent import monkey
-monkey.patch_socket()
import socket
import umysql

0 comments on commit 05166cc

Please sign in to comment.