Commit 43174036 authored by Ivan Tyagov's avatar Ivan Tyagov

With MyISAM full text catalog bt5 we need to use deferred connection only for...

With MyISAM full text catalog bt5 we need to use deferred connection only for catalog / uncatalog methods.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@42886 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 295f194d
......@@ -1241,10 +1241,8 @@ class TestERP5Catalog(ERP5TypeTestCase, LogInterceptor):
self.failUnless(erp5_sql_deferred_connection is not None)
self.assertEquals('Z MySQL Deferred Database Connection',
erp5_sql_deferred_connection.meta_type)
for method in ['z0_drop_fulltext',
'z0_uncatalog_fulltext',
'z_catalog_fulltext_list',
'z_create_fulltext', ]:
for method in ['z0_uncatalog_fulltext',
'z_catalog_fulltext_list']:
self.assertEquals('erp5_sql_deferred_connection',
getattr(self.getCatalogTool().getSQLCatalog(),
method).connection_id)
......
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