add: if (!DB_CAPABILITY(fifo_dbf, DB_CAP_ALL | DB_CAP_RAW_QUERY)) { LOG(L_ERR, "ERROR: init_db_fifo: Database module does " "not implement all function needed by AVP code\n"); return -1; }
context: int init_db_fifo(char* fifo_db_url){	if ( bind_dbmod(fifo_db_url, &fifo_dbf)==0 ) {		if ( (fifo_db_con=fifo_dbf.init( fifo_db_url ))==0) {			/* connection failed */			LOG(L_ERR,"ERROR: init_db_fifo: unable to connect to database -> "				"fifo DB commands disabled!\n");		}else if (register_fifo_cmd(db_fifo_cmd, FIFO_DB, 0)<0) {			LOG(L_ERR, "ERROR: init_db_fifo: unable to register '%s'"					" FIFO cmd\n", FIFO_DB);		} else {			return 0; /* success */		}	}else{		LOG(L_WARN, "WARNING: init_db_fifo: unable to find any db module - "			"fifo DB commands disabled!\n");	}	return -1; /* error */}