refs #6089 frm discovery for partitioned tables

git-svn-id: file:///svn/mysql.com/mysql-5.5.30@54811 c7de825b-a66e-492c-adef-691d508d4ae1
refs #6089 fix null bytes computation

git-svn-id: file:///svn/mysql.com/mysql-5.5.30@54812 c7de825b-a66e-492c-adef-691d508d4ae1
refs #6089 fast upserts

git-svn-id: file:///svn/mysql.com/mysql-5.5.30@54822 c7de825b-a66e-492c-adef-691d508d4ae1