Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

UPDATE problem on linux

Status
Not open for further replies.

bonosa

Programmer
May 19, 2004
76
US
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.
 
you might want to go into a few more detail here....what is the tool you are using to interface with MySQL?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top