fk: fix wrong sizeof() in fk_constraint_def_sizeof()
The function returns a number of bytes needed to store an fk_constraint_def object with its name and links. However it used sizeof(struct fk_constraint) instead of sizeof(struct fk_constraint_def) to calculate base object size. This worked only because fk_constraint is bigger than fk_constraint_def.
Please register or sign in to comment