Final fix of the MySQLSvc crash problem by increasing the length of query array