Skip to content

Scalar functions should throw errors #398

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

Merged
merged 4 commits into from
Jul 21, 2016
Merged

Scalar functions should throw errors #398

merged 4 commits into from
Jul 21, 2016

Conversation

willhbr
Copy link
Contributor

@willhbr willhbr commented Apr 6, 2016

I want to be able to use the scalar functions in my app but don't want the risk of crashing due to some unexpected state of the database. The rest of the database queries throw exceptions to be handled by the application, I don't see any reason why this shouldn't apply to scalar functions (if there is and I've missed something really obvious then I'd like to hear it).

@MrMage
Copy link
Contributor

MrMage commented May 9, 2016

+1.

@nickmshelley
Copy link
Collaborator

@javanut13: I think this is a great change. Would you mind merging master manually so the PR can be merged?

@nickmshelley
Copy link
Collaborator

Sorry for the extra work @javanut13, but I had to revert a commit I made recently because it broke concurrent access for single connections (which I think is pretty important). Would you mind merging again?

# Conflicts:
#	SQLiteTests/ConnectionPoolTests.swift
@willhbr
Copy link
Contributor Author

willhbr commented Jul 20, 2016

Merged 👍

@nickmshelley
Copy link
Collaborator

Thanks! I'd love to see this merged @stephencelis if you get a chance.

@hiltonc hiltonc merged commit 8cc5a6e into stephencelis:master Jul 21, 2016
@nickmshelley nickmshelley mentioned this pull request Sep 8, 2016
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.

4 participants