This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Issues with gcc 3.4.2
* Schouten, Frits JF (Frits.Schouten@bluescopesteel.com) [20050117 23:06]:
> The only way to solve this issue is to put the whole SQL query on the one line.
No, use ANSI string concatenation, i.e. something like:
sprintf(q,
"UPDATE delays "
"SET item_2 = %f,"
" event_code = %d,"
" heat_nr = %d "
"WHERE id = %d;",
pData->speed, pData->event_code, pData->heat_nr,tmp_id);
Insert '\n' where line breaks are needed.
Philipp