|List:||MySQL++||« Previous MessageNext Message »|
|From:||Warren Young||Date:||March 19 2007 8:34pm|
|Subject:||Re: UPDATE routine giving exception|
|View as plain text|
gary clark wrote: > > query << "UPDATE clienttransfer SET isCompleted=1 > WHERE isCompleted=1" << endl; The problem here is the endl, not something in MySQL. The exception was MySQL telling you that it doesn't know what to do with that newline character. You could have just taken it out, instead of changing over to SSQLS. That aside, why is this query useful...isn't it a no-op?