mysql-test/r/derived.result: added test of found bug in derived tables mysql-test/t/derived.test: added test of found bug in derived tables