Jump to content

Logging "Number of rows=0"


mbuna

Recommended Posts

I have one site that very often generates a zero record result on queries.  Everytime this happens it gets logged to the mysqld.log file as:

 

DataBase: Number of rows=0. SQL-command: SELECT html_code FROM TBL_awards, TBL_users_awards WHERE TBL_users_awards.user_id = 12553 AND TBL_users_awards.award_id = TBL_awards.award_id

 

The result is simply filling this log up with useless information.

 

Is there anyway to stop this logging, or send to it's own log file so I can see the useful mysql info in the main log file?

 

Thanks!

 

Sean

 

 

Link to comment
https://forums.phpfreaks.com/topic/68581-logging-number-of-rows0/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.