1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

WL#3228 (NDB) : RBR using different table defs on slave/master

Minor refactoring to remove compile warnings and possibly fix the
Solaris test failures.
This commit is contained in:
cbell/Chuck@mysql_cab_desk.
2007-07-30 17:39:54 -04:00
parent 11fc097e8d
commit ac1767df09
3 changed files with 7 additions and 8 deletions

View File

@ -123,7 +123,7 @@ public:
*/
char *ptr= (char *)&field_metadata[index];
m_field_metadata[i]= sint2korr(ptr);
index= index + sizeof(short int);
index= index + 2;
break;
}
case MYSQL_TYPE_NEWDECIMAL:
@ -238,7 +238,7 @@ public:
private:
ulong m_size; // Number of elements in the types array
field_type *m_type; // Array of type descriptors
short int *m_field_metadata;
uint16 *m_field_metadata;
uchar *m_null_bits;
uchar *m_memory;
};