diff options
author | bar@gw.udmsearch.izhnet.ru <> | 2002-06-19 21:21:30 +0500 |
---|---|---|
committer | bar@gw.udmsearch.izhnet.ru <> | 2002-06-19 21:21:30 +0500 |
commit | 6f5f47855acc0e421596dd287217f95685b1ec8b (patch) | |
tree | 619a1993ab7447b02bc4d786f456740d2805cf67 /sql/unireg.cc | |
parent | f4f4962d4d64b9b8013aa982778db13ad5934d89 (diff) | |
download | mariadb-git-6f5f47855acc0e421596dd287217f95685b1ec8b.tar.gz |
Default table character set has been added:
CREATE TABLE a (field,...) TYPE=type CHARSET=cset;
Diffstat (limited to 'sql/unireg.cc')
-rw-r--r-- | sql/unireg.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sql/unireg.cc b/sql/unireg.cc index 863f71d1cce..f2d8d6532a9 100644 --- a/sql/unireg.cc +++ b/sql/unireg.cc @@ -459,8 +459,7 @@ static bool pack_fields(File file,List<create_field> &create_fields) int2store(buff+8,field->unireg_check); buff[10]= (uchar) field->interval_id; buff[11]= (uchar) field->sql_type; - buff[12]= (uchar) (field->charset ? field->charset->number : - default_charset_info->number); + buff[12]= (uchar) field->charset->number; int2store(buff+13, field->comment.length); comment_length+= field->comment.length; set_if_bigger(int_count,field->interval_id); |