Commit ed8dac90 authored by Tatuya Kamada's avatar Tatuya Kamada

Set max_rows 0 on IdTool_zGetValueList

So that we can get all the records of portal_ids table even when there are more
than 1000 id_group on the table. The ZSQLMethod was not intended to limit to
retrieve the records.
Of course it is better to get the records more gracefully like first getting
0..999, then 1000..1999. For now this is acceptable.
(Confirmed by Sebastien)
parent fb566030
...@@ -6,10 +6,32 @@ ...@@ -6,10 +6,32 @@
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
<item>
<key> <string>allow_simple_one_argument_traversal</string> </key>
<value>
<none/>
</value>
</item>
<item> <item>
<key> <string>arguments_src</string> </key> <key> <string>arguments_src</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
</item> </item>
<item>
<key> <string>cache_time_</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>class_file_</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>class_name_</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>connection_hook</string> </key>
<value> <string></string> </value>
</item>
<item> <item>
<key> <string>connection_id</string> </key> <key> <string>connection_id</string> </key>
<value> <string>erp5_sql_transactionless_connection</string> </value> <value> <string>erp5_sql_transactionless_connection</string> </value>
...@@ -18,6 +40,14 @@ ...@@ -18,6 +40,14 @@
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>IdTool_zGetValueList</string> </value> <value> <string>IdTool_zGetValueList</string> </value>
</item> </item>
<item>
<key> <string>max_cache_</string> </key>
<value> <int>100</int> </value>
</item>
<item>
<key> <string>max_rows_</string> </key>
<value> <int>0</int> </value>
</item>
<item> <item>
<key> <string>src</string> </key> <key> <string>src</string> </key>
<value> <string>select id_group, last_id from portal_ids</string> </value> <value> <string>select id_group, last_id from portal_ids</string> </value>
......
2012-07-20 tatuya
* Set max_row 0 on IdTool_zGetValueList so that we can get all the records of portal_ids table when there are more than 1000 id_group.
2012-03-07 arnaud.fontaine 2012-03-07 arnaud.fontaine
* Allow to choose preferred source code editor in Preference view. * Allow to choose preferred source code editor in Preference view.
* Use source code editor defined in Preference for Component_view. * Use source code editor defined in Preference for Component_view.
......
41042 41043
\ 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