code: def alter_index(self, dbname, base_tbl_name, idx_name, new_idx):
      
      self.send_alter_index(dbname, base_tbl_name, idx_name, new_idx)
      self.recv_alter_index()
docs: Parameters:
       - dbname
       - base_tbl_name
       - idx_name
       - new_idx