(self, dst_row, fn)
Create sql for missed delete.
Create sql for missed delete.
Create sql for missed delete .
def got_missed_delete(self, dst_row, fn):
        """Create sql for missed delete."""
        self.cnt_delete += 1
        whe_list = []
        for f in self.pkey_list:
            self.addcmp(whe_list, skytools.quote_ident(f), skytools.unescape_copy(dst_row[f]))
        q = "delete from only %s where %s;" % (self.fq_table_name, " and ".join(whe_list))
        self.show_fix(q, 'delete', fn)
def got_missed_delete ( self , dst_row , fn ) : self . cnt_delete += 1 whe_list = [ ] for f in self . pkey_list : self . addcmp ( whe_list , skytools . quote_ident ( f ) , skytools . unescape_copy ( dst_row [ f ] ) ) q = "delete from only %s where %s;" % ( self . fq_table_name , " and " . join ( whe_list ) ) self . show_fix ( q , 'delete' , fn )