@nocobase/plugin-multi-app-manager 1.2.12-alpha → 1.3.0-alpha.20240710084543

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (175) hide show
  1. package/package.json +2 -2
  2. package/dist/client/AppManager.d.ts +0 -10
  3. package/dist/client/AppNameInput.d.ts +0 -10
  4. package/dist/client/MultiAppManagerProvider.d.ts +0 -10
  5. package/dist/client/MultiAppManagerProvider.style.d.ts +0 -13
  6. package/dist/client/Settings.d.ts +0 -10
  7. package/dist/client/index.d.ts +0 -14
  8. package/dist/client/index.js +0 -10
  9. package/dist/client/settings/schemas/applications.d.ts +0 -18
  10. package/dist/client/utils.d.ts +0 -12
  11. package/dist/externalVersion.js +0 -25
  12. package/dist/index.d.ts +0 -10
  13. package/dist/index.js +0 -48
  14. package/dist/locale/en-US.json +0 -11
  15. package/dist/locale/es-ES.json +0 -9
  16. package/dist/locale/index.d.ts +0 -9
  17. package/dist/locale/index.js +0 -36
  18. package/dist/locale/ko_KR.json +0 -11
  19. package/dist/locale/pt-BR.json +0 -9
  20. package/dist/locale/zh-CN.json +0 -14
  21. package/dist/node_modules/mariadb/LICENSE +0 -502
  22. package/dist/node_modules/mariadb/callback.js +0 -41
  23. package/dist/node_modules/mariadb/lib/cmd/batch-bulk.js +0 -278
  24. package/dist/node_modules/mariadb/lib/cmd/batch-rewrite.js +0 -372
  25. package/dist/node_modules/mariadb/lib/cmd/change-user.js +0 -149
  26. package/dist/node_modules/mariadb/lib/cmd/class/ok-packet.js +0 -17
  27. package/dist/node_modules/mariadb/lib/cmd/column-definition.js +0 -102
  28. package/dist/node_modules/mariadb/lib/cmd/command.js +0 -168
  29. package/dist/node_modules/mariadb/lib/cmd/common-binary-cmd.js +0 -327
  30. package/dist/node_modules/mariadb/lib/cmd/common-text-cmd.js +0 -427
  31. package/dist/node_modules/mariadb/lib/cmd/handshake/auth/caching-sha2-password-auth.js +0 -168
  32. package/dist/node_modules/mariadb/lib/cmd/handshake/auth/clear-password-auth.js +0 -23
  33. package/dist/node_modules/mariadb/lib/cmd/handshake/auth/ed25519-password-auth.js +0 -761
  34. package/dist/node_modules/mariadb/lib/cmd/handshake/auth/native-password-auth.js +0 -55
  35. package/dist/node_modules/mariadb/lib/cmd/handshake/auth/pam-password-auth.js +0 -58
  36. package/dist/node_modules/mariadb/lib/cmd/handshake/auth/plugin-auth.js +0 -19
  37. package/dist/node_modules/mariadb/lib/cmd/handshake/auth/sha256-password-auth.js +0 -142
  38. package/dist/node_modules/mariadb/lib/cmd/handshake/client-capabilities.js +0 -74
  39. package/dist/node_modules/mariadb/lib/cmd/handshake/client-handshake-response.js +0 -126
  40. package/dist/node_modules/mariadb/lib/cmd/handshake/handshake.js +0 -292
  41. package/dist/node_modules/mariadb/lib/cmd/handshake/initial-handshake.js +0 -74
  42. package/dist/node_modules/mariadb/lib/cmd/handshake/ssl-request.js +0 -29
  43. package/dist/node_modules/mariadb/lib/cmd/ping.js +0 -52
  44. package/dist/node_modules/mariadb/lib/cmd/query.js +0 -255
  45. package/dist/node_modules/mariadb/lib/cmd/quit.js +0 -28
  46. package/dist/node_modules/mariadb/lib/cmd/reset.js +0 -54
  47. package/dist/node_modules/mariadb/lib/cmd/resultset.js +0 -607
  48. package/dist/node_modules/mariadb/lib/cmd/stream.js +0 -45
  49. package/dist/node_modules/mariadb/lib/config/connection-options.js +0 -258
  50. package/dist/node_modules/mariadb/lib/config/pool-cluster-options.js +0 -19
  51. package/dist/node_modules/mariadb/lib/config/pool-options.js +0 -47
  52. package/dist/node_modules/mariadb/lib/connection-callback.js +0 -160
  53. package/dist/node_modules/mariadb/lib/connection.js +0 -1460
  54. package/dist/node_modules/mariadb/lib/const/capabilities.js +0 -64
  55. package/dist/node_modules/mariadb/lib/const/collations.js +0 -473
  56. package/dist/node_modules/mariadb/lib/const/connection_status.js +0 -13
  57. package/dist/node_modules/mariadb/lib/const/error-code.js +0 -1282
  58. package/dist/node_modules/mariadb/lib/const/field-detail.js +0 -35
  59. package/dist/node_modules/mariadb/lib/const/field-type.js +0 -71
  60. package/dist/node_modules/mariadb/lib/const/server-status.js +0 -30
  61. package/dist/node_modules/mariadb/lib/const/state-change.js +0 -12
  62. package/dist/node_modules/mariadb/lib/filtered-pool-cluster.js +0 -81
  63. package/dist/node_modules/mariadb/lib/io/bulk-packet.js +0 -590
  64. package/dist/node_modules/mariadb/lib/io/compression-input-stream.js +0 -141
  65. package/dist/node_modules/mariadb/lib/io/compression-output-stream.js +0 -171
  66. package/dist/node_modules/mariadb/lib/io/packet-input-stream.js +0 -193
  67. package/dist/node_modules/mariadb/lib/io/packet-node-encoded.js +0 -36
  68. package/dist/node_modules/mariadb/lib/io/packet-node-iconv.js +0 -37
  69. package/dist/node_modules/mariadb/lib/io/packet-output-stream.js +0 -502
  70. package/dist/node_modules/mariadb/lib/io/packet.js +0 -515
  71. package/dist/node_modules/mariadb/lib/io/rewrite-packet.js +0 -481
  72. package/dist/node_modules/mariadb/lib/misc/connection-information.js +0 -96
  73. package/dist/node_modules/mariadb/lib/misc/errors.js +0 -123
  74. package/dist/node_modules/mariadb/lib/misc/parse.js +0 -1033
  75. package/dist/node_modules/mariadb/lib/misc/utils.js +0 -298
  76. package/dist/node_modules/mariadb/lib/pool-base.js +0 -611
  77. package/dist/node_modules/mariadb/lib/pool-callback.js +0 -202
  78. package/dist/node_modules/mariadb/lib/pool-cluster-callback.js +0 -66
  79. package/dist/node_modules/mariadb/lib/pool-cluster.js +0 -407
  80. package/dist/node_modules/mariadb/lib/pool-promise.js +0 -108
  81. package/dist/node_modules/mariadb/node_modules/@types/node/assert/strict.d.ts +0 -8
  82. package/dist/node_modules/mariadb/node_modules/@types/node/assert.d.ts +0 -912
  83. package/dist/node_modules/mariadb/node_modules/@types/node/async_hooks.d.ts +0 -501
  84. package/dist/node_modules/mariadb/node_modules/@types/node/buffer.d.ts +0 -2232
  85. package/dist/node_modules/mariadb/node_modules/@types/node/child_process.d.ts +0 -1366
  86. package/dist/node_modules/mariadb/node_modules/@types/node/cluster.d.ts +0 -414
  87. package/dist/node_modules/mariadb/node_modules/@types/node/console.d.ts +0 -412
  88. package/dist/node_modules/mariadb/node_modules/@types/node/constants.d.ts +0 -18
  89. package/dist/node_modules/mariadb/node_modules/@types/node/crypto.d.ts +0 -3338
  90. package/dist/node_modules/mariadb/node_modules/@types/node/dgram.d.ts +0 -545
  91. package/dist/node_modules/mariadb/node_modules/@types/node/diagnostics_channel.d.ts +0 -152
  92. package/dist/node_modules/mariadb/node_modules/@types/node/dns/promises.d.ts +0 -370
  93. package/dist/node_modules/mariadb/node_modules/@types/node/dns.d.ts +0 -659
  94. package/dist/node_modules/mariadb/node_modules/@types/node/domain.d.ts +0 -169
  95. package/dist/node_modules/mariadb/node_modules/@types/node/events.d.ts +0 -651
  96. package/dist/node_modules/mariadb/node_modules/@types/node/fs/promises.d.ts +0 -1091
  97. package/dist/node_modules/mariadb/node_modules/@types/node/fs.d.ts +0 -3869
  98. package/dist/node_modules/mariadb/node_modules/@types/node/globals.d.ts +0 -294
  99. package/dist/node_modules/mariadb/node_modules/@types/node/globals.global.d.ts +0 -1
  100. package/dist/node_modules/mariadb/node_modules/@types/node/http.d.ts +0 -1396
  101. package/dist/node_modules/mariadb/node_modules/@types/node/http2.d.ts +0 -2101
  102. package/dist/node_modules/mariadb/node_modules/@types/node/https.d.ts +0 -391
  103. package/dist/node_modules/mariadb/node_modules/@types/node/index.d.ts +0 -129
  104. package/dist/node_modules/mariadb/node_modules/@types/node/inspector.d.ts +0 -2744
  105. package/dist/node_modules/mariadb/node_modules/@types/node/module.d.ts +0 -114
  106. package/dist/node_modules/mariadb/node_modules/@types/node/net.d.ts +0 -791
  107. package/dist/node_modules/mariadb/node_modules/@types/node/os.d.ts +0 -455
  108. package/dist/node_modules/mariadb/node_modules/@types/node/package.json +0 -220
  109. package/dist/node_modules/mariadb/node_modules/@types/node/path.d.ts +0 -180
  110. package/dist/node_modules/mariadb/node_modules/@types/node/perf_hooks.d.ts +0 -557
  111. package/dist/node_modules/mariadb/node_modules/@types/node/process.d.ts +0 -1481
  112. package/dist/node_modules/mariadb/node_modules/@types/node/punycode.d.ts +0 -117
  113. package/dist/node_modules/mariadb/node_modules/@types/node/querystring.d.ts +0 -131
  114. package/dist/node_modules/mariadb/node_modules/@types/node/readline.d.ts +0 -650
  115. package/dist/node_modules/mariadb/node_modules/@types/node/repl.d.ts +0 -424
  116. package/dist/node_modules/mariadb/node_modules/@types/node/stream/consumers.d.ts +0 -24
  117. package/dist/node_modules/mariadb/node_modules/@types/node/stream/promises.d.ts +0 -42
  118. package/dist/node_modules/mariadb/node_modules/@types/node/stream/web.d.ts +0 -330
  119. package/dist/node_modules/mariadb/node_modules/@types/node/stream.d.ts +0 -1249
  120. package/dist/node_modules/mariadb/node_modules/@types/node/string_decoder.d.ts +0 -67
  121. package/dist/node_modules/mariadb/node_modules/@types/node/timers/promises.d.ts +0 -68
  122. package/dist/node_modules/mariadb/node_modules/@types/node/timers.d.ts +0 -94
  123. package/dist/node_modules/mariadb/node_modules/@types/node/tls.d.ts +0 -1020
  124. package/dist/node_modules/mariadb/node_modules/@types/node/trace_events.d.ts +0 -161
  125. package/dist/node_modules/mariadb/node_modules/@types/node/tty.d.ts +0 -204
  126. package/dist/node_modules/mariadb/node_modules/@types/node/url.d.ts +0 -891
  127. package/dist/node_modules/mariadb/node_modules/@types/node/util.d.ts +0 -1594
  128. package/dist/node_modules/mariadb/node_modules/@types/node/v8.d.ts +0 -378
  129. package/dist/node_modules/mariadb/node_modules/@types/node/vm.d.ts +0 -507
  130. package/dist/node_modules/mariadb/node_modules/@types/node/wasi.d.ts +0 -158
  131. package/dist/node_modules/mariadb/node_modules/@types/node/worker_threads.d.ts +0 -649
  132. package/dist/node_modules/mariadb/node_modules/@types/node/zlib.d.ts +0 -517
  133. package/dist/node_modules/mariadb/node_modules/iconv-lite/.github/dependabot.yml +0 -11
  134. package/dist/node_modules/mariadb/node_modules/iconv-lite/.idea/codeStyles/Project.xml +0 -47
  135. package/dist/node_modules/mariadb/node_modules/iconv-lite/.idea/codeStyles/codeStyleConfig.xml +0 -5
  136. package/dist/node_modules/mariadb/node_modules/iconv-lite/.idea/iconv-lite.iml +0 -12
  137. package/dist/node_modules/mariadb/node_modules/iconv-lite/.idea/inspectionProfiles/Project_Default.xml +0 -6
  138. package/dist/node_modules/mariadb/node_modules/iconv-lite/.idea/modules.xml +0 -8
  139. package/dist/node_modules/mariadb/node_modules/iconv-lite/.idea/vcs.xml +0 -6
  140. package/dist/node_modules/mariadb/node_modules/iconv-lite/encodings/dbcs-codec.js +0 -597
  141. package/dist/node_modules/mariadb/node_modules/iconv-lite/encodings/dbcs-data.js +0 -188
  142. package/dist/node_modules/mariadb/node_modules/iconv-lite/encodings/index.js +0 -23
  143. package/dist/node_modules/mariadb/node_modules/iconv-lite/encodings/internal.js +0 -198
  144. package/dist/node_modules/mariadb/node_modules/iconv-lite/encodings/sbcs-codec.js +0 -72
  145. package/dist/node_modules/mariadb/node_modules/iconv-lite/encodings/sbcs-data-generated.js +0 -451
  146. package/dist/node_modules/mariadb/node_modules/iconv-lite/encodings/sbcs-data.js +0 -179
  147. package/dist/node_modules/mariadb/node_modules/iconv-lite/encodings/tables/big5-added.json +0 -122
  148. package/dist/node_modules/mariadb/node_modules/iconv-lite/encodings/tables/cp936.json +0 -264
  149. package/dist/node_modules/mariadb/node_modules/iconv-lite/encodings/tables/cp949.json +0 -273
  150. package/dist/node_modules/mariadb/node_modules/iconv-lite/encodings/tables/cp950.json +0 -177
  151. package/dist/node_modules/mariadb/node_modules/iconv-lite/encodings/tables/eucjp.json +0 -182
  152. package/dist/node_modules/mariadb/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +0 -1
  153. package/dist/node_modules/mariadb/node_modules/iconv-lite/encodings/tables/gbk-added.json +0 -56
  154. package/dist/node_modules/mariadb/node_modules/iconv-lite/encodings/tables/shiftjis.json +0 -125
  155. package/dist/node_modules/mariadb/node_modules/iconv-lite/encodings/utf16.js +0 -197
  156. package/dist/node_modules/mariadb/node_modules/iconv-lite/encodings/utf32.js +0 -319
  157. package/dist/node_modules/mariadb/node_modules/iconv-lite/encodings/utf7.js +0 -290
  158. package/dist/node_modules/mariadb/node_modules/iconv-lite/lib/bom-handling.js +0 -52
  159. package/dist/node_modules/mariadb/node_modules/iconv-lite/lib/index.d.ts +0 -41
  160. package/dist/node_modules/mariadb/node_modules/iconv-lite/lib/index.js +0 -180
  161. package/dist/node_modules/mariadb/node_modules/iconv-lite/lib/streams.js +0 -109
  162. package/dist/node_modules/mariadb/node_modules/iconv-lite/package.json +0 -44
  163. package/dist/node_modules/mariadb/package.json +0 -1
  164. package/dist/node_modules/mariadb/promise.js +0 -34
  165. package/dist/node_modules/mariadb/types/index.d.ts +0 -870
  166. package/dist/server/collections/applications.d.ts +0 -10
  167. package/dist/server/collections/applications.js +0 -75
  168. package/dist/server/index.d.ts +0 -11
  169. package/dist/server/index.js +0 -40
  170. package/dist/server/models/application.d.ts +0 -18
  171. package/dist/server/models/application.js +0 -50
  172. package/dist/server/server.d.ts +0 -26
  173. package/dist/server/server.js +0 -310
  174. package/dist/swagger/index.d.ts +0 -195
  175. package/dist/swagger/index.js +0 -226
@@ -1,64 +0,0 @@
1
- /**
2
- * Capabilities list ( with 'CLIENT_' removed)
3
- * see : https://mariadb.com/kb/en/library/1-connecting-connecting/#capabilities
4
- */
5
- /* mysql/old mariadb server/client */
6
- module.exports.MYSQL = BigInt(1);
7
- /* Found instead of affected rows */
8
- module.exports.FOUND_ROWS = BigInt(2);
9
- /* get all column flags */
10
- module.exports.LONG_FLAG = BigInt(4);
11
- /* one can specify db on connect */
12
- module.exports.CONNECT_WITH_DB = BigInt(8);
13
- /* don't allow database.table.column */
14
- module.exports.NO_SCHEMA = BigInt(1) << BigInt(4);
15
- /* can use compression protocol */
16
- module.exports.COMPRESS = BigInt(1) << BigInt(5);
17
- /* odbc client */
18
- module.exports.ODBC = BigInt(1) << BigInt(6);
19
- /* can use LOAD DATA LOCAL */
20
- module.exports.LOCAL_FILES = BigInt(1) << BigInt(7);
21
- /* ignore spaces before '' */
22
- module.exports.IGNORE_SPACE = BigInt(1) << BigInt(8);
23
- /* new 4.1 protocol */
24
- module.exports.PROTOCOL_41 = BigInt(1) << BigInt(9);
25
- /* this is an interactive client */
26
- module.exports.INTERACTIVE = BigInt(1) << BigInt(10);
27
- /* switch to ssl after handshake */
28
- module.exports.SSL = BigInt(1) << BigInt(11);
29
- /* IGNORE sigpipes */
30
- module.exports.IGNORE_SIGPIPE = BigInt(1) << BigInt(12);
31
- /* client knows about transactions */
32
- module.exports.TRANSACTIONS = BigInt(1) << BigInt(13);
33
- /* old flag for 4.1 protocol */
34
- module.exports.RESERVED = BigInt(1) << BigInt(14);
35
- /* new 4.1 authentication */
36
- module.exports.SECURE_CONNECTION = BigInt(1) << BigInt(15);
37
- /* enable/disable multi-stmt support */
38
- module.exports.MULTI_STATEMENTS = BigInt(1) << BigInt(16);
39
- /* enable/disable multi-results */
40
- module.exports.MULTI_RESULTS = BigInt(1) << BigInt(17);
41
- /* multi-results in ps-protocol */
42
- module.exports.PS_MULTI_RESULTS = BigInt(1) << BigInt(18);
43
- /* client supports plugin authentication */
44
- module.exports.PLUGIN_AUTH = BigInt(1) << BigInt(19);
45
- /* permits connection attributes */
46
- module.exports.CONNECT_ATTRS = BigInt(1) << BigInt(20);
47
- /* Enable authentication response packet to be larger than 255 bytes. */
48
- module.exports.PLUGIN_AUTH_LENENC_CLIENT_DATA = BigInt(1) << BigInt(21);
49
- /* Don't close the connection for a connection with expired password. */
50
- module.exports.CAN_HANDLE_EXPIRED_PASSWORDS = BigInt(1) << BigInt(22);
51
- /* Capable of handling server state change information. Its a hint to the
52
- server to include the state change information in Ok packet. */
53
- module.exports.SESSION_TRACK = BigInt(1) << BigInt(23);
54
- /* Client no longer needs EOF packet */
55
- module.exports.DEPRECATE_EOF = BigInt(1) << BigInt(24);
56
- module.exports.SSL_VERIFY_SERVER_CERT = BigInt(1) << BigInt(30);
57
-
58
- /* MariaDB extended capabilities */
59
-
60
- /* Permit bulk insert*/
61
- module.exports.MARIADB_CLIENT_STMT_BULK_OPERATIONS = BigInt(1) << BigInt(34);
62
-
63
- /* Clients supporting extended metadata */
64
- module.exports.MARIADB_CLIENT_EXTENDED_TYPE_INFO = BigInt(1) << BigInt(35);
@@ -1,473 +0,0 @@
1
- 'use strict';
2
-
3
- let charsets = [];
4
- let defaultCharsets = [];
5
-
6
- class Collation {
7
- constructor(index, name, charset, maxLength) {
8
- this.index = index;
9
- this.name = name;
10
- this.charset = charset;
11
- }
12
-
13
- static fromCharset(charset) {
14
- return defaultCharsets[charset];
15
- }
16
-
17
- static fromIndex(index) {
18
- if (index >= charsets.length) return undefined;
19
- return charsets[index];
20
- }
21
-
22
- static fromName(name) {
23
- for (let i = 0; i < charsets.length; i++) {
24
- let collation = charsets[i];
25
- if (collation && collation.name === name) {
26
- return collation;
27
- }
28
- }
29
- return undefined;
30
- }
31
- }
32
-
33
- // generated with query :
34
- // SELECT CONCAT('charsets[', CAST(co.ID as char), '] = new Collation(', CAST(co.ID as char), ', \'',
35
- // UPPER(co.COLLATION_NAME), '\', \'', co.CHARACTER_SET_NAME, '\', ', CAST(ca.MAXLEN as char), ');\n')
36
- // FROM information_schema.COLLATIONS co
37
- // LEFT OUTER JOIN information_schema.CHARACTER_SETS ca ON ca.character_set_name = co.character_set_name
38
- // ORDER BY co.ID ASC;
39
- //then replace "utf8mb4" by "utf8"
40
-
41
- charsets[1] = new Collation(1, 'BIG5_CHINESE_CI', 'big5', 2);
42
- charsets[2] = new Collation(2, 'LATIN2_CZECH_CS', 'latin2', 1);
43
- charsets[3] = new Collation(3, 'DEC8_SWEDISH_CI', 'dec8', 1);
44
- charsets[4] = new Collation(4, 'CP850_GENERAL_CI', 'cp850', 1);
45
- charsets[5] = new Collation(5, 'LATIN1_GERMAN1_CI', 'latin1', 1);
46
- charsets[6] = new Collation(6, 'HP8_ENGLISH_CI', 'hp8', 1);
47
- charsets[7] = new Collation(7, 'KOI8R_GENERAL_CI', 'koi8r', 1);
48
- charsets[8] = new Collation(8, 'LATIN1_SWEDISH_CI', 'latin1', 1);
49
- charsets[9] = new Collation(9, 'LATIN2_GENERAL_CI', 'latin2', 1);
50
- charsets[10] = new Collation(10, 'SWE7_SWEDISH_CI', 'swe7', 1);
51
- charsets[11] = new Collation(11, 'ASCII_GENERAL_CI', 'ascii', 1);
52
- charsets[12] = new Collation(12, 'UJIS_JAPANESE_CI', 'ujis', 3);
53
- charsets[13] = new Collation(13, 'SJIS_JAPANESE_CI', 'sjis', 2);
54
- charsets[14] = new Collation(14, 'CP1251_BULGARIAN_CI', 'cp1251', 1);
55
- charsets[15] = new Collation(15, 'LATIN1_DANISH_CI', 'latin1', 1);
56
- charsets[16] = new Collation(16, 'HEBREW_GENERAL_CI', 'hebrew', 1);
57
- charsets[18] = new Collation(18, 'TIS620_THAI_CI', 'tis620', 1);
58
- charsets[19] = new Collation(19, 'EUCKR_KOREAN_CI', 'euckr', 2);
59
- charsets[20] = new Collation(20, 'LATIN7_ESTONIAN_CS', 'latin7', 1);
60
- charsets[21] = new Collation(21, 'LATIN2_HUNGARIAN_CI', 'latin2', 1);
61
- charsets[22] = new Collation(22, 'KOI8U_GENERAL_CI', 'koi8u', 1);
62
- charsets[23] = new Collation(23, 'CP1251_UKRAINIAN_CI', 'cp1251', 1);
63
- charsets[24] = new Collation(24, 'GB2312_CHINESE_CI', 'gb2312', 2);
64
- charsets[25] = new Collation(25, 'GREEK_GENERAL_CI', 'greek', 1);
65
- charsets[26] = new Collation(26, 'CP1250_GENERAL_CI', 'cp1250', 1);
66
- charsets[27] = new Collation(27, 'LATIN2_CROATIAN_CI', 'latin2', 1);
67
- charsets[28] = new Collation(28, 'GBK_CHINESE_CI', 'gbk', 2);
68
- charsets[29] = new Collation(29, 'CP1257_LITHUANIAN_CI', 'cp1257', 1);
69
- charsets[30] = new Collation(30, 'LATIN5_TURKISH_CI', 'latin5', 1);
70
- charsets[31] = new Collation(31, 'LATIN1_GERMAN2_CI', 'latin1', 1);
71
- charsets[32] = new Collation(32, 'ARMSCII8_GENERAL_CI', 'armscii8', 1);
72
- charsets[33] = new Collation(33, 'UTF8_GENERAL_CI', 'utf8', 3);
73
- charsets[34] = new Collation(34, 'CP1250_CZECH_CS', 'cp1250', 1);
74
- charsets[35] = new Collation(35, 'UCS2_GENERAL_CI', 'ucs2', 2);
75
- charsets[36] = new Collation(36, 'CP866_GENERAL_CI', 'cp866', 1);
76
- charsets[37] = new Collation(37, 'KEYBCS2_GENERAL_CI', 'keybcs2', 1);
77
- charsets[38] = new Collation(38, 'MACCE_GENERAL_CI', 'macce', 1);
78
- charsets[39] = new Collation(39, 'MACROMAN_GENERAL_CI', 'macroman', 1);
79
- charsets[40] = new Collation(40, 'CP852_GENERAL_CI', 'cp852', 1);
80
- charsets[41] = new Collation(41, 'LATIN7_GENERAL_CI', 'latin7', 1);
81
- charsets[42] = new Collation(42, 'LATIN7_GENERAL_CS', 'latin7', 1);
82
- charsets[43] = new Collation(43, 'MACCE_BIN', 'macce', 1);
83
- charsets[44] = new Collation(44, 'CP1250_CROATIAN_CI', 'cp1250', 1);
84
- charsets[45] = new Collation(45, 'UTF8MB4_GENERAL_CI', 'utf8', 4);
85
- charsets[46] = new Collation(46, 'UTF8MB4_BIN', 'utf8', 4);
86
- charsets[47] = new Collation(47, 'LATIN1_BIN', 'latin1', 1);
87
- charsets[48] = new Collation(48, 'LATIN1_GENERAL_CI', 'latin1', 1);
88
- charsets[49] = new Collation(49, 'LATIN1_GENERAL_CS', 'latin1', 1);
89
- charsets[50] = new Collation(50, 'CP1251_BIN', 'cp1251', 1);
90
- charsets[51] = new Collation(51, 'CP1251_GENERAL_CI', 'cp1251', 1);
91
- charsets[52] = new Collation(52, 'CP1251_GENERAL_CS', 'cp1251', 1);
92
- charsets[53] = new Collation(53, 'MACROMAN_BIN', 'macroman', 1);
93
- charsets[54] = new Collation(54, 'UTF16_GENERAL_CI', 'utf16', 4);
94
- charsets[55] = new Collation(55, 'UTF16_BIN', 'utf16', 4);
95
- charsets[56] = new Collation(56, 'UTF16LE_GENERAL_CI', 'utf16le', 4);
96
- charsets[57] = new Collation(57, 'CP1256_GENERAL_CI', 'cp1256', 1);
97
- charsets[58] = new Collation(58, 'CP1257_BIN', 'cp1257', 1);
98
- charsets[59] = new Collation(59, 'CP1257_GENERAL_CI', 'cp1257', 1);
99
- charsets[60] = new Collation(60, 'UTF32_GENERAL_CI', 'utf32', 4);
100
- charsets[61] = new Collation(61, 'UTF32_BIN', 'utf32', 4);
101
- charsets[62] = new Collation(62, 'UTF16LE_BIN', 'utf16le', 4);
102
- charsets[63] = new Collation(63, 'BINARY', 'binary', 1);
103
- charsets[64] = new Collation(64, 'ARMSCII8_BIN', 'armscii8', 1);
104
- charsets[65] = new Collation(65, 'ASCII_BIN', 'ascii', 1);
105
- charsets[66] = new Collation(66, 'CP1250_BIN', 'cp1250', 1);
106
- charsets[67] = new Collation(67, 'CP1256_BIN', 'cp1256', 1);
107
- charsets[68] = new Collation(68, 'CP866_BIN', 'cp866', 1);
108
- charsets[69] = new Collation(69, 'DEC8_BIN', 'dec8', 1);
109
- charsets[70] = new Collation(70, 'GREEK_BIN', 'greek', 1);
110
- charsets[71] = new Collation(71, 'HEBREW_BIN', 'hebrew', 1);
111
- charsets[72] = new Collation(72, 'HP8_BIN', 'hp8', 1);
112
- charsets[73] = new Collation(73, 'KEYBCS2_BIN', 'keybcs2', 1);
113
- charsets[74] = new Collation(74, 'KOI8R_BIN', 'koi8r', 1);
114
- charsets[75] = new Collation(75, 'KOI8U_BIN', 'koi8u', 1);
115
- charsets[76] = new Collation(76, 'UTF8_TOLOWER_CI', 'utf8', 3);
116
- charsets[77] = new Collation(77, 'LATIN2_BIN', 'latin2', 1);
117
- charsets[78] = new Collation(78, 'LATIN5_BIN', 'latin5', 1);
118
- charsets[79] = new Collation(79, 'LATIN7_BIN', 'latin7', 1);
119
- charsets[80] = new Collation(80, 'CP850_BIN', 'cp850', 1);
120
- charsets[81] = new Collation(81, 'CP852_BIN', 'cp852', 1);
121
- charsets[82] = new Collation(82, 'SWE7_BIN', 'swe7', 1);
122
- charsets[83] = new Collation(83, 'UTF8_BIN', 'utf8', 3);
123
- charsets[84] = new Collation(84, 'BIG5_BIN', 'big5', 2);
124
- charsets[85] = new Collation(85, 'EUCKR_BIN', 'euckr', 2);
125
- charsets[86] = new Collation(86, 'GB2312_BIN', 'gb2312', 2);
126
- charsets[87] = new Collation(87, 'GBK_BIN', 'gbk', 2);
127
- charsets[88] = new Collation(88, 'SJIS_BIN', 'sjis', 2);
128
- charsets[89] = new Collation(89, 'TIS620_BIN', 'tis620', 1);
129
- charsets[90] = new Collation(90, 'UCS2_BIN', 'ucs2', 2);
130
- charsets[91] = new Collation(91, 'UJIS_BIN', 'ujis', 3);
131
- charsets[92] = new Collation(92, 'GEOSTD8_GENERAL_CI', 'geostd8', 1);
132
- charsets[93] = new Collation(93, 'GEOSTD8_BIN', 'geostd8', 1);
133
- charsets[94] = new Collation(94, 'LATIN1_SPANISH_CI', 'latin1', 1);
134
- charsets[95] = new Collation(95, 'CP932_JAPANESE_CI', 'cp932', 2);
135
- charsets[96] = new Collation(96, 'CP932_BIN', 'cp932', 2);
136
- charsets[97] = new Collation(97, 'EUCJPMS_JAPANESE_CI', 'eucjpms', 3);
137
- charsets[98] = new Collation(98, 'EUCJPMS_BIN', 'eucjpms', 3);
138
- charsets[99] = new Collation(99, 'CP1250_POLISH_CI', 'cp1250', 1);
139
- charsets[101] = new Collation(101, 'UTF16_UNICODE_CI', 'utf16', 4);
140
- charsets[102] = new Collation(102, 'UTF16_ICELANDIC_CI', 'utf16', 4);
141
- charsets[103] = new Collation(103, 'UTF16_LATVIAN_CI', 'utf16', 4);
142
- charsets[104] = new Collation(104, 'UTF16_ROMANIAN_CI', 'utf16', 4);
143
- charsets[105] = new Collation(105, 'UTF16_SLOVENIAN_CI', 'utf16', 4);
144
- charsets[106] = new Collation(106, 'UTF16_POLISH_CI', 'utf16', 4);
145
- charsets[107] = new Collation(107, 'UTF16_ESTONIAN_CI', 'utf16', 4);
146
- charsets[108] = new Collation(108, 'UTF16_SPANISH_CI', 'utf16', 4);
147
- charsets[109] = new Collation(109, 'UTF16_SWEDISH_CI', 'utf16', 4);
148
- charsets[110] = new Collation(110, 'UTF16_TURKISH_CI', 'utf16', 4);
149
- charsets[111] = new Collation(111, 'UTF16_CZECH_CI', 'utf16', 4);
150
- charsets[112] = new Collation(112, 'UTF16_DANISH_CI', 'utf16', 4);
151
- charsets[113] = new Collation(113, 'UTF16_LITHUANIAN_CI', 'utf16', 4);
152
- charsets[114] = new Collation(114, 'UTF16_SLOVAK_CI', 'utf16', 4);
153
- charsets[115] = new Collation(115, 'UTF16_SPANISH2_CI', 'utf16', 4);
154
- charsets[116] = new Collation(116, 'UTF16_ROMAN_CI', 'utf16', 4);
155
- charsets[117] = new Collation(117, 'UTF16_PERSIAN_CI', 'utf16', 4);
156
- charsets[118] = new Collation(118, 'UTF16_ESPERANTO_CI', 'utf16', 4);
157
- charsets[119] = new Collation(119, 'UTF16_HUNGARIAN_CI', 'utf16', 4);
158
- charsets[120] = new Collation(120, 'UTF16_SINHALA_CI', 'utf16', 4);
159
- charsets[121] = new Collation(121, 'UTF16_GERMAN2_CI', 'utf16', 4);
160
- charsets[122] = new Collation(122, 'UTF16_CROATIAN_MYSQL561_CI', 'utf16', 4);
161
- charsets[123] = new Collation(123, 'UTF16_UNICODE_520_CI', 'utf16', 4);
162
- charsets[124] = new Collation(124, 'UTF16_VIETNAMESE_CI', 'utf16', 4);
163
- charsets[128] = new Collation(128, 'UCS2_UNICODE_CI', 'ucs2', 2);
164
- charsets[129] = new Collation(129, 'UCS2_ICELANDIC_CI', 'ucs2', 2);
165
- charsets[130] = new Collation(130, 'UCS2_LATVIAN_CI', 'ucs2', 2);
166
- charsets[131] = new Collation(131, 'UCS2_ROMANIAN_CI', 'ucs2', 2);
167
- charsets[132] = new Collation(132, 'UCS2_SLOVENIAN_CI', 'ucs2', 2);
168
- charsets[133] = new Collation(133, 'UCS2_POLISH_CI', 'ucs2', 2);
169
- charsets[134] = new Collation(134, 'UCS2_ESTONIAN_CI', 'ucs2', 2);
170
- charsets[135] = new Collation(135, 'UCS2_SPANISH_CI', 'ucs2', 2);
171
- charsets[136] = new Collation(136, 'UCS2_SWEDISH_CI', 'ucs2', 2);
172
- charsets[137] = new Collation(137, 'UCS2_TURKISH_CI', 'ucs2', 2);
173
- charsets[138] = new Collation(138, 'UCS2_CZECH_CI', 'ucs2', 2);
174
- charsets[139] = new Collation(139, 'UCS2_DANISH_CI', 'ucs2', 2);
175
- charsets[140] = new Collation(140, 'UCS2_LITHUANIAN_CI', 'ucs2', 2);
176
- charsets[141] = new Collation(141, 'UCS2_SLOVAK_CI', 'ucs2', 2);
177
- charsets[142] = new Collation(142, 'UCS2_SPANISH2_CI', 'ucs2', 2);
178
- charsets[143] = new Collation(143, 'UCS2_ROMAN_CI', 'ucs2', 2);
179
- charsets[144] = new Collation(144, 'UCS2_PERSIAN_CI', 'ucs2', 2);
180
- charsets[145] = new Collation(145, 'UCS2_ESPERANTO_CI', 'ucs2', 2);
181
- charsets[146] = new Collation(146, 'UCS2_HUNGARIAN_CI', 'ucs2', 2);
182
- charsets[147] = new Collation(147, 'UCS2_SINHALA_CI', 'ucs2', 2);
183
- charsets[148] = new Collation(148, 'UCS2_GERMAN2_CI', 'ucs2', 2);
184
- charsets[149] = new Collation(149, 'UCS2_CROATIAN_MYSQL561_CI', 'ucs2', 2);
185
- charsets[150] = new Collation(150, 'UCS2_UNICODE_520_CI', 'ucs2', 2);
186
- charsets[151] = new Collation(151, 'UCS2_VIETNAMESE_CI', 'ucs2', 2);
187
- charsets[159] = new Collation(159, 'UCS2_GENERAL_MYSQL500_CI', 'ucs2', 2);
188
- charsets[160] = new Collation(160, 'UTF32_UNICODE_CI', 'utf32', 4);
189
- charsets[161] = new Collation(161, 'UTF32_ICELANDIC_CI', 'utf32', 4);
190
- charsets[162] = new Collation(162, 'UTF32_LATVIAN_CI', 'utf32', 4);
191
- charsets[163] = new Collation(163, 'UTF32_ROMANIAN_CI', 'utf32', 4);
192
- charsets[164] = new Collation(164, 'UTF32_SLOVENIAN_CI', 'utf32', 4);
193
- charsets[165] = new Collation(165, 'UTF32_POLISH_CI', 'utf32', 4);
194
- charsets[166] = new Collation(166, 'UTF32_ESTONIAN_CI', 'utf32', 4);
195
- charsets[167] = new Collation(167, 'UTF32_SPANISH_CI', 'utf32', 4);
196
- charsets[168] = new Collation(168, 'UTF32_SWEDISH_CI', 'utf32', 4);
197
- charsets[169] = new Collation(169, 'UTF32_TURKISH_CI', 'utf32', 4);
198
- charsets[170] = new Collation(170, 'UTF32_CZECH_CI', 'utf32', 4);
199
- charsets[171] = new Collation(171, 'UTF32_DANISH_CI', 'utf32', 4);
200
- charsets[172] = new Collation(172, 'UTF32_LITHUANIAN_CI', 'utf32', 4);
201
- charsets[173] = new Collation(173, 'UTF32_SLOVAK_CI', 'utf32', 4);
202
- charsets[174] = new Collation(174, 'UTF32_SPANISH2_CI', 'utf32', 4);
203
- charsets[175] = new Collation(175, 'UTF32_ROMAN_CI', 'utf32', 4);
204
- charsets[176] = new Collation(176, 'UTF32_PERSIAN_CI', 'utf32', 4);
205
- charsets[177] = new Collation(177, 'UTF32_ESPERANTO_CI', 'utf32', 4);
206
- charsets[178] = new Collation(178, 'UTF32_HUNGARIAN_CI', 'utf32', 4);
207
- charsets[179] = new Collation(179, 'UTF32_SINHALA_CI', 'utf32', 4);
208
- charsets[180] = new Collation(180, 'UTF32_GERMAN2_CI', 'utf32', 4);
209
- charsets[181] = new Collation(181, 'UTF32_CROATIAN_MYSQL561_CI', 'utf32', 4);
210
- charsets[182] = new Collation(182, 'UTF32_UNICODE_520_CI', 'utf32', 4);
211
- charsets[183] = new Collation(183, 'UTF32_VIETNAMESE_CI', 'utf32', 4);
212
- charsets[192] = new Collation(192, 'UTF8_UNICODE_CI', 'utf8', 3);
213
- charsets[193] = new Collation(193, 'UTF8_ICELANDIC_CI', 'utf8', 3);
214
- charsets[194] = new Collation(194, 'UTF8_LATVIAN_CI', 'utf8', 3);
215
- charsets[195] = new Collation(195, 'UTF8_ROMANIAN_CI', 'utf8', 3);
216
- charsets[196] = new Collation(196, 'UTF8_SLOVENIAN_CI', 'utf8', 3);
217
- charsets[197] = new Collation(197, 'UTF8_POLISH_CI', 'utf8', 3);
218
- charsets[198] = new Collation(198, 'UTF8_ESTONIAN_CI', 'utf8', 3);
219
- charsets[199] = new Collation(199, 'UTF8_SPANISH_CI', 'utf8', 3);
220
- charsets[200] = new Collation(200, 'UTF8_SWEDISH_CI', 'utf8', 3);
221
- charsets[201] = new Collation(201, 'UTF8_TURKISH_CI', 'utf8', 3);
222
- charsets[202] = new Collation(202, 'UTF8_CZECH_CI', 'utf8', 3);
223
- charsets[203] = new Collation(203, 'UTF8_DANISH_CI', 'utf8', 3);
224
- charsets[204] = new Collation(204, 'UTF8_LITHUANIAN_CI', 'utf8', 3);
225
- charsets[205] = new Collation(205, 'UTF8_SLOVAK_CI', 'utf8', 3);
226
- charsets[206] = new Collation(206, 'UTF8_SPANISH2_CI', 'utf8', 3);
227
- charsets[207] = new Collation(207, 'UTF8_ROMAN_CI', 'utf8', 3);
228
- charsets[208] = new Collation(208, 'UTF8_PERSIAN_CI', 'utf8', 3);
229
- charsets[209] = new Collation(209, 'UTF8_ESPERANTO_CI', 'utf8', 3);
230
- charsets[210] = new Collation(210, 'UTF8_HUNGARIAN_CI', 'utf8', 3);
231
- charsets[211] = new Collation(211, 'UTF8_SINHALA_CI', 'utf8', 3);
232
- charsets[212] = new Collation(212, 'UTF8_GERMAN2_CI', 'utf8', 3);
233
- charsets[213] = new Collation(213, 'UTF8_CROATIAN_MYSQL561_CI', 'utf8', 3);
234
- charsets[214] = new Collation(214, 'UTF8_UNICODE_520_CI', 'utf8', 3);
235
- charsets[215] = new Collation(215, 'UTF8_VIETNAMESE_CI', 'utf8', 3);
236
- charsets[223] = new Collation(223, 'UTF8_GENERAL_MYSQL500_CI', 'utf8', 3);
237
- charsets[224] = new Collation(224, 'UTF8MB4_UNICODE_CI', 'utf8', 4);
238
- charsets[225] = new Collation(225, 'UTF8MB4_ICELANDIC_CI', 'utf8', 4);
239
- charsets[226] = new Collation(226, 'UTF8MB4_LATVIAN_CI', 'utf8', 4);
240
- charsets[227] = new Collation(227, 'UTF8MB4_ROMANIAN_CI', 'utf8', 4);
241
- charsets[228] = new Collation(228, 'UTF8MB4_SLOVENIAN_CI', 'utf8', 4);
242
- charsets[229] = new Collation(229, 'UTF8MB4_POLISH_CI', 'utf8', 4);
243
- charsets[230] = new Collation(230, 'UTF8MB4_ESTONIAN_CI', 'utf8', 4);
244
- charsets[231] = new Collation(231, 'UTF8MB4_SPANISH_CI', 'utf8', 4);
245
- charsets[232] = new Collation(232, 'UTF8MB4_SWEDISH_CI', 'utf8', 4);
246
- charsets[233] = new Collation(233, 'UTF8MB4_TURKISH_CI', 'utf8', 4);
247
- charsets[234] = new Collation(234, 'UTF8MB4_CZECH_CI', 'utf8', 4);
248
- charsets[235] = new Collation(235, 'UTF8MB4_DANISH_CI', 'utf8', 4);
249
- charsets[236] = new Collation(236, 'UTF8MB4_LITHUANIAN_CI', 'utf8', 4);
250
- charsets[237] = new Collation(237, 'UTF8MB4_SLOVAK_CI', 'utf8', 4);
251
- charsets[238] = new Collation(238, 'UTF8MB4_SPANISH2_CI', 'utf8', 4);
252
- charsets[239] = new Collation(239, 'UTF8MB4_ROMAN_CI', 'utf8', 4);
253
- charsets[240] = new Collation(240, 'UTF8MB4_PERSIAN_CI', 'utf8', 4);
254
- charsets[241] = new Collation(241, 'UTF8MB4_ESPERANTO_CI', 'utf8', 4);
255
- charsets[242] = new Collation(242, 'UTF8MB4_HUNGARIAN_CI', 'utf8', 4);
256
- charsets[243] = new Collation(243, 'UTF8MB4_SINHALA_CI', 'utf8', 4);
257
- charsets[244] = new Collation(244, 'UTF8MB4_GERMAN2_CI', 'utf8', 4);
258
- charsets[245] = new Collation(245, 'UTF8MB4_CROATIAN_MYSQL561_CI', 'utf8', 4);
259
- charsets[246] = new Collation(246, 'UTF8MB4_UNICODE_520_CI', 'utf8', 4);
260
- charsets[247] = new Collation(247, 'UTF8MB4_VIETNAMESE_CI', 'utf8', 4);
261
- charsets[248] = new Collation(248, 'GB18030_CHINESE_CI', 'gb18030', 4);
262
- charsets[249] = new Collation(249, 'GB18030_BIN', 'gb18030', 4);
263
- charsets[250] = new Collation(250, 'GB18030_UNICODE_520_CI', 'gb18030', 4);
264
- charsets[255] = new Collation(255, 'UTF8MB4_0900_AI_CI', 'utf8', 4);
265
- charsets[256] = new Collation(256, 'UTF8MB4_DE_PB_0900_AI_CI', 'utf8', 4);
266
- charsets[257] = new Collation(257, 'UTF8MB4_IS_0900_AI_CI', 'utf8', 4);
267
- charsets[258] = new Collation(258, 'UTF8MB4_LV_0900_AI_CI', 'utf8', 4);
268
- charsets[259] = new Collation(259, 'UTF8MB4_RO_0900_AI_CI', 'utf8', 4);
269
- charsets[260] = new Collation(260, 'UTF8MB4_SL_0900_AI_CI', 'utf8', 4);
270
- charsets[261] = new Collation(261, 'UTF8MB4_PL_0900_AI_CI', 'utf8', 4);
271
- charsets[262] = new Collation(262, 'UTF8MB4_ET_0900_AI_CI', 'utf8', 4);
272
- charsets[263] = new Collation(263, 'UTF8MB4_ES_0900_AI_CI', 'utf8', 4);
273
- charsets[264] = new Collation(264, 'UTF8MB4_SV_0900_AI_CI', 'utf8', 4);
274
- charsets[265] = new Collation(265, 'UTF8MB4_TR_0900_AI_CI', 'utf8', 4);
275
- charsets[266] = new Collation(266, 'UTF8MB4_CS_0900_AI_CI', 'utf8', 4);
276
- charsets[267] = new Collation(267, 'UTF8MB4_DA_0900_AI_CI', 'utf8', 4);
277
- charsets[268] = new Collation(268, 'UTF8MB4_LT_0900_AI_CI', 'utf8', 4);
278
- charsets[269] = new Collation(269, 'UTF8MB4_SK_0900_AI_CI', 'utf8', 4);
279
- charsets[270] = new Collation(270, 'UTF8MB4_ES_TRAD_0900_AI_CI', 'utf8', 4);
280
- charsets[271] = new Collation(271, 'UTF8MB4_LA_0900_AI_CI', 'utf8', 4);
281
- charsets[273] = new Collation(273, 'UTF8MB4_EO_0900_AI_CI', 'utf8', 4);
282
- charsets[274] = new Collation(274, 'UTF8MB4_HU_0900_AI_CI', 'utf8', 4);
283
- charsets[275] = new Collation(275, 'UTF8MB4_HR_0900_AI_CI', 'utf8', 4);
284
- charsets[277] = new Collation(277, 'UTF8MB4_VI_0900_AI_CI', 'utf8', 4);
285
- charsets[278] = new Collation(278, 'UTF8MB4_0900_AS_CS', 'utf8', 4);
286
- charsets[279] = new Collation(279, 'UTF8MB4_DE_PB_0900_AS_CS', 'utf8', 4);
287
- charsets[280] = new Collation(280, 'UTF8MB4_IS_0900_AS_CS', 'utf8', 4);
288
- charsets[281] = new Collation(281, 'UTF8MB4_LV_0900_AS_CS', 'utf8', 4);
289
- charsets[282] = new Collation(282, 'UTF8MB4_RO_0900_AS_CS', 'utf8', 4);
290
- charsets[283] = new Collation(283, 'UTF8MB4_SL_0900_AS_CS', 'utf8', 4);
291
- charsets[284] = new Collation(284, 'UTF8MB4_PL_0900_AS_CS', 'utf8', 4);
292
- charsets[285] = new Collation(285, 'UTF8MB4_ET_0900_AS_CS', 'utf8', 4);
293
- charsets[286] = new Collation(286, 'UTF8MB4_ES_0900_AS_CS', 'utf8', 4);
294
- charsets[287] = new Collation(287, 'UTF8MB4_SV_0900_AS_CS', 'utf8', 4);
295
- charsets[288] = new Collation(288, 'UTF8MB4_TR_0900_AS_CS', 'utf8', 4);
296
- charsets[289] = new Collation(289, 'UTF8MB4_CS_0900_AS_CS', 'utf8', 4);
297
- charsets[290] = new Collation(290, 'UTF8MB4_DA_0900_AS_CS', 'utf8', 4);
298
- charsets[291] = new Collation(291, 'UTF8MB4_LT_0900_AS_CS', 'utf8', 4);
299
- charsets[292] = new Collation(292, 'UTF8MB4_SK_0900_AS_CS', 'utf8', 4);
300
- charsets[293] = new Collation(293, 'UTF8MB4_ES_TRAD_0900_AS_CS', 'utf8', 4);
301
- charsets[294] = new Collation(294, 'UTF8MB4_LA_0900_AS_CS', 'utf8', 4);
302
- charsets[296] = new Collation(296, 'UTF8MB4_EO_0900_AS_CS', 'utf8', 4);
303
- charsets[297] = new Collation(297, 'UTF8MB4_HU_0900_AS_CS', 'utf8', 4);
304
- charsets[298] = new Collation(298, 'UTF8MB4_HR_0900_AS_CS', 'utf8', 4);
305
- charsets[300] = new Collation(300, 'UTF8MB4_VI_0900_AS_CS', 'utf8', 4);
306
- charsets[303] = new Collation(303, 'UTF8MB4_JA_0900_AS_CS', 'utf8', 4);
307
- charsets[304] = new Collation(304, 'UTF8MB4_JA_0900_AS_CS_KS', 'utf8', 4);
308
- charsets[305] = new Collation(305, 'UTF8MB4_0900_AS_CI', 'utf8', 4);
309
- charsets[306] = new Collation(306, 'UTF8MB4_RU_0900_AI_CI', 'utf8', 4);
310
- charsets[307] = new Collation(307, 'UTF8MB4_RU_0900_AS_CS', 'utf8', 4);
311
- charsets[308] = new Collation(308, 'UTF8MB4_ZH_0900_AS_CS', 'utf8', 4);
312
- charsets[309] = new Collation(309, 'UTF8MB4_0900_BIN', 'utf8', 4);
313
- charsets[576] = new Collation(576, 'UTF8_CROATIAN_CI', 'utf8', 3);
314
- charsets[577] = new Collation(577, 'UTF8_MYANMAR_CI', 'utf8', 3);
315
- charsets[578] = new Collation(578, 'UTF8_THAI_520_W2', 'utf8', 3);
316
- charsets[608] = new Collation(608, 'UTF8MB4_CROATIAN_CI', 'utf8', 4);
317
- charsets[609] = new Collation(609, 'UTF8MB4_MYANMAR_CI', 'utf8', 4);
318
- charsets[610] = new Collation(610, 'UTF8MB4_THAI_520_W2', 'utf8', 4);
319
- charsets[640] = new Collation(640, 'UCS2_CROATIAN_CI', 'ucs2', 2);
320
- charsets[641] = new Collation(641, 'UCS2_MYANMAR_CI', 'ucs2', 2);
321
- charsets[642] = new Collation(642, 'UCS2_THAI_520_W2', 'ucs2', 2);
322
- charsets[672] = new Collation(672, 'UTF16_CROATIAN_CI', 'utf16', 4);
323
- charsets[673] = new Collation(673, 'UTF16_MYANMAR_CI', 'utf16', 4);
324
- charsets[674] = new Collation(674, 'UTF16_THAI_520_W2', 'utf16', 4);
325
- charsets[736] = new Collation(736, 'UTF32_CROATIAN_CI', 'utf32', 4);
326
- charsets[737] = new Collation(737, 'UTF32_MYANMAR_CI', 'utf32', 4);
327
- charsets[738] = new Collation(738, 'UTF32_THAI_520_W2', 'utf32', 4);
328
- charsets[1025] = new Collation(1025, 'BIG5_CHINESE_NOPAD_CI', 'big5', 2);
329
- charsets[1027] = new Collation(1027, 'DEC8_SWEDISH_NOPAD_CI', 'dec8', 1);
330
- charsets[1028] = new Collation(1028, 'CP850_GENERAL_NOPAD_CI', 'cp850', 1);
331
- charsets[1030] = new Collation(1030, 'HP8_ENGLISH_NOPAD_CI', 'hp8', 1);
332
- charsets[1031] = new Collation(1031, 'KOI8R_GENERAL_NOPAD_CI', 'koi8r', 1);
333
- charsets[1032] = new Collation(1032, 'LATIN1_SWEDISH_NOPAD_CI', 'latin1', 1);
334
- charsets[1033] = new Collation(1033, 'LATIN2_GENERAL_NOPAD_CI', 'latin2', 1);
335
- charsets[1034] = new Collation(1034, 'SWE7_SWEDISH_NOPAD_CI', 'swe7', 1);
336
- charsets[1035] = new Collation(1035, 'ASCII_GENERAL_NOPAD_CI', 'ascii', 1);
337
- charsets[1036] = new Collation(1036, 'UJIS_JAPANESE_NOPAD_CI', 'ujis', 3);
338
- charsets[1037] = new Collation(1037, 'SJIS_JAPANESE_NOPAD_CI', 'sjis', 2);
339
- charsets[1040] = new Collation(1040, 'HEBREW_GENERAL_NOPAD_CI', 'hebrew', 1);
340
- charsets[1042] = new Collation(1042, 'TIS620_THAI_NOPAD_CI', 'tis620', 1);
341
- charsets[1043] = new Collation(1043, 'EUCKR_KOREAN_NOPAD_CI', 'euckr', 2);
342
- charsets[1046] = new Collation(1046, 'KOI8U_GENERAL_NOPAD_CI', 'koi8u', 1);
343
- charsets[1048] = new Collation(1048, 'GB2312_CHINESE_NOPAD_CI', 'gb2312', 2);
344
- charsets[1049] = new Collation(1049, 'GREEK_GENERAL_NOPAD_CI', 'greek', 1);
345
- charsets[1050] = new Collation(1050, 'CP1250_GENERAL_NOPAD_CI', 'cp1250', 1);
346
- charsets[1052] = new Collation(1052, 'GBK_CHINESE_NOPAD_CI', 'gbk', 2);
347
- charsets[1054] = new Collation(1054, 'LATIN5_TURKISH_NOPAD_CI', 'latin5', 1);
348
- charsets[1056] = new Collation(1056, 'ARMSCII8_GENERAL_NOPAD_CI', 'armscii8', 1);
349
- charsets[1057] = new Collation(1057, 'UTF8_GENERAL_NOPAD_CI', 'utf8', 3);
350
- charsets[1059] = new Collation(1059, 'UCS2_GENERAL_NOPAD_CI', 'ucs2', 2);
351
- charsets[1060] = new Collation(1060, 'CP866_GENERAL_NOPAD_CI', 'cp866', 1);
352
- charsets[1061] = new Collation(1061, 'KEYBCS2_GENERAL_NOPAD_CI', 'keybcs2', 1);
353
- charsets[1062] = new Collation(1062, 'MACCE_GENERAL_NOPAD_CI', 'macce', 1);
354
- charsets[1063] = new Collation(1063, 'MACROMAN_GENERAL_NOPAD_CI', 'macroman', 1);
355
- charsets[1064] = new Collation(1064, 'CP852_GENERAL_NOPAD_CI', 'cp852', 1);
356
- charsets[1065] = new Collation(1065, 'LATIN7_GENERAL_NOPAD_CI', 'latin7', 1);
357
- charsets[1067] = new Collation(1067, 'MACCE_NOPAD_BIN', 'macce', 1);
358
- charsets[1069] = new Collation(1069, 'UTF8MB4_GENERAL_NOPAD_CI', 'utf8', 4);
359
- charsets[1070] = new Collation(1070, 'UTF8MB4_NOPAD_BIN', 'utf8', 4);
360
- charsets[1071] = new Collation(1071, 'LATIN1_NOPAD_BIN', 'latin1', 1);
361
- charsets[1074] = new Collation(1074, 'CP1251_NOPAD_BIN', 'cp1251', 1);
362
- charsets[1075] = new Collation(1075, 'CP1251_GENERAL_NOPAD_CI', 'cp1251', 1);
363
- charsets[1077] = new Collation(1077, 'MACROMAN_NOPAD_BIN', 'macroman', 1);
364
- charsets[1078] = new Collation(1078, 'UTF16_GENERAL_NOPAD_CI', 'utf16', 4);
365
- charsets[1079] = new Collation(1079, 'UTF16_NOPAD_BIN', 'utf16', 4);
366
- charsets[1080] = new Collation(1080, 'UTF16LE_GENERAL_NOPAD_CI', 'utf16le', 4);
367
- charsets[1081] = new Collation(1081, 'CP1256_GENERAL_NOPAD_CI', 'cp1256', 1);
368
- charsets[1082] = new Collation(1082, 'CP1257_NOPAD_BIN', 'cp1257', 1);
369
- charsets[1083] = new Collation(1083, 'CP1257_GENERAL_NOPAD_CI', 'cp1257', 1);
370
- charsets[1084] = new Collation(1084, 'UTF32_GENERAL_NOPAD_CI', 'utf32', 4);
371
- charsets[1085] = new Collation(1085, 'UTF32_NOPAD_BIN', 'utf32', 4);
372
- charsets[1086] = new Collation(1086, 'UTF16LE_NOPAD_BIN', 'utf16le', 4);
373
- charsets[1088] = new Collation(1088, 'ARMSCII8_NOPAD_BIN', 'armscii8', 1);
374
- charsets[1089] = new Collation(1089, 'ASCII_NOPAD_BIN', 'ascii', 1);
375
- charsets[1090] = new Collation(1090, 'CP1250_NOPAD_BIN', 'cp1250', 1);
376
- charsets[1091] = new Collation(1091, 'CP1256_NOPAD_BIN', 'cp1256', 1);
377
- charsets[1092] = new Collation(1092, 'CP866_NOPAD_BIN', 'cp866', 1);
378
- charsets[1093] = new Collation(1093, 'DEC8_NOPAD_BIN', 'dec8', 1);
379
- charsets[1094] = new Collation(1094, 'GREEK_NOPAD_BIN', 'greek', 1);
380
- charsets[1095] = new Collation(1095, 'HEBREW_NOPAD_BIN', 'hebrew', 1);
381
- charsets[1096] = new Collation(1096, 'HP8_NOPAD_BIN', 'hp8', 1);
382
- charsets[1097] = new Collation(1097, 'KEYBCS2_NOPAD_BIN', 'keybcs2', 1);
383
- charsets[1098] = new Collation(1098, 'KOI8R_NOPAD_BIN', 'koi8r', 1);
384
- charsets[1099] = new Collation(1099, 'KOI8U_NOPAD_BIN', 'koi8u', 1);
385
- charsets[1101] = new Collation(1101, 'LATIN2_NOPAD_BIN', 'latin2', 1);
386
- charsets[1102] = new Collation(1102, 'LATIN5_NOPAD_BIN', 'latin5', 1);
387
- charsets[1103] = new Collation(1103, 'LATIN7_NOPAD_BIN', 'latin7', 1);
388
- charsets[1104] = new Collation(1104, 'CP850_NOPAD_BIN', 'cp850', 1);
389
- charsets[1105] = new Collation(1105, 'CP852_NOPAD_BIN', 'cp852', 1);
390
- charsets[1106] = new Collation(1106, 'SWE7_NOPAD_BIN', 'swe7', 1);
391
- charsets[1107] = new Collation(1107, 'UTF8_NOPAD_BIN', 'utf8', 3);
392
- charsets[1108] = new Collation(1108, 'BIG5_NOPAD_BIN', 'big5', 2);
393
- charsets[1109] = new Collation(1109, 'EUCKR_NOPAD_BIN', 'euckr', 2);
394
- charsets[1110] = new Collation(1110, 'GB2312_NOPAD_BIN', 'gb2312', 2);
395
- charsets[1111] = new Collation(1111, 'GBK_NOPAD_BIN', 'gbk', 2);
396
- charsets[1112] = new Collation(1112, 'SJIS_NOPAD_BIN', 'sjis', 2);
397
- charsets[1113] = new Collation(1113, 'TIS620_NOPAD_BIN', 'tis620', 1);
398
- charsets[1114] = new Collation(1114, 'UCS2_NOPAD_BIN', 'ucs2', 2);
399
- charsets[1115] = new Collation(1115, 'UJIS_NOPAD_BIN', 'ujis', 3);
400
- charsets[1116] = new Collation(1116, 'GEOSTD8_GENERAL_NOPAD_CI', 'geostd8', 1);
401
- charsets[1117] = new Collation(1117, 'GEOSTD8_NOPAD_BIN', 'geostd8', 1);
402
- charsets[1119] = new Collation(1119, 'CP932_JAPANESE_NOPAD_CI', 'cp932', 2);
403
- charsets[1120] = new Collation(1120, 'CP932_NOPAD_BIN', 'cp932', 2);
404
- charsets[1121] = new Collation(1121, 'EUCJPMS_JAPANESE_NOPAD_CI', 'eucjpms', 3);
405
- charsets[1122] = new Collation(1122, 'EUCJPMS_NOPAD_BIN', 'eucjpms', 3);
406
- charsets[1125] = new Collation(1125, 'UTF16_UNICODE_NOPAD_CI', 'utf16', 4);
407
- charsets[1147] = new Collation(1147, 'UTF16_UNICODE_520_NOPAD_CI', 'utf16', 4);
408
- charsets[1152] = new Collation(1152, 'UCS2_UNICODE_NOPAD_CI', 'ucs2', 2);
409
- charsets[1174] = new Collation(1174, 'UCS2_UNICODE_520_NOPAD_CI', 'ucs2', 2);
410
- charsets[1184] = new Collation(1184, 'UTF32_UNICODE_NOPAD_CI', 'utf32', 4);
411
- charsets[1206] = new Collation(1206, 'UTF32_UNICODE_520_NOPAD_CI', 'utf32', 4);
412
- charsets[1216] = new Collation(1216, 'UTF8_UNICODE_NOPAD_CI', 'utf8', 3);
413
- charsets[1238] = new Collation(1238, 'UTF8_UNICODE_520_NOPAD_CI', 'utf8', 3);
414
- charsets[1248] = new Collation(1248, 'UTF8MB4_UNICODE_NOPAD_CI', 'utf8', 4);
415
- charsets[1270] = new Collation(1270, 'UTF8MB4_UNICODE_520_NOPAD_CI', 'utf8', 4);
416
-
417
- for (let i = 0; i < charsets.length; i++) {
418
- let collation = charsets[i];
419
- if (collation) {
420
- Collation.prototype[collation.name] = collation;
421
- }
422
- }
423
-
424
- /**
425
- * Map charset to default collation
426
- *
427
- * created with query:
428
- * SELECT CONCAT(' defaultCharsets[\'', co.character_set_name , '\'] = charsets[', CAST(co.ID as char), '];')
429
- * FROM information_schema.COLLATIONS co WHERE co.IS_DEFAULT = 'Yes' ORDER BY co.ID ASC;
430
- */
431
- defaultCharsets['big5'] = charsets[1];
432
- defaultCharsets['dec8'] = charsets[3];
433
- defaultCharsets['cp850'] = charsets[4];
434
- defaultCharsets['hp8'] = charsets[6];
435
- defaultCharsets['koi8r'] = charsets[7];
436
- defaultCharsets['latin1'] = charsets[8];
437
- defaultCharsets['latin2'] = charsets[9];
438
- defaultCharsets['swe7'] = charsets[10];
439
- defaultCharsets['ascii'] = charsets[11];
440
- defaultCharsets['ujis'] = charsets[12];
441
- defaultCharsets['sjis'] = charsets[13];
442
- defaultCharsets['hebrew'] = charsets[16];
443
- defaultCharsets['tis620'] = charsets[18];
444
- defaultCharsets['euckr'] = charsets[19];
445
- defaultCharsets['koi8u'] = charsets[22];
446
- defaultCharsets['gb2312'] = charsets[24];
447
- defaultCharsets['greek'] = charsets[25];
448
- defaultCharsets['cp1250'] = charsets[26];
449
- defaultCharsets['gbk'] = charsets[28];
450
- defaultCharsets['latin5'] = charsets[30];
451
- defaultCharsets['armscii8'] = charsets[32];
452
- defaultCharsets['utf8'] = charsets[33];
453
- defaultCharsets['ucs2'] = charsets[35];
454
- defaultCharsets['cp866'] = charsets[36];
455
- defaultCharsets['keybcs2'] = charsets[37];
456
- defaultCharsets['macce'] = charsets[38];
457
- defaultCharsets['macroman'] = charsets[39];
458
- defaultCharsets['cp852'] = charsets[40];
459
- defaultCharsets['latin7'] = charsets[41];
460
- defaultCharsets['utf8mb4'] = charsets[45];
461
- defaultCharsets['cp1251'] = charsets[51];
462
- defaultCharsets['utf16'] = charsets[54];
463
- defaultCharsets['utf16le'] = charsets[56];
464
- defaultCharsets['cp1256'] = charsets[57];
465
- defaultCharsets['cp1257'] = charsets[59];
466
- defaultCharsets['utf32'] = charsets[60];
467
- defaultCharsets['binary'] = charsets[63];
468
- defaultCharsets['geostd8'] = charsets[92];
469
- defaultCharsets['cp932'] = charsets[95];
470
- defaultCharsets['eucjpms'] = charsets[97];
471
- defaultCharsets['gb18030'] = charsets[248];
472
-
473
- module.exports = Collation;
@@ -1,13 +0,0 @@
1
- 'use strict';
2
-
3
- const Status = {
4
- NOT_CONNECTED: 1,
5
- CONNECTING: 2,
6
- AUTHENTICATING: 3,
7
- INIT_CMD: 4,
8
- CONNECTED: 5,
9
- CLOSING: 6,
10
- CLOSED: 7
11
- };
12
-
13
- module.exports.Status = Status;