Version 1.1.4

* setup.py: changed include and library path order

 * MySQLdb/connections.py: fix super class reference in autocommit()

 * Tested against MySQL-4.1.4a with InnoDB tables
This commit is contained in:
adustman
2004-09-11 07:25:34 +00:00
parent ca5e0c3216
commit 075eea32f3
4 changed files with 10 additions and 8 deletions

View File

@ -18,7 +18,7 @@ __revision__ = """$Revision$"""[11:-2]
version_info = ( version_info = (
1, 1,
1, 1,
3, 4,
"final", "final",
1) 1)
if version_info[3] == "final": __version__ = "%d.%d.%d" % version_info[:3] if version_info[3] == "final": __version__ = "%d.%d.%d" % version_info[:3]

View File

@ -115,7 +115,7 @@ class Connection(_mysql.connection):
flag = flag == True flag = flag == True
s = super(Connection, self) s = super(Connection, self)
if hasattr(s, 'autocommit'): if hasattr(s, 'autocommit'):
s.autocommit(self, flag) s.autocommit(flag)
else: else:
self.query("SET AUTOCOMMIT=%d" % flag) self.query("SET AUTOCOMMIT=%d" % flag)

View File

@ -1,5 +1,5 @@
#define version_info "(1,1,3,'final',1)" #define version_info "(1,1,4,'final',1)"
#define __version__ "1.1.3" #define __version__ "1.1.4"
/* /*
This program is free software; you can redistribute it and/or modify This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by it under the terms of the GNU General Public License as published by

View File

@ -18,18 +18,20 @@ embedded_server = (mysqlclient == 'mysqld')
name = "MySQL-%s" % os.path.basename(sys.executable) name = "MySQL-%s" % os.path.basename(sys.executable)
if embedded_server: if embedded_server:
name = name + "-embedded" name = name + "-embedded"
version = "1.1.3" version = "1.1.4"
# include files and library locations should cover most platforms # include files and library locations should cover most platforms
include_dirs = [ include_dirs = [
'/usr/include/mysql', '/usr/local/include/mysql', '/usr/local/include/mysql',
'/usr/local/mysql/include', '/usr/local/mysql/include',
'/usr/local/mysql/include/mysql' '/usr/local/mysql/include/mysql'
'/usr/include/mysql',
] ]
library_dirs = [ library_dirs = [
'/usr/lib/mysql', '/usr/local/lib/mysql', '/usr/local/lib/mysql',
'/usr/local/mysql/lib', '/usr/local/mysql/lib',
'/usr/local/mysql/lib/mysql' '/usr/local/mysql/lib/mysql',
'/usr/lib/mysql',
] ]
libraries = [mysqlclient] + mysqloptlibs libraries = [mysqlclient] + mysqloptlibs