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

Fix extra bracket in save.sql #6

Merged
merged 1 commit into from Aug 1, 2013
Merged

Fix extra bracket in save.sql #6

merged 1 commit into from Aug 1, 2013

Conversation

e1ven
Copy link
Contributor

@e1ven e1ven commented Jul 30, 2013

It looks like there's an extra (unintended) bracket in save.sql

With the bracket:
CPD-MacBook-Pro:mongolike Admin$ psql Tavern < save.sql ERROR: SyntaxError: Unexpected token if DETAIL: save() LINE 23: if (res == 0) { // If it didnt affect anything, it must be a new row. Insert

With it removed:

CPD-MacBook-Pro:mongolike Admin$ psql Tavern < save.sql
CREATE FUNCTION

JerrySievert added a commit that referenced this pull request Aug 1, 2013
Fix extra bracket in save.sql
@JerrySievert
Copy link
Owner

d'oh! thanks for the catch!

@JerrySievert JerrySievert merged commit d344bbf into JerrySievert:master Aug 1, 2013
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.

None yet

2 participants