summaryrefslogtreecommitdiff
path: root/sql/repl_failsafe.cc
diff options
context:
space:
mode:
authorsasha@mysql.sashanet.com <>2001-11-08 22:27:55 -0700
committersasha@mysql.sashanet.com <>2001-11-08 22:27:55 -0700
commita56c72a214935c4f147047438ebafdc199812913 (patch)
treebecb201de4801df50deca53f574595aa10ed70b3 /sql/repl_failsafe.cc
parent2593a7cb3336ba22fd32776bec7e92be55d7ca56 (diff)
downloadmariadb-git-a56c72a214935c4f147047438ebafdc199812913.tar.gz
fixed memory leak in replication
fixed bugs in new IO_CACHE code so that the old calls work fixed shutdown bug clean-up of mysql-test-run
Diffstat (limited to 'sql/repl_failsafe.cc')
-rw-r--r--sql/repl_failsafe.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/repl_failsafe.cc b/sql/repl_failsafe.cc
index ece8e11064b..c836e6803ee 100644
--- a/sql/repl_failsafe.cc
+++ b/sql/repl_failsafe.cc
@@ -138,6 +138,7 @@ int update_slave_list(MYSQL* mysql)
goto err;
}
si->server_id = server_id;
+ hash_insert(&slave_list, (byte*)si);
}
strnmov(si->host, row[1], sizeof(si->host));
si->port = atoi(row[port_ind]);