Added detection of COM_INIT_DB