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

weird sql statement conditions

    XMLWordPrintable

Details

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

    Description

      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

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: