MySQL 5.1 Plugin Development