-
Notifications
You must be signed in to change notification settings - Fork 138
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
boolean in MSSQL2Adapter #62
Comments
historical ones. mssql2:// is rather an experiment. |
Given that, I'd set boolean as bit. |
No. That would break existing code. MSSQL2Adapter was created for those users who wanted a non-boolean mapping. We do not know that somebody is not relying on it. Why do you want to change it? On Feb 17, 2015, at 9:45 AM, Paolo Valleri notifications@github.com wrote:
|
I use MSSQL2Adapter for a legacy db where boolean types are defined as bit. I fixed it on my local copy. If MSSQL2Adapter is marked experimental, we can still update it? |
Mssql2 is a proof of concept of using unicode-capable fields. It's legacy,old and should be reviewed. Of course changing boolean mapping will break compatibility with current models |
@mdipierro I've just realized that MSSQL2Adapter is broken anyway.
Given that I guess no one is really using this adapter. Despite the backward compatibility, I propose to update it by switching the boolean type from CHAR(1) to BIT |
We do not know that nobody is using it. Can we make another one and
|
Yes we could. The fact is that, the adapter is broken in a very basic operation. Given that I think we are in the position of fixing and breaking the compatibility, isn't? |
Will not be able to look at the code until later. Meanwhile feel free to
|
fix broken boolean type in MSSQL2Adapter. closes #62
The boolean data type is mapped to bit or boolean for all mssql adapters but MSSQL2Adapter.
Is there a special reason?
The text was updated successfully, but these errors were encountered: