浏览代码

mtree: don't safety check for db con in mod child

- proper connection will be returned based on pid condition
Daniel-Constantin Mierla 14 年之前
父节点
当前提交
11b19d2f5f
共有 1 个文件被更改,包括 0 次插入2 次删除
  1. 0 2
      modules/mtree/mtree_mod.c

+ 0 - 2
modules/mtree/mtree_mod.c

@@ -327,8 +327,6 @@ error1:
  */
 static int mi_child_init(void)
 {
-	if(db_con!=NULL)
-		return 0;
 	db_con = mt_dbf.init(&db_url);
 	if(db_con==NULL)
 	{