Hello,
another major bug in oracle support (my configuration with Oracle 10.2 and libsqlora8 2.3.3 doesn't work at all without this).
When oracle is used, zbx_db_fetch checks for passed DB_RESULT and incorrectly thinks that we got no data if this value is NULL. DB_RESULT value is in fact sqlo_stmt_handle_t which comes from sqlo_open and can be zero according to libsqlora8 documentation (http://www.poitschke.de/libsqlora8/d..._easy.html#ga3).
This patch against 1.4.4 fixes this.
P.S. Does anyone use oracle as zabbix DB backend?
another major bug in oracle support (my configuration with Oracle 10.2 and libsqlora8 2.3.3 doesn't work at all without this).
When oracle is used, zbx_db_fetch checks for passed DB_RESULT and incorrectly thinks that we got no data if this value is NULL. DB_RESULT value is in fact sqlo_stmt_handle_t which comes from sqlo_open and can be zero according to libsqlora8 documentation (http://www.poitschke.de/libsqlora8/d..._easy.html#ga3).
This patch against 1.4.4 fixes this.
P.S. Does anyone use oracle as zabbix DB backend?