Re: [cx-oracle-users] Segmentation fault with custom cursor
Brought to you by:
atuining
|
From: <wa...@li...> - 2004-09-08 13:04:14
|
Anthony Tuininga wrote:
> Ok, I should have looked at this a little more closely a little sooner,
> such as before I released 4.1 beta1 :-) The problem with your code is
> that you need to pass the connection through to the constructor of the
> cursor.
OK, with the change:
class Connection2(Connection):
def cursor(self):
return Cursor2(self)
it works.
> Failing to do so does in fact yield a segfault which I have
> fixed and that fix will be included in 4.1 final when it is released. If
> you have any further questions, fire away. :-)
Everything's working fine now.
Servus,
Walter
|