Fix a typo in the create index prefix on partitionned tables

Fixed a typo for the create index statement, tbname doesn't exit