Support for Cygwin

Bug #512665 reported by Geert JM Vanderkelen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MySQL Connector/Python
Fix Released
Wishlist
Geert JM Vanderkelen

Bug Description

(reported via direct email by Michael V.)

if you change the line

      if os.name == 'nt':

in mysql/connector/connection/MySQLBaseConnection._set_socket_flags() to

      if os.name == 'nt' or sys.platform == 'cygwin':

the code will run under Python 2.5 on Cygwin. This is a huge win for the
Cygwin users struggling to install MySQLdb.

Tags: platform

Related branches

tags: added: platform
Revision history for this message
Geert JM Vanderkelen (geertjmvdk) wrote :

revno: 206
committer: Geert Vanderkelen <email address hidden>
branch nick: myconnpy-dev
timestamp: Fri 2010-02-12 14:57:03 +0100
message:
  Adding support Cygwin setting socket flags to zero

  * Adding support for Cygwin same way as 'nt' is supported when setting the
  socket flags.

Changed in myconnpy:
status: New → Fix Committed
Changed in myconnpy:
milestone: none → 0.1.4
Changed in myconnpy:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.