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

Db: placeholder in comment requires parameter #1293

Closed
hrach opened this issue Dec 4, 2013 · 1 comment

Comments

Projects
None yet
1 participant
@hrach
Copy link
Contributor

commented Dec 4, 2013

I have sql query which creates trigger which contains comment with question mark.

CREATE TRIGGER `messages_for_users_au` AFTER 
UPDATE ON `messages_for_users` FOR EACH ROW
-- oznaceni vlakna za neprectene
 IF
 NEW.lastReadTime IS NULL
 AND OLD.lastReadTime IS NOT NULL
 /* neprisel mezi tim dalsi vzkaz? */
 AND OLD.lastReadTime >= (
SELECT lastSendTime 
...

SqlPreprocesor catches the ? and requires to pass some parameter.

@dg dg closed this in 47dc1b9 Dec 4, 2013

@hrach

This comment has been minimized.

Copy link
Contributor Author

commented Dec 4, 2013

❤️ 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.