neoform Posted March 28, 2007 Share Posted March 28, 2007 mysql_query("UPDATE LOW_PRIORITY visitor_ips SET used_on = NOW() WHERE user_id = '".$user_id."' AND ip = '".$ip."'"); if (! mysql_affected_rows()) { //does this get used if there are other users accessing `visitor_ips` when this page goes through? } Link to comment https://forums.phpfreaks.com/topic/44639-update-low_priority-and-mysql_affected_rows/ Share on other sites More sharing options...
monk.e.boy Posted March 28, 2007 Share Posted March 28, 2007 Yes. monk.e.boy Link to comment https://forums.phpfreaks.com/topic/44639-update-low_priority-and-mysql_affected_rows/#findComment-216819 Share on other sites More sharing options...
neoform Posted March 28, 2007 Author Share Posted March 28, 2007 even with LOW_PRIORITY set? (maybe i don't fully understand how it operates.. but doesn't the query get set aside and executed at a later time while the script continues on?) Link to comment https://forums.phpfreaks.com/topic/44639-update-low_priority-and-mysql_affected_rows/#findComment-216828 Share on other sites More sharing options...
monk.e.boy Posted March 29, 2007 Share Posted March 29, 2007 I did a quick bit of googleing and found the answer ;D Looks like the answer is maybe. monk.e.boy Link to comment https://forums.phpfreaks.com/topic/44639-update-low_priority-and-mysql_affected_rows/#findComment-217301 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.