~xnox/ubuntu/saucy/drizzle/merge

« back to all changes in this revision

Viewing changes to drizzled/charset-def.cc

  • Committer: Package Import Robot
  • Author(s): Clint Byrum
  • Date: 2012-06-19 10:46:49 UTC
  • mfrom: (1.2.11) (2.1.16 sid)
  • Revision ID: package-import@ubuntu.com-20120619104649-9ij634mxm4x8pp4l
Tags: 1:7.1.36-stable-1ubuntu1
* Merge from Debian unstable. (LP: #987575)
  Remaining changes:
  - Added upstart script.
* debian/drizzle.upstart: dropped logger since upstart logs job
  output now.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* Copyright (C) 2000 MySQL AB
2
 
 
3
 
   This program is free software; you can redistribute it and/or modify
4
 
   it under the terms of the GNU General Public License as published by
5
 
   the Free Software Foundation; version 2 of the License.
6
 
 
7
 
   This program is distributed in the hope that it will be useful,
8
 
   but WITHOUT ANY WARRANTY; without even the implied warranty of
9
 
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
10
 
   GNU General Public License for more details.
11
 
 
12
 
   You should have received a copy of the GNU General Public License
13
 
   along with this program; if not, write to the Free Software
14
 
   Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA */
15
 
 
16
 
#include <config.h>
17
 
#include <drizzled/charset.h>
18
 
#include <drizzled/charset_info.h>
19
 
 
20
 
namespace drizzled
21
 
{
22
 
 
23
 
/*
24
 
  Include all compiled character sets into the client
25
 
  If a client don't want to use all of them, he can define his own
26
 
  init_compiled_charsets() that only adds those that he wants
27
 
*/
28
 
 
29
 
extern CHARSET_INFO my_charset_utf8mb4_icelandic_uca_ci;
30
 
extern CHARSET_INFO my_charset_utf8mb4_latvian_uca_ci;
31
 
extern CHARSET_INFO my_charset_utf8mb4_romanian_uca_ci;
32
 
extern CHARSET_INFO my_charset_utf8mb4_slovenian_uca_ci;
33
 
extern CHARSET_INFO my_charset_utf8mb4_polish_uca_ci;
34
 
extern CHARSET_INFO my_charset_utf8mb4_estonian_uca_ci;
35
 
extern CHARSET_INFO my_charset_utf8mb4_spanish_uca_ci;
36
 
extern CHARSET_INFO my_charset_utf8mb4_swedish_uca_ci;
37
 
extern CHARSET_INFO my_charset_utf8mb4_turkish_uca_ci;
38
 
extern CHARSET_INFO my_charset_utf8mb4_czech_uca_ci;
39
 
extern CHARSET_INFO my_charset_utf8mb4_danish_uca_ci;
40
 
extern CHARSET_INFO my_charset_utf8mb4_lithuanian_uca_ci;
41
 
extern CHARSET_INFO my_charset_utf8mb4_slovak_uca_ci;
42
 
extern CHARSET_INFO my_charset_utf8mb4_spanish2_uca_ci;
43
 
extern CHARSET_INFO my_charset_utf8mb4_roman_uca_ci;
44
 
extern CHARSET_INFO my_charset_utf8mb4_persian_uca_ci;
45
 
extern CHARSET_INFO my_charset_utf8mb4_esperanto_uca_ci;
46
 
extern CHARSET_INFO my_charset_utf8mb4_hungarian_uca_ci;
47
 
extern CHARSET_INFO my_charset_utf8mb4_sinhala_uca_ci;
48
 
 
49
 
 
50
 
bool init_compiled_charsets(myf)
51
 
{
52
 
  add_compiled_collation(&my_charset_bin);
53
 
 
54
 
  add_compiled_collation(&my_charset_utf8mb4_general_ci);
55
 
  add_compiled_collation(&my_charset_utf8mb4_bin);
56
 
  add_compiled_collation(&my_charset_utf8mb4_unicode_ci);
57
 
  add_compiled_collation(&my_charset_utf8mb4_icelandic_uca_ci);
58
 
  add_compiled_collation(&my_charset_utf8mb4_latvian_uca_ci);
59
 
  add_compiled_collation(&my_charset_utf8mb4_romanian_uca_ci);
60
 
  add_compiled_collation(&my_charset_utf8mb4_slovenian_uca_ci);
61
 
  add_compiled_collation(&my_charset_utf8mb4_polish_uca_ci);
62
 
  add_compiled_collation(&my_charset_utf8mb4_estonian_uca_ci);
63
 
  add_compiled_collation(&my_charset_utf8mb4_spanish_uca_ci);
64
 
  add_compiled_collation(&my_charset_utf8mb4_swedish_uca_ci);
65
 
  add_compiled_collation(&my_charset_utf8mb4_turkish_uca_ci);
66
 
  add_compiled_collation(&my_charset_utf8mb4_czech_uca_ci);
67
 
  add_compiled_collation(&my_charset_utf8mb4_danish_uca_ci);
68
 
  add_compiled_collation(&my_charset_utf8mb4_lithuanian_uca_ci);
69
 
  add_compiled_collation(&my_charset_utf8mb4_slovak_uca_ci);
70
 
  add_compiled_collation(&my_charset_utf8mb4_spanish2_uca_ci);
71
 
  add_compiled_collation(&my_charset_utf8mb4_roman_uca_ci);
72
 
  add_compiled_collation(&my_charset_utf8mb4_persian_uca_ci);
73
 
  add_compiled_collation(&my_charset_utf8mb4_esperanto_uca_ci);
74
 
  add_compiled_collation(&my_charset_utf8mb4_hungarian_uca_ci);
75
 
  add_compiled_collation(&my_charset_utf8mb4_sinhala_uca_ci);
76
 
 
77
 
  return false;
78
 
}
79
 
 
80
 
} /* namespace drizzled */