For Windows users, if you try searching the MySQL source code for various strings, you know you will often come up empty with the built-in Windows search.
It wasn’t too long ago and I was searching the source for “MALLOC_OVERHEAD”. My Windows search came up empty, and someone suggested I try grep for Windows.
Well, I downloaded it, extracted it to the location I wanted, and added the .exe to the $PATH.
Now I can grep away!
See the new results when searching for “MALLOC_OVERHEAD”:
C:\mysql-5.5\mysql-5.5>grep -r "MALLOC_OVERHEAD" . ./client/mysql.cc: …[Read more...]