File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,8 +15,8 @@ <h1 class="title">DBUtils 用户指南</h1>
1515< col class ="docinfo-content " />
1616< tbody valign ="top ">
1717< tr > < th class ="docinfo-name "> 版本:</ th >
18- < td > 1.0pre </ td > </ tr >
19- < tr class ="field "> < th class ="docinfo-name "> 发行版:</ th > < td class ="field-body "> 09/25/08 </ td >
18+ < td > 0.9.4 </ td > </ tr >
19+ < tr class ="field "> < th class ="docinfo-name "> 发行版:</ th > < td class ="field-body "> 07/07/07 </ td >
2020</ tr >
2121< tr class ="field "> < th class ="docinfo-name "> 翻译:</ th > < td class ="field-body "> < a class ="reference " href ="UsersGuide.html "> English</ a > < a class ="reference " href ="UsersGuide.de.html "> German</ a > Chinese</ td >
2222</ tr >
@@ -242,7 +242,7 @@ <h2><a id="id12" name="id12">PooledDB</a></h2>
242242< p > 你可以使用这些连接有如原始的DB-API 2一样。而实际使用的是``SteadyDB``版本的强硬连接。</ p >
243243< p > 请注意连接可以与其他线程共享,只要你设置 < tt class ="docutils literal "> < span class ="pre "> maxshared</ span > </ tt > 参数为非零,并且DB-API 2模块也允许。如果你想要使用专用连接则使用:</ p >
244244< pre class ="literal-block ">
245- db = pool.connection(shareable=False )
245+ db = pool.connection(0 )
246246</ pre >
247247< p > 如果你不再需要这个连接了,则可以返回给连接池使用 < tt class ="docutils literal "> < span class ="pre "> db.close()</ span > </ tt > 。你也可以使用相同的方法获取另一个连接。</ p >
248248< p > < em > 警告:</ em > 在一个多线程环境,不要使用下面的方法:</ p >
Original file line number Diff line number Diff line change 22DBUtils 用户指南
33====================
44
5- :版本: 1.0pre
6- :发行版: 09/25/08
5+ :版本: 0.9.4
6+ :发行版: 07/07/07
77:翻译: English_ German_ Chinese
88
99.. _English: UsersGuide.html
@@ -222,7 +222,7 @@ PooledDB
222222
223223请注意连接可以与其他线程共享,只要你设置 ``maxshared`` 参数为非零,并且DB-API 2模块也允许。如果你想要使用专用连接则使用::
224224
225- db = pool.connection(shareable=False )
225+ db = pool.connection(0 )
226226
227227如果你不再需要这个连接了,则可以返回给连接池使用 ``db.close()`` 。你也可以使用相同的方法获取另一个连接。
228228
Original file line number Diff line number Diff line change @@ -3,9 +3,9 @@ Create a new DBUtils release:
33
44* Check the documentation. If possible, update all translations.
55
6- * Run all tests in DBUtils/Testing with Python version from 2.2 to 2.5 .
6+ * Run all tests in DBUtils/Testing with Python version from 2.2 to 2.6 .
77
8- * Run the examples in DBUtils/Examples with the current Webware version.
8+ * Check the examples in DBUtils/Examples with the current Webware version.
99
1010* Update and check the Release Notes.
1111
You can’t perform that action at this time.
0 commit comments