Query:
SELECT spec FROM templates WHERE type = 'video' AND uid = LIMIT 1
Error:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'LIMIT 1' at line 1
Query:
SELECT spec FROM templates WHERE type = 'video' AND uid IS NULL AND oid = AND cid = LIMIT 1
Error:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND cid = LIMIT 1' at line 1
Query:
SELECT spec FROM templates WHERE type = 'video' AND uid IS NULL AND oid IS NULL AND cid = LIMIT 1
Error:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'LIMIT 1' at line 1