File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -255,8 +255,7 @@ int ha_ndbinfo::rnd_init(bool scan)
255255 DBUG_RETURN (err2mysql (err));
256256
257257 /* Read all columns specified in read_set */
258- TABLE_SHARE *table_share = table->s ;
259- for (uint i = 0 ; i < table_share->fields ; i++)
258+ for (uint i = 0 ; i < table->s ->fields ; i++)
260259 {
261260 Field *field = table->field [i];
262261 if (bitmap_is_set (table->read_set , i))
@@ -352,8 +351,7 @@ ha_ndbinfo::unpack_record(uchar *dst_row)
352351 DBUG_ENTER (" ha_ndbinfo::unpack_record" );
353352 my_ptrdiff_t dst_offset = dst_row - table->record [0 ];
354353
355- TABLE_SHARE *table_share = table->s ;
356- for (uint i = 0 ; i < table_share->fields ; i++)
354+ for (uint i = 0 ; i < table->s ->fields ; i++)
357355 {
358356 Field *field = table->field [i];
359357 const NdbInfoRecAttr* record = m_impl.m_columns [i];
You can’t perform that action at this time.
0 commit comments