refs #6090 auto increment singleton

git-svn-id: file:///svn/mysql.com/mariadb-5.5.30@54865 c7de825b-a66e-492c-adef-691d508d4ae1
refs #6090 hot optimize table

git-svn-id: file:///svn/mysql.com/mariadb-5.5.30@54868 c7de825b-a66e-492c-adef-691d508d4ae1
#14 fix hot optimize of temporary tokudb table