diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2017-03-10 15:54:41 +0200 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2017-03-13 18:11:01 +0200 |
commit | c32dcae65aea9f6ba27f9064e8f3f365181666c9 (patch) | |
tree | 315c71a4079bf7cf3a64bca9e671fbb1ae6cb48f | |
parent | c0fb7b458bd6d555161994a5dd9f73495105cf66 (diff) | |
download | mariadb-git-c32dcae65aea9f6ba27f9064e8f3f365181666c9.tar.gz |
Adjust an outdated comment.
os_sync_free(), which hid resource leaks, was removed in MySQL 5.7.
-rw-r--r-- | storage/innobase/include/sync0debug.h | 3 | ||||
-rw-r--r-- | storage/innobase/sync/sync0debug.cc | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/storage/innobase/include/sync0debug.h b/storage/innobase/include/sync0debug.h index 6b80c0b25a1..ba697b70e13 100644 --- a/storage/innobase/include/sync0debug.h +++ b/storage/innobase/include/sync0debug.h @@ -1,6 +1,7 @@ /***************************************************************************** Copyright (c) 2013, 2015, Oracle and/or its affiliates. All Rights Reserved. +Copyright (c) 2017, MariaDB Corporation. All Rights Reserved. Portions of this file contain modifications contributed and copyrighted by Google, Inc. Those modifications are gratefully acknowledged and are described @@ -39,7 +40,7 @@ Created 2012-08-21 Sunny Bains void sync_check_init(); -/** Frees the resources in synchronization data structures. */ +/** Free the InnoDB synchronization data structures. */ void sync_check_close(); diff --git a/storage/innobase/sync/sync0debug.cc b/storage/innobase/sync/sync0debug.cc index 1d9e8933185..135c84ad0d8 100644 --- a/storage/innobase/sync/sync0debug.cc +++ b/storage/innobase/sync/sync0debug.cc @@ -1,6 +1,7 @@ /***************************************************************************** Copyright (c) 2014, 2016, Oracle and/or its affiliates. All Rights Reserved. +Copyright (c) 2017, MariaDB Corporation. All Rights Reserved. Portions of this file contain modifications contributed and copyrighted by Google, Inc. Those modifications are gratefully acknowledged and are described @@ -1787,8 +1788,7 @@ sync_check_init() sync_array_init(OS_THREAD_MAX_N); } -/** Frees the resources in InnoDB's own synchronization data structures. Use -os_sync_free() after calling this. */ +/** Free the InnoDB synchronization data structures. */ void sync_check_close() { |