Mercurial > p > mysql-python > mysqldb-2
comparison src/results.c @ 66:5a7c30cd9de2 MySQLdb
By exposing connection on result, decoders can be simplified: Only the field object is needed. Turned on leak testing and found a leak writing BLOBs. removed one of the old stubs in Cursor.
author | adustman |
---|---|
date | Sun, 29 Mar 2009 16:26:30 +0000 |
parents | e606fd52e866 |
children | 98d968f5af11 |
comparison
equal
deleted
inserted
replaced
65:7a60c4574baf | 66:5a7c30cd9de2 |
---|---|
627 {NULL, NULL} /* sentinel */ | 627 {NULL, NULL} /* sentinel */ |
628 }; | 628 }; |
629 | 629 |
630 static struct PyMemberDef _mysql_ResultObject_memberlist[] = { | 630 static struct PyMemberDef _mysql_ResultObject_memberlist[] = { |
631 { | 631 { |
632 "connection", | |
633 T_OBJECT, | |
634 offsetof(_mysql_ConnectionObject, connection), | |
635 RO, | |
636 "Connection associated with result" | |
637 }, | |
638 { | |
632 "converter", | 639 "converter", |
633 T_OBJECT, | 640 T_OBJECT, |
634 offsetof(_mysql_ResultObject, converter), | 641 offsetof(_mysql_ResultObject, converter), |
635 RO, | 642 RO, |
636 "Type conversion mapping" | 643 "Type conversion mapping" |