1To be able to see the level of coverage with the current test suite, 2do the following: 3 4 - Make sure gcov is installed 5 - Compile the MySQL distribution with BUILD/compile-pentium-gcov (if your 6 machine does not have a pentium CPU, hack this script, or just live with 7 the pentium-specific stuff) 8 - In the mysql-test directory, run this command: ./mysql-test-run -gcov 9 - To see the level of coverage for a given source file: 10 grep source_file_name /tmp/gcov.out 11 - To see which lines are not yet covered, look at source_file_name.gcov in 12 the source tree. Then think hard about a test case that will cover those 13 lines, and write one! 14