summaryrefslogtreecommitdiff
path: root/sql/item_buff.cc
diff options
context:
space:
mode:
authormonty@mysql.com <>2005-02-15 16:45:00 +0200
committermonty@mysql.com <>2005-02-15 16:45:00 +0200
commit410e51c854a929a96f5e91236abe19526ddc4947 (patch)
tree16b9cc851452c212c3d986a1f88c4ae9a2f5d862 /sql/item_buff.cc
parent919f2f2364c7014af352ea60bf83a894374fb4fc (diff)
downloadmariadb-git-410e51c854a929a96f5e91236abe19526ddc4947.tar.gz
Fixed failing test cases 'row.test' when running with --ps-protocol
Simple optimzations done while reviewing code
Diffstat (limited to 'sql/item_buff.cc')
-rw-r--r--sql/item_buff.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/sql/item_buff.cc b/sql/item_buff.cc
index 7c77f7fa3bc..af17d377e31 100644
--- a/sql/item_buff.cc
+++ b/sql/item_buff.cc
@@ -28,8 +28,7 @@ Item_buff *new_Item_buff(Item *item)
if (item->type() == Item::FIELD_ITEM &&
!(((Item_field *) item)->field->flags & BLOB_FLAG))
return new Item_field_buff((Item_field *) item);
- switch (item->result_type())
- {
+ switch (item->result_type()) {
case STRING_RESULT:
return new Item_str_buff((Item_field *) item);
case INT_RESULT: