Update bot
Took 2 hours 17 minutes
This commit is contained in:
313
node_modules/mysql2/lib/constants/charset_encodings.js
generated
vendored
Normal file
313
node_modules/mysql2/lib/constants/charset_encodings.js
generated
vendored
Normal file
@ -0,0 +1,313 @@
|
||||
'use strict';
|
||||
|
||||
// see tools/generate-charset-mapping.js
|
||||
// basicalliy result of "SHOW COLLATION" query
|
||||
|
||||
module.exports = [
|
||||
'utf8',
|
||||
'big5',
|
||||
'latin2',
|
||||
'dec8',
|
||||
'cp850',
|
||||
'latin1',
|
||||
'hp8',
|
||||
'koi8r',
|
||||
'latin1',
|
||||
'latin2',
|
||||
'swe7',
|
||||
'ascii',
|
||||
'eucjp',
|
||||
'sjis',
|
||||
'cp1251',
|
||||
'latin1',
|
||||
'hebrew',
|
||||
'utf8',
|
||||
'tis620',
|
||||
'euckr',
|
||||
'latin7',
|
||||
'latin2',
|
||||
'koi8u',
|
||||
'cp1251',
|
||||
'gb2312',
|
||||
'greek',
|
||||
'cp1250',
|
||||
'latin2',
|
||||
'gbk',
|
||||
'cp1257',
|
||||
'latin5',
|
||||
'latin1',
|
||||
'armscii8',
|
||||
'cesu8',
|
||||
'cp1250',
|
||||
'ucs2',
|
||||
'cp866',
|
||||
'keybcs2',
|
||||
'macintosh',
|
||||
'macroman',
|
||||
'cp852',
|
||||
'latin7',
|
||||
'latin7',
|
||||
'macintosh',
|
||||
'cp1250',
|
||||
'utf8',
|
||||
'utf8',
|
||||
'latin1',
|
||||
'latin1',
|
||||
'latin1',
|
||||
'cp1251',
|
||||
'cp1251',
|
||||
'cp1251',
|
||||
'macroman',
|
||||
'utf16',
|
||||
'utf16',
|
||||
'utf16-le',
|
||||
'cp1256',
|
||||
'cp1257',
|
||||
'cp1257',
|
||||
'utf32',
|
||||
'utf32',
|
||||
'utf16-le',
|
||||
'binary',
|
||||
'armscii8',
|
||||
'ascii',
|
||||
'cp1250',
|
||||
'cp1256',
|
||||
'cp866',
|
||||
'dec8',
|
||||
'greek',
|
||||
'hebrew',
|
||||
'hp8',
|
||||
'keybcs2',
|
||||
'koi8r',
|
||||
'koi8u',
|
||||
'cesu8',
|
||||
'latin2',
|
||||
'latin5',
|
||||
'latin7',
|
||||
'cp850',
|
||||
'cp852',
|
||||
'swe7',
|
||||
'cesu8',
|
||||
'big5',
|
||||
'euckr',
|
||||
'gb2312',
|
||||
'gbk',
|
||||
'sjis',
|
||||
'tis620',
|
||||
'ucs2',
|
||||
'eucjp',
|
||||
'geostd8',
|
||||
'geostd8',
|
||||
'latin1',
|
||||
'cp932',
|
||||
'cp932',
|
||||
'eucjpms',
|
||||
'eucjpms',
|
||||
'cp1250',
|
||||
'utf8',
|
||||
'utf16',
|
||||
'utf16',
|
||||
'utf16',
|
||||
'utf16',
|
||||
'utf16',
|
||||
'utf16',
|
||||
'utf16',
|
||||
'utf16',
|
||||
'utf16',
|
||||
'utf16',
|
||||
'utf16',
|
||||
'utf16',
|
||||
'utf16',
|
||||
'utf16',
|
||||
'utf16',
|
||||
'utf16',
|
||||
'utf16',
|
||||
'utf16',
|
||||
'utf16',
|
||||
'utf16',
|
||||
'utf16',
|
||||
'utf16',
|
||||
'utf16',
|
||||
'utf16',
|
||||
'utf8',
|
||||
'utf8',
|
||||
'utf8',
|
||||
'ucs2',
|
||||
'ucs2',
|
||||
'ucs2',
|
||||
'ucs2',
|
||||
'ucs2',
|
||||
'ucs2',
|
||||
'ucs2',
|
||||
'ucs2',
|
||||
'ucs2',
|
||||
'ucs2',
|
||||
'ucs2',
|
||||
'ucs2',
|
||||
'ucs2',
|
||||
'ucs2',
|
||||
'ucs2',
|
||||
'ucs2',
|
||||
'ucs2',
|
||||
'ucs2',
|
||||
'ucs2',
|
||||
'ucs2',
|
||||
'ucs2',
|
||||
'ucs2',
|
||||
'ucs2',
|
||||
'ucs2',
|
||||
'utf8',
|
||||
'utf8',
|
||||
'utf8',
|
||||
'utf8',
|
||||
'utf8',
|
||||
'utf8',
|
||||
'utf8',
|
||||
'ucs2',
|
||||
'utf32',
|
||||
'utf32',
|
||||
'utf32',
|
||||
'utf32',
|
||||
'utf32',
|
||||
'utf32',
|
||||
'utf32',
|
||||
'utf32',
|
||||
'utf32',
|
||||
'utf32',
|
||||
'utf32',
|
||||
'utf32',
|
||||
'utf32',
|
||||
'utf32',
|
||||
'utf32',
|
||||
'utf32',
|
||||
'utf32',
|
||||
'utf32',
|
||||
'utf32',
|
||||
'utf32',
|
||||
'utf32',
|
||||
'utf32',
|
||||
'utf32',
|
||||
'utf32',
|
||||
'utf8',
|
||||
'utf8',
|
||||
'utf8',
|
||||
'utf8',
|
||||
'utf8',
|
||||
'utf8',
|
||||
'utf8',
|
||||
'utf8',
|
||||
'cesu8',
|
||||
'cesu8',
|
||||
'cesu8',
|
||||
'cesu8',
|
||||
'cesu8',
|
||||
'cesu8',
|
||||
'cesu8',
|
||||
'cesu8',
|
||||
'cesu8',
|
||||
'cesu8',
|
||||
'cesu8',
|
||||
'cesu8',
|
||||
'cesu8',
|
||||
'cesu8',
|
||||
'cesu8',
|
||||
'cesu8',
|
||||
'cesu8',
|
||||
'cesu8',
|
||||
'cesu8',
|
||||
'cesu8',
|
||||
'cesu8',
|
||||
'cesu8',
|
||||
'cesu8',
|
||||
'cesu8',
|
||||
'utf8',
|
||||
'utf8',
|
||||
'utf8',
|
||||
'utf8',
|
||||
'utf8',
|
||||
'utf8',
|
||||
'utf8',
|
||||
'cesu8',
|
||||
'utf8',
|
||||
'utf8',
|
||||
'utf8',
|
||||
'utf8',
|
||||
'utf8',
|
||||
'utf8',
|
||||
'utf8',
|
||||
'utf8',
|
||||
'utf8',
|
||||
'utf8',
|
||||
'utf8',
|
||||
'utf8',
|
||||
'utf8',
|
||||
'utf8',
|
||||
'utf8',
|
||||
'utf8',
|
||||
'utf8',
|
||||
'utf8',
|
||||
'utf8',
|
||||
'utf8',
|
||||
'utf8',
|
||||
'utf8',
|
||||
'utf8',
|
||||
'utf8',
|
||||
'gb18030',
|
||||
'gb18030',
|
||||
'gb18030',
|
||||
'utf8',
|
||||
'utf8',
|
||||
'utf8',
|
||||
'utf8',
|
||||
'utf8',
|
||||
'utf8',
|
||||
'utf8',
|
||||
'utf8',
|
||||
'utf8',
|
||||
'utf8',
|
||||
'utf8',
|
||||
'utf8',
|
||||
'utf8',
|
||||
'utf8',
|
||||
'utf8',
|
||||
'utf8',
|
||||
'utf8',
|
||||
'utf8',
|
||||
'utf8',
|
||||
'utf8',
|
||||
'utf8',
|
||||
'utf8',
|
||||
'utf8',
|
||||
'utf8',
|
||||
'utf8',
|
||||
'utf8',
|
||||
'utf8',
|
||||
'utf8',
|
||||
'utf8',
|
||||
'utf8',
|
||||
'utf8',
|
||||
'utf8',
|
||||
'utf8',
|
||||
'utf8',
|
||||
'utf8',
|
||||
'utf8',
|
||||
'utf8',
|
||||
'utf8',
|
||||
'utf8',
|
||||
'utf8',
|
||||
'utf8',
|
||||
'utf8',
|
||||
'utf8',
|
||||
'utf8',
|
||||
'utf8',
|
||||
'utf8',
|
||||
'utf8',
|
||||
'utf8',
|
||||
'utf8',
|
||||
'utf8',
|
||||
'utf8',
|
||||
'utf8',
|
||||
'utf8',
|
||||
'utf8',
|
||||
'utf8'
|
||||
];
|
289
node_modules/mysql2/lib/constants/charsets.js
generated
vendored
Normal file
289
node_modules/mysql2/lib/constants/charsets.js
generated
vendored
Normal file
@ -0,0 +1,289 @@
|
||||
'use strict';
|
||||
|
||||
exports.BIG5_CHINESE_CI = 1;
|
||||
exports.LATIN2_CZECH_CS = 2;
|
||||
exports.DEC8_SWEDISH_CI = 3;
|
||||
exports.CP850_GENERAL_CI = 4;
|
||||
exports.LATIN1_GERMAN1_CI = 5;
|
||||
exports.HP8_ENGLISH_CI = 6;
|
||||
exports.KOI8R_GENERAL_CI = 7;
|
||||
exports.LATIN1_SWEDISH_CI = 8;
|
||||
exports.LATIN2_GENERAL_CI = 9;
|
||||
exports.SWE7_SWEDISH_CI = 10;
|
||||
exports.ASCII_GENERAL_CI = 11;
|
||||
exports.UJIS_JAPANESE_CI = 12;
|
||||
exports.SJIS_JAPANESE_CI = 13;
|
||||
exports.CP1251_BULGARIAN_CI = 14;
|
||||
exports.LATIN1_DANISH_CI = 15;
|
||||
exports.HEBREW_GENERAL_CI = 16;
|
||||
exports.TIS620_THAI_CI = 18;
|
||||
exports.EUCKR_KOREAN_CI = 19;
|
||||
exports.LATIN7_ESTONIAN_CS = 20;
|
||||
exports.LATIN2_HUNGARIAN_CI = 21;
|
||||
exports.KOI8U_GENERAL_CI = 22;
|
||||
exports.CP1251_UKRAINIAN_CI = 23;
|
||||
exports.GB2312_CHINESE_CI = 24;
|
||||
exports.GREEK_GENERAL_CI = 25;
|
||||
exports.CP1250_GENERAL_CI = 26;
|
||||
exports.LATIN2_CROATIAN_CI = 27;
|
||||
exports.GBK_CHINESE_CI = 28;
|
||||
exports.CP1257_LITHUANIAN_CI = 29;
|
||||
exports.LATIN5_TURKISH_CI = 30;
|
||||
exports.LATIN1_GERMAN2_CI = 31;
|
||||
exports.ARMSCII8_GENERAL_CI = 32;
|
||||
exports.UTF8_GENERAL_CI = 33;
|
||||
exports.CP1250_CZECH_CS = 34;
|
||||
exports.UCS2_GENERAL_CI = 35;
|
||||
exports.CP866_GENERAL_CI = 36;
|
||||
exports.KEYBCS2_GENERAL_CI = 37;
|
||||
exports.MACCE_GENERAL_CI = 38;
|
||||
exports.MACROMAN_GENERAL_CI = 39;
|
||||
exports.CP852_GENERAL_CI = 40;
|
||||
exports.LATIN7_GENERAL_CI = 41;
|
||||
exports.LATIN7_GENERAL_CS = 42;
|
||||
exports.MACCE_BIN = 43;
|
||||
exports.CP1250_CROATIAN_CI = 44;
|
||||
exports.UTF8MB4_GENERAL_CI = 45;
|
||||
exports.UTF8MB4_BIN = 46;
|
||||
exports.LATIN1_BIN = 47;
|
||||
exports.LATIN1_GENERAL_CI = 48;
|
||||
exports.LATIN1_GENERAL_CS = 49;
|
||||
exports.CP1251_BIN = 50;
|
||||
exports.CP1251_GENERAL_CI = 51;
|
||||
exports.CP1251_GENERAL_CS = 52;
|
||||
exports.MACROMAN_BIN = 53;
|
||||
exports.UTF16_GENERAL_CI = 54;
|
||||
exports.UTF16_BIN = 55;
|
||||
exports.UTF16LE_GENERAL_CI = 56;
|
||||
exports.CP1256_GENERAL_CI = 57;
|
||||
exports.CP1257_BIN = 58;
|
||||
exports.CP1257_GENERAL_CI = 59;
|
||||
exports.UTF32_GENERAL_CI = 60;
|
||||
exports.UTF32_BIN = 61;
|
||||
exports.UTF16LE_BIN = 62;
|
||||
exports.BINARY = 63;
|
||||
exports.ARMSCII8_BIN = 64;
|
||||
exports.ASCII_BIN = 65;
|
||||
exports.CP1250_BIN = 66;
|
||||
exports.CP1256_BIN = 67;
|
||||
exports.CP866_BIN = 68;
|
||||
exports.DEC8_BIN = 69;
|
||||
exports.GREEK_BIN = 70;
|
||||
exports.HEBREW_BIN = 71;
|
||||
exports.HP8_BIN = 72;
|
||||
exports.KEYBCS2_BIN = 73;
|
||||
exports.KOI8R_BIN = 74;
|
||||
exports.KOI8U_BIN = 75;
|
||||
exports.UTF8_TOLOWER_CI = 76;
|
||||
exports.LATIN2_BIN = 77;
|
||||
exports.LATIN5_BIN = 78;
|
||||
exports.LATIN7_BIN = 79;
|
||||
exports.CP850_BIN = 80;
|
||||
exports.CP852_BIN = 81;
|
||||
exports.SWE7_BIN = 82;
|
||||
exports.UTF8_BIN = 83;
|
||||
exports.BIG5_BIN = 84;
|
||||
exports.EUCKR_BIN = 85;
|
||||
exports.GB2312_BIN = 86;
|
||||
exports.GBK_BIN = 87;
|
||||
exports.SJIS_BIN = 88;
|
||||
exports.TIS620_BIN = 89;
|
||||
exports.UCS2_BIN = 90;
|
||||
exports.UJIS_BIN = 91;
|
||||
exports.GEOSTD8_GENERAL_CI = 92;
|
||||
exports.GEOSTD8_BIN = 93;
|
||||
exports.LATIN1_SPANISH_CI = 94;
|
||||
exports.CP932_JAPANESE_CI = 95;
|
||||
exports.CP932_BIN = 96;
|
||||
exports.EUCJPMS_JAPANESE_CI = 97;
|
||||
exports.EUCJPMS_BIN = 98;
|
||||
exports.CP1250_POLISH_CI = 99;
|
||||
exports.UTF16_UNICODE_CI = 101;
|
||||
exports.UTF16_ICELANDIC_CI = 102;
|
||||
exports.UTF16_LATVIAN_CI = 103;
|
||||
exports.UTF16_ROMANIAN_CI = 104;
|
||||
exports.UTF16_SLOVENIAN_CI = 105;
|
||||
exports.UTF16_POLISH_CI = 106;
|
||||
exports.UTF16_ESTONIAN_CI = 107;
|
||||
exports.UTF16_SPANISH_CI = 108;
|
||||
exports.UTF16_SWEDISH_CI = 109;
|
||||
exports.UTF16_TURKISH_CI = 110;
|
||||
exports.UTF16_CZECH_CI = 111;
|
||||
exports.UTF16_DANISH_CI = 112;
|
||||
exports.UTF16_LITHUANIAN_CI = 113;
|
||||
exports.UTF16_SLOVAK_CI = 114;
|
||||
exports.UTF16_SPANISH2_CI = 115;
|
||||
exports.UTF16_ROMAN_CI = 116;
|
||||
exports.UTF16_PERSIAN_CI = 117;
|
||||
exports.UTF16_ESPERANTO_CI = 118;
|
||||
exports.UTF16_HUNGARIAN_CI = 119;
|
||||
exports.UTF16_SINHALA_CI = 120;
|
||||
exports.UTF16_GERMAN2_CI = 121;
|
||||
exports.UTF16_CROATIAN_CI = 122;
|
||||
exports.UTF16_UNICODE_520_CI = 123;
|
||||
exports.UTF16_VIETNAMESE_CI = 124;
|
||||
exports.UCS2_UNICODE_CI = 128;
|
||||
exports.UCS2_ICELANDIC_CI = 129;
|
||||
exports.UCS2_LATVIAN_CI = 130;
|
||||
exports.UCS2_ROMANIAN_CI = 131;
|
||||
exports.UCS2_SLOVENIAN_CI = 132;
|
||||
exports.UCS2_POLISH_CI = 133;
|
||||
exports.UCS2_ESTONIAN_CI = 134;
|
||||
exports.UCS2_SPANISH_CI = 135;
|
||||
exports.UCS2_SWEDISH_CI = 136;
|
||||
exports.UCS2_TURKISH_CI = 137;
|
||||
exports.UCS2_CZECH_CI = 138;
|
||||
exports.UCS2_DANISH_CI = 139;
|
||||
exports.UCS2_LITHUANIAN_CI = 140;
|
||||
exports.UCS2_SLOVAK_CI = 141;
|
||||
exports.UCS2_SPANISH2_CI = 142;
|
||||
exports.UCS2_ROMAN_CI = 143;
|
||||
exports.UCS2_PERSIAN_CI = 144;
|
||||
exports.UCS2_ESPERANTO_CI = 145;
|
||||
exports.UCS2_HUNGARIAN_CI = 146;
|
||||
exports.UCS2_SINHALA_CI = 147;
|
||||
exports.UCS2_GERMAN2_CI = 148;
|
||||
exports.UCS2_CROATIAN_CI = 149;
|
||||
exports.UCS2_UNICODE_520_CI = 150;
|
||||
exports.UCS2_VIETNAMESE_CI = 151;
|
||||
exports.UCS2_GENERAL_MYSQL500_CI = 159;
|
||||
exports.UTF32_UNICODE_CI = 160;
|
||||
exports.UTF32_ICELANDIC_CI = 161;
|
||||
exports.UTF32_LATVIAN_CI = 162;
|
||||
exports.UTF32_ROMANIAN_CI = 163;
|
||||
exports.UTF32_SLOVENIAN_CI = 164;
|
||||
exports.UTF32_POLISH_CI = 165;
|
||||
exports.UTF32_ESTONIAN_CI = 166;
|
||||
exports.UTF32_SPANISH_CI = 167;
|
||||
exports.UTF32_SWEDISH_CI = 168;
|
||||
exports.UTF32_TURKISH_CI = 169;
|
||||
exports.UTF32_CZECH_CI = 170;
|
||||
exports.UTF32_DANISH_CI = 171;
|
||||
exports.UTF32_LITHUANIAN_CI = 172;
|
||||
exports.UTF32_SLOVAK_CI = 173;
|
||||
exports.UTF32_SPANISH2_CI = 174;
|
||||
exports.UTF32_ROMAN_CI = 175;
|
||||
exports.UTF32_PERSIAN_CI = 176;
|
||||
exports.UTF32_ESPERANTO_CI = 177;
|
||||
exports.UTF32_HUNGARIAN_CI = 178;
|
||||
exports.UTF32_SINHALA_CI = 179;
|
||||
exports.UTF32_GERMAN2_CI = 180;
|
||||
exports.UTF32_CROATIAN_CI = 181;
|
||||
exports.UTF32_UNICODE_520_CI = 182;
|
||||
exports.UTF32_VIETNAMESE_CI = 183;
|
||||
exports.UTF8_UNICODE_CI = 192;
|
||||
exports.UTF8_ICELANDIC_CI = 193;
|
||||
exports.UTF8_LATVIAN_CI = 194;
|
||||
exports.UTF8_ROMANIAN_CI = 195;
|
||||
exports.UTF8_SLOVENIAN_CI = 196;
|
||||
exports.UTF8_POLISH_CI = 197;
|
||||
exports.UTF8_ESTONIAN_CI = 198;
|
||||
exports.UTF8_SPANISH_CI = 199;
|
||||
exports.UTF8_SWEDISH_CI = 200;
|
||||
exports.UTF8_TURKISH_CI = 201;
|
||||
exports.UTF8_CZECH_CI = 202;
|
||||
exports.UTF8_DANISH_CI = 203;
|
||||
exports.UTF8_LITHUANIAN_CI = 204;
|
||||
exports.UTF8_SLOVAK_CI = 205;
|
||||
exports.UTF8_SPANISH2_CI = 206;
|
||||
exports.UTF8_ROMAN_CI = 207;
|
||||
exports.UTF8_PERSIAN_CI = 208;
|
||||
exports.UTF8_ESPERANTO_CI = 209;
|
||||
exports.UTF8_HUNGARIAN_CI = 210;
|
||||
exports.UTF8_SINHALA_CI = 211;
|
||||
exports.UTF8_GERMAN2_CI = 212;
|
||||
exports.UTF8_CROATIAN_CI = 213;
|
||||
exports.UTF8_UNICODE_520_CI = 214;
|
||||
exports.UTF8_VIETNAMESE_CI = 215;
|
||||
exports.UTF8_GENERAL_MYSQL500_CI = 223;
|
||||
exports.UTF8MB4_UNICODE_CI = 224;
|
||||
exports.UTF8MB4_ICELANDIC_CI = 225;
|
||||
exports.UTF8MB4_LATVIAN_CI = 226;
|
||||
exports.UTF8MB4_ROMANIAN_CI = 227;
|
||||
exports.UTF8MB4_SLOVENIAN_CI = 228;
|
||||
exports.UTF8MB4_POLISH_CI = 229;
|
||||
exports.UTF8MB4_ESTONIAN_CI = 230;
|
||||
exports.UTF8MB4_SPANISH_CI = 231;
|
||||
exports.UTF8MB4_SWEDISH_CI = 232;
|
||||
exports.UTF8MB4_TURKISH_CI = 233;
|
||||
exports.UTF8MB4_CZECH_CI = 234;
|
||||
exports.UTF8MB4_DANISH_CI = 235;
|
||||
exports.UTF8MB4_LITHUANIAN_CI = 236;
|
||||
exports.UTF8MB4_SLOVAK_CI = 237;
|
||||
exports.UTF8MB4_SPANISH2_CI = 238;
|
||||
exports.UTF8MB4_ROMAN_CI = 239;
|
||||
exports.UTF8MB4_PERSIAN_CI = 240;
|
||||
exports.UTF8MB4_ESPERANTO_CI = 241;
|
||||
exports.UTF8MB4_HUNGARIAN_CI = 242;
|
||||
exports.UTF8MB4_SINHALA_CI = 243;
|
||||
exports.UTF8MB4_GERMAN2_CI = 244;
|
||||
exports.UTF8MB4_CROATIAN_CI = 245;
|
||||
exports.UTF8MB4_UNICODE_520_CI = 246;
|
||||
exports.UTF8MB4_VIETNAMESE_CI = 247;
|
||||
exports.GB18030_CHINESE_CI = 248;
|
||||
exports.GB18030_BIN = 249;
|
||||
exports.GB18030_UNICODE_520_CI = 250;
|
||||
exports.UTF8_GENERAL50_CI = 253;
|
||||
exports.UTF8MB4_0900_AI_CI = 255;
|
||||
exports.UTF8MB4_CS_0900_AI_CI = 266;
|
||||
exports.UTF8MB4_DA_0900_AI_CI = 267;
|
||||
exports.UTF8MB4_DE_PB_0900_AI_CI = 256;
|
||||
exports.UTF8MB4_EO_0900_AI_CI = 273;
|
||||
exports.UTF8MB4_ES_0900_AI_CI = 263;
|
||||
exports.UTF8MB4_ES_TRAD_0900_AI_CI = 270;
|
||||
exports.UTF8MB4_ET_0900_AI_CI = 262;
|
||||
exports.UTF8MB4_HR_0900_AI_CI = 275;
|
||||
exports.UTF8MB4_HU_0900_AI_CI = 274;
|
||||
exports.UTF8MB4_IS_0900_AI_CI = 257;
|
||||
exports.UTF8MB4_LA_0900_AI_CI = 271;
|
||||
exports.UTF8MB4_LT_0900_AI_CI = 268;
|
||||
exports.UTF8MB4_LV_0900_AI_CI = 258;
|
||||
exports.UTF8MB4_PL_0900_AI_CI = 261;
|
||||
exports.UTF8MB4_RO_0900_AI_CI = 259;
|
||||
exports.UTF8MB4_SK_0900_AI_CI = 269;
|
||||
exports.UTF8MB4_SL_0900_AI_CI = 260;
|
||||
exports.UTF8MB4_SV_0900_AI_CI = 264;
|
||||
exports.UTF8MB4_TR_0900_AI_CI = 265;
|
||||
exports.UTF8MB4_VI_0900_AI_CI = 277;
|
||||
|
||||
// short aliases
|
||||
exports.BIG5 = exports.BIG5_CHINESE_CI;
|
||||
exports.DEC8 = exports.DEC8_SWEDISH_CI;
|
||||
exports.CP850 = exports.CP850_GENERAL_CI;
|
||||
exports.HP8 = exports.HP8_ENGLISH_CI;
|
||||
exports.KOI8R = exports.KOI8R_GENERAL_CI;
|
||||
exports.LATIN1 = exports.LATIN1_SWEDISH_CI;
|
||||
exports.LATIN2 = exports.LATIN2_GENERAL_CI;
|
||||
exports.SWE7 = exports.SWE7_SWEDISH_CI;
|
||||
exports.ASCII = exports.ASCII_GENERAL_CI;
|
||||
exports.UJIS = exports.UJIS_JAPANESE_CI;
|
||||
exports.SJIS = exports.SJIS_JAPANESE_CI;
|
||||
exports.HEBREW = exports.HEBREW_GENERAL_CI;
|
||||
exports.TIS620 = exports.TIS620_THAI_CI;
|
||||
exports.EUCKR = exports.EUCKR_KOREAN_CI;
|
||||
exports.KOI8U = exports.KOI8U_GENERAL_CI;
|
||||
exports.GB2312 = exports.GB2312_CHINESE_CI;
|
||||
exports.GREEK = exports.GREEK_GENERAL_CI;
|
||||
exports.CP1250 = exports.CP1250_GENERAL_CI;
|
||||
exports.GBK = exports.GBK_CHINESE_CI;
|
||||
exports.LATIN5 = exports.LATIN5_TURKISH_CI;
|
||||
exports.ARMSCII8 = exports.ARMSCII8_GENERAL_CI;
|
||||
exports.UTF8 = exports.UTF8_GENERAL_CI;
|
||||
exports.UCS2 = exports.UCS2_GENERAL_CI;
|
||||
exports.CP866 = exports.CP866_GENERAL_CI;
|
||||
exports.KEYBCS2 = exports.KEYBCS2_GENERAL_CI;
|
||||
exports.MACCE = exports.MACCE_GENERAL_CI;
|
||||
exports.MACROMAN = exports.MACROMAN_GENERAL_CI;
|
||||
exports.CP852 = exports.CP852_GENERAL_CI;
|
||||
exports.LATIN7 = exports.LATIN7_GENERAL_CI;
|
||||
exports.UTF8MB4 = exports.UTF8MB4_GENERAL_CI;
|
||||
exports.CP1251 = exports.CP1251_GENERAL_CI;
|
||||
exports.UTF16 = exports.UTF16_GENERAL_CI;
|
||||
exports.UTF16LE = exports.UTF16LE_GENERAL_CI;
|
||||
exports.CP1256 = exports.CP1256_GENERAL_CI;
|
||||
exports.CP1257 = exports.CP1257_GENERAL_CI;
|
||||
exports.UTF32 = exports.UTF32_GENERAL_CI;
|
||||
exports.CP932 = exports.CP932_JAPANESE_CI;
|
||||
exports.EUCJPMS = exports.EUCJPMS_JAPANESE_CI;
|
||||
exports.GB18030 = exports.GB18030_CHINESE_CI;
|
||||
exports.GEOSTD8 = exports.GEOSTD8_GENERAL_CI;
|
31
node_modules/mysql2/lib/constants/client.js
generated
vendored
Normal file
31
node_modules/mysql2/lib/constants/client.js
generated
vendored
Normal file
@ -0,0 +1,31 @@
|
||||
'use strict';
|
||||
|
||||
// Manually extracted from mysql-5.5.23/include/mysql_com.h
|
||||
exports.LONG_PASSWORD = 0x00000001; /* new more secure passwords */
|
||||
exports.FOUND_ROWS = 0x00000002; /* found instead of affected rows */
|
||||
exports.LONG_FLAG = 0x00000004; /* get all column flags */
|
||||
exports.CONNECT_WITH_DB = 0x00000008; /* one can specify db on connect */
|
||||
exports.NO_SCHEMA = 0x00000010; /* don't allow database.table.column */
|
||||
exports.COMPRESS = 0x00000020; /* can use compression protocol */
|
||||
exports.ODBC = 0x00000040; /* odbc client */
|
||||
exports.LOCAL_FILES = 0x00000080; /* can use LOAD DATA LOCAL */
|
||||
exports.IGNORE_SPACE = 0x00000100; /* ignore spaces before '' */
|
||||
exports.PROTOCOL_41 = 0x00000200; /* new 4.1 protocol */
|
||||
exports.INTERACTIVE = 0x00000400; /* this is an interactive client */
|
||||
exports.SSL = 0x00000800; /* switch to ssl after handshake */
|
||||
exports.IGNORE_SIGPIPE = 0x00001000; /* IGNORE sigpipes */
|
||||
exports.TRANSACTIONS = 0x00002000; /* client knows about transactions */
|
||||
exports.RESERVED = 0x00004000; /* old flag for 4.1 protocol */
|
||||
exports.SECURE_CONNECTION = 0x00008000; /* new 4.1 authentication */
|
||||
exports.MULTI_STATEMENTS = 0x00010000; /* enable/disable multi-stmt support */
|
||||
exports.MULTI_RESULTS = 0x00020000; /* enable/disable multi-results */
|
||||
exports.PS_MULTI_RESULTS = 0x00040000; /* multi-results in ps-protocol */
|
||||
exports.PLUGIN_AUTH = 0x00080000; /* client supports plugin authentication */
|
||||
exports.CONNECT_ATTRS = 0x00100000; /* permits connection attributes */
|
||||
exports.PLUGIN_AUTH_LENENC_CLIENT_DATA = 0x00200000; /* Understands length-encoded integer for auth response data in Protocol::HandshakeResponse41. */
|
||||
exports.CAN_HANDLE_EXPIRED_PASSWORDS = 0x00400000; /* Announces support for expired password extension. */
|
||||
exports.SESSION_TRACK = 0x00800000; /* Can set SERVER_SESSION_STATE_CHANGED in the Status Flags and send session-state change data after a OK packet. */
|
||||
exports.DEPRECATE_EOF = 0x01000000; /* Can send OK after a Text Resultset. */
|
||||
|
||||
exports.SSL_VERIFY_SERVER_CERT = 0x40000000;
|
||||
exports.REMEMBER_OPTIONS = 0x80000000;
|
36
node_modules/mysql2/lib/constants/commands.js
generated
vendored
Normal file
36
node_modules/mysql2/lib/constants/commands.js
generated
vendored
Normal file
@ -0,0 +1,36 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
SLEEP: 0x00, // deprecated
|
||||
QUIT: 0x01,
|
||||
INIT_DB: 0x02,
|
||||
QUERY: 0x03,
|
||||
FIELD_LIST: 0x04,
|
||||
CREATE_DB: 0x05,
|
||||
DROP_DB: 0x06,
|
||||
REFRESH: 0x07,
|
||||
SHUTDOWN: 0x08,
|
||||
STATISTICS: 0x09,
|
||||
PROCESS_INFO: 0x0a, // deprecated
|
||||
CONNECT: 0x0b, // deprecated
|
||||
PROCESS_KILL: 0x0c,
|
||||
DEBUG: 0x0d,
|
||||
PING: 0x0e,
|
||||
TIME: 0x0f, // deprecated
|
||||
DELAYED_INSERT: 0x10, // deprecated
|
||||
CHANGE_USER: 0x11,
|
||||
BINLOG_DUMP: 0x12,
|
||||
TABLE_DUMP: 0x13,
|
||||
CONNECT_OUT: 0x14,
|
||||
REGISTER_SLAVE: 0x15,
|
||||
STMT_PREPARE: 0x16,
|
||||
STMT_EXECUTE: 0x17,
|
||||
STMT_SEND_LONG_DATA: 0x18,
|
||||
STMT_CLOSE: 0x19,
|
||||
STMT_RESET: 0x1a,
|
||||
SET_OPTION: 0x1b,
|
||||
STMT_FETCH: 0x1c,
|
||||
DAEMON: 0x1d, // deprecated
|
||||
BINLOG_DUMP_GTID: 0x1e,
|
||||
UNKNOWN: 0xff // bad!
|
||||
};
|
8
node_modules/mysql2/lib/constants/cursor.js
generated
vendored
Normal file
8
node_modules/mysql2/lib/constants/cursor.js
generated
vendored
Normal file
@ -0,0 +1,8 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
NO_CURSOR: 0,
|
||||
READ_ONLY: 1,
|
||||
FOR_UPDATE: 2,
|
||||
SCROLLABLE: 3
|
||||
};
|
49
node_modules/mysql2/lib/constants/encoding_charset.js
generated
vendored
Normal file
49
node_modules/mysql2/lib/constants/encoding_charset.js
generated
vendored
Normal file
@ -0,0 +1,49 @@
|
||||
'use strict';
|
||||
|
||||
// inverse of charset_encodings
|
||||
// given encoding, get matching mysql charset number
|
||||
|
||||
module.exports = {
|
||||
big5: 1,
|
||||
latin2: 2,
|
||||
dec8: 3,
|
||||
cp850: 4,
|
||||
latin1: 5,
|
||||
hp8: 6,
|
||||
koi8r: 7,
|
||||
swe7: 10,
|
||||
ascii: 11,
|
||||
eucjp: 12,
|
||||
sjis: 13,
|
||||
cp1251: 14,
|
||||
hebrew: 16,
|
||||
tis620: 18,
|
||||
euckr: 19,
|
||||
latin7: 20,
|
||||
koi8u: 22,
|
||||
gb2312: 24,
|
||||
greek: 25,
|
||||
cp1250: 26,
|
||||
gbk: 28,
|
||||
cp1257: 29,
|
||||
latin5: 30,
|
||||
armscii8: 32,
|
||||
cesu8: 33,
|
||||
ucs2: 35,
|
||||
cp866: 36,
|
||||
keybcs2: 37,
|
||||
macintosh: 38,
|
||||
macroman: 39,
|
||||
cp852: 40,
|
||||
utf8: 45,
|
||||
utf8mb4: 45,
|
||||
utf16: 54,
|
||||
utf16le: 56,
|
||||
cp1256: 57,
|
||||
utf32: 60,
|
||||
binary: 63,
|
||||
geostd8: 92,
|
||||
cp932: 95,
|
||||
eucjpms: 97,
|
||||
gb18030: 248
|
||||
};
|
1984
node_modules/mysql2/lib/constants/errors.js
generated
vendored
Normal file
1984
node_modules/mysql2/lib/constants/errors.js
generated
vendored
Normal file
File diff suppressed because it is too large
Load Diff
20
node_modules/mysql2/lib/constants/field_flags.js
generated
vendored
Normal file
20
node_modules/mysql2/lib/constants/field_flags.js
generated
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
'use strict';
|
||||
|
||||
// Manually extracted from mysql-5.5.23/include/mysql_com.h
|
||||
exports.NOT_NULL = 1; /* Field can't be NULL */
|
||||
exports.PRI_KEY = 2; /* Field is part of a primary key */
|
||||
exports.UNIQUE_KEY = 4; /* Field is part of a unique key */
|
||||
exports.MULTIPLE_KEY = 8; /* Field is part of a key */
|
||||
exports.BLOB = 16; /* Field is a blob */
|
||||
exports.UNSIGNED = 32; /* Field is unsigned */
|
||||
exports.ZEROFILL = 64; /* Field is zerofill */
|
||||
exports.BINARY = 128; /* Field is binary */
|
||||
|
||||
/* The following are only sent to new clients */
|
||||
exports.ENUM = 256; /* field is an enum */
|
||||
exports.AUTO_INCREMENT = 512; /* field is a autoincrement field */
|
||||
exports.TIMESTAMP = 1024; /* Field is a timestamp */
|
||||
exports.SET = 2048; /* field is a set */
|
||||
exports.NO_DEFAULT_VALUE = 4096; /* Field doesn't have default value */
|
||||
exports.ON_UPDATE_NOW = 8192; /* Field is set to NOW on UPDATE */
|
||||
exports.NUM = 32768; /* Field is num (for clients) */
|
44
node_modules/mysql2/lib/constants/server_status.js
generated
vendored
Normal file
44
node_modules/mysql2/lib/constants/server_status.js
generated
vendored
Normal file
@ -0,0 +1,44 @@
|
||||
'use strict';
|
||||
|
||||
// Manually extracted from mysql-5.5.23/include/mysql_com.h
|
||||
|
||||
/**
|
||||
Is raised when a multi-statement transaction
|
||||
has been started, either explicitly, by means
|
||||
of BEGIN or COMMIT AND CHAIN, or
|
||||
implicitly, by the first transactional
|
||||
statement, when autocommit=off.
|
||||
*/
|
||||
exports.SERVER_STATUS_IN_TRANS = 1;
|
||||
exports.SERVER_STATUS_AUTOCOMMIT = 2; /* Server in auto_commit mode */
|
||||
exports.SERVER_MORE_RESULTS_EXISTS = 8; /* Multi query - next query exists */
|
||||
exports.SERVER_QUERY_NO_GOOD_INDEX_USED = 16;
|
||||
exports.SERVER_QUERY_NO_INDEX_USED = 32;
|
||||
/**
|
||||
The server was able to fulfill the clients request and opened a
|
||||
read-only non-scrollable cursor for a query. This flag comes
|
||||
in reply to COM_STMT_EXECUTE and COM_STMT_FETCH commands.
|
||||
*/
|
||||
exports.SERVER_STATUS_CURSOR_EXISTS = 64;
|
||||
/**
|
||||
This flag is sent when a read-only cursor is exhausted, in reply to
|
||||
COM_STMT_FETCH command.
|
||||
*/
|
||||
exports.SERVER_STATUS_LAST_ROW_SENT = 128;
|
||||
exports.SERVER_STATUS_DB_DROPPED = 256; /* A database was dropped */
|
||||
exports.SERVER_STATUS_NO_BACKSLASH_ESCAPES = 512;
|
||||
/**
|
||||
Sent to the client if after a prepared statement reprepare
|
||||
we discovered that the new statement returns a different
|
||||
number of result set columns.
|
||||
*/
|
||||
exports.SERVER_STATUS_METADATA_CHANGED = 1024;
|
||||
exports.SERVER_QUERY_WAS_SLOW = 2048;
|
||||
|
||||
/**
|
||||
To mark ResultSet containing output parameter values.
|
||||
*/
|
||||
exports.SERVER_PS_OUT_PARAMS = 4096;
|
||||
|
||||
exports.SERVER_STATUS_IN_TRANS_READONLY = 0x2000; // in a read-only transaction
|
||||
exports.SERVER_SESSION_STATE_CHANGED = 0x4000;
|
11
node_modules/mysql2/lib/constants/session_track.js
generated
vendored
Normal file
11
node_modules/mysql2/lib/constants/session_track.js
generated
vendored
Normal file
@ -0,0 +1,11 @@
|
||||
'use strict';
|
||||
|
||||
exports.SYSTEM_VARIABLES = 0;
|
||||
exports.SCHEMA = 1;
|
||||
exports.STATE_CHANGE = 2;
|
||||
exports.STATE_GTIDS = 3;
|
||||
exports.TRANSACTION_CHARACTERISTICS = 4;
|
||||
exports.TRANSACTION_STATE = 5;
|
||||
|
||||
exports.FIRST_KEY = exports.SYSTEM_VARIABLES;
|
||||
exports.LAST_KEY = exports.TRANSACTION_STATE;
|
1109
node_modules/mysql2/lib/constants/ssl_profiles.js
generated
vendored
Normal file
1109
node_modules/mysql2/lib/constants/ssl_profiles.js
generated
vendored
Normal file
File diff suppressed because it is too large
Load Diff
32
node_modules/mysql2/lib/constants/types.js
generated
vendored
Normal file
32
node_modules/mysql2/lib/constants/types.js
generated
vendored
Normal file
@ -0,0 +1,32 @@
|
||||
'use strict';
|
||||
|
||||
// Manually extracted from mysql-5.5.23/include/mysql_com.h
|
||||
// some more info here: http://dev.mysql.com/doc/refman/5.5/en/c-api-prepared-statement-type-codes.html
|
||||
exports.DECIMAL = 0x00; // aka DECIMAL (http://dev.mysql.com/doc/refman/5.0/en/precision-math-decimal-changes.html)
|
||||
exports.TINY = 0x01; // aka TINYINT, 1 byte
|
||||
exports.SHORT = 0x02; // aka SMALLINT, 2 bytes
|
||||
exports.LONG = 0x03; // aka INT, 4 bytes
|
||||
exports.FLOAT = 0x04; // aka FLOAT, 4-8 bytes
|
||||
exports.DOUBLE = 0x05; // aka DOUBLE, 8 bytes
|
||||
exports.NULL = 0x06; // NULL (used for prepared statements, I think)
|
||||
exports.TIMESTAMP = 0x07; // aka TIMESTAMP
|
||||
exports.LONGLONG = 0x08; // aka BIGINT, 8 bytes
|
||||
exports.INT24 = 0x09; // aka MEDIUMINT, 3 bytes
|
||||
exports.DATE = 0x0a; // aka DATE
|
||||
exports.TIME = 0x0b; // aka TIME
|
||||
exports.DATETIME = 0x0c; // aka DATETIME
|
||||
exports.YEAR = 0x0d; // aka YEAR, 1 byte (don't ask)
|
||||
exports.NEWDATE = 0x0e; // aka ?
|
||||
exports.VARCHAR = 0x0f; // aka VARCHAR (?)
|
||||
exports.BIT = 0x10; // aka BIT, 1-8 byte
|
||||
exports.JSON = 0xf5;
|
||||
exports.NEWDECIMAL = 0xf6; // aka DECIMAL
|
||||
exports.ENUM = 0xf7; // aka ENUM
|
||||
exports.SET = 0xf8; // aka SET
|
||||
exports.TINY_BLOB = 0xf9; // aka TINYBLOB, TINYTEXT
|
||||
exports.MEDIUM_BLOB = 0xfa; // aka MEDIUMBLOB, MEDIUMTEXT
|
||||
exports.LONG_BLOB = 0xfb; // aka LONGBLOG, LONGTEXT
|
||||
exports.BLOB = 0xfc; // aka BLOB, TEXT
|
||||
exports.VAR_STRING = 0xfd; // aka VARCHAR, VARBINARY
|
||||
exports.STRING = 0xfe; // aka CHAR, BINARY
|
||||
exports.GEOMETRY = 0xff; // aka GEOMETRY
|
Reference in New Issue
Block a user