Skip to content

Fix extra bracket in save.sql #6

Merged
merged 1 commit into from Aug 1, 2013

2 participants

@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
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
Something went wrong with that request. Please try again.