Commit 9aaa3cc4 authored by Sergey Vojtovich's avatar Sergey Vojtovich

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.
parent f65b3f78
...@@ -3652,11 +3652,12 @@ skip_field: ...@@ -3652,11 +3652,12 @@ skip_field:
/************************************************************************ /************************************************************************
Get the upper limit of the MySQL integral and floating-point type. */ Get the upper limit of the MySQL integral and floating-point type. */
static
ulonglong ulonglong
ha_innobase::innobase_get_int_col_max_value( innobase_get_int_col_max_value(
/*========================================*/ /*===========================*/
const Field* field) /* out: maximum allowed value for the field */
const Field* field) /* in: MySQL field */
{ {
ulonglong max_value = 0; ulonglong max_value = 0;
......
...@@ -80,7 +80,6 @@ class ha_innobase: public handler ...@@ -80,7 +80,6 @@ class ha_innobase: public handler
ulong innobase_update_autoinc(ulonglong auto_inc); ulong innobase_update_autoinc(ulonglong auto_inc);
ulong innobase_initialize_autoinc(); ulong innobase_initialize_autoinc();
dict_index_t* innobase_get_index(uint keynr); dict_index_t* innobase_get_index(uint keynr);
ulonglong innobase_get_int_col_max_value(const Field* field);
/* Init values for the class: */ /* Init values for the class: */
public: 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