The pymssqlCnx class is returned to the pymssqlCursor class when it is
created, and stored in self.__source. Later in the code, there are calls to
self.__source.query(sql), but the pymssqlCnx class doesn't have a query
method. Nor does it have an errmsg() method. Those are on the lower-level
_mssql connection object, which is stored in the pymssqlCnx.__cnx object. I
don't understand how they ever worked at all for you.
I have added pass-through methods that take care of this. The modified file
is attached; the mods are all together beginning on line 290, and are
clearly labeled.
Nobody/Anonymous
None
None
Public
|
Date: 2007-01-09 02:16
|
|
Date: 2006-12-29 16:46
|
| Filename | Description | Download |
|---|---|---|
| pymssql.py | Modified version of pymssql.py | Download |
| Field | Old Value | Date | By |
|---|---|---|---|
| close_date | - | 2008-05-09 01:05 | akukula |
| status_id | Open | 2008-05-09 01:05 | akukula |
| File Added | 208890: pymssql.py | 2006-12-29 01:06 | msborg |
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use