Skip to content

Changing field type in MySQL example #7221

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

Closed
wants to merge 1 commit into from

Conversation

steveWinter
Copy link
Contributor

It seems inconsistent that the MySQL table as the sess_id as VARBINARY, when the PostgeSQL and Microsoft SQL server use VARCHAR (which makes more sense to me)

It seems inconsistent that the MySQL table as the sess_id as VARBINARY, when the PostgeSQL and Microsoft SQL server use VARCHAR (which makes more sense to me)
@sawmurai
Copy link
Contributor

sawmurai commented Dec 9, 2016

Makes sense to me. If VARBINARY is only used to prevent collation issues (which can be avoided with proper setup aswell) we should keep it consistent and use VARCHAR.

Copy link
Member

@javiereguiluz javiereguiluz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

I agree with this change too. We should do it ... unless someone provides a compelling reason against it.

@xabbuh
Copy link
Member

xabbuh commented Dec 25, 2016

Thank you @steveWinter.

xabbuh added a commit that referenced this pull request Dec 25, 2016
This PR was submitted for the 3.2 branch but it was merged into the 2.7 branch instead (closes #7221).

Discussion
----------

Changing field type in MySQL example

It seems inconsistent that the MySQL table as the sess_id as VARBINARY, when the PostgeSQL and Microsoft SQL server use VARCHAR (which makes more sense to me)

Commits
-------

e772465 Changing field type in MySQL example
@xabbuh xabbuh closed this Dec 25, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants