summaryrefslogtreecommitdiff
path: root/sql/sql_list.h
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2016-05-09 16:37:50 +0200
committerSergei Golubchik <serg@mariadb.org>2016-06-04 09:06:00 +0200
commit74aef87c5ed3f5f02b6d1b8852e7e597c735cd24 (patch)
tree26bdb9d897b84dcdc5c56c778b08cf86dca1aad2 /sql/sql_list.h
parent725ce0fe84d4078895a5a31a2338f8d966c57710 (diff)
downloadmariadb-git-74aef87c5ed3f5f02b6d1b8852e7e597c735cd24.tar.gz
fix the method name
it's always assert_<statement>, not <do something>_if_<condition>
Diffstat (limited to 'sql/sql_list.h')
-rw-r--r--sql/sql_list.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_list.h b/sql/sql_list.h
index 94e97e55aa7..8f6f7337f1c 100644
--- a/sql/sql_list.h
+++ b/sql/sql_list.h
@@ -660,7 +660,7 @@ struct ilink
if (next) next->prev=prev;
prev=0 ; next=0;
}
- inline void assert_if_linked()
+ inline void assert_linked()
{
DBUG_ASSERT(prev != 0 && next != 0);
}