예제 #1
0
파일: Destroy.py 프로젝트: vytjan/WMCore
    def __init__(self, logger=None, dbi=None):
        """
        _init_

        Call the base class's constructor and add all necessary tables for
        deletion,
        """
        MySQLDestroy.__init__(self, logger, dbi)

        j = 50
        for i in Create.sequence_tables:
            seqname = i
            self.delete["%s%s" % (j, seqname)] = \
                           "DROP SEQUENCE %s"  % seqname
예제 #2
0
    def __init__(self, logger = None, dbi = None):
        """
        _init_

        Call the base class's constructor and add all necessary tables for
        deletion,
        """
        MySQLDestroy.__init__(self, logger, dbi)

        j=50
        for i in Create.sequence_tables:
            seqname = i
            self.delete["%s%s" % (j, seqname)] = \
                           "DROP SEQUENCE %s"  % seqname
예제 #3
0
파일: Destroy.py 프로젝트: stuartw/WMCore
    def __init__(self):

        BaseDAO.__init__(self)

        self.delete["04tp_queued_process"] = "DROP TABLE tp_queued_process_enum"
예제 #4
0
파일: Destroy.py 프로젝트: tsarangi/WMCore
    def __init__(self):

        BaseDAO.__init__(self)

        self.delete[
            "04tp_queued_process"] = "DROP TABLE tp_queued_process_enum"