mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Revert "MDEV-20342 Turn Field::flags from a member to a method"
This reverts commit e86010f909
.
Reverting on Monty's request, as this change makes merging
things from 10.5 to 10.2 much harder.
This commit is contained in:
@@ -212,9 +212,9 @@ PQRYRES TabColumns(PGLOBAL g, THD *thd, const char *db,
|
||||
crp = crp->Next; // Data_Type
|
||||
crp->Kdata->SetValue(type, i);
|
||||
|
||||
if (fp->is_zerofill())
|
||||
if (fp->flags & ZEROFILL_FLAG)
|
||||
crp->Nulls[i] = 'Z';
|
||||
else if (fp->is_unsigned())
|
||||
else if (fp->flags & UNSIGNED_FLAG)
|
||||
crp->Nulls[i] = 'U';
|
||||
else // X means TEXT field
|
||||
crp->Nulls[i] = (v == 'X') ? 'V' : v;
|
||||
|
Reference in New Issue
Block a user