diff options
author | Sergei Golubchik <serg@mariadb.org> | 2015-05-04 22:16:00 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2015-05-04 22:16:00 +0200 |
commit | d71d4119055f0184f5edd24e86fa3d6a5c71aa89 (patch) | |
tree | 99b335b2c1fe3dee66de346697c8a9bb468078d1 /storage/perfschema/pfs_host.cc | |
parent | 05c002d0ffc003dfe6646f785dabef0c440da3d1 (diff) | |
download | mariadb-git-d71d4119055f0184f5edd24e86fa3d6a5c71aa89.tar.gz |
5.6.24
Diffstat (limited to 'storage/perfschema/pfs_host.cc')
-rw-r--r-- | storage/perfschema/pfs_host.cc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/storage/perfschema/pfs_host.cc b/storage/perfschema/pfs_host.cc index 0c6f5cf3627..3d8565d9d17 100644 --- a/storage/perfschema/pfs_host.cc +++ b/storage/perfschema/pfs_host.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved. +/* Copyright (c) 2010, 2015, Oracle and/or its affiliates. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -353,9 +353,7 @@ void purge_host(PFS_thread *thread, PFS_host *host) host->m_key.m_hash_key, host->m_key.m_key_length)); if (entry && (entry != MY_ERRPTR)) { - PFS_host *pfs; - pfs= *entry; - DBUG_ASSERT(pfs == host); + DBUG_ASSERT(*entry == host); if (host->get_refcount() == 0) { lf_hash_delete(&host_hash, pins, |