|
From: Dave C. <dj...@ob...> - 2003-01-25 08:11:27
|
> First, thank you for the module in general and for the fast answer
> in particular.
>
> I suppose you meant
> - if status != CS_SUCCEED:
> - self._raise_error(Error, 'ct_options')
> + self.auto_commit = (status != CS_SUCCEED)
> ^^^^^^
>
> Well, now it connects alright, but I don't get auto-commit off, do
> I? I do want standard dbapi behavior.
>
> Would it be ok to just execute
> c.execute('set implicit_transactions on') on the connection?
Does anyone know if there is a standard way to disable auto commit on
both Sybase and SQL Server?
- Dave
--
http://www.object-craft.com.au
|