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

Portability fixes for HP compiler and HPUX11

This commit is contained in:
monty@hundin.mysql.fi
2002-11-09 13:26:46 +02:00
parent e08ed8a582
commit b0fae584b9
9 changed files with 831 additions and 13 deletions

View File

@ -677,7 +677,7 @@ bool analyse::end_of_records()
case FIELD_TYPE_DECIMAL:
ans.append("DECIMAL", 7);
// if item is FIELD_ITEM, it _must_be_ Field_num in this case
if (((Field_num*) (*f)->item)->zerofill)
if (((Field_num*) ((Item_field*) (*f)->item)->field)->zerofill)
ans.append(" ZEROFILL");
break;
default: