Changeset 4438


Ignore:
Timestamp:
Apr 26, 2017, 8:48:38 AM (2 years ago)
Author:
jrpelegrina
Message:

Change insert to insert ignore

Location:
lliurex-abies2pmb/trunk/fuentes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • lliurex-abies2pmb/trunk/fuentes/debian/changelog

    r4305 r4438  
     1lliurex-abies2pmb (1.1.4) xenial; urgency=medium
     2
     3  * Change insert to insert ignore in sql ouput file
     4
     5 -- Juan Ramon Pelegrina <juapesai@hotmail.com>  Wed, 26 Apr 2017 08:46:16 +0200
     6
    17lliurex-abies2pmb (1.1.3) xenial; urgency=medium
    28
  • lliurex-abies2pmb/trunk/fuentes/lliurex-abies2pmb.install/usr/share/lliurex-abies2pmb/abies2pmb.py

    r4411 r4438  
    244244                                strInsertValues=self._processRow(destTable,line,transformDict)
    245245                                if destTable not in self.blacklist:
    246                                         f.write("Insert into "+destTable+" values ("+strInsertValues+");\n")
     246                                        f.write("Insert ignore into "+destTable+" values ("+strInsertValues+");\n")
    247247                        if destTable not in self.blacklist:
    248248                                f.close()
Note: See TracChangeset for help on using the changeset viewer.