Needs review
Project:
WYSIWYG image upload - Inline images for your WYSIWYG
Version:
6.x-2.9
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
4 Aug 2011 at 14:45 UTC
Updated:
9 Aug 2011 at 16:54 UTC
Comments
Comment #1
eugenmayer commentedis there no way to deal with that issue with one query?
Comment #2
illmnec commentedWhy is having 2 queries a problem?
Postgres does not support more than 1 table per DELETE FROM request (see http://www.postgresql.org/docs/8.4/static/sql-delete.html). I think ANSI SQL also allows only 1 table per DELETE request.
Maybe you could wrap both queries in one db_query call, but I don't know how.
Comment #3
eugenmayer commentedI see. Well then lets finally take that one in. Can you confirm that this is working with MYSQL without issues?
Comment #4
illmnec commentedI did some basic testes under MySQL and it works.