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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.