From: Samo G. <ro...@ve...> - 2003-02-17 13:31:20
|
Hello! i have downloaded and installed mysqlcppapi-1.7.5. I`m getting random sql errors, i have enabled mysql log support and then saw that query get`s an random char at the end [somethimes] and that`s why it doesnt get executed. My query line is ----- mysqlcppapi::Query query = con.create_Query(); query << "insert into missed_calls (date,wav_file,phone_nr) values ('" << timest << "','" << fn <<"','" << user <<"')"; query.execute(); ------ I don`t see how can a char get behind the query since i execute it right afterwards .. but in mysql log i got this [it does get executed without error from time to time or should i say it does the random thing from time to time ]: Query insert into missed_calls (date,wav_file,phone_nr) values ('14:26:34 17/02/2003','/stuff/20030217_142633.wav','root [10.0.0.1]')@ Query insert into missed_calls (date,wav_file,phone_nr) values ('14:27:17 17/02/2003','/stuff/20030217_142713.wav','root [10.0.0.1]')w ... ... |