summaryrefslogtreecommitdiff
path: root/sql/field.h
diff options
context:
space:
mode:
authorunknown <bar@bar.mysql.r18.ru>2003-01-28 14:58:06 +0400
committerunknown <bar@bar.mysql.r18.ru>2003-01-28 14:58:06 +0400
commitee7c5f13fad9e2650bd676da606e0770fc88e3eb (patch)
tree450c5179a726672744b1af7c79ac834c08ed7659 /sql/field.h
parentb5f740addfaf40639bd06107c8d27051d4e282b6 (diff)
downloadmariadb-git-ee7c5f13fad9e2650bd676da606e0770fc88e3eb.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);