diff options
author | monty@mysql.com <> | 2005-02-15 16:45:00 +0200 |
---|---|---|
committer | monty@mysql.com <> | 2005-02-15 16:45:00 +0200 |
commit | 410e51c854a929a96f5e91236abe19526ddc4947 (patch) | |
tree | 16b9cc851452c212c3d986a1f88c4ae9a2f5d862 /sql/item_buff.cc | |
parent | 919f2f2364c7014af352ea60bf83a894374fb4fc (diff) | |
download | mariadb-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.cc | 3 |
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: |