Change version number, back out memory changes.

This commit is contained in:
adustman
2001-09-06 03:04:26 +00:00
parent ce1a58efb9
commit 70afb08b30
3 changed files with 10 additions and 10 deletions

View File

@ -16,10 +16,10 @@ MySQLdb.converters module.
__author__ = "Andy Dustman <andy@dustman.net>"
__revision__ = """$Revision$"""[11:-2]
version_info = (
0,
9,
1,
0,
0,
"beta",
"gamma",
1)
if version_info[3] == "final": __version__ = "%d.%d.%d" % version_info[:3]
else: __version__ = "%d.%d.%d%1.1s%d" % version_info[:5]

View File

@ -1,5 +1,5 @@
#define version_info "(1,0,0,'beta',1)"
#define __version__ "1.0.0"
#define version_info "(0,9,1,'gamma',1)"
#define __version__ "0.9.1"
/*
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
@ -159,7 +159,7 @@ _mysql_ResultObject_New(
int n, i;
MYSQL_FIELD *fields;
_mysql_ResultObject *r;
if (!(r = PyObject_New(_mysql_ResultObject, &_mysql_ResultObject_Type)))
if (!(r = PyObject_NEW(_mysql_ResultObject, &_mysql_ResultObject_Type)))
return NULL;
r->conn = (PyObject *) conn;
r->converter = NULL;
@ -240,7 +240,7 @@ _mysql_connect(
*read_default_group=NULL;
_mysql_ConnectionObject *c=NULL;
c = PyObject_New(_mysql_ConnectionObject,
c = PyObject_NEW(_mysql_ConnectionObject,
&_mysql_ConnectionObject_Type);
if (c == NULL) return NULL;
if (!PyArg_ParseTupleAndKeywords(args, kwargs, "|ssssisOiiisss:connect",
@ -1162,7 +1162,7 @@ _mysql_ConnectionObject_dealloc(
Py_XDECREF(o);
}
Py_XDECREF(self->converter);
PyObject_Del(self);
PyMem_Free((char *) self);
}
static PyObject *
@ -1233,7 +1233,7 @@ _mysql_ResultObject_dealloc(
mysql_free_result(self->result);
Py_DECREF(self->conn);
Py_DECREF(self->converter);
PyObject_Del(self);
PyMem_Free((char *) self);
}
static PyObject *

View File

@ -75,7 +75,7 @@ MySQLdb. MySQLdb is free software.
setup (# Distribution meta-data
name = "MySQL-python",
version = "1.0.0",
version = "0.9.1",
description = "An interface to MySQL",
long_description=long_description,
author = "Andy Dustman",