Very rarely, like once or twice a day on a heavily trafficked application, I 
get error notifications from my application that indicate a query has failed 
because of invalid SQL. I am not able to reproduce this error. The "rootcause 
sql" in the error is something like this:

(param 1) insert into tb_members_listings_rated 
(memberID,listingID,rating,createDate) values ( (param 2) , , (param 3) , now() 
) on duplicate key update rating = (param 4)

Obviously the (param 1) is being inserted into the SQL statement out of 
place... causing the error. Any idea on what the deal is with this? Is it an 
issue with CF/queryparam, or an issue with MySQL? Or the ConnectorJ JDBC 
driver? Has anyone else ever seen this?

It happens totally randomly and not on the same query. Seems that any query 
using cfqueryparam is susceptible.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:260650
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to