summaryrefslogtreecommitdiff
path: root/sql/field.h
diff options
context:
space:
mode:
authorbar@bar.mysql.r18.ru <>2003-01-28 14:58:06 +0400
committerbar@bar.mysql.r18.ru <>2003-01-28 14:58:06 +0400
commita292d4f632741947e42bcd4931c19d0eda17e219 (patch)
tree450c5179a726672744b1af7c79ac834c08ed7659 /sql/field.h
parent106b21bd856f816d5f202d198c2160b0423cbc39 (diff)
downloadmariadb-git-a292d4f632741947e42bcd4931c19d0eda17e219.tar.gz
New "fill" function in charset_info_st structure
Diffstat (limited to 'sql/field.h')
-rw-r--r--sql/field.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/field.h b/sql/field.h
index 97900938e9d..4753cfeee45 100644
--- a/sql/field.h
+++ b/sql/field.h
@@ -787,7 +787,7 @@ public:
enum ha_base_keytype key_type() const
{ return binary() ? HA_KEYTYPE_BINARY : HA_KEYTYPE_TEXT; }
bool zero_pack() const { return 0; }
- void reset(void) { bfill(ptr,field_length,' '); }
+ void reset(void) { charset()->fill(charset(),ptr,field_length,' '); }
int store(const char *to,uint length,CHARSET_INFO *charset);
int store(double nr);
int store(longlong nr);