[ZBX-2282] Failed query for Oracle "dublicate column name" Created: 2010 Apr 06 Updated: 2023 Nov 08 Resolved: 2010 May 10 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Server (S) |
Affects Version/s: | 1.8.4 |
Fix Version/s: | 1.8.3 |
Type: | Incident report | Priority: | Major |
Reporter: | Alexey Pustovalov | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
Oracle 10g2, trunk zabbix_server |
Description |
26046:20100405:222915.420 [Z3005] Query failed: [-1] ORA-06550: line 2, column 47: |
Comments |
Comment by Alexey Pustovalov [ 2010 Apr 21 ] |
in src/zabbix_server/trapper/proxyhosts.c: if (SUCCEED == zbx_json_value_by_name(&jp_row, ZBX_PROTO_TAG_SNMP_AVAILABLE, tmp, sizeof(tmp))) { zbx_snprintf_alloc(&sql, &sql_alloc, &sql_offset, 32, "snmp_available=%d,", atoi(tmp)); no_data = 0; }if (SUCCEED == zbx_json_value_by_name(&jp_row, ZBX_PROTO_TAG_IPMI_AVAILABLE, tmp, sizeof(tmp))) { zbx_snprintf_alloc(&sql, &sql_alloc, &sql_offset, 32, "snmp_available=%d,", atoi(tmp)); no_data = 0; } dublicate snmp_available. |
Comment by Alexander Vladishev [ 2010 May 10 ] |
Fixed in version pre1.8.3, r11874 |