mirror of
https://github.com/MariaDB/server.git
synced 2026-05-06 15:15:34 +02:00
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
This commit is contained in:
parent
85f35cbf57
commit
fdff4a9983
5 changed files with 39 additions and 29 deletions
|
|
@ -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];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue