Skip to content

Instantly share code, notes, and snippets.

View DimaSoroka's full-sized avatar

Dima Soroka DimaSoroka

View GitHub Profile
SELECT
o0_.serialized_data AS serialized_data_0,
o0_.id AS id_1,
o0_.materialized_path AS materialized_path_2,
o0_.title AS title_3,
o0_.created_at AS created_at_4,
o0_.updated_at AS updated_at_5,
o0_.tree_left AS tree_left_6,
o0_.tree_level AS tree_level_7,
o0_.tree_right AS tree_right_8,
@DimaSoroka
DimaSoroka / performance.patch
Last active January 11, 2019 21:48
Performance improvement for Magento Patch SUPEE-6788
Index: app/code/core/Mage/Admin/Model/Variable.php
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- app/code/core/Mage/Admin/Model/Variable.php (revision 2bd128c1f190cd9ea63269824f09789199565251)
+++ app/code/core/Mage/Admin/Model/Variable.php (revision )
@@ -30,6 +30,13 @@
class Mage_Admin_Model_Variable extends Mage_Core_Model_Abstract
{