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

weird sql statement conditions

    XMLWordPrintable

    Details

    • Type: Incident report
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1.7, 2.2.0
    • Component/s: Frontend (F)
    • Labels:
    • Environment:
      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

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

                Dates

                Created:
                Updated:
                Resolved: