Not working range selection from DB

XMLWordPrintable

    • Type: Incident report
    • Resolution: Fixed
    • Priority: Blocker
    • 1.9.7 (beta)
    • Affects Version/s: 1.9.7 (beta)
    • Component/s: Frontend (F)
    • None
    • Environment:
      MySQL

      after rev22463 - ZBXNEXT-429 make range select work in a more intutive fashion

      we have in dashboard thise message:
      Incorrect parameters for limit and/or offset. Query [SELECT t.* FROM triggers t WHERE (1=1) AND NOT EXISTS ( SELECT ff.functionid FROM functions ff WHERE ff.triggerid=t.triggerid AND EXISTS ( SELECT ii.itemid FROM items ii, hosts hh WHERE ff.itemid=ii.itemid AND hh.hostid=ii.hostid AND ( ii.status<>0 OR hh.status<>0 ) ) ) AND t.status=0 AND ( (t.value IN ('1')) AND (t.flags IN ('0','4')) ) ORDER BY lastchange DESC] Limit [] Offset [0]
      mysql_fetch_assoc() expects parameter 1 to be resource, boolean given [include/db.inc.php:594]
      mysql_free_result() expects parameter 1 to be resource, boolean given [include/db.inc.php:596]

            Assignee:
            Unassigned
            Reporter:
            Alexey Pustovalov
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: