Started working on qu unit conversion handling (references #177)

This commit is contained in:
Bernd Bestel
2019-09-15 17:06:52 +02:00
parent 6094096675
commit c532a67884
2 changed files with 2 additions and 1 deletions

View File

@@ -35,6 +35,7 @@ SELECT CASE WHEN((
WHERE from_qu_id = NEW.from_qu_id
AND to_qu_id = NEW.to_qu_id
AND IFNULL(product_id, 0) = IFNULL(NEW.product_id, 0)
AND id != NEW.id
UNION
SELECT 1
FROM products