summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Vojtovich <svoj@sun.com>2010-01-22 13:56:32 +0400
committerSergey Vojtovich <svoj@sun.com>2010-01-22 13:56:32 +0400
commit1dcb80dc029aedf965c251c6a9491faf13efecde (patch)
tree17931a2f55374a5d986b5518148d33f3b949278e
parent6382f05c5d2d4f350d3ec5f2a4adb286eba16332 (diff)
downloadmariadb-git-1dcb80dc029aedf965c251c6a9491faf13efecde.tar.gz
Applying InnoDB snapshot
Detailed revision comments: r6422 | marko | 2010-01-12 11:34:27 +0200 (Tue, 12 Jan 2010) | 3 lines branches/5.1: Non-functional change: Make innobase_get_int_col_max_value() a static function. It does not access any fields of class ha_innobase.
-rw-r--r--storage/innobase/handler/ha_innodb.cc9
-rw-r--r--storage/innobase/handler/ha_innodb.h1
2 files changed, 5 insertions, 5 deletions
diff --git a/storage/innobase/handler/ha_innodb.cc b/storage/innobase/handler/ha_innodb.cc
index a1b8c551845..aca8be74b07 100644
--- a/storage/innobase/handler/ha_innodb.cc
+++ b/storage/innobase/handler/ha_innodb.cc
@@ -3652,11 +3652,12 @@ skip_field:
/************************************************************************
Get the upper limit of the MySQL integral and floating-point type. */
-
+static
ulonglong
-ha_innobase::innobase_get_int_col_max_value(
-/*========================================*/
- const Field* field)
+innobase_get_int_col_max_value(
+/*===========================*/
+ /* out: maximum allowed value for the field */
+ const Field* field) /* in: MySQL field */
{
ulonglong max_value = 0;
diff --git a/storage/innobase/handler/ha_innodb.h b/storage/innobase/handler/ha_innodb.h
index 9ddb516c3dc..8251af20a44 100644
--- a/storage/innobase/handler/ha_innodb.h
+++ b/storage/innobase/handler/ha_innodb.h
@@ -80,7 +80,6 @@ class ha_innobase: public handler
ulong innobase_update_autoinc(ulonglong auto_inc);
ulong innobase_initialize_autoinc();
dict_index_t* innobase_get_index(uint keynr);
- ulonglong innobase_get_int_col_max_value(const Field* field);
/* Init values for the class: */
public: