24 Commits

Author SHA1 Message Date
1409c8d0da Fix memory leak in _mysql_escape_dict. (Danny Yoo)
SSCursor.fetchall() (_mysql_ResultObject_fetch_row) didn't properly
increase the size of the result tuple if the result set was more than
1000 rows. (Danny Yoo)
2002-04-27 00:12:57 +00:00
f24fde089a More (de)allocation cleanups, based on suggestions from
python-dev and Skip Montanaro
2002-03-19 16:31:23 +00:00
1376bfc40a Use modern allocation with modern Python 2002-03-19 06:16:21 +00:00
127059fa73 Bump version. Minor Alpha Linux update. Clear errorhandler on close. 2002-03-14 20:43:51 +00:00
21a41c915c Fix a memory leak if the connect fails 2002-03-01 22:27:12 +00:00
132655cf17 Use modern memory deallocation on modern versions of Python. 2002-01-25 20:17:03 +00:00
a18138516e 0.9.2 alpha 1 2001-12-23 21:39:31 +00:00
6520df9af9 str() can fail in some cases, particularly unicode.
Watch for it to prevent core dumps.
2001-12-22 19:25:28 +00:00
1f9f5ded7a 0.9.0 updates 2001-10-17 03:21:22 +00:00
aad9f23a54 Update to 0.9.1c2. 2001-09-20 17:15:02 +00:00
73f7dcf29f Fix exception handling in connect() (broken by 0.9.1.c1) 2001-09-13 12:53:07 +00:00
67e1c83069 Use two arg _PyTuple_Resize() for Python 2.2 and newer. 2001-09-07 01:07:01 +00:00
0957370bbf Kill bastardly refcount bug that occurs starting with Python 2.0.1.
PyArgs_ParseTupleAndKeywords() returns borrowed references for O format
starting in 2.0.1, prior to that it returns new references, so it's
necessary to test the Python version to determine whether or not we
should Py_INCREF() it. If we always Py_INCREF() it, this produces a
memory leak in versions prior to 2.0.1.
2001-09-06 06:29:21 +00:00
70afb08b30 Change version number, back out memory changes. 2001-09-06 03:04:26 +00:00
ce1a58efb9 Memory allocation cleanups. Add missing newline in docstring. 2001-09-06 02:02:57 +00:00
750fea04d3 ER_PARSE_ERROR -> ProgrammingError;
#ifdef around some recent error types
2001-07-29 03:08:11 +00:00
d5053c60e2 Fix leak on converter dictionary. (Ted Wright) 2001-07-12 17:10:59 +00:00
c613b7a1c0 Minor fixes for 1.0.0. 2001-07-11 18:13:09 +00:00
8a123d5526 Update version number. 2001-06-04 16:55:04 +00:00
c1c89cc543 Rip out _mysql.field_*() methods, as MySQL recommends using SQL
instead. See C API docs.
2001-05-25 20:40:24 +00:00
aa6f485d50 Clean up some import statements, bump versions to 0.9.0c2. 2001-05-24 15:27:17 +00:00
702b563c6e 0.9.0c1 minor edit. 2001-05-23 02:12:10 +00:00
05d3f63ac1 PyObject_Length() == -1 on error. Thanks, Jon Ribbens. 2001-05-14 18:49:27 +00:00
fce05481aa Initial revision 2001-05-09 02:23:14 +00:00