Mercurial > p > mysql-python > mysqldb-2
diff src/mysqlmod.c @ 67:98d968f5af11 MySQLdb
Reimplement MySQL->Python type conversion in C; much simpler and easier to deal with now. Hey, all my tests pass, so I guess that means I need to write some more tests.
author | adustman |
---|---|
date | Mon, 30 Mar 2009 20:21:24 +0000 |
parents | e606fd52e866 |
children | 3b03cb566032 |
line wrap: on
line diff
--- a/src/mysqlmod.c Sun Mar 29 16:26:30 2009 +0000 +++ b/src/mysqlmod.c Mon Mar 30 20:21:24 2009 +0000 @@ -350,36 +350,6 @@ _mysql_debug__doc__ }, { - "escape", - (PyCFunction)_mysql_escape, - METH_VARARGS, - _mysql_escape__doc__ - }, - { - "escape_sequence", - (PyCFunction)_mysql_escape_sequence, - METH_VARARGS, - _mysql_escape_sequence__doc__ - }, - { - "escape_dict", - (PyCFunction)_mysql_escape_dict, - METH_VARARGS, - _mysql_escape_dict__doc__ - }, - { - "escape_string", - (PyCFunction)_mysql_escape_string, - METH_VARARGS, - _mysql_escape_string__doc__ - }, - { - "string_literal", - (PyCFunction)_mysql_string_literal, - METH_VARARGS, - _mysql_string_literal__doc__ - }, - { "get_client_info", (PyCFunction)_mysql_get_client_info, METH_NOARGS,