Commit 15fe9918 authored by Vincent Pelletier's avatar Vincent Pelletier

Add a key on aggregate_uid, simulation_state and date. This is used in LEFT...

Add a key on aggregate_uid, simulation_state and date. This is used in LEFT JOINs done by Resource_zGetTrackingList.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18105 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 5d2a8d04
...@@ -3,11 +3,8 @@ ...@@ -3,11 +3,8 @@
<record id="1" aka="AAAAAAAAAAE="> <record id="1" aka="AAAAAAAAAAE=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <global name="SQL" module="Products.ZSQLMethods.SQL"/>
<string>Products.ZSQLMethods.SQL</string> <tuple/>
<string>SQL</string>
</tuple>
<none/>
</tuple> </tuple>
</pickle> </pickle>
<pickle> <pickle>
...@@ -108,9 +105,9 @@ CREATE TABLE `item` (\n ...@@ -108,9 +105,9 @@ CREATE TABLE `item` (\n
KEY `node_uid` (`node_uid`),\n KEY `node_uid` (`node_uid`),\n
KEY `section_uid` (`section_uid`),\n KEY `section_uid` (`section_uid`),\n
KEY `resource_uid` (`resource_uid`),\n KEY `resource_uid` (`resource_uid`),\n
KEY `variation_text` (`variation_text`)\n KEY `variation_text` (`variation_text`),\n
KEY `aggregate_simulation_state_date` (`aggregate_uid`,`simulation_state`,`date`)\n
) TYPE=InnoDB;\n ) TYPE=InnoDB;\n
\n
</string> </value> </string> </value>
</item> </item>
<item> <item>
...@@ -118,9 +115,11 @@ CREATE TABLE `item` (\n ...@@ -118,9 +115,11 @@ CREATE TABLE `item` (\n
<value> <value>
<object> <object>
<klass> <klass>
<global name="SQL" module="Shared.DC.ZRDB.DA"/> <global name="__newobj__" module="copy_reg"/>
</klass> </klass>
<none/> <tuple>
<global name="SQL" module="Shared.DC.ZRDB.DA"/>
</tuple>
<state> <state>
<dictionary> <dictionary>
<item> <item>
...@@ -162,9 +161,9 @@ CREATE TABLE `item` (\n ...@@ -162,9 +161,9 @@ CREATE TABLE `item` (\n
KEY `node_uid` (`node_uid`),\n KEY `node_uid` (`node_uid`),\n
KEY `section_uid` (`section_uid`),\n KEY `section_uid` (`section_uid`),\n
KEY `resource_uid` (`resource_uid`),\n KEY `resource_uid` (`resource_uid`),\n
KEY `variation_text` (`variation_text`)\n KEY `variation_text` (`variation_text`),\n
KEY `aggregate_simulation_state_date` (`aggregate_uid`,`simulation_state`,`date`)\n
) TYPE=InnoDB;\n ) TYPE=InnoDB;\n
\n
</string> </value> </string> </value>
</item> </item>
</dictionary> </dictionary>
......
85 86
\ No newline at end of file \ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment