Fixed bug#8489 - setting Tickets per page resets AgentTicketQueue.
Fixed mysql driver to not try to drop default values on MEDIUMTEXT columns.