Beispiel #1
0
    def execute(self, conn = None, transaction = None):
        for i in self.create.keys():
            self.create[i] = self.create[i] + " ENGINE=InnoDB"
            self.create[i] = self.create[i].replace('INTEGER', 'INT(11)')


        return CreateAgentBase.execute(self, conn, transaction)
Beispiel #2
0
    def execute(self, conn=None, transaction=None):
        for i in self.create.keys():
            self.create[i] = self.create[i].replace('AUTO_INCREMENT',
                                                    'AUTOINCREMENT')

        return CreateAgentBase.execute(self, conn, transaction)
Beispiel #3
0
    def execute(self, conn=None, transaction=None):
        for i in self.create.keys():
            self.create[i] += " ENGINE=InnoDB ROW_FORMAT=DYNAMIC"
            self.create[i] = self.create[i].replace('INTEGER', 'INT(11)')

        return CreateAgentBase.execute(self, conn, transaction)
Beispiel #4
0
 def execute(self, conn = None, transaction = None):
     for i in self.create.keys():
         self.create[i] = self.create[i].replace('AUTO_INCREMENT', 'AUTOINCREMENT')
         
     return CreateAgentBase.execute(self, conn, transaction)