Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Blocker
-
Resolution: Fixed
-
Affects Version/s: CONTENIDO 4.9.4
-
Fix Version/s: CONTENIDO 4.9.5
-
Component/s: Database Layer / Generic DB
-
Labels:None
Description
Assuming, a table has the columns "id" and "idclient", preparing a statement like
SELECT * FROM :table WHERE id = ':id' AND idclient = ':idclient'
will not work, because ":id" in ":idclient" will be replaced by the value of "id".
Therefore, assuming "id" has the value "2", and "idclient" has the value "1", the statement gets
SELECT * FROM :table WHERE id = '2' AND idclient = '2client'
instead of
SELECT * FROM :table WHERE id = '2' AND idclient = '1'
Attachments
Issue Links
- is cloned by
-
FFBCON-662 Loading...