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

[ODBC] char/SQLCHAR casting needed #19

Closed
blumf opened this issue Aug 6, 2014 · 2 comments
Closed

[ODBC] char/SQLCHAR casting needed #19

blumf opened this issue Aug 6, 2014 · 2 comments

Comments

@blumf
Copy link
Contributor

blumf commented Aug 6, 2014

Throughout the ls_odbc.c code there is mixing of char and SQLCHAR types. Not a real problem but will need casting to avoid compile warnings.

@vespadj
Copy link

vespadj commented Dec 17, 2014

About this, I connect to sql server, the data type is "nvarchar" , lua says "Assertion failed", so for each field I need to use CAST(fieldname AS text).
Please consider to insert these common datatypes in ls_odbc.c (lines 160)

http://msdn.microsoft.com/en-en/library/ms187752.aspx

@blumf
Copy link
Contributor Author

blumf commented Aug 11, 2015

I'm pointing this to #36

@blumf blumf closed this as completed Aug 11, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants