.......... [ZBX-8307] added preprocessor defines to only add sqlite message when compiled with sqlite; reversed condition statement