(self, stats)
Deletes de current structure and calls createStructure

      :param stats: the statistics object
Deletes de current structure and calls createStructure
Deletes de current structure and calls createStructure
def resetStructure(self, stats):
      """ Deletes de current structure and calls createStructure

      :param stats: the statistics object

      """
      logging.debug("Reseting structure, droping table and creating new empty table.")
      c = self.getCursor()
      c.execute("drop table if exists %s" % (Consts.CDefMySQLDBTable,))
      c.execute("drop table if exists %s" % (Consts.CDefMySQLDBTablePop,))
      self.commit()
      self.createStructure(stats)
def resetStructure ( self , stats ) : logging . debug ( "Reseting structure, droping table and creating new empty table." ) c = self . getCursor ( ) c . execute ( "drop table if exists %s" % ( Consts . CDefMySQLDBTable , ) ) c . execute ( "drop table if exists %s" % ( Consts . CDefMySQLDBTablePop , ) ) self . commit ( ) self . createStructure ( stats )