Commit da37b82a 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 39c899f3
......@@ -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]);
}
......@@ -1108,7 +1108,7 @@ is_null_field( TABLE* table, Field* field, const uchar* record) {
ret_val = false;
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;
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