summaryrefslogtreecommitdiff
path: root/strings
diff options
context:
space:
mode:
authorunknown <bar@bar.mysql.r18.ru>2002-10-30 17:09:37 +0400
committerunknown <bar@bar.mysql.r18.ru>2002-10-30 17:09:37 +0400
commitfdff4a99836b54c5ec17683d1d38f981f87c03c2 (patch)
treed42496394ec3c44e78f9d404c7911e6c52454a29 /strings
parent85f35cbf574eac4bbc0f5dda0416da33da086cd0 (diff)
downloadmariadb-git-fdff4a99836b54c5ec17683d1d38f981f87c03c2.tar.gz
date and time fields now have charset arg in constructor
my_charset_latin1 include/m_ctype.h: my_charset_latin1 is now visible all around the program sql/field.cc: date and time fields now have charset arg in constructor sql/field.h: date and time fields now have charset arg in constructor sql/item_timefunc.h: date and time fields now have charset arg in constructor strings/ctype.c: my_charset_latin1 is now visible all around the program
Diffstat (limited to 'strings')
-rw-r--r--strings/ctype.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/strings/ctype.c b/strings/ctype.c
index c384a9d6e21..1358fced15c 100644
--- a/strings/ctype.c
+++ b/strings/ctype.c
@@ -20,6 +20,10 @@
#include <m_string.h>
#endif
+#ifndef HAVE_CHARSET_latin1
+#define HAVE_CHARSET_latin1
+#endif
+
#if defined(HAVE_CHARSET_latin1)||defined(HAVE_CHARSET_latin1_de)||\
defined(HAVE_CHARSET_danish)||defined(HAVE_CHARSET_german1)
@@ -3651,6 +3655,7 @@ static CHARSET_INFO compiled_charsets[] = {
};
+CHARSET_INFO *my_charset_latin1 = &compiled_charsets[0];
CHARSET_INFO *all_charsets[256];
CHARSET_INFO *default_charset_info = &compiled_charsets[0];
CHARSET_INFO *system_charset_info = &compiled_charsets[0];