summaryrefslogtreecommitdiff
path: root/sql/create_options.h
diff options
context:
space:
mode:
Diffstat (limited to 'sql/create_options.h')
-rw-r--r--sql/create_options.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/create_options.h b/sql/create_options.h
index c82cb875743..16be5affde0 100644
--- a/sql/create_options.h
+++ b/sql/create_options.h
@@ -63,7 +63,7 @@ class engine_option_value: public Sql_alloc
name(name_arg), next(NULL), parsed(false), quoted_value(false)
{
char *str;
- if ((value.str= str= (char *)alloc_root(root, 22)))
+ if (likely((value.str= str= (char *)alloc_root(root, 22))))
{
value.length= longlong10_to_str(value_arg, str, 10) - str;
link(start, end);