A.F....... [ZBX-8582] added zbx_dbstr() to several places and fixed coding styles for queries