- proper db connection is returned based on pid condition
@@ -275,10 +275,7 @@ error1:
*/
static int mi_child_init(void)
{
- /* check if db handler is initialized */
- if(db_con!=NULL)
- return 0;
-
+ /* db handler initialization */
db_con = pdt_dbf.init(&db_url);
if(db_con==NULL)