Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-6994

weird sql statement conditions

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Fixed
    • Icon: Major Major
    • 2.1.7, 2.2.0
    • None
    • Frontend (F)
    • trunk r38447.

      SQL (0.000364): SELECT i.itemid,i.hostid FROM items i WHERE i.type<>9 AND i.flags IN (0,4) AND i.itemid='31871' AND i.flags='0'
      items.php:194 ? CAPIObject->get() ? CAPIObject->__call() ? czbxrpc::call() ? czbxrpc::callAPI() ? call_user_func() ? CItem->get() ? DBselect() in /home/main/usr/local/apache2/htdocs/trunk/api/classes/CItem.php:374

      note the presence of both :

      AND i.flags IN (0,4) AND i.itemid='31871' AND i.flags='0'

      this is generated when clicking on an item in the configuration

            Unassigned Unassigned
            richlv richlv
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: