View Single Post
  #22  
Old 06-22-2016, 06:38 AM
 
aim aim is offline
Advanced Staff Users
 

X-Cart team
  
Join Date: Dec 2008
Posts: 928
 

Default Re: X-Cart 4.7.6 released: Improved Performance, Bugfixes

Quote:
Originally Posted by herber@wirehub.nl
Could you post what has changed? I already have 4.7.6 test environment running and would like to patch it before migrating it to the live environment in 1 or 2 days.

I have changed INSERT to REPLACE in the patch.sql file for some queries

Code:
-INSERT INTO xcart_languages (`code`, `name`, `value`, `topic`) VALUES ("en", "lbl_month", "Month", "Labels"); -INSERT INTO xcart_languages (`code`, `name`, `value`, `topic`) VALUES ("en", "lbl_off", "Off", "Labels"); -INSERT INTO xcart_languages (`code`, `name`, `value`, `topic`) VALUES ("en", "lbl_on", "On", "Labels"); +REPLACE INTO xcart_languages (`code`, `name`, `value`, `topic`) VALUES ("en", "lbl_month", "Month", "Labels"); +REPLACE INTO xcart_languages (`code`, `name`, `value`, `topic`) VALUES ("en", "lbl_off", "Off", "Labels"); +REPLACE INTO xcart_languages (`code`, `name`, `value`, `topic`) VALUES ("en", "lbl_on", "On", "Labels"); -INSERT INTO xcart_languages (`code`, `name`, `value`, `topic`) VALUES ("en", "lbl_year", "Year", "Labels"); +REPLACE INTO xcart_languages (`code`, `name`, `value`, `topic`) VALUES ("en", "lbl_year", "Year", "Labels");
__________________
Sincerely yours,
Ildar Amankulov
Head of Maintenance group
Reply With Quote