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

Add sqlite types that have space #77

Merged
merged 2 commits into from
Aug 10, 2022
Merged

Conversation

karatakis
Copy link
Contributor

According to sqlite data types specifications sea schema does not parse correctly data types with space on their identifier.

For example sea-schema supports TINYINT but not TINY INT. This pull request fix this mentioned issue.

Fore more info: https://www.sqlite.org/datatype3.html

Fixes

  • Support for SQLite types that have space on their identifier

src/sqlite/def/types.rs Outdated Show resolved Hide resolved
Copy link
Member

@billy1624 billy1624 left a comment

Choose a reason for hiding this comment

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

Thanks! @karatakis

@tyt2y3
Copy link
Member

tyt2y3 commented Aug 10, 2022

Actually SQLite type affinity is a lot more flexible (/weird) than that. But whatever works for us for now.

@tyt2y3 tyt2y3 merged commit d8ab6ad into SeaQL:master Aug 10, 2022
@billy1624
Copy link
Member

Hey @tyt2y3, can we release this on v0.9.4?

SeaQL/seaography#29 requires this PR.

CC @karatakis

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants