Mysql Function Select Into Array Definition In C