[python-sybase] Error in ct_options
djc at object-craft.com.au
25 Jan 2003 00:11:27 +1100
> 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?