From dad1c7a45a007117e727d850598bf736cb2dd069 Mon Sep 17 00:00:00 2001
From: Vladislav Vaintroub <wlad@montyprogram.com>
Date: Tue, 12 Mar 2013 21:06:46 +0100
Subject: [PATCH] Fix clang warning (suggest parentheses)

---
 sql/item_func.cc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sql/item_func.cc b/sql/item_func.cc
index 0124ae3f1c..2bc1cdba32 100644
--- a/sql/item_func.cc
+++ b/sql/item_func.cc
@@ -1909,11 +1909,13 @@ longlong Item_func_neg::int_op()
     return raise_integer_overflow();
 
   if (value == LONGLONG_MIN)
+  {
     if (args[0]->unsigned_flag != unsigned_flag)
       /* negation of LONGLONG_MIN is LONGLONG_MIN. */
       return LONGLONG_MIN; 
     else
       return raise_integer_overflow();
+  }
 
   return check_integer_overflow(-value, !args[0]->unsigned_flag && value < 0);
 }
-- 
2.30.9