Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add sybase 12.5 LastInsertedId() support #77

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Jesse0Michael
Copy link

adds (some) LastInsertedId() support for the sybase 12.5 compatibility mode. statusRowSybase125 will now be used in the executed sql. it will cast the returned values to int64s that can be cast from in mssql_stmt.go

Support is not perfect because LastInsertedId() returns the last inserted id from the whole connection, not just the scope of the sql statements.

adds (some) LastInsertedId() support for the sybase 12.5 compatibility mode. statusRowSybase125 will now be used in the executed sql. it will cast the returned values to int64s that can be cast from in mssql_stmt.go

Support is not perfect because LastInsertedId() returns the last inserted id from the whole connection, not just the scope of the sql statements.
sybase 12.5 only goes up to an int32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant