Thread: dbcore.mysql
View Single Post
  #2  
Old 11-30-2003, 05:48 PM
DeletedUser
Fire Beetle
 
Join Date: Sep 2002
Posts: 0
Default

mysql_store_result downloads the entire recordset into local memory, so there shouldnt be an issue there.

The reason it's private is because of mutex locking issues since DB calls come from multiple threads. Any functions needed should be incorperated into DBCore so that DBCore.mysql isnt exposed to un-threadsafe access.

mysql_store_result would return a null pointer, and cause DBcore::RunQuery to error out with "DB Query Error: No Result" if the connection was broken mid-download.
Reply With Quote