summaryrefslogtreecommitdiff
path: root/sql/field.cc
diff options
context:
space:
mode:
authorTor Didriksen <tor.didriksen@sun.com>2010-05-31 12:59:58 +0200
committerTor Didriksen <tor.didriksen@sun.com>2010-05-31 12:59:58 +0200
commita612981422cf13acbd8419d3ae78a1a96bde9434 (patch)
tree82f29ab237634251c0f5771f3321e30b6767c6ee /sql/field.cc
parentf75f58007e9145d62e7b7e5d13afecd129e429bd (diff)
downloadmariadb-git-a612981422cf13acbd8419d3ae78a1a96bde9434.tar.gz
Bug #49829 Many "hides virtual function" warnings with SunStudio
Backport from mysql-pe (of those parts which have not been upmerged from 5.1)
Diffstat (limited to 'sql/field.cc')
-rw-r--r--sql/field.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/sql/field.cc b/sql/field.cc
index fcabaeaa74d..ee7d91c1fb6 100644
--- a/sql/field.cc
+++ b/sql/field.cc
@@ -9125,7 +9125,7 @@ void Create_field::create_length_to_internal_length(void)
void Create_field::init_for_tmp_table(enum_field_types sql_type_arg,
uint32 length_arg, uint32 decimals_arg,
bool maybe_null, bool is_unsigned,
- uint pack_length)
+ uint pack_length_arg)
{
DBUG_ENTER("Create_field::init_for_tmp_table");
@@ -9138,7 +9138,7 @@ void Create_field::init_for_tmp_table(enum_field_types sql_type_arg,
geom_type= Field::GEOM_GEOMETRY;
DBUG_PRINT("enter", ("sql_type: %d, length: %u, pack_length: %u",
- sql_type_arg, length_arg, pack_length));
+ sql_type_arg, length_arg, pack_length_arg));
/*
These pack flags are crafted to get it correctly through the
@@ -9202,8 +9202,8 @@ void Create_field::init_for_tmp_table(enum_field_types sql_type_arg,
case MYSQL_TYPE_GEOMETRY:
// If you are going to use the above types, you have to pass a
// pack_length as parameter. Assert that is really done.
- DBUG_ASSERT(pack_length != ~0U);
- pack_flag|= pack_length_to_packflag(pack_length);
+ DBUG_ASSERT(pack_length_arg != ~0U);
+ pack_flag|= pack_length_to_packflag(pack_length_arg);
break;
default:
/* Nothing */