summaryrefslogtreecommitdiff
path: root/myisam
diff options
context:
space:
mode:
authormonty@mysql.com <>2004-12-07 15:47:00 +0200
committermonty@mysql.com <>2004-12-07 15:47:00 +0200
commit563500994a31c2239a7d87ba9c5ea889493e3596 (patch)
treeb1c918186908fb490aa860c35dc9e2154aa633c8 /myisam
parent77207d19f20f21c54b8d5279c6924f4c4bdaaa51 (diff)
downloadmariadb-git-563500994a31c2239a7d87ba9c5ea889493e3596.tar.gz
Update results for new varchar handling
Fixed compiler warnings String results in CREATE ... SELECT are now created as CHAR(0), VARCHAR(X) or TEXT() depending on item->max_length
Diffstat (limited to 'myisam')
-rw-r--r--myisam/myisampack.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/myisam/myisampack.c b/myisam/myisampack.c
index eae75b07760..cc520847f70 100644
--- a/myisam/myisampack.c
+++ b/myisam/myisampack.c
@@ -747,7 +747,8 @@ static int get_statistic(PACK_MRG_INFO *mrg,HUFF_COUNTS *huff_counts)
static_row_size=1;
for (count=huff_counts ; count < end_count ; count++)
{
- if (count->field_type == FIELD_BLOB || count->field_type == FIELD_VARCHAR)
+ if (count->field_type == FIELD_BLOB ||
+ count->field_type == FIELD_VARCHAR)
{
static_row_size=0;
break;