Commit 9c5a085a authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

erp5_stock_cache: use erp5_sql_connection for non-SELECT SQL as well to avoid deadlocks.

parent bbc86b63
...@@ -13,7 +13,7 @@ min_date</string> </value> ...@@ -13,7 +13,7 @@ min_date</string> </value>
</item> </item>
<item> <item>
<key> <string>connection_id</string> </key> <key> <string>connection_id</string> </key>
<value> <string>erp5_sql_read_committed_connection</string> </value> <value> <string>erp5_sql_connection</string> </value>
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
</item> </item>
<item> <item>
<key> <string>connection_id</string> </key> <key> <string>connection_id</string> </key>
<value> <string>erp5_sql_read_committed_connection</string> </value> <value> <string>erp5_sql_connection</string> </value>
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
......
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