dataimport.py
changeset 9911 ea3dcb43b258
parent 9910 55d9d483e7c3
child 10007 727bbb361ed1
equal deleted inserted replaced
9910:55d9d483e7c3 9911:ea3dcb43b258
  1051                                + _inlined_relations_sql.items(),
  1051                                + _inlined_relations_sql.items(),
  1052                                dump_output_dir=self.dump_output_dir,
  1052                                dump_output_dir=self.dump_output_dir,
  1053                                nb_threads=self.nb_threads_statement,
  1053                                nb_threads=self.nb_threads_statement,
  1054                                support_copy_from=self.support_copy_from,
  1054                                support_copy_from=self.support_copy_from,
  1055                                encoding=self.dbencoding)
  1055                                encoding=self.dbencoding)
  1056         except:
       
  1057             print 'failed to flush'
       
  1058         else:
       
  1059             print 'flush done'
       
  1060         finally:
  1056         finally:
  1061             _entities_sql.clear()
  1057             _entities_sql.clear()
  1062             _relations_sql.clear()
  1058             _relations_sql.clear()
  1063             _insertdicts.clear()
  1059             _insertdicts.clear()
  1064             _inlined_relations_sql.clear()
  1060             _inlined_relations_sql.clear()