--------------------------------------------------------------------------------
* change: put compiled FreeTDS for Windows in pymmsql source, add build
instructions to README, better Visual Studio support (61)
+ feature: support hostname, port, tds_version connect params without freetds.config
+ feature: make pymssql.Cursor.rownumber give accurate results for executemany()
+ feature: bundle FreeTDS libraries & use static libary includes to avoid
most end-user-developers needing to mess with FreeTDS
* change: speed up handling of tuples/lists when quoting (dieterv77)
- bug 46: better handling for byte strings that don't represent ascii data
- bug: custom param handling avoids bugs when '%' is used in the SQL (modulus operator)
- bug: fix pymssql.DBAPIType so that comparisons work as expected
- bug: fetch*() functions would erroneously raise OperationalError when rows exhausted
- bug 47: fix threaded tests crashing
- bug 79: fix prevision problem with floats (dieterv77)
- bug 14: Add setup.py voodoo that undoes setuptools monkeypatching
that causes `pip install` to not work with setuptools unless pyrex
is installed. (86a73a19d5bd)
- bug 106 (OS X: "Symbol not found: _dbadata" error when importing
pymssql): Fix OS X build by modifying setup.py so that on OS X we
don't attempt to link with the bundled FreeTDS *Linux* library.
(88d15d125586)
+ feature: Add support for running tox (http://tox.testrun.org/) to
test across multiple Python versions. (5fa7a6548b31)
- bug 44: Remove test_long_identifiers from test_sqlalchemy.py
because SQLAlchemy removed the 30 character limit on identifiers.
(6585d44eea33)
- feature: Add setup.py voodoo so that Cython can automatially be
downloaded if it's not installed instead of an ImportError
(bb459dd7fd7e)
- bug 105: Link with librt on Unix platforms that have it (like
Linux, but not FreeBSD or OS X) to prevent 'undefined symbol:
clock_gettime' error when importing pymssql. (2b255b1c035f)
Tue Nov 02 09:33:00 2010 Damien Churchill <damoxcgmail.com>
* _mssql.pyx:
+ feature: add support for nullable ints and nullable bits in
stored procedure parameters.
+ feature: add support for positional parameters in stored
procedures.
+ bugfix: add support for using type subclasses as parameters
+ bugfix: correctly report incorrect logins.
+ feature: add support for setting the application name
+ bugfix: accept more than just the decimal.Decimal type for
money and decimal parameters.
+ bugfix: fix raising exceptions from convert_python_value()
+ bugfix: fix binding parameters of int type when larger than
2^31 - 1 (raise exception).
+ bugfix: use sprintf rather than python strings in the msg_handler
+ bugfix: use sprintf rather than python strings in the err_handler
+ bugfix: make compatible with Cython 0.13
+ feature: remove the trusted parameter to connect()
+ bugfix: fix issue 15, not setting implicit_transactions on connect
+ bugfix: fix issue 32, setting the wrong hostname on login
* pymssql.pyx:
+ feature: add initial support for callproc()
+ feature: add support for setting the application name
+ bugfix: fix issue 7, thanks has.temp3
+ bugfix: fix issue 10, rowcount property being incorrect
+ bugfix: make compatible with Cython 0.13
+ feature: remove the trusted parameter to connect()
+ feature: add returnvalue property with the result of a callproc()
call.
+ feature: fix raising exceptions when args[0] is not a string
* MANIFEST.in:
+ feature: include the tests
+ bugfix: include ez_setup.py
* setup.py:
+ bugfix: fix issue 8, ZipFile don't has the attribute
'extractall' error for python2.5
* version 1.9.909
Wed Apr 28 11:10:00 2010 Damien Churchill <damoxcgmail.com>
* MANIFEST.in:
+ bugfix: fix recursive-include for .pyrex
* version 1.9.908
Wed Apr 21 16:02:00 2010 Damien Churchill <damoxcgmail.com>
* MANIFEST.in:
+ bugfix: include missing .pyrex folder
* version 1.9.907
Fri Apr 09 13:16:00 2010 Damien Churchill <damoxcgmail.com>
* setup.py:
+ bugfix: include hack faking that pyrex is installed to workaround
a bug in setuptools.
* _mssql.pyx:
+ bugfix: add support for connecting using "." and "(local)"
* pymssql.pyx:
+ feature: add the output type to be used with callproc()
+ depreciate: the dsn keyword param to pymssql.connect()
+ feature: add the get/set_max_connections to pymssql
* sqlfront.pxd:
+ feature: tidy up and remove all unused methods.
* version 1.9.906
Mon Nov 23 13:37:00 2009 Damien Churchill <damoxcgmail.com>
* _mssql.pyx:
+ feature: add support for varbinary types
+ feature: add support for passing in charset to _quote_data
+ bugfix: rename MSSQLConnection.next_result to
MSSQLConnection.nextresult as before
+ bugfix: set the charset upon login
+ feature: rewrite _remove_locale using C types instead, 20x faster
+ feature: add a charset param to quote_data and relating funcs that
allows the charset to be specified for unicode encodes.
* pymssql.pyx:
+ feature: add DSN support that was missing
+ bugfix: fix rowcount property
* sqlfront.pxd:
add DBSETLCHARSET
* tests:
+ feature: add test for multiple results
* setup.py:
+ feature: fix building on windows
+ feature: clean generated C files in the clean command
+ feature: automatically extract freetds.zip on windows when
building
* version 1.9.903
Fri Nov 20 13:03:00 2009 Damien Churchill <damoxcgmail.com>
* mssqldbmodule.c: deprecated in favour of _mssql.pyx
* pymssql.py: deprecated in favour of pymssql.py
+ feature: added support for uniqueidentifier types
+ feature: added support for calling remote procedures programmatically
* version 1.9.901
Tue May 12 15:43:00 2009 Andrzej Kukula <akukulagmail.com>
* mssqldbmodule.c:
+ bugfix: pymssql didn't return second, third etc. result set
in case of multi-result statements, e.g. 'SELECT 1; SELECT 2',
thanks Damien Churchill <damoxcusers.sourceforge.net>
Wed Apr 29 19:31:00 2009 Andrzej Kukula <akukulagmail.com>
* mssqldbmodule.c:
+ fixed possible memory leak, thanks Evgeny Cherkashin
<eugene.admgmail.com>
Tue Apr 23 23:00:00 2009 Andrzej Kukula <akukulagmail.com>
+ bugfix: fixed rare quoting bug in select_db()
+ feature: added 'max_conn' parameter to pymssql.connect() and
_mssql.connect() which defaults to 25, thanks Daniel Watrous
<dwmaillistgmail.com>
* nagios-plugin update - thanks Josselin Mouette <jossdebian.org>:
+ Include a -P port option, to avoid having to passing it with the
host name
+ Fix the encoding of the comments; utf-8 is the declared encoding
of the file and must be followed
+ Fix a typo in the SQL syntax
+ Connect explicitly to the "master" database (required since 1.0.0)
+ Improve perfdata output.
* version 1.0.2
Tue Apr 21 22:56:00 2009 Andrzej Kukula <akukulagmail.com>
* mssqldbmodule.c:
+ bugfix in format_and_run_query(): query strings were sometimes
overwritten with garbage due to DECREF in wrong place; thanks
Igor Nazarenko <igor.n.nazarenkogmail.com>
+ bugfix in get_result(): if a query batch contained DECLARE or
possibly other T-SQL statements, no results were returned
thanks Kay Schluehr <schluehrkusers.sourceforge.net>
+ bugfix in execute_scalar(): check if there are any columns in result
+ bugfix: check for FAIL after each dbnextrow()
+ feature: Add support for bigint - 2660972; thanks Alexandr
Zamaraev <shura_zamusers.sourceforge.net>
* pymssql.c:
+ bugfix in execute(): if execute is called without second argument,
don't treat '%' in query string as formatting character; restored
compatibility with common sense and with pymssql < 1.0.0; thanks
Corey Bertram <corey.bertrammonitoredsecurity.com>,
Wes McKinney <wesmckinngmail.com>
+ feature: it is possible to specify 'as_dict' to pymssql.connect
and rows will be returned as dictionaries instead of tuples;
thanks Daniel Watrous <dwmaillistgmail.com>
Thu Jan 30 18:36:00 2009 Andrzej Kukula <akukulagmail.com>
* mssqldbmodule.c:
+ Pyssize_t error on x64 - thanks Josselin Mouette <jossdebian.org>
+ critical charset updates, thanks Josselin Mouette <jossdebian.org>
+ more Py_ssize_t updates, further code cleanups
+ fixed some compiler warnings
* pymssql.py:
+ execute() failed, thanks Josselin Mouette <jossdebian.org>
+ critical charset updates, thanks Josselin Mouette <jossdebian.org>
+ removed warnings, users don't want them and they are not 'MUST'
priority in DB-API spec
* nagios-plugin: introducted Nagios plugin, thanks Julien Blache
and Josselin Mouette
* version 1.0.1
Thu Jan 29 19:23:00 2009 Andrzej Kukula <akukulagmail.com>
* version 1.0.0
* so many changes I'll not put them here, I'll document
changes from now on.
Mon Sep 25 20:18:00 2006 Andrzej Kukula <akukulagmail.com>
* setup.py: fix for Fink (http://Fink.SF.Net) under OS X (thanks
Terrence Brannon <metaperlgmail.com>)
Sun Sep 24 10:44:00 2006 Andrzej Kukula <akukulagmail.com>
* setup.py:
+ it can now dynamically determine the path to SQL 2000 Developer
Tools, if win32api and win32con modules are available
+ simple Python version check to prevent most frequently asked
question
+ version 0.8.0
Wed Sep 13 01:20:00 2006 Andrzej Kukula <akukulagmail.com>
* mssqldbmodule.c:
+ corrected misspellings in docstrings
+ fixed segfault on connection close with Python 2.5; thanks
Justin Francis <jfrancispivotalpayments.com>
* pymssql.py:
+ fixed two minor DB-API incompatibilities (thanks Matthew Good
<mattmatt-good.net>)
+ fixed datetime quoting (thanks Jan Finell <jfinellregionline.fi>)
* pymssql should be able to build on cygwin (thanks
robrobnet.com)
* docstring fixes, webpage doc updates
Tue May 15 03:18:00 2006 Jooncheol Park <exmanusers.sourceforge.net>
* setup.py, PKG-INFO, README: license change to LGPL
Wed Mar 15 08:18:00 2006 Andrzej Kukula <akukulausers.sourceforge.net>
* pymssql.py: fixed datetime issue (thanks Jan Finell
<jfinellregionline.fi>)
Fri Feb 24 16:11:00 2006 Andrzej Kukula <akukulausers.sourceforge.net>
* mssqldbmodule.c: fixed typos in docstrings (thanks Konstantin
Veretennicov)
Tue Dec 27 15:14:00 2005 Andrzej Kukula <akukulausers.sourceforge.net>
* mssqldbmodule.c: bug fixes, improvements and cleanups:
+ implemented set_login_timeout() and set_query_timeout() functions;
+ eliminated unnecessary ODBC code
+ cleaned up exception code and improved exception handling,
SF bug 1335560
+ web page now correctly mentions FreeTDS 0.63 as the minimal
required version
+ stdmsg() method is now deprecated; all errors are concatenated
in errmsg()
+ implemented min_error_severity: all errors at or above that
level will raise the exception; if the severity is lower, they
will just accumulate in errmsg()
+ added setting coltype to NUMBER for float types (found by
Jakub Labath)
* setup.py:
+ reincarnated ntwdblib.dll which turned out to be redistributable
after all; pymssql includes the latest version that allows
connecting to SQL 2005; eliminated some stupid notes from the
web page and will ease set up process for users
* apitest_mssql.py: new file
+ provided by Jakub Labath, this file performs some basic DB-API
compliance tests; it immediately triggered the unicode bug
* version 0.7.4
Sat Oct 22 19:41:00 2005 Andrzej Kukula <akukulausers.sourceforge.net>
* mssqldbmodule.c: multithreading improvements - from now on pymssql
is thread-safe, it releases GIL in proper places; idea and initial
patch by John-Peter Lee (thanks very much!)
Mon Sep 5 23:29:00 2005 Andrzej Kukula <akukulausers.sourceforge.net>
* setup.py: fixed an installation issue regarding importing pymssql
that imports _mssql which isn't installed, and blows up with
AttributeError... (thanks Vsevolod Stakhov)
* version 0.7.3
Mon Sep 5 00:32:00 2005 Andrzej Kukula <akukulausers.sourceforge.net>
* version 0.7.2
Sun Sep 4 23:12:00 2005 Andrzej Kukula <akukulausers.sourceforge.net>
* mssqldbmodule.c: improvements and cleanups:
+ improved error handling: if the db function fails, the exception
is thrown automatically and immediately; no need to check
return value of conn.query(), just catch _mssql.error
+ improved error handling: it is possible that MS SQL calls message
handler twice; now _mssql catches and reports both of them at once
+ improved error handling: in some cases _mssql.query() returns
success but the results are invalid; now it is handled properly
(example "SELECT CAST(1234.5678 AS NUMERIC(4,2))")
+ added proper connection initialization: a number of SET statements
are executed upon connection setup to set sensible SQL behaviour;
see source for details; one needs to unset them if needed
+ implemented min_{message|error}_severity as it is in php_mssql
to ignore unimportant errors; it's work in progress
+ new function rmv_lcl() initially by Mark Pettit, to strip locale
crap from MONEY values converted to SQLCHAR while generating
Decimal object
+ other small fixes, improvements and janitorial work
Tue Aug 30 00:16:00 2005 Andrzej Kukula <akukulausers.sourceforge.net>
* mssqldbmodule.c: new features:
+ large numbers (DECIMAL, NUMERIC, MONEY, SMALLMONEY) are returned
as Decimal object -- this helps maintain accuracy; thanks to
Mark Pettit for help
+ COMPUTE clauses are supported (it wouldn't fetch data for those
columns before)
+ ROWID type has been removed from _mssql module
+ new type DECIMAL to denote Decimal objects in result set
Mon Aug 29 21:59:00 2005 Andrzej Kukula <akukulausers.sourceforge.net>
* mssqldbmodule.c: some improvements:
+ BIT values are returned as Python bool objects, suggested by
Mark Pettit
+ close() method returns None on success (not to be used at all)
and throws exception on error
+ fixed use of uninitialized value when parsing SMALLDATETIME
+ another round of performance improvements in GetRow() - eliminated
unnecessary data conversions and unneeded DB-Lib calls
+ janitorial fixes
Mon Aug 22 04:35:00 2005 Andrzej Kukula <akukulausers.sourceforge.net>
* mssqldbmodule.c: massive diff:
+ fixed bug with fetching query results of some data types;
found by Mark Pettit
+ fixed IndexError when query returns no rows; patch by Jakub Labath
+ rewritten function GetRow() that fetches query results: performance
improvements, better handling of result data types; datetime
is returned as datetime object instead of string (it's more
consistent with other values -- and more pythonic :)
+ eliminated DetermineRowSize()
+ cleanups: _mssql_init() further improvements w.r.t. Python API
+ janitorial fixes
+ added licensing information
* pymssql.py: docstring changed to look nicer with help()
* version 0.7.2
Thu Aug 11 02:12:00 2005 Andrzej Kukula <akukulausers.sourceforge.net>
* mssqldbmodule.c: improved module init function: added doc string,
made compliant with Python 2.0+ module interface (there are no more
coredumps on help())
* mssqldbmodule.c: documented that _mssql.connect() is not portable
between FreeTDS-dependent platforms and Windows platforms; documented
host:port usage
Sat Jul 23 14:20:00 2005 Andrzej Kukula <akukulausers.sourceforge.net>
* mssqldbmodule.c: eliminated problems with Python exiting upon
invalid login credentials with FreeTDS - the culprit was INT_EXIT
and FreeTDS setting DBDEAD
* mssqldbmodule.c: added better error messages (esp. on Windows)
* mssqldbmodule.c: added msg_handler and err_handler debugging