summaryrefslogtreecommitdiff
path: root/libmysql
diff options
context:
space:
mode:
authorunknown <jimw@mysql.com>2005-03-17 10:27:23 -0800
committerunknown <jimw@mysql.com>2005-03-17 10:27:23 -0800
commit2ad50a50ced58747a5c13c093cb8612140896876 (patch)
treea3ffae34b4c5e4ed289ffb9fd747fa5e5aed5258 /libmysql
parent7fe43b71b93de2a48486b0a9cf34cded18273356 (diff)
downloadmariadb-git-2ad50a50ced58747a5c13c093cb8612140896876.tar.gz
Fix HP/UX debug compile error. (Bug #8679)
libmysql/libmysql.c: Break up variable definitions to appease HP/UX compiler.
Diffstat (limited to 'libmysql')
-rw-r--r--libmysql/libmysql.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libmysql/libmysql.c b/libmysql/libmysql.c
index 20a000f1e4d..9746cb222fa 100644
--- a/libmysql/libmysql.c
+++ b/libmysql/libmysql.c
@@ -4144,7 +4144,8 @@ static my_bool is_binary_compatible(enum enum_field_types type1,
range4[]= { MYSQL_TYPE_ENUM, MYSQL_TYPE_SET, MYSQL_TYPE_TINY_BLOB,
MYSQL_TYPE_MEDIUM_BLOB, MYSQL_TYPE_LONG_BLOB, MYSQL_TYPE_BLOB,
MYSQL_TYPE_VAR_STRING, MYSQL_TYPE_STRING, MYSQL_TYPE_GEOMETRY,
- MYSQL_TYPE_DECIMAL, MYSQL_TYPE_NULL },
+ MYSQL_TYPE_DECIMAL, MYSQL_TYPE_NULL };
+ static const enum enum_field_types
*range_list[]= { range1, range2, range3, range4 },
**range_list_end= range_list + sizeof(range_list)/sizeof(*range_list);
const enum enum_field_types **range, *type;