示例#1
0
 def generate_schema(output_stream):
     schema = mysqlutil.generate_schema(self.config.connection_string,
                                        self.config.partition_table,
                                        output_stream)
     table_list = ',\n'.join(
         ['        "%s"' % name for name in schema.table_names])
     self.add_symbols(table_list=table_list)
示例#2
0
 def generate_schema(output_stream):
     schema = mysqlutil.generate_schema(self.config.connection_string,
                                        self.config.partition_table,
                                        output_stream)
     table_list = ',\n'.join(['        "%s"' % name for name in schema.table_names])
     self.add_symbols(table_list=table_list)