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

MySql - invalid statement (syntax error) #108

Closed
cbellone opened this issue Mar 23, 2016 · 0 comments
Closed

MySql - invalid statement (syntax error) #108

cbellone opened this issue Mar 23, 2016 · 0 comments
Assignees
Labels

Comments

@cbellone
Copy link
Member

The following statement causes an error on MySql:

update ticket set category_id = null where tickets_reservation_id in (?, ?) and status in ('PENDING', 'OFFLINE_PAYMENT') and category_id in (select tc.id from ticket_category tc, ticket t where t.tickets_reservation_id in (?, ?) and t.category_id = tc.id and tc.bounded = false)

see
TicketRepository.resetCategoryIdForUnboundedCategories(TicketRepository:93)

@cbellone cbellone added the bug label Mar 23, 2016
@syjer syjer closed this as completed in 1844efd Mar 23, 2016
cbellone pushed a commit that referenced this issue Mar 24, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants