I am doing:
query.sprintf ("UPDATE %s SET %s = %d WHERE ID = %d",
aTable.latin1 (), m_alg.latin1 (),
tempScore.toInt (), ID);
qDebug("score query %s",query.latin1());
int res = mysqlQuery (m_link, query);
The query is :
UPDATE alg$1649760492$1$100files SET alg_C = 909 WHERE ID = 2
If I do this manually in mysql it works. But for some reason my code doesnt do it, and it also doesnt report an error. This exact same code works on windows.
query.sprintf ("UPDATE %s SET %s = %d WHERE ID = %d",
aTable.latin1 (), m_alg.latin1 (),
tempScore.toInt (), ID);
qDebug("score query %s",query.latin1());
int res = mysqlQuery (m_link, query);
The query is :
UPDATE alg$1649760492$1$100files SET alg_C = 909 WHERE ID = 2
If I do this manually in mysql it works. But for some reason my code doesnt do it, and it also doesnt report an error. This exact same code works on windows.