Commit 8bf81e62 authored by marko's avatar marko

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.
parent b931d4f9
......@@ -3652,11 +3652,12 @@ build_template(
/************************************************************************
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;
......
......@@ -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:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment