Commit f4fb03c8 authored by Zardosht Kasheff's avatar Zardosht Kasheff Committed by Yoni Fogel

addresses #1163

make better name for function

git-svn-id: file:///svn/mysql/tokudb-engine/src@6190 c7de825b-a66e-492c-adef-691d508d4ae1
parent 2b1398c8
...@@ -1096,7 +1096,7 @@ ulonglong retrieve_auto_increment(uint16 type, uint32 offset,const uchar *record ...@@ -1096,7 +1096,7 @@ ulonglong retrieve_auto_increment(uint16 type, uint32 offset,const uchar *record
inline uint get_field_offset(TABLE* table, Field* field) { inline uint get_null_offset(TABLE* table, Field* field) {
return (uint) ((uchar*) field->null_ptr - (uchar*) table->record[0]); return (uint) ((uchar*) field->null_ptr - (uchar*) table->record[0]);
} }
...@@ -1108,7 +1108,7 @@ is_null_field( TABLE* table, Field* field, const uchar* record) { ...@@ -1108,7 +1108,7 @@ is_null_field( TABLE* table, Field* field, const uchar* record) {
ret_val = false; ret_val = false;
goto exitpt; goto exitpt;
} }
null_offset = get_field_offset(table,field); null_offset = get_null_offset(table,field);
ret_val = (record[null_offset] & field->null_bit) ? true: false; ret_val = (record[null_offset] & field->null_bit) ? true: false;
exitpt: exitpt:
......
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