Skip to content
This repository has been archived by the owner on Feb 22, 2020. It is now read-only.

Commit

Permalink
Fixed issue with RDS by disabling (unsupported anyway) SSL support bi…
Browse files Browse the repository at this point in the history
…t in handshake.
  • Loading branch information
Jonas Trnstrm committed Feb 13, 2012
1 parent a6d8a12 commit 05166cc
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
1 change: 1 addition & 0 deletions lib/Connection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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())
{
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
3 changes: 0 additions & 3 deletions tests/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,6 @@
import datetime
import logging
import unittest
import gevent
from gevent import monkey
monkey.patch_socket()
import socket

import umysql
Expand Down

0 comments on commit 05166cc

Please sign in to comment.