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

Fixes #2236 - in mysql tinyint(1) is not boolean #2255

Merged
merged 1 commit into from
Mar 31, 2014
Merged

Conversation

ogarbe
Copy link
Contributor

@ogarbe ogarbe commented Mar 28, 2014

it's an int between -128 and 127

@dreamsxin
Copy link
Contributor

In MySQL these types(BOOL, BOOLEAN) are synonyms for TINYINT(1).

@ovr
Copy link
Contributor

ovr commented Mar 29, 2014

@dreamsxin +1

@ogarbe
Copy link
Contributor Author

ogarbe commented Mar 31, 2014

Little update : boolean and bool are synonyms for tinyint(1) which means they use the same data store, but tinyint(1) goes from -128 to 127 (refs : https://dev.mysql.com/doc/refman/5.5/en/integer-types.html).

@phalcon : any update on this PR ?

phalcon pushed a commit that referenced this pull request Mar 31, 2014
Fixes #2236 - in mysql tinyint(1) is not boolean
@phalcon phalcon merged commit 5be2b19 into phalcon:1.3.2 Mar 31, 2014
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.

5 participants