If I save a statement in a text file and call it at command prompt like this...
mysql -uroot -pPassWord DB_Name < somefile.txt
The statements taking a long time do not appear in the slow query log even though all the statements do appear in the general and binary logs. Is it a bug?