diff options
| author | sasha <sasha@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2007-11-29 14:54:49 +0000 |
|---|---|---|
| committer | sasha <sasha@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2007-11-29 14:54:49 +0000 |
| commit | 8dcb80f95c589cacbddbb6072852b341c170136f (patch) | |
| tree | 38a14d9cb9065123f31fef8bfc3038788f4120b6 /src | |
| parent | 82fa1ec92fcead7db28d7a068d11da186ce46a5e (diff) | |
| download | zabbix-8dcb80f95c589cacbddbb6072852b341c170136f.tar.gz zabbix-8dcb80f95c589cacbddbb6072852b341c170136f.tar.xz zabbix-8dcb80f95c589cacbddbb6072852b341c170136f.zip | |
- [DEV-86] DM: Synchronizing all history data with master node (Sasha)
git-svn-id: svn://svn.zabbix.com/trunk@5119 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'src')
| -rw-r--r-- | src/zabbix_server/nodewatcher/history.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/zabbix_server/nodewatcher/history.c b/src/zabbix_server/nodewatcher/history.c index 22689d2c..8b0b16fc 100644 --- a/src/zabbix_server/nodewatcher/history.c +++ b/src/zabbix_server/nodewatcher/history.c @@ -221,7 +221,7 @@ void process_history_table_data(ZBX_TABLE *table, int master_nodeid, int nodeid) lastid, ZBX_NODE(table->recid, nodeid)); } -zabbix_log(LOG_LEVEL_CRIT, "-----> SQL:\n%s\n", tmp ); + result = DBselectN(tmp, 10000); while (NULL != (row = DBfetch(result))) { if (table->flags & ZBX_HISTORY_SYNC) { @@ -257,7 +257,7 @@ zabbix_log(LOG_LEVEL_CRIT, "-----> SQL:\n%s\n", tmp ); DBfree_result(result); data[data_offset] = '\0'; -zabbix_log(LOG_LEVEL_CRIT, "-----> DATA:\n%s\n", data ); +/*zabbix_log(LOG_LEVEL_CRIT, "-----> DATA:\n%s\n", data );*/ if (1 == data_found && SUCCEED == send_to_node(table->table, master_nodeid, nodeid, data)) { if (table->flags & ZBX_HISTORY_SYNC) { |
