(self, tbl, dst_row)
Create sql for missed delete.
Create sql for missed delete.
Create sql for missed delete .
def got_missed_delete(self, tbl, dst_row):
        """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), unescape(dst_row[f]))
        q = "delete from only %s where %s;" % (skytools.quote_fqident(tbl), " and ".join(whe_list))
        self.show_fix(tbl, q, 'delete')
def got_missed_delete ( self , tbl , dst_row ) : self . cnt_delete += 1 whe_list = [ ] for f in self . pkey_list : self . addcmp ( whe_list , skytools . quote_ident ( f ) , unescape ( dst_row [ f ] ) ) q = "delete from only %s where %s;" % ( skytools . quote_fqident ( tbl ) , " and " . join ( whe_list ) ) self . show_fix ( tbl , q , 'delete' )