Using the result of a comma expression is deprecated

Suliman via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun Nov 27 03:07:26 PST 2016


I am getting deprecation message:
"Using the result of a comma expression is deprecated" on this 
code:

string sqlinsert = (`INSERT INTO usersshapes (userlogin, 
uploading_date, geometry_type, data) VALUES ('%s', '%s', '%s', 
'%s') `, login, uploading_date, geometry_type, data);

What's wrong with it?


More information about the Digitalmars-d-learn mailing list