diff options
author | monty@hundin.mysql.fi <> | 2002-11-09 13:26:46 +0200 |
---|---|---|
committer | monty@hundin.mysql.fi <> | 2002-11-09 13:26:46 +0200 |
commit | b0fae584b98e4f498cd63d1002c816f8a4be5afb (patch) | |
tree | dc4bb2a2343e6494e99b3429fc1247fa2dd18281 /sql/sql_analyse.cc | |
parent | e08ed8a582992beb940bab54e4ffa1d7bbd8d75c (diff) | |
download | mariadb-git-b0fae584b98e4f498cd63d1002c816f8a4be5afb.tar.gz |
Portability fixes for HP compiler and HPUX11
Diffstat (limited to 'sql/sql_analyse.cc')
-rw-r--r-- | sql/sql_analyse.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_analyse.cc b/sql/sql_analyse.cc index bbe82653190..96bbd731882 100644 --- a/sql/sql_analyse.cc +++ b/sql/sql_analyse.cc @@ -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: |