From f74444224993692c6729352715ccc58f392eb850 Mon Sep 17 00:00:00 2001 From: bitpredator <67551273+bitpredator@users.noreply.github.com> Date: Tue, 27 Feb 2024 11:59:49 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20Run=20formatter?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../resources/[ox]/ox_lib/fxmanifest.lua | 2 +- .../[ox]/ox_lib/imports/require/shared.lua | 229 +- .../[ox]/ox_lib/imports/waitFor/shared.lua | 6 +- .../resources/[ox]/ox_lib/locales/ar.json | 15 + .../resource/interface/client/context.lua | 1 + .../resource/interface/client/input.lua | 2 +- .../resource/interface/client/notify.lua | 2 + .../resources/[ox]/oxmysql/dist/build.js | 13113 +++++++++------- .../resources/[ox]/oxmysql/fxmanifest.lua | 53 +- 9 files changed, 7418 insertions(+), 6005 deletions(-) create mode 100644 server-data/resources/[ox]/ox_lib/locales/ar.json diff --git a/server-data/resources/[ox]/ox_lib/fxmanifest.lua b/server-data/resources/[ox]/ox_lib/fxmanifest.lua index bacfabbc0..ec3f70aad 100644 --- a/server-data/resources/[ox]/ox_lib/fxmanifest.lua +++ b/server-data/resources/[ox]/ox_lib/fxmanifest.lua @@ -10,7 +10,7 @@ rdr3_warning("I acknowledge that this is a prerelease build of RedM, and I am aw -- name("ox_lib") author("Overextended") -version("3.16.2") +version("3.16.3") license("LGPL-3.0-or-later") repository("https://github.com/overextended/ox_lib") description("A library of shared functions to utilise in other resources.") diff --git a/server-data/resources/[ox]/ox_lib/imports/require/shared.lua b/server-data/resources/[ox]/ox_lib/imports/require/shared.lua index 12e71ad0b..27cb635b5 100644 --- a/server-data/resources/[ox]/ox_lib/imports/require/shared.lua +++ b/server-data/resources/[ox]/ox_lib/imports/require/shared.lua @@ -1,12 +1,12 @@ local loaded = {} package = { - loaded = setmetatable({}, { - __index = loaded, - __newindex = noop, - __metatable = false, - }), - path = './?.lua;' + loaded = setmetatable({}, { + __index = loaded, + __newindex = noop, + __metatable = false, + }), + path = "./?.lua;", } local _require = require @@ -15,33 +15,38 @@ local _require = require ---@param modname? string ---@return string, string? local function getModuleInfo(modpath, modname) - local resourceSrc - - if not modpath:find('^@') then - local idx = 1 - - while true do - local di = debug.getinfo(idx, 'S') - - if di then - if not di.short_src:find('^@ox_lib/imports/require') and not di.short_src:find('^%[C%]') and not di.short_src:find('^citizen') and di.short_src ~= '?' then - resourceSrc = di.short_src:gsub('^@(.-)/.+', '%1') - break - end - else - resourceSrc = cache.resource - break - end - - idx += 1 - end - - if modname and resourceSrc ~= cache.resource then - modname = ('@%s.%s'):format(resourceSrc, modname) - end - end - - return resourceSrc, modname + local resourceSrc + + if not modpath:find("^@") then + local idx = 1 + + while true do + local di = debug.getinfo(idx, "S") + + if di then + if + not di.short_src:find("^@ox_lib/imports/require") + and not di.short_src:find("^%[C%]") + and not di.short_src:find("^citizen") + and di.short_src ~= "?" + then + resourceSrc = di.short_src:gsub("^@(.-)/.+", "%1") + break + end + else + resourceSrc = cache.resource + break + end + + idx += 1 + end + + if modname and resourceSrc ~= cache.resource then + modname = ("@%s.%s"):format(resourceSrc, modname) + end + end + + return resourceSrc, modname end ---@param filePath string @@ -49,123 +54,127 @@ end ---@return any ---Loads and runs a Lua file at the given path. Unlike require, the chunk is not cached for future use. function lib.load(filePath, env) - local resourceSrc - local modpath = filePath:gsub('%.', '/') - - if not modpath:find('^@') then - resourceSrc = getModuleInfo(modpath) - end + local resourceSrc + local modpath = filePath:gsub("%.", "/") - if not resourceSrc then - resourceSrc = modpath:gsub('^@(.-)/.+', '%1') - modpath = modpath:sub(#resourceSrc + 3) - end + if not modpath:find("^@") then + resourceSrc = getModuleInfo(modpath) + end - for path in package.path:gmatch('[^;]+') do - local scriptPath = path:gsub('?', modpath):gsub('%.+%/+', '') - local resourceFile = LoadResourceFile(resourceSrc, scriptPath) + if not resourceSrc then + resourceSrc = modpath:gsub("^@(.-)/.+", "%1") + modpath = modpath:sub(#resourceSrc + 3) + end - if resourceFile then + for path in package.path:gmatch("[^;]+") do + local scriptPath = path:gsub("?", modpath):gsub("%.+%/+", "") + local resourceFile = LoadResourceFile(resourceSrc, scriptPath) - local chunk, err = load(resourceFile, ('@@%s/%s'):format(resourceSrc, modpath), 't', env or _ENV) + if resourceFile then + local chunk, err = load(resourceFile, ("@@%s/%s"):format(resourceSrc, modpath), "t", env or _ENV) - if not chunk or err then - error(err or 'an unknown error occurred', 2) - end + if not chunk or err then + error(err or "an unknown error occurred", 2) + end - return chunk() - end - end + return chunk() + end + end - error(('cannot load file at path %s'):format(modpath)) + error(("cannot load file at path %s"):format(modpath)) end ---@param filePath string ---@return table ---Loads and decodes a json file at the given path. function lib.loadJson(filePath) - local resourceSrc - local modpath = filePath:gsub('%.', '/') + local resourceSrc + local modpath = filePath:gsub("%.", "/") - if not modpath:find('^@') then - resourceSrc = getModuleInfo(modpath) - end + if not modpath:find("^@") then + resourceSrc = getModuleInfo(modpath) + end - if not resourceSrc then - resourceSrc = modpath:gsub('^@(.-)/.+', '%1') - modpath = modpath:sub(#resourceSrc + 3) - end + if not resourceSrc then + resourceSrc = modpath:gsub("^@(.-)/.+", "%1") + modpath = modpath:sub(#resourceSrc + 3) + end - local scriptPath = ('%s.json'):format(modpath) - local resourceFile = LoadResourceFile(resourceSrc, scriptPath) + local scriptPath = ("%s.json"):format(modpath) + local resourceFile = LoadResourceFile(resourceSrc, scriptPath) - if resourceFile then - return json.decode(resourceFile) - end + if resourceFile then + return json.decode(resourceFile) + end - error(('cannot load json file at path %s'):format(modpath)) + error(("cannot load json file at path %s"):format(modpath)) end ---Loads the given module inside the current resource, returning any values returned by the file or `true` when `nil`. ---@param modname string ---@return unknown? function lib.require(modname) - if type(modname) ~= 'string' then return end + if type(modname) ~= "string" then + return + end - local modpath = modname:gsub('%.', '/') - local module = loaded[modname] + local modpath = modname:gsub("%.", "/") + local module = loaded[modname] - if module then return module end + if module then + return module + end - local success, result = pcall(_require, modname) + local success, result = pcall(_require, modname) - if success then - loaded[modname] = result - return result - end + if success then + loaded[modname] = result + return result + end - local resourceSrc + local resourceSrc - if not modpath:find('^@') then - resourceSrc, modname = getModuleInfo(modpath, modname) --[[@as string]] - end + if not modpath:find("^@") then + resourceSrc, modname = getModuleInfo(modpath, modname) --[[@as string]] + end - if not module then - if module == false then - error(("^1circular-dependency occurred when loading module '%s'^0"):format(modname), 2) - end + if not module then + if module == false then + error(("^1circular-dependency occurred when loading module '%s'^0"):format(modname), 2) + end - if not resourceSrc then - resourceSrc = modpath:gsub('^@(.-)/.+', '%1') - modpath = modpath:sub(#resourceSrc + 3) - end + if not resourceSrc then + resourceSrc = modpath:gsub("^@(.-)/.+", "%1") + modpath = modpath:sub(#resourceSrc + 3) + end - for path in package.path:gmatch('[^;]+') do - local scriptPath = path:gsub('?', modpath):gsub('%.+%/+', '') - local resourceFile = LoadResourceFile(resourceSrc, scriptPath) + for path in package.path:gmatch("[^;]+") do + local scriptPath = path:gsub("?", modpath):gsub("%.+%/+", "") + local resourceFile = LoadResourceFile(resourceSrc, scriptPath) - if resourceFile then - loaded[modname] = false - scriptPath = ('@@%s/%s'):format(resourceSrc, scriptPath) + if resourceFile then + loaded[modname] = false + scriptPath = ("@@%s/%s"):format(resourceSrc, scriptPath) - local chunk, err = load(resourceFile, scriptPath) + local chunk, err = load(resourceFile, scriptPath) - if err or not chunk then - loaded[modname] = nil - return error(err or ("unable to load module '%s'"):format(modname), 3) - end + if err or not chunk then + loaded[modname] = nil + return error(err or ("unable to load module '%s'"):format(modname), 3) + end - module = chunk(modname) or true - loaded[modname] = module + local result = chunk(modname) + module = result or result == nil + loaded[modname] = module - return module - end - end + return module + end + end - return error(result, 2) - end + return error(result, 2) + end - return module + return module end return lib.require diff --git a/server-data/resources/[ox]/ox_lib/imports/waitFor/shared.lua b/server-data/resources/[ox]/ox_lib/imports/waitFor/shared.lua index 460697aa2..0da289609 100644 --- a/server-data/resources/[ox]/ox_lib/imports/waitFor/shared.lua +++ b/server-data/resources/[ox]/ox_lib/imports/waitFor/shared.lua @@ -1,9 +1,9 @@ ---Yields the current thread until a non-nil value is returned by the function. ---@generic T ----@param cb fun(): T? +---@param cb fun(): T ---@param errMessage string? ----@param timeout number? Error out after `~x` ms. Defaults to 1000, unless set to `false`. ----@return T? +---@param timeout? number | false Error out after `~x` ms. Defaults to 1000, unless set to `false`. +---@return T ---@async function lib.waitFor(cb, errMessage, timeout) local value = cb() diff --git a/server-data/resources/[ox]/ox_lib/locales/ar.json b/server-data/resources/[ox]/ox_lib/locales/ar.json new file mode 100644 index 000000000..3092f488b --- /dev/null +++ b/server-data/resources/[ox]/ox_lib/locales/ar.json @@ -0,0 +1,15 @@ +{ + "language": "العربية", + "ui": { + "cancel": "إلغاء", + "close": "إغلاق", + "confirm": "تأكيد", + "more": "المزيد ..." + }, + "txadmin_announcement": "إعلان من قبل %s", + "txadmin_dm": "رسالة من %s", + "txadmin_warn": "تم تحذيرك من قبل %s", + "txadmin_warn_content": "%s \nأيدي: %s", + "txadmin_scheduledrestart": "تحديد ريستارت للسرفر" + } + diff --git a/server-data/resources/[ox]/ox_lib/resource/interface/client/context.lua b/server-data/resources/[ox]/ox_lib/resource/interface/client/context.lua index c3e66ea84..7d4dbcf45 100644 --- a/server-data/resources/[ox]/ox_lib/resource/interface/client/context.lua +++ b/server-data/resources/[ox]/ox_lib/resource/interface/client/context.lua @@ -13,6 +13,7 @@ local openContextMenu = nil ---@field description? string ---@field metadata? string | { [string]: any } | string[] ---@field disabled? boolean +---@field readOnly? boolean ---@field event? string ---@field serverEvent? string ---@field args? any diff --git a/server-data/resources/[ox]/ox_lib/resource/interface/client/input.lua b/server-data/resources/[ox]/ox_lib/resource/interface/client/input.lua index ace10f7ca..43134d317 100644 --- a/server-data/resources/[ox]/ox_lib/resource/interface/client/input.lua +++ b/server-data/resources/[ox]/ox_lib/resource/interface/client/input.lua @@ -18,7 +18,7 @@ local input ---@field required? boolean ---@field format? string ---@field returnString? boolean ----@field clearable? string +---@field clearable? boolean ---@field description? string ---@class InputDialogOptionsProps diff --git a/server-data/resources/[ox]/ox_lib/resource/interface/client/notify.lua b/server-data/resources/[ox]/ox_lib/resource/interface/client/notify.lua index 4030805b8..484ebaae3 100644 --- a/server-data/resources/[ox]/ox_lib/resource/interface/client/notify.lua +++ b/server-data/resources/[ox]/ox_lib/resource/interface/client/notify.lua @@ -1,5 +1,6 @@ ---@alias NotificationPosition 'top' | 'top-right' | 'top-left' | 'bottom' | 'bottom-right' | 'bottom-left' | 'center-right' | 'center-left' ---@alias NotificationType 'info' | 'warning' | 'success' | 'error' +---@alias IconAnimationType 'spin' | 'spinPulse' | 'spinReverse' | 'pulse' | 'beat' | 'fade' | 'beatFade' | 'bounce' | 'shake' ---@class NotifyProps ---@field id? string @@ -10,6 +11,7 @@ ---@field type? NotificationType ---@field style? { [string]: any } ---@field icon? string | {[1]: IconProp, [2]: string}; +---@field iconAnimation? IconAnimationType; ---@field iconColor? string; ---@field alignIcon? 'top' | 'center'; diff --git a/server-data/resources/[ox]/oxmysql/dist/build.js b/server-data/resources/[ox]/oxmysql/dist/build.js index ba28a63ff..0af2da084 100644 --- a/server-data/resources/[ox]/oxmysql/dist/build.js +++ b/server-data/resources/[ox]/oxmysql/dist/build.js @@ -5,6 +5,8 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor; var __getOwnPropNames = Object.getOwnPropertyNames; var __getProtoOf = Object.getPrototypeOf; var __hasOwnProp = Object.prototype.hasOwnProperty; +var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value; +var __name = (target, value) => __defProp(target, "name", { value, configurable: true }); var __esm = (fn, res) => function __init() { return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res; }; @@ -24,9 +26,17 @@ var __copyProps = (to, from, except, desc) => { return to; }; var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps( + // If the importer is in node compatibility mode or this is not an ESM + // file that has been converted to a CommonJS file using a Babel- + // compatible transform (i.e. "__esModule" has not been set), then set + // "default" to the CommonJS "module.exports" for node compatibility. isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, mod )); +var __publicField = (obj, key, value) => { + __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value); + return value; +}; var __accessCheck = (obj, member, msg) => { if (!member.has(obj)) throw TypeError("Cannot " + msg); @@ -45,13 +55,26 @@ var __privateSet = (obj, member, value, setter) => { setter ? setter.call(obj, value) : member.set(obj, value); return value; }; +var __privateWrapper = (obj, member, setter, getter) => ({ + set _(value) { + __privateSet(obj, member, value, setter); + }, + get _() { + return __privateGet(obj, member, getter); + } +}); +var __privateMethod = (obj, member, method) => { + __accessCheck(obj, member, "access private method"); + return method; +}; // node_modules/.pnpm/lru-cache@7.18.3/node_modules/lru-cache/index.js var require_lru_cache = __commonJS({ - "node_modules/.pnpm/lru-cache@7.18.3/node_modules/lru-cache/index.js"(exports, module2) { + "node_modules/.pnpm/lru-cache@7.18.3/node_modules/lru-cache/index.js"(exports2, module2) { var perf = typeof performance === "object" && performance && typeof performance.now === "function" ? performance : Date; var hasAbortController = typeof AbortController === "function"; - var AC = hasAbortController ? AbortController : class AbortController { + var _a4; + var AC = hasAbortController ? AbortController : (_a4 = class { constructor() { this.signal = new AS(); } @@ -63,10 +86,11 @@ var require_lru_cache = __commonJS({ target: this.signal }); } - }; + }, __name(_a4, "AbortController"), _a4); var hasAbortSignal = typeof AbortSignal === "function"; var hasACAbortSignal = typeof AC.AbortSignal === "function"; - var AS = hasAbortSignal ? AbortSignal : hasACAbortSignal ? AC.AbortController : class AbortSignal { + var _a5; + var AS = hasAbortSignal ? AbortSignal : hasACAbortSignal ? AC.AbortController : (_a5 = class { constructor() { this.reason = void 0; this.aborted = false; @@ -91,48 +115,50 @@ var require_lru_cache = __commonJS({ this._listeners = this._listeners.filter((f3) => f3 !== fn); } } - }; + }, __name(_a5, "AbortSignal"), _a5); var warned = /* @__PURE__ */ new Set(); - var deprecatedOption = (opt, instead) => { + var deprecatedOption = /* @__PURE__ */ __name((opt, instead) => { const code = `LRU_CACHE_OPTION_${opt}`; if (shouldWarn(code)) { warn(code, `${opt} option`, `options.${instead}`, LRUCache); } - }; - var deprecatedMethod = (method, instead) => { + }, "deprecatedOption"); + var deprecatedMethod = /* @__PURE__ */ __name((method, instead) => { const code = `LRU_CACHE_METHOD_${method}`; if (shouldWarn(code)) { const { prototype } = LRUCache; const { get } = Object.getOwnPropertyDescriptor(prototype, method); warn(code, `${method} method`, `cache.${instead}()`, get); } - }; - var deprecatedProperty = (field, instead) => { + }, "deprecatedMethod"); + var deprecatedProperty = /* @__PURE__ */ __name((field, instead) => { const code = `LRU_CACHE_PROPERTY_${field}`; if (shouldWarn(code)) { const { prototype } = LRUCache; const { get } = Object.getOwnPropertyDescriptor(prototype, field); warn(code, `${field} property`, `cache.${instead}`, get); } - }; - var emitWarning = (...a) => { + }, "deprecatedProperty"); + var emitWarning = /* @__PURE__ */ __name((...a) => { typeof process === "object" && process && typeof process.emitWarning === "function" ? process.emitWarning(...a) : console.error(...a); - }; - var shouldWarn = (code) => !warned.has(code); - var warn = (code, what, instead, fn) => { + }, "emitWarning"); + var shouldWarn = /* @__PURE__ */ __name((code) => !warned.has(code), "shouldWarn"); + var warn = /* @__PURE__ */ __name((code, what, instead, fn) => { warned.add(code); const msg = `The ${what} is deprecated. Please use ${instead} instead.`; emitWarning(msg, "DeprecationWarning", code, fn); - }; - var isPosInt = (n) => n && n === Math.floor(n) && n > 0 && isFinite(n); - var getUintArray = (max) => !isPosInt(max) ? null : max <= Math.pow(2, 8) ? Uint8Array : max <= Math.pow(2, 16) ? Uint16Array : max <= Math.pow(2, 32) ? Uint32Array : max <= Number.MAX_SAFE_INTEGER ? ZeroArray : null; - var ZeroArray = class extends Array { + }, "warn"); + var isPosInt = /* @__PURE__ */ __name((n) => n && n === Math.floor(n) && n > 0 && isFinite(n), "isPosInt"); + var getUintArray = /* @__PURE__ */ __name((max) => !isPosInt(max) ? null : max <= Math.pow(2, 8) ? Uint8Array : max <= Math.pow(2, 16) ? Uint16Array : max <= Math.pow(2, 32) ? Uint32Array : max <= Number.MAX_SAFE_INTEGER ? ZeroArray : null, "getUintArray"); + var _ZeroArray = class _ZeroArray extends Array { constructor(size) { super(size); this.fill(0); } }; - var Stack = class { + __name(_ZeroArray, "ZeroArray"); + var ZeroArray = _ZeroArray; + var _Stack = class _Stack { constructor(max) { if (max === 0) { return []; @@ -148,7 +174,9 @@ var require_lru_cache = __commonJS({ return this.heap[--this.length]; } }; - var LRUCache = class { + __name(_Stack, "Stack"); + var Stack = _Stack; + var _LRUCache = class _LRUCache { constructor(options = {}) { const { max = 0, @@ -173,7 +201,7 @@ var require_lru_cache = __commonJS({ allowStaleOnFetchAbort, ignoreFetchAbort } = options; - const { length, maxAge, stale } = options instanceof LRUCache ? {} : options; + const { length, maxAge, stale } = options instanceof _LRUCache ? {} : options; if (max !== 0 && !isPosInt(max)) { throw new TypeError("max option must be a nonnegative integer"); } @@ -273,7 +301,7 @@ var require_lru_cache = __commonJS({ if (shouldWarn(code)) { warned.add(code); const msg = "TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption."; - emitWarning(msg, "UnboundedCacheWarning", code, LRUCache); + emitWarning(msg, "UnboundedCacheWarning", code, _LRUCache); } } if (stale) { @@ -318,7 +346,7 @@ var require_lru_cache = __commonJS({ } }; let cachedNow = 0; - const getNow = () => { + const getNow = /* @__PURE__ */ __name(() => { const n = perf.now(); if (this.ttlResolution > 0) { cachedNow = n; @@ -331,7 +359,7 @@ var require_lru_cache = __commonJS({ } } return n; - }; + }, "getNow"); this.getRemainingTTL = (key) => { const index = this.keyMap.get(key); if (index === void 0) { @@ -399,7 +427,7 @@ var require_lru_cache = __commonJS({ } removeItemSize(_index) { } - addItemSize(_index, _size) { + addItemSize(_index, _size2) { } requireSize(_k, _v, size, sizeCalculation) { if (size || sizeCalculation) { @@ -702,6 +730,7 @@ var require_lru_cache = __commonJS({ } return false; } + // like get(), but without any LRU updating or TTL expiration peek(k, { allowStale = this.allowStale } = {}) { const index = this.keyMap.get(k); if (index !== void 0 && (allowStale || !this.isStale(index))) { @@ -726,7 +755,7 @@ var require_lru_cache = __commonJS({ options, context }; - const cb = (v2, updateCache = false) => { + const cb = /* @__PURE__ */ __name((v2, updateCache = false) => { const { aborted } = ac.signal; const ignoreAbort = options.ignoreFetchAbort && v2 !== void 0; if (options.status) { @@ -756,15 +785,15 @@ var require_lru_cache = __commonJS({ } } return v2; - }; - const eb = (er) => { + }, "cb"); + const eb = /* @__PURE__ */ __name((er) => { if (options.status) { options.status.fetchRejected = true; options.status.fetchError = er; } return fetchFail(er); - }; - const fetchFail = (er) => { + }, "eb"); + const fetchFail = /* @__PURE__ */ __name((er) => { const { aborted } = ac.signal; const allowStaleAborted = aborted && options.allowStaleOnFetchAbort; const allowStale = allowStaleAborted || options.allowStaleOnFetchRejection; @@ -785,18 +814,18 @@ var require_lru_cache = __commonJS({ } else if (p.__returned === p) { throw er; } - }; - const pcall = (res, rej) => { + }, "fetchFail"); + const pcall = /* @__PURE__ */ __name((res, rej) => { this.fetchMethod(k, v, fetchOpts).then((v2) => res(v2), rej); ac.signal.addEventListener("abort", () => { if (!options.ignoreFetchAbort || options.allowStaleOnFetchAbort) { res(); if (options.allowStaleOnFetchAbort) { - res = (v2) => cb(v2, true); + res = /* @__PURE__ */ __name((v2) => cb(v2, true), "res"); } } }); - }; + }, "pcall"); if (options.status) options.status.fetchDispatched = true; const p = new Promise(pcall).then(cb, eb); @@ -817,15 +846,19 @@ var require_lru_cache = __commonJS({ "__staleWhileFetching" ) && Object.prototype.hasOwnProperty.call(p, "__returned") && (p.__returned === p || p.__returned === null); } + // this takes the union of get() and set() opts, because it does both async fetch(k, { + // get options allowStale = this.allowStale, updateAgeOnGet = this.updateAgeOnGet, noDeleteOnStaleGet = this.noDeleteOnStaleGet, + // set options ttl = this.ttl, noDisposeOnSet = this.noDisposeOnSet, size = 0, sizeCalculation = this.sizeCalculation, noUpdateTTL = this.noUpdateTTL, + // fetch exclusive options noDeleteOnFetchRejection = this.noDeleteOnFetchRejection, allowStaleOnFetchRejection = this.allowStaleOnFetchRejection, ignoreFetchAbort = this.ignoreFetchAbort, @@ -1054,13 +1087,15 @@ var require_lru_cache = __commonJS({ return AS; } }; + __name(_LRUCache, "LRUCache"); + var LRUCache = _LRUCache; module2.exports = LRUCache; } }); // node_modules/.pnpm/named-placeholders@1.1.3/node_modules/named-placeholders/index.js var require_named_placeholders = __commonJS({ - "node_modules/.pnpm/named-placeholders@1.1.3/node_modules/named-placeholders/index.js"(exports, module2) { + "node_modules/.pnpm/named-placeholders@1.1.3/node_modules/named-placeholders/index.js"(exports2, module2) { "use strict"; var RE_PARAM = /(?:\?)|(?:(? params[n])]; } + __name(toNumbered, "toNumbered"); module2.exports = createCompiler; module2.exports.toNumbered = toNumbered; } @@ -1233,8 +1275,8 @@ var require_named_placeholders = __commonJS({ // node_modules/.pnpm/sqlstring@2.3.3/node_modules/sqlstring/lib/SqlString.js var require_SqlString = __commonJS({ - "node_modules/.pnpm/sqlstring@2.3.3/node_modules/sqlstring/lib/SqlString.js"(exports) { - var SqlString = exports; + "node_modules/.pnpm/sqlstring@2.3.3/node_modules/sqlstring/lib/SqlString.js"(exports2) { + var SqlString = exports2; var ID_GLOBAL_REGEXP = /`/g; var QUAL_GLOBAL_REGEXP = /\./g; var CHARS_GLOBAL_REGEXP = /[\0\b\t\n\r\x1a\"\'\\]/g; @@ -1249,7 +1291,7 @@ var require_SqlString = __commonJS({ "'": "\\'", "\\": "\\\\" }; - SqlString.escapeId = function escapeId(val, forbidQualified) { + SqlString.escapeId = /* @__PURE__ */ __name(function escapeId(val, forbidQualified) { if (Array.isArray(val)) { var sql = ""; for (var i2 = 0; i2 < val.length; i2++) { @@ -1261,8 +1303,8 @@ var require_SqlString = __commonJS({ } else { return "`" + String(val).replace(ID_GLOBAL_REGEXP, "``").replace(QUAL_GLOBAL_REGEXP, "`.`") + "`"; } - }; - SqlString.escape = function escape(val, stringifyObjects, timeZone) { + }, "escapeId"); + SqlString.escape = /* @__PURE__ */ __name(function escape(val, stringifyObjects, timeZone) { if (val === void 0 || val === null) { return "NULL"; } @@ -1288,8 +1330,8 @@ var require_SqlString = __commonJS({ default: return escapeString(val); } - }; - SqlString.arrayToList = function arrayToList(array, timeZone) { + }, "escape"); + SqlString.arrayToList = /* @__PURE__ */ __name(function arrayToList(array, timeZone) { var sql = ""; for (var i2 = 0; i2 < array.length; i2++) { var val = array[i2]; @@ -1300,8 +1342,8 @@ var require_SqlString = __commonJS({ } } return sql; - }; - SqlString.format = function format(sql, values, stringifyObjects, timeZone) { + }, "arrayToList"); + SqlString.format = /* @__PURE__ */ __name(function format(sql, values, stringifyObjects, timeZone) { if (values == null) { return sql; } @@ -1330,8 +1372,8 @@ var require_SqlString = __commonJS({ return result + sql.slice(chunkIndex); } return result; - }; - SqlString.dateToString = function dateToString(date, timeZone) { + }, "format"); + SqlString.dateToString = /* @__PURE__ */ __name(function dateToString(date, timeZone) { var dt = new Date(date); if (isNaN(dt.getTime())) { return "NULL"; @@ -1366,11 +1408,11 @@ var require_SqlString = __commonJS({ } var str = zeroPad(year, 4) + "-" + zeroPad(month, 2) + "-" + zeroPad(day, 2) + " " + zeroPad(hour, 2) + ":" + zeroPad(minute, 2) + ":" + zeroPad(second, 2) + "." + zeroPad(millisecond, 3); return escapeString(str); - }; - SqlString.bufferToString = function bufferToString(buffer) { + }, "dateToString"); + SqlString.bufferToString = /* @__PURE__ */ __name(function bufferToString(buffer) { return "X" + escapeString(buffer.toString("hex")); - }; - SqlString.objectToValues = function objectToValues(object, timeZone) { + }, "bufferToString"); + SqlString.objectToValues = /* @__PURE__ */ __name(function objectToValues(object, timeZone) { var sql = ""; for (var key in object) { var val = object[key]; @@ -1380,17 +1422,17 @@ var require_SqlString = __commonJS({ sql += (sql.length === 0 ? "" : ", ") + SqlString.escapeId(key) + " = " + SqlString.escape(val, true, timeZone); } return sql; - }; - SqlString.raw = function raw(sql) { + }, "objectToValues"); + SqlString.raw = /* @__PURE__ */ __name(function raw(sql) { if (typeof sql !== "string") { throw new TypeError("argument sql must be a string"); } return { - toSqlString: function toSqlString() { + toSqlString: /* @__PURE__ */ __name(function toSqlString() { return sql; - } + }, "toSqlString") }; - }; + }, "raw"); function escapeString(val) { var chunkIndex = CHARS_GLOBAL_REGEXP.lastIndex = 0; var escapedVal = ""; @@ -1407,6 +1449,7 @@ var require_SqlString = __commonJS({ } return "'" + escapedVal + "'"; } + __name(escapeString, "escapeString"); function zeroPad(number, length) { number = number.toString(); while (number.length < length) { @@ -1414,6 +1457,7 @@ var require_SqlString = __commonJS({ } return number; } + __name(zeroPad, "zeroPad"); function convertTimezone(tz) { if (tz === "Z") { return 0; @@ -1424,19 +1468,20 @@ var require_SqlString = __commonJS({ } return false; } + __name(convertTimezone, "convertTimezone"); } }); // node_modules/.pnpm/sqlstring@2.3.3/node_modules/sqlstring/index.js var require_sqlstring = __commonJS({ - "node_modules/.pnpm/sqlstring@2.3.3/node_modules/sqlstring/index.js"(exports, module2) { + "node_modules/.pnpm/sqlstring@2.3.3/node_modules/sqlstring/index.js"(exports2, module2) { module2.exports = require_SqlString(); } }); // node_modules/.pnpm/denque@2.1.0/node_modules/denque/index.js var require_denque = __commonJS({ - "node_modules/.pnpm/denque@2.1.0/node_modules/denque/index.js"(exports, module2) { + "node_modules/.pnpm/denque@2.1.0/node_modules/denque/index.js"(exports2, module2) { "use strict"; function Denque(array, options) { var options = options || {}; @@ -1450,7 +1495,8 @@ var require_denque = __commonJS({ this._list = new Array(4); } } - Denque.prototype.peekAt = function peekAt(index) { + __name(Denque, "Denque"); + Denque.prototype.peekAt = /* @__PURE__ */ __name(function peekAt(index) { var i2 = index; if (i2 !== (i2 | 0)) { return void 0; @@ -1462,35 +1508,35 @@ var require_denque = __commonJS({ i2 += len; i2 = this._head + i2 & this._capacityMask; return this._list[i2]; - }; - Denque.prototype.get = function get(i2) { + }, "peekAt"); + Denque.prototype.get = /* @__PURE__ */ __name(function get(i2) { return this.peekAt(i2); - }; - Denque.prototype.peek = function peek() { + }, "get"); + Denque.prototype.peek = /* @__PURE__ */ __name(function peek() { if (this._head === this._tail) return void 0; return this._list[this._head]; - }; - Denque.prototype.peekFront = function peekFront() { + }, "peek"); + Denque.prototype.peekFront = /* @__PURE__ */ __name(function peekFront() { return this.peek(); - }; - Denque.prototype.peekBack = function peekBack() { + }, "peekFront"); + Denque.prototype.peekBack = /* @__PURE__ */ __name(function peekBack() { return this.peekAt(-1); - }; + }, "peekBack"); Object.defineProperty(Denque.prototype, "length", { - get: function length() { + get: /* @__PURE__ */ __name(function length() { return this.size(); - } + }, "length") }); - Denque.prototype.size = function size() { + Denque.prototype.size = /* @__PURE__ */ __name(function size() { if (this._head === this._tail) return 0; if (this._head < this._tail) return this._tail - this._head; else return this._capacityMask + 1 - (this._head - this._tail); - }; - Denque.prototype.unshift = function unshift(item) { + }, "size"); + Denque.prototype.unshift = /* @__PURE__ */ __name(function unshift(item) { if (arguments.length === 0) return this.size(); var len = this._list.length; @@ -1504,8 +1550,8 @@ var require_denque = __commonJS({ return this._tail - this._head; else return this._capacityMask + 1 - (this._head - this._tail); - }; - Denque.prototype.shift = function shift() { + }, "unshift"); + Denque.prototype.shift = /* @__PURE__ */ __name(function shift() { var head = this._head; if (head === this._tail) return void 0; @@ -1515,8 +1561,8 @@ var require_denque = __commonJS({ if (head < 2 && this._tail > 1e4 && this._tail <= this._list.length >>> 2) this._shrinkArray(); return item; - }; - Denque.prototype.push = function push(item) { + }, "shift"); + Denque.prototype.push = /* @__PURE__ */ __name(function push(item) { if (arguments.length === 0) return this.size(); var tail = this._tail; @@ -1532,8 +1578,8 @@ var require_denque = __commonJS({ return this._tail - this._head; else return this._capacityMask + 1 - (this._head - this._tail); - }; - Denque.prototype.pop = function pop() { + }, "push"); + Denque.prototype.pop = /* @__PURE__ */ __name(function pop() { var tail = this._tail; if (tail === this._head) return void 0; @@ -1544,8 +1590,8 @@ var require_denque = __commonJS({ if (this._head < 2 && tail > 1e4 && tail <= len >>> 2) this._shrinkArray(); return item; - }; - Denque.prototype.removeOne = function removeOne(index) { + }, "pop"); + Denque.prototype.removeOne = /* @__PURE__ */ __name(function removeOne(index) { var i2 = index; if (i2 !== (i2 | 0)) { return void 0; @@ -1575,8 +1621,8 @@ var require_denque = __commonJS({ this._tail = this._tail - 1 + len & this._capacityMask; } return item; - }; - Denque.prototype.remove = function remove(index, count) { + }, "removeOne"); + Denque.prototype.remove = /* @__PURE__ */ __name(function remove(index, count) { var i2 = index; var removed; var del_count = count; @@ -1650,8 +1696,8 @@ var require_denque = __commonJS({ if (this._head < 2 && this._tail > 1e4 && this._tail <= len >>> 2) this._shrinkArray(); return removed; - }; - Denque.prototype.splice = function splice(index, count) { + }, "remove"); + Denque.prototype.splice = /* @__PURE__ */ __name(function splice(index, count) { var i2 = index; if (i2 !== (i2 | 0)) { return void 0; @@ -1714,19 +1760,19 @@ var require_denque = __commonJS({ } else { return this.remove(i2, count); } - }; - Denque.prototype.clear = function clear() { + }, "splice"); + Denque.prototype.clear = /* @__PURE__ */ __name(function clear() { this._list = new Array(this._list.length); this._head = 0; this._tail = 0; - }; - Denque.prototype.isEmpty = function isEmpty() { + }, "clear"); + Denque.prototype.isEmpty = /* @__PURE__ */ __name(function isEmpty() { return this._head === this._tail; - }; - Denque.prototype.toArray = function toArray() { + }, "isEmpty"); + Denque.prototype.toArray = /* @__PURE__ */ __name(function toArray() { return this._copyArray(false); - }; - Denque.prototype._fromArray = function _fromArray(array) { + }, "toArray"); + Denque.prototype._fromArray = /* @__PURE__ */ __name(function _fromArray(array) { var length = array.length; var capacity = this._nextPowerOf2(length); this._list = new Array(capacity); @@ -1734,8 +1780,8 @@ var require_denque = __commonJS({ this._tail = length; for (var i2 = 0; i2 < length; i2++) this._list[i2] = array[i2]; - }; - Denque.prototype._copyArray = function _copyArray(fullCopy, size) { + }, "_fromArray"); + Denque.prototype._copyArray = /* @__PURE__ */ __name(function _copyArray(fullCopy, size) { var src = this._list; var capacity = src.length; var length = this.length; @@ -1756,8 +1802,8 @@ var require_denque = __commonJS({ dest[k++] = src[i2]; } return dest; - }; - Denque.prototype._growArray = function _growArray() { + }, "_copyArray"); + Denque.prototype._growArray = /* @__PURE__ */ __name(function _growArray() { if (this._head != 0) { var newList = this._copyArray(true, this._list.length << 1); this._tail = this._list.length; @@ -1768,43 +1814,45 @@ var require_denque = __commonJS({ this._list.length <<= 1; } this._capacityMask = this._capacityMask << 1 | 1; - }; - Denque.prototype._shrinkArray = function _shrinkArray() { + }, "_growArray"); + Denque.prototype._shrinkArray = /* @__PURE__ */ __name(function _shrinkArray() { this._list.length >>>= 1; this._capacityMask >>>= 1; - }; - Denque.prototype._nextPowerOf2 = function _nextPowerOf2(num) { + }, "_shrinkArray"); + Denque.prototype._nextPowerOf2 = /* @__PURE__ */ __name(function _nextPowerOf2(num) { var log2 = Math.log(num) / Math.log(2); var nextPow2 = 1 << log2 + 1; return Math.max(nextPow2, 4); - }; + }, "_nextPowerOf2"); module2.exports = Denque; } }); // node_modules/.pnpm/lru-cache@8.0.5/node_modules/lru-cache/dist/cjs/index.js var require_cjs = __commonJS({ - "node_modules/.pnpm/lru-cache@8.0.5/node_modules/lru-cache/dist/cjs/index.js"(exports) { + "node_modules/.pnpm/lru-cache@8.0.5/node_modules/lru-cache/dist/cjs/index.js"(exports2) { "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.LRUCache = void 0; + Object.defineProperty(exports2, "__esModule", { value: true }); + exports2.LRUCache = void 0; var perf = typeof performance === "object" && performance && typeof performance.now === "function" ? performance : Date; var warned = /* @__PURE__ */ new Set(); - var emitWarning = (msg, type, code, fn) => { + var emitWarning = /* @__PURE__ */ __name((msg, type, code, fn) => { typeof process === "object" && process && typeof process.emitWarning === "function" ? process.emitWarning(msg, type, code, fn) : console.error(`[${code}] ${type}: ${msg}`); - }; - var shouldWarn = (code) => !warned.has(code); + }, "emitWarning"); + var shouldWarn = /* @__PURE__ */ __name((code) => !warned.has(code), "shouldWarn"); var TYPE = Symbol("type"); - var isPosInt = (n) => n && n === Math.floor(n) && n > 0 && isFinite(n); - var getUintArray = (max) => !isPosInt(max) ? null : max <= Math.pow(2, 8) ? Uint8Array : max <= Math.pow(2, 16) ? Uint16Array : max <= Math.pow(2, 32) ? Uint32Array : max <= Number.MAX_SAFE_INTEGER ? ZeroArray : null; - var ZeroArray = class extends Array { + var isPosInt = /* @__PURE__ */ __name((n) => n && n === Math.floor(n) && n > 0 && isFinite(n), "isPosInt"); + var getUintArray = /* @__PURE__ */ __name((max) => !isPosInt(max) ? null : max <= Math.pow(2, 8) ? Uint8Array : max <= Math.pow(2, 16) ? Uint16Array : max <= Math.pow(2, 32) ? Uint32Array : max <= Number.MAX_SAFE_INTEGER ? ZeroArray : null, "getUintArray"); + var _ZeroArray = class _ZeroArray extends Array { constructor(size) { super(size); this.fill(0); } }; + __name(_ZeroArray, "ZeroArray"); + var ZeroArray = _ZeroArray; var _constructing; - var _Stack = class { + var _Stack = class _Stack { heap; length; static create(max) { @@ -1830,94 +1878,129 @@ var require_cjs = __commonJS({ return this.heap[--this.length]; } }; - var Stack = _Stack; _constructing = new WeakMap(); - __privateAdd(Stack, _constructing, false); - var LRUCache = class { - #max; - #maxSize; - #dispose; - #disposeAfter; - #fetchMethod; - ttl; - ttlResolution; - ttlAutopurge; - updateAgeOnGet; - updateAgeOnHas; - allowStale; - noDisposeOnSet; - noUpdateTTL; - maxEntrySize; - sizeCalculation; - noDeleteOnFetchRejection; - noDeleteOnStaleGet; - allowStaleOnFetchAbort; - allowStaleOnFetchRejection; - ignoreFetchAbort; - #size; - #calculatedSize; - #keyMap; - #keyList; - #valList; - #next; - #prev; - #head; - #tail; - #free; - #disposed; - #sizes; - #starts; - #ttls; - #hasDispose; - #hasFetchMethod; - #hasDisposeAfter; - static unsafeExposeInternals(c) { - return { - starts: c.#starts, - ttls: c.#ttls, - sizes: c.#sizes, - keyMap: c.#keyMap, - keyList: c.#keyList, - valList: c.#valList, - next: c.#next, - prev: c.#prev, - get head() { - return c.#head; - }, - get tail() { - return c.#tail; - }, - free: c.#free, - isBackgroundFetch: (p) => c.#isBackgroundFetch(p), - backgroundFetch: (k, index, options, context) => c.#backgroundFetch(k, index, options, context), - moveToTail: (index) => c.#moveToTail(index), - indexes: (options) => c.#indexes(options), - rindexes: (options) => c.#rindexes(options), - isStale: (index) => c.#isStale(index) - }; - } - get max() { - return this.#max; - } - get maxSize() { - return this.#maxSize; - } - get calculatedSize() { - return this.#calculatedSize; - } - get size() { - return this.#size; - } - get fetchMethod() { - return this.#fetchMethod; - } - get dispose() { - return this.#dispose; - } - get disposeAfter() { - return this.#disposeAfter; - } + __name(_Stack, "Stack"); + // private constructor + __privateAdd(_Stack, _constructing, false); + var Stack = _Stack; + var _max, _maxSize, _dispose, _disposeAfter, _fetchMethod, _size2, _calculatedSize, _keyMap, _keyList, _valList, _next, _prev, _head, _tail, _free, _disposed, _sizes, _starts, _ttls, _hasDispose, _hasFetchMethod, _hasDisposeAfter, _initializeTTLTracking, initializeTTLTracking_fn, _updateItemAge, _statusTTL, _setItemTTL, _isStale, _initializeSizeTracking, initializeSizeTracking_fn, _removeItemSize, _addItemSize, _requireSize, _indexes, indexes_fn, _rindexes, rindexes_fn, _isValidIndex, isValidIndex_fn, _evict, evict_fn, _backgroundFetch, backgroundFetch_fn, _isBackgroundFetch, isBackgroundFetch_fn, _connect, connect_fn, _moveToTail, moveToTail_fn; + var _LRUCache = class _LRUCache { constructor(options) { + __privateAdd(this, _initializeTTLTracking); + __privateAdd(this, _initializeSizeTracking); + __privateAdd(this, _indexes); + __privateAdd(this, _rindexes); + __privateAdd(this, _isValidIndex); + __privateAdd(this, _evict); + __privateAdd(this, _backgroundFetch); + __privateAdd(this, _isBackgroundFetch); + __privateAdd(this, _connect); + __privateAdd(this, _moveToTail); + // properties coming in from the options of these, only max and maxSize + // really *need* to be protected. The rest can be modified, as they just + // set defaults for various methods. + __privateAdd(this, _max, void 0); + __privateAdd(this, _maxSize, void 0); + __privateAdd(this, _dispose, void 0); + __privateAdd(this, _disposeAfter, void 0); + __privateAdd(this, _fetchMethod, void 0); + /** + * {@link LRUCache.OptionsBase.ttl} + */ + __publicField(this, "ttl"); + /** + * {@link LRUCache.OptionsBase.ttlResolution} + */ + __publicField(this, "ttlResolution"); + /** + * {@link LRUCache.OptionsBase.ttlAutopurge} + */ + __publicField(this, "ttlAutopurge"); + /** + * {@link LRUCache.OptionsBase.updateAgeOnGet} + */ + __publicField(this, "updateAgeOnGet"); + /** + * {@link LRUCache.OptionsBase.updateAgeOnHas} + */ + __publicField(this, "updateAgeOnHas"); + /** + * {@link LRUCache.OptionsBase.allowStale} + */ + __publicField(this, "allowStale"); + /** + * {@link LRUCache.OptionsBase.noDisposeOnSet} + */ + __publicField(this, "noDisposeOnSet"); + /** + * {@link LRUCache.OptionsBase.noUpdateTTL} + */ + __publicField(this, "noUpdateTTL"); + /** + * {@link LRUCache.OptionsBase.maxEntrySize} + */ + __publicField(this, "maxEntrySize"); + /** + * {@link LRUCache.OptionsBase.sizeCalculation} + */ + __publicField(this, "sizeCalculation"); + /** + * {@link LRUCache.OptionsBase.noDeleteOnFetchRejection} + */ + __publicField(this, "noDeleteOnFetchRejection"); + /** + * {@link LRUCache.OptionsBase.noDeleteOnStaleGet} + */ + __publicField(this, "noDeleteOnStaleGet"); + /** + * {@link LRUCache.OptionsBase.allowStaleOnFetchAbort} + */ + __publicField(this, "allowStaleOnFetchAbort"); + /** + * {@link LRUCache.OptionsBase.allowStaleOnFetchRejection} + */ + __publicField(this, "allowStaleOnFetchRejection"); + /** + * {@link LRUCache.OptionsBase.ignoreFetchAbort} + */ + __publicField(this, "ignoreFetchAbort"); + // computed properties + __privateAdd(this, _size2, void 0); + __privateAdd(this, _calculatedSize, void 0); + __privateAdd(this, _keyMap, void 0); + __privateAdd(this, _keyList, void 0); + __privateAdd(this, _valList, void 0); + __privateAdd(this, _next, void 0); + __privateAdd(this, _prev, void 0); + __privateAdd(this, _head, void 0); + __privateAdd(this, _tail, void 0); + __privateAdd(this, _free, void 0); + __privateAdd(this, _disposed, void 0); + __privateAdd(this, _sizes, void 0); + __privateAdd(this, _starts, void 0); + __privateAdd(this, _ttls, void 0); + __privateAdd(this, _hasDispose, void 0); + __privateAdd(this, _hasFetchMethod, void 0); + __privateAdd(this, _hasDisposeAfter, void 0); + // conditionally set private methods related to TTL + __privateAdd(this, _updateItemAge, /* @__PURE__ */ __name(() => { + }, "#updateItemAge")); + __privateAdd(this, _statusTTL, /* @__PURE__ */ __name(() => { + }, "#statusTTL")); + __privateAdd(this, _setItemTTL, /* @__PURE__ */ __name(() => { + }, "#setItemTTL")); + /* c8 ignore stop */ + __privateAdd(this, _isStale, /* @__PURE__ */ __name(() => false, "#isStale")); + __privateAdd(this, _removeItemSize, /* @__PURE__ */ __name((_i) => { + }, "#removeItemSize")); + __privateAdd(this, _addItemSize, /* @__PURE__ */ __name((_i, _s, _st) => { + }, "#addItemSize")); + __privateAdd(this, _requireSize, /* @__PURE__ */ __name((_k, _v, size, sizeCalculation) => { + if (size || sizeCalculation) { + throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache"); + } + return 0; + }, "#requireSize")); const { max = 0, ttl, ttlResolution = 1, ttlAutopurge, updateAgeOnGet, updateAgeOnHas, allowStale, dispose, disposeAfter, noDisposeOnSet, noUpdateTTL, maxSize = 0, maxEntrySize = 0, sizeCalculation, fetchMethod, noDeleteOnFetchRejection, noDeleteOnStaleGet, allowStaleOnFetchRejection, allowStaleOnFetchAbort, ignoreFetchAbort } = options; if (max !== 0 && !isPosInt(max)) { throw new TypeError("max option must be a nonnegative integer"); @@ -1926,12 +2009,12 @@ var require_cjs = __commonJS({ if (!UintArray) { throw new Error("invalid max value: " + max); } - this.#max = max; - this.#maxSize = maxSize; - this.maxEntrySize = maxEntrySize || this.#maxSize; + __privateSet(this, _max, max); + __privateSet(this, _maxSize, maxSize); + this.maxEntrySize = maxEntrySize || __privateGet(this, _maxSize); this.sizeCalculation = sizeCalculation; if (this.sizeCalculation) { - if (!this.#maxSize && !this.maxEntrySize) { + if (!__privateGet(this, _maxSize) && !this.maxEntrySize) { throw new TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize"); } if (typeof this.sizeCalculation !== "function") { @@ -1941,30 +2024,30 @@ var require_cjs = __commonJS({ if (fetchMethod !== void 0 && typeof fetchMethod !== "function") { throw new TypeError("fetchMethod must be a function if specified"); } - this.#fetchMethod = fetchMethod; - this.#hasFetchMethod = !!fetchMethod; - this.#keyMap = /* @__PURE__ */ new Map(); - this.#keyList = new Array(max).fill(void 0); - this.#valList = new Array(max).fill(void 0); - this.#next = new UintArray(max); - this.#prev = new UintArray(max); - this.#head = 0; - this.#tail = 0; - this.#free = Stack.create(max); - this.#size = 0; - this.#calculatedSize = 0; + __privateSet(this, _fetchMethod, fetchMethod); + __privateSet(this, _hasFetchMethod, !!fetchMethod); + __privateSet(this, _keyMap, /* @__PURE__ */ new Map()); + __privateSet(this, _keyList, new Array(max).fill(void 0)); + __privateSet(this, _valList, new Array(max).fill(void 0)); + __privateSet(this, _next, new UintArray(max)); + __privateSet(this, _prev, new UintArray(max)); + __privateSet(this, _head, 0); + __privateSet(this, _tail, 0); + __privateSet(this, _free, Stack.create(max)); + __privateSet(this, _size2, 0); + __privateSet(this, _calculatedSize, 0); if (typeof dispose === "function") { - this.#dispose = dispose; + __privateSet(this, _dispose, dispose); } if (typeof disposeAfter === "function") { - this.#disposeAfter = disposeAfter; - this.#disposed = []; + __privateSet(this, _disposeAfter, disposeAfter); + __privateSet(this, _disposed, []); } else { - this.#disposeAfter = void 0; - this.#disposed = void 0; + __privateSet(this, _disposeAfter, void 0); + __privateSet(this, _disposed, void 0); } - this.#hasDispose = !!this.#dispose; - this.#hasDisposeAfter = !!this.#disposeAfter; + __privateSet(this, _hasDispose, !!__privateGet(this, _dispose)); + __privateSet(this, _hasDisposeAfter, !!__privateGet(this, _disposeAfter)); this.noDisposeOnSet = !!noDisposeOnSet; this.noUpdateTTL = !!noUpdateTTL; this.noDeleteOnFetchRejection = !!noDeleteOnFetchRejection; @@ -1972,15 +2055,15 @@ var require_cjs = __commonJS({ this.allowStaleOnFetchAbort = !!allowStaleOnFetchAbort; this.ignoreFetchAbort = !!ignoreFetchAbort; if (this.maxEntrySize !== 0) { - if (this.#maxSize !== 0) { - if (!isPosInt(this.#maxSize)) { + if (__privateGet(this, _maxSize) !== 0) { + if (!isPosInt(__privateGet(this, _maxSize))) { throw new TypeError("maxSize must be a positive integer if specified"); } } if (!isPosInt(this.maxEntrySize)) { throw new TypeError("maxEntrySize must be a positive integer if specified"); } - this.#initializeSizeTracking(); + __privateMethod(this, _initializeSizeTracking, initializeSizeTracking_fn).call(this); } this.allowStale = !!allowStale; this.noDeleteOnStaleGet = !!noDeleteOnStaleGet; @@ -1993,283 +2076,293 @@ var require_cjs = __commonJS({ if (!isPosInt(this.ttl)) { throw new TypeError("ttl must be a positive integer if specified"); } - this.#initializeTTLTracking(); + __privateMethod(this, _initializeTTLTracking, initializeTTLTracking_fn).call(this); } - if (this.#max === 0 && this.ttl === 0 && this.#maxSize === 0) { + if (__privateGet(this, _max) === 0 && this.ttl === 0 && __privateGet(this, _maxSize) === 0) { throw new TypeError("At least one of max, maxSize, or ttl is required"); } - if (!this.ttlAutopurge && !this.#max && !this.#maxSize) { + if (!this.ttlAutopurge && !__privateGet(this, _max) && !__privateGet(this, _maxSize)) { const code = "LRU_CACHE_UNBOUNDED"; if (shouldWarn(code)) { warned.add(code); const msg = "TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption."; - emitWarning(msg, "UnboundedCacheWarning", code, LRUCache); + emitWarning(msg, "UnboundedCacheWarning", code, _LRUCache); } } } - getRemainingTTL(key) { - return this.#keyMap.has(key) ? Infinity : 0; - } - #initializeTTLTracking() { - const ttls = new ZeroArray(this.#max); - const starts = new ZeroArray(this.#max); - this.#ttls = ttls; - this.#starts = starts; - this.#setItemTTL = (index, ttl, start = perf.now()) => { - starts[index] = ttl !== 0 ? start : 0; - ttls[index] = ttl; - if (ttl !== 0 && this.ttlAutopurge) { - const t2 = setTimeout(() => { - if (this.#isStale(index)) { - this.delete(this.#keyList[index]); - } - }, ttl + 1); - if (t2.unref) { - t2.unref(); - } - } - }; - this.#updateItemAge = (index) => { - starts[index] = ttls[index] !== 0 ? perf.now() : 0; - }; - this.#statusTTL = (status, index) => { - if (ttls[index]) { - const ttl = ttls[index]; - const start = starts[index]; - status.ttl = ttl; - status.start = start; - status.now = cachedNow || getNow(); - status.remainingTTL = status.now + ttl - start; - } - }; - let cachedNow = 0; - const getNow = () => { - const n = perf.now(); - if (this.ttlResolution > 0) { - cachedNow = n; - const t2 = setTimeout(() => cachedNow = 0, this.ttlResolution); - if (t2.unref) { - t2.unref(); - } - } - return n; - }; - this.getRemainingTTL = (key) => { - const index = this.#keyMap.get(key); - if (index === void 0) { - return 0; + /** + * Do not call this method unless you need to inspect the + * inner workings of the cache. If anything returned by this + * object is modified in any way, strange breakage may occur. + * + * These fields are private for a reason! + * + * @internal + */ + static unsafeExposeInternals(c) { + return { + // properties + starts: __privateGet(c, _starts), + ttls: __privateGet(c, _ttls), + sizes: __privateGet(c, _sizes), + keyMap: __privateGet(c, _keyMap), + keyList: __privateGet(c, _keyList), + valList: __privateGet(c, _valList), + next: __privateGet(c, _next), + prev: __privateGet(c, _prev), + get head() { + return __privateGet(c, _head); + }, + get tail() { + return __privateGet(c, _tail); + }, + free: __privateGet(c, _free), + // methods + isBackgroundFetch: (p) => { + var _a4; + return __privateMethod(_a4 = c, _isBackgroundFetch, isBackgroundFetch_fn).call(_a4, p); + }, + backgroundFetch: (k, index, options, context) => { + var _a4; + return __privateMethod(_a4 = c, _backgroundFetch, backgroundFetch_fn).call(_a4, k, index, options, context); + }, + moveToTail: (index) => { + var _a4; + return __privateMethod(_a4 = c, _moveToTail, moveToTail_fn).call(_a4, index); + }, + indexes: (options) => { + var _a4; + return __privateMethod(_a4 = c, _indexes, indexes_fn).call(_a4, options); + }, + rindexes: (options) => { + var _a4; + return __privateMethod(_a4 = c, _rindexes, rindexes_fn).call(_a4, options); + }, + isStale: (index) => { + var _a4; + return __privateGet(_a4 = c, _isStale).call(_a4, index); } - return ttls[index] === 0 || starts[index] === 0 ? Infinity : starts[index] + ttls[index] - (cachedNow || getNow()); - }; - this.#isStale = (index) => { - return ttls[index] !== 0 && starts[index] !== 0 && (cachedNow || getNow()) - starts[index] > ttls[index]; }; } - #updateItemAge = () => { - }; - #statusTTL = () => { - }; - #setItemTTL = () => { - }; - #isStale = () => false; - #initializeSizeTracking() { - const sizes = new ZeroArray(this.#max); - this.#calculatedSize = 0; - this.#sizes = sizes; - this.#removeItemSize = (index) => { - this.#calculatedSize -= sizes[index]; - sizes[index] = 0; - }; - this.#requireSize = (k, v, size, sizeCalculation) => { - if (this.#isBackgroundFetch(v)) { - return 0; - } - if (!isPosInt(size)) { - if (sizeCalculation) { - if (typeof sizeCalculation !== "function") { - throw new TypeError("sizeCalculation must be a function"); - } - size = sizeCalculation(v, k); - if (!isPosInt(size)) { - throw new TypeError("sizeCalculation return invalid (expect positive integer)"); - } - } else { - throw new TypeError("invalid size value (must be positive integer). When maxSize or maxEntrySize is used, sizeCalculation or size must be set."); - } - } - return size; - }; - this.#addItemSize = (index, size, status) => { - sizes[index] = size; - if (this.#maxSize) { - const maxSize = this.#maxSize - sizes[index]; - while (this.#calculatedSize > maxSize) { - this.#evict(true); - } - } - this.#calculatedSize += sizes[index]; - if (status) { - status.entrySize = size; - status.totalCalculatedSize = this.#calculatedSize; - } - }; + // Protected read-only members + /** + * {@link LRUCache.OptionsBase.max} (read-only) + */ + get max() { + return __privateGet(this, _max); } - #removeItemSize = (_i) => { - }; - #addItemSize = (_i, _s, _st) => { - }; - #requireSize = (_k, _v, size, sizeCalculation) => { - if (size || sizeCalculation) { - throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache"); - } - return 0; - }; - *#indexes({ allowStale = this.allowStale } = {}) { - if (this.#size) { - for (let i2 = this.#tail; true; ) { - if (!this.#isValidIndex(i2)) { - break; - } - if (allowStale || !this.#isStale(i2)) { - yield i2; - } - if (i2 === this.#head) { - break; - } else { - i2 = this.#prev[i2]; - } - } - } + /** + * {@link LRUCache.OptionsBase.maxSize} (read-only) + */ + get maxSize() { + return __privateGet(this, _maxSize); } - *#rindexes({ allowStale = this.allowStale } = {}) { - if (this.#size) { - for (let i2 = this.#head; true; ) { - if (!this.#isValidIndex(i2)) { - break; - } - if (allowStale || !this.#isStale(i2)) { - yield i2; - } - if (i2 === this.#tail) { - break; - } else { - i2 = this.#next[i2]; - } - } - } + /** + * The total computed size of items in the cache (read-only) + */ + get calculatedSize() { + return __privateGet(this, _calculatedSize); + } + /** + * The number of items stored in the cache (read-only) + */ + get size() { + return __privateGet(this, _size2); } - #isValidIndex(index) { - return index !== void 0 && this.#keyMap.get(this.#keyList[index]) === index; + /** + * {@link LRUCache.OptionsBase.fetchMethod} (read-only) + */ + get fetchMethod() { + return __privateGet(this, _fetchMethod); + } + /** + * {@link LRUCache.OptionsBase.dispose} (read-only) + */ + get dispose() { + return __privateGet(this, _dispose); + } + /** + * {@link LRUCache.OptionsBase.disposeAfter} (read-only) + */ + get disposeAfter() { + return __privateGet(this, _disposeAfter); } + /** + * Return the remaining TTL time for a given entry key + */ + getRemainingTTL(key) { + return __privateGet(this, _keyMap).has(key) ? Infinity : 0; + } + /** + * Return a generator yielding `[key, value]` pairs, + * in order from most recently used to least recently used. + */ *entries() { - for (const i2 of this.#indexes()) { - if (this.#valList[i2] !== void 0 && this.#keyList[i2] !== void 0 && !this.#isBackgroundFetch(this.#valList[i2])) { - yield [this.#keyList[i2], this.#valList[i2]]; + for (const i2 of __privateMethod(this, _indexes, indexes_fn).call(this)) { + if (__privateGet(this, _valList)[i2] !== void 0 && __privateGet(this, _keyList)[i2] !== void 0 && !__privateMethod(this, _isBackgroundFetch, isBackgroundFetch_fn).call(this, __privateGet(this, _valList)[i2])) { + yield [__privateGet(this, _keyList)[i2], __privateGet(this, _valList)[i2]]; } } } + /** + * Inverse order version of {@link LRUCache.entries} + * + * Return a generator yielding `[key, value]` pairs, + * in order from least recently used to most recently used. + */ *rentries() { - for (const i2 of this.#rindexes()) { - if (this.#valList[i2] !== void 0 && this.#keyList[i2] !== void 0 && !this.#isBackgroundFetch(this.#valList[i2])) { - yield [this.#keyList[i2], this.#valList[i2]]; + for (const i2 of __privateMethod(this, _rindexes, rindexes_fn).call(this)) { + if (__privateGet(this, _valList)[i2] !== void 0 && __privateGet(this, _keyList)[i2] !== void 0 && !__privateMethod(this, _isBackgroundFetch, isBackgroundFetch_fn).call(this, __privateGet(this, _valList)[i2])) { + yield [__privateGet(this, _keyList)[i2], __privateGet(this, _valList)[i2]]; } } } + /** + * Return a generator yielding the keys in the cache, + * in order from most recently used to least recently used. + */ *keys() { - for (const i2 of this.#indexes()) { - const k = this.#keyList[i2]; - if (k !== void 0 && !this.#isBackgroundFetch(this.#valList[i2])) { + for (const i2 of __privateMethod(this, _indexes, indexes_fn).call(this)) { + const k = __privateGet(this, _keyList)[i2]; + if (k !== void 0 && !__privateMethod(this, _isBackgroundFetch, isBackgroundFetch_fn).call(this, __privateGet(this, _valList)[i2])) { yield k; } } } + /** + * Inverse order version of {@link LRUCache.keys} + * + * Return a generator yielding the keys in the cache, + * in order from least recently used to most recently used. + */ *rkeys() { - for (const i2 of this.#rindexes()) { - const k = this.#keyList[i2]; - if (k !== void 0 && !this.#isBackgroundFetch(this.#valList[i2])) { + for (const i2 of __privateMethod(this, _rindexes, rindexes_fn).call(this)) { + const k = __privateGet(this, _keyList)[i2]; + if (k !== void 0 && !__privateMethod(this, _isBackgroundFetch, isBackgroundFetch_fn).call(this, __privateGet(this, _valList)[i2])) { yield k; } } } + /** + * Return a generator yielding the values in the cache, + * in order from most recently used to least recently used. + */ *values() { - for (const i2 of this.#indexes()) { - const v = this.#valList[i2]; - if (v !== void 0 && !this.#isBackgroundFetch(this.#valList[i2])) { - yield this.#valList[i2]; + for (const i2 of __privateMethod(this, _indexes, indexes_fn).call(this)) { + const v = __privateGet(this, _valList)[i2]; + if (v !== void 0 && !__privateMethod(this, _isBackgroundFetch, isBackgroundFetch_fn).call(this, __privateGet(this, _valList)[i2])) { + yield __privateGet(this, _valList)[i2]; } } } + /** + * Inverse order version of {@link LRUCache.values} + * + * Return a generator yielding the values in the cache, + * in order from least recently used to most recently used. + */ *rvalues() { - for (const i2 of this.#rindexes()) { - const v = this.#valList[i2]; - if (v !== void 0 && !this.#isBackgroundFetch(this.#valList[i2])) { - yield this.#valList[i2]; + for (const i2 of __privateMethod(this, _rindexes, rindexes_fn).call(this)) { + const v = __privateGet(this, _valList)[i2]; + if (v !== void 0 && !__privateMethod(this, _isBackgroundFetch, isBackgroundFetch_fn).call(this, __privateGet(this, _valList)[i2])) { + yield __privateGet(this, _valList)[i2]; } } } + /** + * Iterating over the cache itself yields the same results as + * {@link LRUCache.entries} + */ [Symbol.iterator]() { return this.entries(); } + /** + * Find a value for which the supplied fn method returns a truthy value, + * similar to Array.find(). fn is called as fn(value, key, cache). + */ find(fn, getOptions = {}) { - for (const i2 of this.#indexes()) { - const v = this.#valList[i2]; - const value = this.#isBackgroundFetch(v) ? v.__staleWhileFetching : v; + for (const i2 of __privateMethod(this, _indexes, indexes_fn).call(this)) { + const v = __privateGet(this, _valList)[i2]; + const value = __privateMethod(this, _isBackgroundFetch, isBackgroundFetch_fn).call(this, v) ? v.__staleWhileFetching : v; if (value === void 0) continue; - if (fn(value, this.#keyList[i2], this)) { - return this.get(this.#keyList[i2], getOptions); + if (fn(value, __privateGet(this, _keyList)[i2], this)) { + return this.get(__privateGet(this, _keyList)[i2], getOptions); } } } + /** + * Call the supplied function on each item in the cache, in order from + * most recently used to least recently used. fn is called as + * fn(value, key, cache). Does not update age or recenty of use. + * Does not iterate over stale values. + */ forEach(fn, thisp = this) { - for (const i2 of this.#indexes()) { - const v = this.#valList[i2]; - const value = this.#isBackgroundFetch(v) ? v.__staleWhileFetching : v; + for (const i2 of __privateMethod(this, _indexes, indexes_fn).call(this)) { + const v = __privateGet(this, _valList)[i2]; + const value = __privateMethod(this, _isBackgroundFetch, isBackgroundFetch_fn).call(this, v) ? v.__staleWhileFetching : v; if (value === void 0) continue; - fn.call(thisp, value, this.#keyList[i2], this); + fn.call(thisp, value, __privateGet(this, _keyList)[i2], this); } } + /** + * The same as {@link LRUCache.forEach} but items are iterated over in + * reverse order. (ie, less recently used items are iterated over first.) + */ rforEach(fn, thisp = this) { - for (const i2 of this.#rindexes()) { - const v = this.#valList[i2]; - const value = this.#isBackgroundFetch(v) ? v.__staleWhileFetching : v; + for (const i2 of __privateMethod(this, _rindexes, rindexes_fn).call(this)) { + const v = __privateGet(this, _valList)[i2]; + const value = __privateMethod(this, _isBackgroundFetch, isBackgroundFetch_fn).call(this, v) ? v.__staleWhileFetching : v; if (value === void 0) continue; - fn.call(thisp, value, this.#keyList[i2], this); + fn.call(thisp, value, __privateGet(this, _keyList)[i2], this); } } + /** + * Delete any stale entries. Returns true if anything was removed, + * false otherwise. + */ purgeStale() { let deleted = false; - for (const i2 of this.#rindexes({ allowStale: true })) { - if (this.#isStale(i2)) { - this.delete(this.#keyList[i2]); + for (const i2 of __privateMethod(this, _rindexes, rindexes_fn).call(this, { allowStale: true })) { + if (__privateGet(this, _isStale).call(this, i2)) { + this.delete(__privateGet(this, _keyList)[i2]); deleted = true; } } return deleted; } + /** + * Return an array of [key, {@link LRUCache.Entry}] tuples which can be + * passed to cache.load() + */ dump() { const arr = []; - for (const i2 of this.#indexes({ allowStale: true })) { - const key = this.#keyList[i2]; - const v = this.#valList[i2]; - const value = this.#isBackgroundFetch(v) ? v.__staleWhileFetching : v; + for (const i2 of __privateMethod(this, _indexes, indexes_fn).call(this, { allowStale: true })) { + const key = __privateGet(this, _keyList)[i2]; + const v = __privateGet(this, _valList)[i2]; + const value = __privateMethod(this, _isBackgroundFetch, isBackgroundFetch_fn).call(this, v) ? v.__staleWhileFetching : v; if (value === void 0 || key === void 0) continue; const entry = { value }; - if (this.#ttls && this.#starts) { - entry.ttl = this.#ttls[i2]; - const age = perf.now() - this.#starts[i2]; + if (__privateGet(this, _ttls) && __privateGet(this, _starts)) { + entry.ttl = __privateGet(this, _ttls)[i2]; + const age = perf.now() - __privateGet(this, _starts)[i2]; entry.start = Math.floor(Date.now() - age); } - if (this.#sizes) { - entry.size = this.#sizes[i2]; + if (__privateGet(this, _sizes)) { + entry.size = __privateGet(this, _sizes)[i2]; } arr.unshift([key, entry]); } return arr; } + /** + * Reset the cache and load in the items in entries in the order listed. + * Note that the shape of the resulting cache may be different if the + * same options are not used in both caches. + */ load(arr) { this.clear(); for (const [key, entry] of arr) { @@ -2280,10 +2373,14 @@ var require_cjs = __commonJS({ this.set(key, entry.value, entry); } } + /** + * Add a value to the cache. + */ set(k, v, setOptions = {}) { + var _a4, _b, _c; const { ttl = this.ttl, start, noDisposeOnSet = this.noDisposeOnSet, sizeCalculation = this.sizeCalculation, status } = setOptions; let { noUpdateTTL = this.noUpdateTTL } = setOptions; - const size = this.#requireSize(k, v, setOptions.size || 0, sizeCalculation); + const size = __privateGet(this, _requireSize).call(this, k, v, setOptions.size || 0, sizeCalculation); if (this.maxEntrySize && size > this.maxEntrySize) { if (status) { status.set = "miss"; @@ -2292,40 +2389,40 @@ var require_cjs = __commonJS({ this.delete(k); return this; } - let index = this.#size === 0 ? void 0 : this.#keyMap.get(k); + let index = __privateGet(this, _size2) === 0 ? void 0 : __privateGet(this, _keyMap).get(k); if (index === void 0) { - index = this.#size === 0 ? this.#tail : this.#free.length !== 0 ? this.#free.pop() : this.#size === this.#max ? this.#evict(false) : this.#size; - this.#keyList[index] = k; - this.#valList[index] = v; - this.#keyMap.set(k, index); - this.#next[this.#tail] = index; - this.#prev[index] = this.#tail; - this.#tail = index; - this.#size++; - this.#addItemSize(index, size, status); + index = __privateGet(this, _size2) === 0 ? __privateGet(this, _tail) : __privateGet(this, _free).length !== 0 ? __privateGet(this, _free).pop() : __privateGet(this, _size2) === __privateGet(this, _max) ? __privateMethod(this, _evict, evict_fn).call(this, false) : __privateGet(this, _size2); + __privateGet(this, _keyList)[index] = k; + __privateGet(this, _valList)[index] = v; + __privateGet(this, _keyMap).set(k, index); + __privateGet(this, _next)[__privateGet(this, _tail)] = index; + __privateGet(this, _prev)[index] = __privateGet(this, _tail); + __privateSet(this, _tail, index); + __privateWrapper(this, _size2)._++; + __privateGet(this, _addItemSize).call(this, index, size, status); if (status) status.set = "add"; noUpdateTTL = false; } else { - this.#moveToTail(index); - const oldVal = this.#valList[index]; + __privateMethod(this, _moveToTail, moveToTail_fn).call(this, index); + const oldVal = __privateGet(this, _valList)[index]; if (v !== oldVal) { - if (this.#hasFetchMethod && this.#isBackgroundFetch(oldVal)) { + if (__privateGet(this, _hasFetchMethod) && __privateMethod(this, _isBackgroundFetch, isBackgroundFetch_fn).call(this, oldVal)) { oldVal.__abortController.abort(new Error("replaced")); } else if (!noDisposeOnSet) { - if (this.#hasDispose) { - this.#dispose?.(oldVal, k, "set"); + if (__privateGet(this, _hasDispose)) { + (_a4 = __privateGet(this, _dispose)) == null ? void 0 : _a4.call(this, oldVal, k, "set"); } - if (this.#hasDisposeAfter) { - this.#disposed?.push([oldVal, k, "set"]); + if (__privateGet(this, _hasDisposeAfter)) { + (_b = __privateGet(this, _disposed)) == null ? void 0 : _b.push([oldVal, k, "set"]); } } - this.#removeItemSize(index); - this.#addItemSize(index, size, status); - this.#valList[index] = v; + __privateGet(this, _removeItemSize).call(this, index); + __privateGet(this, _addItemSize).call(this, index, size, status); + __privateGet(this, _valList)[index] = v; if (status) { status.set = "replace"; - const oldValue = oldVal && this.#isBackgroundFetch(oldVal) ? oldVal.__staleWhileFetching : oldVal; + const oldValue = oldVal && __privateMethod(this, _isBackgroundFetch, isBackgroundFetch_fn).call(this, oldVal) ? oldVal.__staleWhileFetching : oldVal; if (oldValue !== void 0) status.oldValue = oldValue; } @@ -2333,31 +2430,36 @@ var require_cjs = __commonJS({ status.set = "update"; } } - if (ttl !== 0 && !this.#ttls) { - this.#initializeTTLTracking(); + if (ttl !== 0 && !__privateGet(this, _ttls)) { + __privateMethod(this, _initializeTTLTracking, initializeTTLTracking_fn).call(this); } - if (this.#ttls) { + if (__privateGet(this, _ttls)) { if (!noUpdateTTL) { - this.#setItemTTL(index, ttl, start); + __privateGet(this, _setItemTTL).call(this, index, ttl, start); } if (status) - this.#statusTTL(status, index); + __privateGet(this, _statusTTL).call(this, status, index); } - if (!noDisposeOnSet && this.#hasDisposeAfter && this.#disposed) { - const dt = this.#disposed; + if (!noDisposeOnSet && __privateGet(this, _hasDisposeAfter) && __privateGet(this, _disposed)) { + const dt = __privateGet(this, _disposed); let task; - while (task = dt?.shift()) { - this.#disposeAfter?.(...task); + while (task = dt == null ? void 0 : dt.shift()) { + (_c = __privateGet(this, _disposeAfter)) == null ? void 0 : _c.call(this, ...task); } } return this; } + /** + * Evict the least recently used item, returning its value or + * `undefined` if cache is empty. + */ pop() { + var _a4; try { - while (this.#size) { - const val = this.#valList[this.#head]; - this.#evict(true); - if (this.#isBackgroundFetch(val)) { + while (__privateGet(this, _size2)) { + const val = __privateGet(this, _valList)[__privateGet(this, _head)]; + __privateMethod(this, _evict, evict_fn).call(this, true); + if (__privateMethod(this, _isBackgroundFetch, isBackgroundFetch_fn).call(this, val)) { if (val.__staleWhileFetching) { return val.__staleWhileFetching; } @@ -2366,202 +2468,77 @@ var require_cjs = __commonJS({ } } } finally { - if (this.#hasDisposeAfter && this.#disposed) { - const dt = this.#disposed; + if (__privateGet(this, _hasDisposeAfter) && __privateGet(this, _disposed)) { + const dt = __privateGet(this, _disposed); let task; - while (task = dt?.shift()) { - this.#disposeAfter?.(...task); + while (task = dt == null ? void 0 : dt.shift()) { + (_a4 = __privateGet(this, _disposeAfter)) == null ? void 0 : _a4.call(this, ...task); } } } } - #evict(free) { - const head = this.#head; - const k = this.#keyList[head]; - const v = this.#valList[head]; - if (this.#hasFetchMethod && this.#isBackgroundFetch(v)) { - v.__abortController.abort(new Error("evicted")); - } else if (this.#hasDispose || this.#hasDisposeAfter) { - if (this.#hasDispose) { - this.#dispose?.(v, k, "evict"); - } - if (this.#hasDisposeAfter) { - this.#disposed?.push([v, k, "evict"]); - } - } - this.#removeItemSize(head); - if (free) { - this.#keyList[head] = void 0; - this.#valList[head] = void 0; - this.#free.push(head); - } - if (this.#size === 1) { - this.#head = this.#tail = 0; - this.#free.length = 0; - } else { - this.#head = this.#next[head]; - } - this.#keyMap.delete(k); - this.#size--; - return head; - } + /** + * Check if a key is in the cache, without updating the recency of use. + * Will return false if the item is stale, even though it is technically + * in the cache. + * + * Will not update item age unless + * {@link LRUCache.OptionsBase.updateAgeOnHas} is set. + */ has(k, hasOptions = {}) { const { updateAgeOnHas = this.updateAgeOnHas, status } = hasOptions; - const index = this.#keyMap.get(k); + const index = __privateGet(this, _keyMap).get(k); if (index !== void 0) { - const v = this.#valList[index]; - if (this.#isBackgroundFetch(v) && v.__staleWhileFetching === void 0) { + const v = __privateGet(this, _valList)[index]; + if (__privateMethod(this, _isBackgroundFetch, isBackgroundFetch_fn).call(this, v) && v.__staleWhileFetching === void 0) { return false; } - if (!this.#isStale(index)) { + if (!__privateGet(this, _isStale).call(this, index)) { if (updateAgeOnHas) { - this.#updateItemAge(index); + __privateGet(this, _updateItemAge).call(this, index); } if (status) { status.has = "hit"; - this.#statusTTL(status, index); + __privateGet(this, _statusTTL).call(this, status, index); } return true; } else if (status) { status.has = "stale"; - this.#statusTTL(status, index); + __privateGet(this, _statusTTL).call(this, status, index); } } else if (status) { status.has = "miss"; } return false; } + /** + * Like {@link LRUCache#get} but doesn't update recency or delete stale + * items. + * + * Returns `undefined` if the item is stale, unless + * {@link LRUCache.OptionsBase.allowStale} is set. + */ peek(k, peekOptions = {}) { const { allowStale = this.allowStale } = peekOptions; - const index = this.#keyMap.get(k); - if (index !== void 0 && (allowStale || !this.#isStale(index))) { - const v = this.#valList[index]; - return this.#isBackgroundFetch(v) ? v.__staleWhileFetching : v; + const index = __privateGet(this, _keyMap).get(k); + if (index !== void 0 && (allowStale || !__privateGet(this, _isStale).call(this, index))) { + const v = __privateGet(this, _valList)[index]; + return __privateMethod(this, _isBackgroundFetch, isBackgroundFetch_fn).call(this, v) ? v.__staleWhileFetching : v; } } - #backgroundFetch(k, index, options, context) { - const v = index === void 0 ? void 0 : this.#valList[index]; - if (this.#isBackgroundFetch(v)) { - return v; - } - const ac = new AbortController(); - const { signal } = options; - signal?.addEventListener("abort", () => ac.abort(signal.reason), { - signal: ac.signal - }); - const fetchOpts = { - signal: ac.signal, - options, - context - }; - const cb = (v2, updateCache = false) => { - const { aborted } = ac.signal; - const ignoreAbort = options.ignoreFetchAbort && v2 !== void 0; - if (options.status) { - if (aborted && !updateCache) { - options.status.fetchAborted = true; - options.status.fetchError = ac.signal.reason; - if (ignoreAbort) - options.status.fetchAbortIgnored = true; - } else { - options.status.fetchResolved = true; - } - } - if (aborted && !ignoreAbort && !updateCache) { - return fetchFail(ac.signal.reason); - } - const bf2 = p; - if (this.#valList[index] === p) { - if (v2 === void 0) { - if (bf2.__staleWhileFetching) { - this.#valList[index] = bf2.__staleWhileFetching; - } else { - this.delete(k); - } - } else { - if (options.status) - options.status.fetchUpdated = true; - this.set(k, v2, fetchOpts.options); - } - } - return v2; - }; - const eb = (er) => { - if (options.status) { - options.status.fetchRejected = true; - options.status.fetchError = er; - } - return fetchFail(er); - }; - const fetchFail = (er) => { - const { aborted } = ac.signal; - const allowStaleAborted = aborted && options.allowStaleOnFetchAbort; - const allowStale = allowStaleAborted || options.allowStaleOnFetchRejection; - const noDelete = allowStale || options.noDeleteOnFetchRejection; - const bf2 = p; - if (this.#valList[index] === p) { - const del = !noDelete || bf2.__staleWhileFetching === void 0; - if (del) { - this.delete(k); - } else if (!allowStaleAborted) { - this.#valList[index] = bf2.__staleWhileFetching; - } - } - if (allowStale) { - if (options.status && bf2.__staleWhileFetching !== void 0) { - options.status.returnedStale = true; - } - return bf2.__staleWhileFetching; - } else if (bf2.__returned === bf2) { - throw er; - } - }; - const pcall = (res, rej) => { - const fmp = this.#fetchMethod?.(k, v, fetchOpts); - if (fmp && fmp instanceof Promise) { - fmp.then((v2) => res(v2), rej); - } - ac.signal.addEventListener("abort", () => { - if (!options.ignoreFetchAbort || options.allowStaleOnFetchAbort) { - res(); - if (options.allowStaleOnFetchAbort) { - res = (v2) => cb(v2, true); - } - } - }); - }; - if (options.status) - options.status.fetchDispatched = true; - const p = new Promise(pcall).then(cb, eb); - const bf = Object.assign(p, { - __abortController: ac, - __staleWhileFetching: v, - __returned: void 0 - }); - if (index === void 0) { - this.set(k, bf, { ...fetchOpts.options, status: void 0 }); - index = this.#keyMap.get(k); - } else { - this.#valList[index] = bf; - } - return bf; - } - #isBackgroundFetch(p) { - if (!this.#hasFetchMethod) - return false; - const b = p; - return !!b && b instanceof Promise && b.hasOwnProperty("__staleWhileFetching") && b.__abortController instanceof AbortController; - } async fetch(k, fetchOptions = {}) { const { + // get options allowStale = this.allowStale, updateAgeOnGet = this.updateAgeOnGet, noDeleteOnStaleGet = this.noDeleteOnStaleGet, + // set options ttl = this.ttl, noDisposeOnSet = this.noDisposeOnSet, size = 0, sizeCalculation = this.sizeCalculation, noUpdateTTL = this.noUpdateTTL, + // fetch exclusive options noDeleteOnFetchRejection = this.noDeleteOnFetchRejection, allowStaleOnFetchRejection = this.allowStaleOnFetchRejection, ignoreFetchAbort = this.ignoreFetchAbort, @@ -2571,7 +2548,7 @@ var require_cjs = __commonJS({ status, signal } = fetchOptions; - if (!this.#hasFetchMethod) { + if (!__privateGet(this, _hasFetchMethod)) { if (status) status.fetch = "get"; return this.get(k, { @@ -2597,15 +2574,15 @@ var require_cjs = __commonJS({ status, signal }; - let index = this.#keyMap.get(k); + let index = __privateGet(this, _keyMap).get(k); if (index === void 0) { if (status) status.fetch = "miss"; - const p = this.#backgroundFetch(k, index, options, context); + const p = __privateMethod(this, _backgroundFetch, backgroundFetch_fn).call(this, k, index, options, context); return p.__returned = p; } else { - const v = this.#valList[index]; - if (this.#isBackgroundFetch(v)) { + const v = __privateGet(this, _valList)[index]; + if (__privateMethod(this, _isBackgroundFetch, isBackgroundFetch_fn).call(this, v)) { const stale = allowStale && v.__staleWhileFetching !== void 0; if (status) { status.fetch = "inflight"; @@ -2614,19 +2591,19 @@ var require_cjs = __commonJS({ } return stale ? v.__staleWhileFetching : v.__returned = v; } - const isStale = this.#isStale(index); + const isStale = __privateGet(this, _isStale).call(this, index); if (!forceRefresh && !isStale) { if (status) status.fetch = "hit"; - this.#moveToTail(index); + __privateMethod(this, _moveToTail, moveToTail_fn).call(this, index); if (updateAgeOnGet) { - this.#updateItemAge(index); + __privateGet(this, _updateItemAge).call(this, index); } if (status) - this.#statusTTL(status, index); + __privateGet(this, _statusTTL).call(this, status, index); return v; } - const p = this.#backgroundFetch(k, index, options, context); + const p = __privateMethod(this, _backgroundFetch, backgroundFetch_fn).call(this, k, index, options, context); const hasStale = p.__staleWhileFetching !== void 0; const staleVal = hasStale && allowStale; if (status) { @@ -2637,15 +2614,21 @@ var require_cjs = __commonJS({ return staleVal ? p.__staleWhileFetching : p.__returned = p; } } + /** + * Return a value from the cache. Will update the recency of the cache + * entry found. + * + * If the key is not found, get() will return `undefined`. + */ get(k, getOptions = {}) { const { allowStale = this.allowStale, updateAgeOnGet = this.updateAgeOnGet, noDeleteOnStaleGet = this.noDeleteOnStaleGet, status } = getOptions; - const index = this.#keyMap.get(k); + const index = __privateGet(this, _keyMap).get(k); if (index !== void 0) { - const value = this.#valList[index]; - const fetching = this.#isBackgroundFetch(value); + const value = __privateGet(this, _valList)[index]; + const fetching = __privateMethod(this, _isBackgroundFetch, isBackgroundFetch_fn).call(this, value); if (status) - this.#statusTTL(status, index); - if (this.#isStale(index)) { + __privateGet(this, _statusTTL).call(this, status, index); + if (__privateGet(this, _isStale).call(this, index)) { if (status) status.get = "stale"; if (!fetching) { @@ -2667,126 +2650,455 @@ var require_cjs = __commonJS({ if (fetching) { return value.__staleWhileFetching; } - this.#moveToTail(index); + __privateMethod(this, _moveToTail, moveToTail_fn).call(this, index); if (updateAgeOnGet) { - this.#updateItemAge(index); + __privateGet(this, _updateItemAge).call(this, index); } return value; } } else if (status) { status.get = "miss"; } - } - #connect(p, n) { - this.#prev[n] = p; - this.#next[p] = n; - } - #moveToTail(index) { - if (index !== this.#tail) { - if (index === this.#head) { - this.#head = this.#next[index]; + } + /** + * Deletes a key out of the cache. + * Returns true if the key was deleted, false otherwise. + */ + delete(k) { + var _a4, _b, _c, _d2; + let deleted = false; + if (__privateGet(this, _size2) !== 0) { + const index = __privateGet(this, _keyMap).get(k); + if (index !== void 0) { + deleted = true; + if (__privateGet(this, _size2) === 1) { + this.clear(); + } else { + __privateGet(this, _removeItemSize).call(this, index); + const v = __privateGet(this, _valList)[index]; + if (__privateMethod(this, _isBackgroundFetch, isBackgroundFetch_fn).call(this, v)) { + v.__abortController.abort(new Error("deleted")); + } else if (__privateGet(this, _hasDispose) || __privateGet(this, _hasDisposeAfter)) { + if (__privateGet(this, _hasDispose)) { + (_a4 = __privateGet(this, _dispose)) == null ? void 0 : _a4.call(this, v, k, "delete"); + } + if (__privateGet(this, _hasDisposeAfter)) { + (_b = __privateGet(this, _disposed)) == null ? void 0 : _b.push([v, k, "delete"]); + } + } + __privateGet(this, _keyMap).delete(k); + __privateGet(this, _keyList)[index] = void 0; + __privateGet(this, _valList)[index] = void 0; + if (index === __privateGet(this, _tail)) { + __privateSet(this, _tail, __privateGet(this, _prev)[index]); + } else if (index === __privateGet(this, _head)) { + __privateSet(this, _head, __privateGet(this, _next)[index]); + } else { + __privateGet(this, _next)[__privateGet(this, _prev)[index]] = __privateGet(this, _next)[index]; + __privateGet(this, _prev)[__privateGet(this, _next)[index]] = __privateGet(this, _prev)[index]; + } + __privateWrapper(this, _size2)._--; + __privateGet(this, _free).push(index); + } + } + } + if (__privateGet(this, _hasDisposeAfter) && ((_c = __privateGet(this, _disposed)) == null ? void 0 : _c.length)) { + const dt = __privateGet(this, _disposed); + let task; + while (task = dt == null ? void 0 : dt.shift()) { + (_d2 = __privateGet(this, _disposeAfter)) == null ? void 0 : _d2.call(this, ...task); + } + } + return deleted; + } + /** + * Clear the cache entirely, throwing away all values. + */ + clear() { + var _a4, _b, _c; + for (const index of __privateMethod(this, _rindexes, rindexes_fn).call(this, { allowStale: true })) { + const v = __privateGet(this, _valList)[index]; + if (__privateMethod(this, _isBackgroundFetch, isBackgroundFetch_fn).call(this, v)) { + v.__abortController.abort(new Error("deleted")); + } else { + const k = __privateGet(this, _keyList)[index]; + if (__privateGet(this, _hasDispose)) { + (_a4 = __privateGet(this, _dispose)) == null ? void 0 : _a4.call(this, v, k, "delete"); + } + if (__privateGet(this, _hasDisposeAfter)) { + (_b = __privateGet(this, _disposed)) == null ? void 0 : _b.push([v, k, "delete"]); + } + } + } + __privateGet(this, _keyMap).clear(); + __privateGet(this, _valList).fill(void 0); + __privateGet(this, _keyList).fill(void 0); + if (__privateGet(this, _ttls) && __privateGet(this, _starts)) { + __privateGet(this, _ttls).fill(0); + __privateGet(this, _starts).fill(0); + } + if (__privateGet(this, _sizes)) { + __privateGet(this, _sizes).fill(0); + } + __privateSet(this, _head, 0); + __privateSet(this, _tail, 0); + __privateGet(this, _free).length = 0; + __privateSet(this, _calculatedSize, 0); + __privateSet(this, _size2, 0); + if (__privateGet(this, _hasDisposeAfter) && __privateGet(this, _disposed)) { + const dt = __privateGet(this, _disposed); + let task; + while (task = dt == null ? void 0 : dt.shift()) { + (_c = __privateGet(this, _disposeAfter)) == null ? void 0 : _c.call(this, ...task); + } + } + } + }; + _max = new WeakMap(); + _maxSize = new WeakMap(); + _dispose = new WeakMap(); + _disposeAfter = new WeakMap(); + _fetchMethod = new WeakMap(); + _size2 = new WeakMap(); + _calculatedSize = new WeakMap(); + _keyMap = new WeakMap(); + _keyList = new WeakMap(); + _valList = new WeakMap(); + _next = new WeakMap(); + _prev = new WeakMap(); + _head = new WeakMap(); + _tail = new WeakMap(); + _free = new WeakMap(); + _disposed = new WeakMap(); + _sizes = new WeakMap(); + _starts = new WeakMap(); + _ttls = new WeakMap(); + _hasDispose = new WeakMap(); + _hasFetchMethod = new WeakMap(); + _hasDisposeAfter = new WeakMap(); + _initializeTTLTracking = new WeakSet(); + initializeTTLTracking_fn = /* @__PURE__ */ __name(function() { + const ttls = new ZeroArray(__privateGet(this, _max)); + const starts = new ZeroArray(__privateGet(this, _max)); + __privateSet(this, _ttls, ttls); + __privateSet(this, _starts, starts); + __privateSet(this, _setItemTTL, (index, ttl, start = perf.now()) => { + starts[index] = ttl !== 0 ? start : 0; + ttls[index] = ttl; + if (ttl !== 0 && this.ttlAutopurge) { + const t2 = setTimeout(() => { + if (__privateGet(this, _isStale).call(this, index)) { + this.delete(__privateGet(this, _keyList)[index]); + } + }, ttl + 1); + if (t2.unref) { + t2.unref(); + } + } + }); + __privateSet(this, _updateItemAge, (index) => { + starts[index] = ttls[index] !== 0 ? perf.now() : 0; + }); + __privateSet(this, _statusTTL, (status, index) => { + if (ttls[index]) { + const ttl = ttls[index]; + const start = starts[index]; + status.ttl = ttl; + status.start = start; + status.now = cachedNow || getNow(); + status.remainingTTL = status.now + ttl - start; + } + }); + let cachedNow = 0; + const getNow = /* @__PURE__ */ __name(() => { + const n = perf.now(); + if (this.ttlResolution > 0) { + cachedNow = n; + const t2 = setTimeout(() => cachedNow = 0, this.ttlResolution); + if (t2.unref) { + t2.unref(); + } + } + return n; + }, "getNow"); + this.getRemainingTTL = (key) => { + const index = __privateGet(this, _keyMap).get(key); + if (index === void 0) { + return 0; + } + return ttls[index] === 0 || starts[index] === 0 ? Infinity : starts[index] + ttls[index] - (cachedNow || getNow()); + }; + __privateSet(this, _isStale, (index) => { + return ttls[index] !== 0 && starts[index] !== 0 && (cachedNow || getNow()) - starts[index] > ttls[index]; + }); + }, "#initializeTTLTracking"); + _updateItemAge = new WeakMap(); + _statusTTL = new WeakMap(); + _setItemTTL = new WeakMap(); + _isStale = new WeakMap(); + _initializeSizeTracking = new WeakSet(); + initializeSizeTracking_fn = /* @__PURE__ */ __name(function() { + const sizes = new ZeroArray(__privateGet(this, _max)); + __privateSet(this, _calculatedSize, 0); + __privateSet(this, _sizes, sizes); + __privateSet(this, _removeItemSize, (index) => { + __privateSet(this, _calculatedSize, __privateGet(this, _calculatedSize) - sizes[index]); + sizes[index] = 0; + }); + __privateSet(this, _requireSize, (k, v, size, sizeCalculation) => { + if (__privateMethod(this, _isBackgroundFetch, isBackgroundFetch_fn).call(this, v)) { + return 0; + } + if (!isPosInt(size)) { + if (sizeCalculation) { + if (typeof sizeCalculation !== "function") { + throw new TypeError("sizeCalculation must be a function"); + } + size = sizeCalculation(v, k); + if (!isPosInt(size)) { + throw new TypeError("sizeCalculation return invalid (expect positive integer)"); + } } else { - this.#connect(this.#prev[index], this.#next[index]); + throw new TypeError("invalid size value (must be positive integer). When maxSize or maxEntrySize is used, sizeCalculation or size must be set."); } - this.#connect(this.#tail, index); - this.#tail = index; } - } - delete(k) { - let deleted = false; - if (this.#size !== 0) { - const index = this.#keyMap.get(k); - if (index !== void 0) { - deleted = true; - if (this.#size === 1) { - this.clear(); - } else { - this.#removeItemSize(index); - const v = this.#valList[index]; - if (this.#isBackgroundFetch(v)) { - v.__abortController.abort(new Error("deleted")); - } else if (this.#hasDispose || this.#hasDisposeAfter) { - if (this.#hasDispose) { - this.#dispose?.(v, k, "delete"); - } - if (this.#hasDisposeAfter) { - this.#disposed?.push([v, k, "delete"]); - } - } - this.#keyMap.delete(k); - this.#keyList[index] = void 0; - this.#valList[index] = void 0; - if (index === this.#tail) { - this.#tail = this.#prev[index]; - } else if (index === this.#head) { - this.#head = this.#next[index]; - } else { - this.#next[this.#prev[index]] = this.#next[index]; - this.#prev[this.#next[index]] = this.#prev[index]; - } - this.#size--; - this.#free.push(index); - } + return size; + }); + __privateSet(this, _addItemSize, (index, size, status) => { + sizes[index] = size; + if (__privateGet(this, _maxSize)) { + const maxSize = __privateGet(this, _maxSize) - sizes[index]; + while (__privateGet(this, _calculatedSize) > maxSize) { + __privateMethod(this, _evict, evict_fn).call(this, true); } } - if (this.#hasDisposeAfter && this.#disposed?.length) { - const dt = this.#disposed; - let task; - while (task = dt?.shift()) { - this.#disposeAfter?.(...task); + __privateSet(this, _calculatedSize, __privateGet(this, _calculatedSize) + sizes[index]); + if (status) { + status.entrySize = size; + status.totalCalculatedSize = __privateGet(this, _calculatedSize); + } + }); + }, "#initializeSizeTracking"); + _removeItemSize = new WeakMap(); + _addItemSize = new WeakMap(); + _requireSize = new WeakMap(); + _indexes = new WeakSet(); + indexes_fn = /* @__PURE__ */ __name(function* ({ allowStale = this.allowStale } = {}) { + if (__privateGet(this, _size2)) { + for (let i2 = __privateGet(this, _tail); true; ) { + if (!__privateMethod(this, _isValidIndex, isValidIndex_fn).call(this, i2)) { + break; + } + if (allowStale || !__privateGet(this, _isStale).call(this, i2)) { + yield i2; + } + if (i2 === __privateGet(this, _head)) { + break; + } else { + i2 = __privateGet(this, _prev)[i2]; } } - return deleted; } - clear() { - for (const index of this.#rindexes({ allowStale: true })) { - const v = this.#valList[index]; - if (this.#isBackgroundFetch(v)) { - v.__abortController.abort(new Error("deleted")); + }, "#indexes"); + _rindexes = new WeakSet(); + rindexes_fn = /* @__PURE__ */ __name(function* ({ allowStale = this.allowStale } = {}) { + if (__privateGet(this, _size2)) { + for (let i2 = __privateGet(this, _head); true; ) { + if (!__privateMethod(this, _isValidIndex, isValidIndex_fn).call(this, i2)) { + break; + } + if (allowStale || !__privateGet(this, _isStale).call(this, i2)) { + yield i2; + } + if (i2 === __privateGet(this, _tail)) { + break; } else { - const k = this.#keyList[index]; - if (this.#hasDispose) { - this.#dispose?.(v, k, "delete"); - } - if (this.#hasDisposeAfter) { - this.#disposed?.push([v, k, "delete"]); - } + i2 = __privateGet(this, _next)[i2]; + } + } + } + }, "#rindexes"); + _isValidIndex = new WeakSet(); + isValidIndex_fn = /* @__PURE__ */ __name(function(index) { + return index !== void 0 && __privateGet(this, _keyMap).get(__privateGet(this, _keyList)[index]) === index; + }, "#isValidIndex"); + _evict = new WeakSet(); + evict_fn = /* @__PURE__ */ __name(function(free) { + var _a4, _b; + const head = __privateGet(this, _head); + const k = __privateGet(this, _keyList)[head]; + const v = __privateGet(this, _valList)[head]; + if (__privateGet(this, _hasFetchMethod) && __privateMethod(this, _isBackgroundFetch, isBackgroundFetch_fn).call(this, v)) { + v.__abortController.abort(new Error("evicted")); + } else if (__privateGet(this, _hasDispose) || __privateGet(this, _hasDisposeAfter)) { + if (__privateGet(this, _hasDispose)) { + (_a4 = __privateGet(this, _dispose)) == null ? void 0 : _a4.call(this, v, k, "evict"); + } + if (__privateGet(this, _hasDisposeAfter)) { + (_b = __privateGet(this, _disposed)) == null ? void 0 : _b.push([v, k, "evict"]); + } + } + __privateGet(this, _removeItemSize).call(this, head); + if (free) { + __privateGet(this, _keyList)[head] = void 0; + __privateGet(this, _valList)[head] = void 0; + __privateGet(this, _free).push(head); + } + if (__privateGet(this, _size2) === 1) { + __privateSet(this, _head, __privateSet(this, _tail, 0)); + __privateGet(this, _free).length = 0; + } else { + __privateSet(this, _head, __privateGet(this, _next)[head]); + } + __privateGet(this, _keyMap).delete(k); + __privateWrapper(this, _size2)._--; + return head; + }, "#evict"); + _backgroundFetch = new WeakSet(); + backgroundFetch_fn = /* @__PURE__ */ __name(function(k, index, options, context) { + const v = index === void 0 ? void 0 : __privateGet(this, _valList)[index]; + if (__privateMethod(this, _isBackgroundFetch, isBackgroundFetch_fn).call(this, v)) { + return v; + } + const ac = new AbortController(); + const { signal } = options; + signal == null ? void 0 : signal.addEventListener("abort", () => ac.abort(signal.reason), { + signal: ac.signal + }); + const fetchOpts = { + signal: ac.signal, + options, + context + }; + const cb = /* @__PURE__ */ __name((v2, updateCache = false) => { + const { aborted } = ac.signal; + const ignoreAbort = options.ignoreFetchAbort && v2 !== void 0; + if (options.status) { + if (aborted && !updateCache) { + options.status.fetchAborted = true; + options.status.fetchError = ac.signal.reason; + if (ignoreAbort) + options.status.fetchAbortIgnored = true; + } else { + options.status.fetchResolved = true; } } - this.#keyMap.clear(); - this.#valList.fill(void 0); - this.#keyList.fill(void 0); - if (this.#ttls && this.#starts) { - this.#ttls.fill(0); - this.#starts.fill(0); - } - if (this.#sizes) { - this.#sizes.fill(0); + if (aborted && !ignoreAbort && !updateCache) { + return fetchFail(ac.signal.reason); } - this.#head = 0; - this.#tail = 0; - this.#free.length = 0; - this.#calculatedSize = 0; - this.#size = 0; - if (this.#hasDisposeAfter && this.#disposed) { - const dt = this.#disposed; - let task; - while (task = dt?.shift()) { - this.#disposeAfter?.(...task); + const bf2 = p; + if (__privateGet(this, _valList)[index] === p) { + if (v2 === void 0) { + if (bf2.__staleWhileFetching) { + __privateGet(this, _valList)[index] = bf2.__staleWhileFetching; + } else { + this.delete(k); + } + } else { + if (options.status) + options.status.fetchUpdated = true; + this.set(k, v2, fetchOpts.options); + } + } + return v2; + }, "cb"); + const eb = /* @__PURE__ */ __name((er) => { + if (options.status) { + options.status.fetchRejected = true; + options.status.fetchError = er; + } + return fetchFail(er); + }, "eb"); + const fetchFail = /* @__PURE__ */ __name((er) => { + const { aborted } = ac.signal; + const allowStaleAborted = aborted && options.allowStaleOnFetchAbort; + const allowStale = allowStaleAborted || options.allowStaleOnFetchRejection; + const noDelete = allowStale || options.noDeleteOnFetchRejection; + const bf2 = p; + if (__privateGet(this, _valList)[index] === p) { + const del = !noDelete || bf2.__staleWhileFetching === void 0; + if (del) { + this.delete(k); + } else if (!allowStaleAborted) { + __privateGet(this, _valList)[index] = bf2.__staleWhileFetching; + } + } + if (allowStale) { + if (options.status && bf2.__staleWhileFetching !== void 0) { + options.status.returnedStale = true; + } + return bf2.__staleWhileFetching; + } else if (bf2.__returned === bf2) { + throw er; + } + }, "fetchFail"); + const pcall = /* @__PURE__ */ __name((res, rej) => { + var _a4; + const fmp = (_a4 = __privateGet(this, _fetchMethod)) == null ? void 0 : _a4.call(this, k, v, fetchOpts); + if (fmp && fmp instanceof Promise) { + fmp.then((v2) => res(v2), rej); + } + ac.signal.addEventListener("abort", () => { + if (!options.ignoreFetchAbort || options.allowStaleOnFetchAbort) { + res(); + if (options.allowStaleOnFetchAbort) { + res = /* @__PURE__ */ __name((v2) => cb(v2, true), "res"); + } } + }); + }, "pcall"); + if (options.status) + options.status.fetchDispatched = true; + const p = new Promise(pcall).then(cb, eb); + const bf = Object.assign(p, { + __abortController: ac, + __staleWhileFetching: v, + __returned: void 0 + }); + if (index === void 0) { + this.set(k, bf, { ...fetchOpts.options, status: void 0 }); + index = __privateGet(this, _keyMap).get(k); + } else { + __privateGet(this, _valList)[index] = bf; + } + return bf; + }, "#backgroundFetch"); + _isBackgroundFetch = new WeakSet(); + isBackgroundFetch_fn = /* @__PURE__ */ __name(function(p) { + if (!__privateGet(this, _hasFetchMethod)) + return false; + const b = p; + return !!b && b instanceof Promise && b.hasOwnProperty("__staleWhileFetching") && b.__abortController instanceof AbortController; + }, "#isBackgroundFetch"); + _connect = new WeakSet(); + connect_fn = /* @__PURE__ */ __name(function(p, n) { + __privateGet(this, _prev)[n] = p; + __privateGet(this, _next)[p] = n; + }, "#connect"); + _moveToTail = new WeakSet(); + moveToTail_fn = /* @__PURE__ */ __name(function(index) { + if (index !== __privateGet(this, _tail)) { + if (index === __privateGet(this, _head)) { + __privateSet(this, _head, __privateGet(this, _next)[index]); + } else { + __privateMethod(this, _connect, connect_fn).call(this, __privateGet(this, _prev)[index], __privateGet(this, _next)[index]); } + __privateMethod(this, _connect, connect_fn).call(this, __privateGet(this, _tail), index); + __privateSet(this, _tail, index); } - }; - exports.LRUCache = LRUCache; - exports.default = LRUCache; + }, "#moveToTail"); + __name(_LRUCache, "LRUCache"); + var LRUCache = _LRUCache; + exports2.LRUCache = LRUCache; + exports2.default = LRUCache; } }); // node_modules/.pnpm/lru-cache@8.0.5/node_modules/lru-cache/dist/cjs/index-cjs.js var require_index_cjs = __commonJS({ - "node_modules/.pnpm/lru-cache@8.0.5/node_modules/lru-cache/dist/cjs/index-cjs.js"(exports, module2) { + "node_modules/.pnpm/lru-cache@8.0.5/node_modules/lru-cache/dist/cjs/index-cjs.js"(exports2, module2) { "use strict"; - var __importDefault = exports && exports.__importDefault || function(mod) { + var __importDefault = exports2 && exports2.__importDefault || function(mod) { return mod && mod.__esModule ? mod : { "default": mod }; }; var index_js_1 = __importDefault(require_cjs()); @@ -2796,3962 +3108,3981 @@ var require_index_cjs = __commonJS({ // node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/constants/errors.js var require_errors = __commonJS({ - "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/constants/errors.js"(exports) { + "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/constants/errors.js"(exports2) { "use strict"; - exports.EE_CANTCREATEFILE = 1; - exports.EE_READ = 2; - exports.EE_WRITE = 3; - exports.EE_BADCLOSE = 4; - exports.EE_OUTOFMEMORY = 5; - exports.EE_DELETE = 6; - exports.EE_LINK = 7; - exports.EE_EOFERR = 9; - exports.EE_CANTLOCK = 10; - exports.EE_CANTUNLOCK = 11; - exports.EE_DIR = 12; - exports.EE_STAT = 13; - exports.EE_CANT_CHSIZE = 14; - exports.EE_CANT_OPEN_STREAM = 15; - exports.EE_GETWD = 16; - exports.EE_SETWD = 17; - exports.EE_LINK_WARNING = 18; - exports.EE_OPEN_WARNING = 19; - exports.EE_DISK_FULL = 20; - exports.EE_CANT_MKDIR = 21; - exports.EE_UNKNOWN_CHARSET = 22; - exports.EE_OUT_OF_FILERESOURCES = 23; - exports.EE_CANT_READLINK = 24; - exports.EE_CANT_SYMLINK = 25; - exports.EE_REALPATH = 26; - exports.EE_SYNC = 27; - exports.EE_UNKNOWN_COLLATION = 28; - exports.EE_FILENOTFOUND = 29; - exports.EE_FILE_NOT_CLOSED = 30; - exports.EE_CHANGE_OWNERSHIP = 31; - exports.EE_CHANGE_PERMISSIONS = 32; - exports.EE_CANT_SEEK = 33; - exports.EE_CAPACITY_EXCEEDED = 34; - exports.EE_DISK_FULL_WITH_RETRY_MSG = 35; - exports.EE_FAILED_TO_CREATE_TIMER = 36; - exports.EE_FAILED_TO_DELETE_TIMER = 37; - exports.EE_FAILED_TO_CREATE_TIMER_QUEUE = 38; - exports.EE_FAILED_TO_START_TIMER_NOTIFY_THREAD = 39; - exports.EE_FAILED_TO_CREATE_TIMER_NOTIFY_THREAD_INTERRUPT_EVENT = 40; - exports.EE_EXITING_TIMER_NOTIFY_THREAD = 41; - exports.EE_WIN_LIBRARY_LOAD_FAILED = 42; - exports.EE_WIN_RUN_TIME_ERROR_CHECK = 43; - exports.EE_FAILED_TO_DETERMINE_LARGE_PAGE_SIZE = 44; - exports.EE_FAILED_TO_KILL_ALL_THREADS = 45; - exports.EE_FAILED_TO_CREATE_IO_COMPLETION_PORT = 46; - exports.EE_FAILED_TO_OPEN_DEFAULTS_FILE = 47; - exports.EE_FAILED_TO_HANDLE_DEFAULTS_FILE = 48; - exports.EE_WRONG_DIRECTIVE_IN_CONFIG_FILE = 49; - exports.EE_SKIPPING_DIRECTIVE_DUE_TO_MAX_INCLUDE_RECURSION = 50; - exports.EE_INCORRECT_GRP_DEFINITION_IN_CONFIG_FILE = 51; - exports.EE_OPTION_WITHOUT_GRP_IN_CONFIG_FILE = 52; - exports.EE_CONFIG_FILE_PERMISSION_ERROR = 53; - exports.EE_IGNORE_WORLD_WRITABLE_CONFIG_FILE = 54; - exports.EE_USING_DISABLED_OPTION = 55; - exports.EE_USING_DISABLED_SHORT_OPTION = 56; - exports.EE_USING_PASSWORD_ON_CLI_IS_INSECURE = 57; - exports.EE_UNKNOWN_SUFFIX_FOR_VARIABLE = 58; - exports.EE_SSL_ERROR_FROM_FILE = 59; - exports.EE_SSL_ERROR = 60; - exports.EE_NET_SEND_ERROR_IN_BOOTSTRAP = 61; - exports.EE_PACKETS_OUT_OF_ORDER = 62; - exports.EE_UNKNOWN_PROTOCOL_OPTION = 63; - exports.EE_FAILED_TO_LOCATE_SERVER_PUBLIC_KEY = 64; - exports.EE_PUBLIC_KEY_NOT_IN_PEM_FORMAT = 65; - exports.EE_DEBUG_INFO = 66; - exports.EE_UNKNOWN_VARIABLE = 67; - exports.EE_UNKNOWN_OPTION = 68; - exports.EE_UNKNOWN_SHORT_OPTION = 69; - exports.EE_OPTION_WITHOUT_ARGUMENT = 70; - exports.EE_OPTION_REQUIRES_ARGUMENT = 71; - exports.EE_SHORT_OPTION_REQUIRES_ARGUMENT = 72; - exports.EE_OPTION_IGNORED_DUE_TO_INVALID_VALUE = 73; - exports.EE_OPTION_WITH_EMPTY_VALUE = 74; - exports.EE_FAILED_TO_ASSIGN_MAX_VALUE_TO_OPTION = 75; - exports.EE_INCORRECT_BOOLEAN_VALUE_FOR_OPTION = 76; - exports.EE_FAILED_TO_SET_OPTION_VALUE = 77; - exports.EE_INCORRECT_INT_VALUE_FOR_OPTION = 78; - exports.EE_INCORRECT_UINT_VALUE_FOR_OPTION = 79; - exports.EE_ADJUSTED_SIGNED_VALUE_FOR_OPTION = 80; - exports.EE_ADJUSTED_UNSIGNED_VALUE_FOR_OPTION = 81; - exports.EE_ADJUSTED_ULONGLONG_VALUE_FOR_OPTION = 82; - exports.EE_ADJUSTED_DOUBLE_VALUE_FOR_OPTION = 83; - exports.EE_INVALID_DECIMAL_VALUE_FOR_OPTION = 84; - exports.EE_COLLATION_PARSER_ERROR = 85; - exports.EE_FAILED_TO_RESET_BEFORE_PRIMARY_IGNORABLE_CHAR = 86; - exports.EE_FAILED_TO_RESET_BEFORE_TERTIARY_IGNORABLE_CHAR = 87; - exports.EE_SHIFT_CHAR_OUT_OF_RANGE = 88; - exports.EE_RESET_CHAR_OUT_OF_RANGE = 89; - exports.EE_UNKNOWN_LDML_TAG = 90; - exports.EE_FAILED_TO_RESET_BEFORE_SECONDARY_IGNORABLE_CHAR = 91; - exports.EE_FAILED_PROCESSING_DIRECTIVE = 92; - exports.EE_PTHREAD_KILL_FAILED = 93; - exports.HA_ERR_KEY_NOT_FOUND = 120; - exports.HA_ERR_FOUND_DUPP_KEY = 121; - exports.HA_ERR_INTERNAL_ERROR = 122; - exports.HA_ERR_RECORD_CHANGED = 123; - exports.HA_ERR_WRONG_INDEX = 124; - exports.HA_ERR_ROLLED_BACK = 125; - exports.HA_ERR_CRASHED = 126; - exports.HA_ERR_WRONG_IN_RECORD = 127; - exports.HA_ERR_OUT_OF_MEM = 128; - exports.HA_ERR_NOT_A_TABLE = 130; - exports.HA_ERR_WRONG_COMMAND = 131; - exports.HA_ERR_OLD_FILE = 132; - exports.HA_ERR_NO_ACTIVE_RECORD = 133; - exports.HA_ERR_RECORD_DELETED = 134; - exports.HA_ERR_RECORD_FILE_FULL = 135; - exports.HA_ERR_INDEX_FILE_FULL = 136; - exports.HA_ERR_END_OF_FILE = 137; - exports.HA_ERR_UNSUPPORTED = 138; - exports.HA_ERR_TOO_BIG_ROW = 139; - exports.HA_WRONG_CREATE_OPTION = 140; - exports.HA_ERR_FOUND_DUPP_UNIQUE = 141; - exports.HA_ERR_UNKNOWN_CHARSET = 142; - exports.HA_ERR_WRONG_MRG_TABLE_DEF = 143; - exports.HA_ERR_CRASHED_ON_REPAIR = 144; - exports.HA_ERR_CRASHED_ON_USAGE = 145; - exports.HA_ERR_LOCK_WAIT_TIMEOUT = 146; - exports.HA_ERR_LOCK_TABLE_FULL = 147; - exports.HA_ERR_READ_ONLY_TRANSACTION = 148; - exports.HA_ERR_LOCK_DEADLOCK = 149; - exports.HA_ERR_CANNOT_ADD_FOREIGN = 150; - exports.HA_ERR_NO_REFERENCED_ROW = 151; - exports.HA_ERR_ROW_IS_REFERENCED = 152; - exports.HA_ERR_NO_SAVEPOINT = 153; - exports.HA_ERR_NON_UNIQUE_BLOCK_SIZE = 154; - exports.HA_ERR_NO_SUCH_TABLE = 155; - exports.HA_ERR_TABLE_EXIST = 156; - exports.HA_ERR_NO_CONNECTION = 157; - exports.HA_ERR_NULL_IN_SPATIAL = 158; - exports.HA_ERR_TABLE_DEF_CHANGED = 159; - exports.HA_ERR_NO_PARTITION_FOUND = 160; - exports.HA_ERR_RBR_LOGGING_FAILED = 161; - exports.HA_ERR_DROP_INDEX_FK = 162; - exports.HA_ERR_FOREIGN_DUPLICATE_KEY = 163; - exports.HA_ERR_TABLE_NEEDS_UPGRADE = 164; - exports.HA_ERR_TABLE_READONLY = 165; - exports.HA_ERR_AUTOINC_READ_FAILED = 166; - exports.HA_ERR_AUTOINC_ERANGE = 167; - exports.HA_ERR_GENERIC = 168; - exports.HA_ERR_RECORD_IS_THE_SAME = 169; - exports.HA_ERR_LOGGING_IMPOSSIBLE = 170; - exports.HA_ERR_CORRUPT_EVENT = 171; - exports.HA_ERR_NEW_FILE = 172; - exports.HA_ERR_ROWS_EVENT_APPLY = 173; - exports.HA_ERR_INITIALIZATION = 174; - exports.HA_ERR_FILE_TOO_SHORT = 175; - exports.HA_ERR_WRONG_CRC = 176; - exports.HA_ERR_TOO_MANY_CONCURRENT_TRXS = 177; - exports.HA_ERR_NOT_IN_LOCK_PARTITIONS = 178; - exports.HA_ERR_INDEX_COL_TOO_LONG = 179; - exports.HA_ERR_INDEX_CORRUPT = 180; - exports.HA_ERR_UNDO_REC_TOO_BIG = 181; - exports.HA_FTS_INVALID_DOCID = 182; - exports.HA_ERR_TABLE_IN_FK_CHECK = 183; - exports.HA_ERR_TABLESPACE_EXISTS = 184; - exports.HA_ERR_TOO_MANY_FIELDS = 185; - exports.HA_ERR_ROW_IN_WRONG_PARTITION = 186; - exports.HA_ERR_INNODB_READ_ONLY = 187; - exports.HA_ERR_FTS_EXCEED_RESULT_CACHE_LIMIT = 188; - exports.HA_ERR_TEMP_FILE_WRITE_FAILURE = 189; - exports.HA_ERR_INNODB_FORCED_RECOVERY = 190; - exports.HA_ERR_FTS_TOO_MANY_WORDS_IN_PHRASE = 191; - exports.HA_ERR_FK_DEPTH_EXCEEDED = 192; - exports.HA_MISSING_CREATE_OPTION = 193; - exports.HA_ERR_SE_OUT_OF_MEMORY = 194; - exports.HA_ERR_TABLE_CORRUPT = 195; - exports.HA_ERR_QUERY_INTERRUPTED = 196; - exports.HA_ERR_TABLESPACE_MISSING = 197; - exports.HA_ERR_TABLESPACE_IS_NOT_EMPTY = 198; - exports.HA_ERR_WRONG_FILE_NAME = 199; - exports.HA_ERR_NOT_ALLOWED_COMMAND = 200; - exports.HA_ERR_COMPUTE_FAILED = 201; - exports.HA_ERR_ROW_FORMAT_CHANGED = 202; - exports.HA_ERR_NO_WAIT_LOCK = 203; - exports.HA_ERR_DISK_FULL_NOWAIT = 204; - exports.HA_ERR_NO_SESSION_TEMP = 205; - exports.HA_ERR_WRONG_TABLE_NAME = 206; - exports.HA_ERR_TOO_LONG_PATH = 207; - exports.HA_ERR_SAMPLING_INIT_FAILED = 208; - exports.HA_ERR_FTS_TOO_MANY_NESTED_EXP = 209; - exports.ER_HASHCHK = 1e3; - exports.ER_NISAMCHK = 1001; - exports.ER_NO = 1002; - exports.ER_YES = 1003; - exports.ER_CANT_CREATE_FILE = 1004; - exports.ER_CANT_CREATE_TABLE = 1005; - exports.ER_CANT_CREATE_DB = 1006; - exports.ER_DB_CREATE_EXISTS = 1007; - exports.ER_DB_DROP_EXISTS = 1008; - exports.ER_DB_DROP_DELETE = 1009; - exports.ER_DB_DROP_RMDIR = 1010; - exports.ER_CANT_DELETE_FILE = 1011; - exports.ER_CANT_FIND_SYSTEM_REC = 1012; - exports.ER_CANT_GET_STAT = 1013; - exports.ER_CANT_GET_WD = 1014; - exports.ER_CANT_LOCK = 1015; - exports.ER_CANT_OPEN_FILE = 1016; - exports.ER_FILE_NOT_FOUND = 1017; - exports.ER_CANT_READ_DIR = 1018; - exports.ER_CANT_SET_WD = 1019; - exports.ER_CHECKREAD = 1020; - exports.ER_DISK_FULL = 1021; - exports.ER_DUP_KEY = 1022; - exports.ER_ERROR_ON_CLOSE = 1023; - exports.ER_ERROR_ON_READ = 1024; - exports.ER_ERROR_ON_RENAME = 1025; - exports.ER_ERROR_ON_WRITE = 1026; - exports.ER_FILE_USED = 1027; - exports.ER_FILSORT_ABORT = 1028; - exports.ER_FORM_NOT_FOUND = 1029; - exports.ER_GET_ERRNO = 1030; - exports.ER_ILLEGAL_HA = 1031; - exports.ER_KEY_NOT_FOUND = 1032; - exports.ER_NOT_FORM_FILE = 1033; - exports.ER_NOT_KEYFILE = 1034; - exports.ER_OLD_KEYFILE = 1035; - exports.ER_OPEN_AS_READONLY = 1036; - exports.ER_OUTOFMEMORY = 1037; - exports.ER_OUT_OF_SORTMEMORY = 1038; - exports.ER_UNEXPECTED_EOF = 1039; - exports.ER_CON_COUNT_ERROR = 1040; - exports.ER_OUT_OF_RESOURCES = 1041; - exports.ER_BAD_HOST_ERROR = 1042; - exports.ER_HANDSHAKE_ERROR = 1043; - exports.ER_DBACCESS_DENIED_ERROR = 1044; - exports.ER_ACCESS_DENIED_ERROR = 1045; - exports.ER_NO_DB_ERROR = 1046; - exports.ER_UNKNOWN_COM_ERROR = 1047; - exports.ER_BAD_NULL_ERROR = 1048; - exports.ER_BAD_DB_ERROR = 1049; - exports.ER_TABLE_EXISTS_ERROR = 1050; - exports.ER_BAD_TABLE_ERROR = 1051; - exports.ER_NON_UNIQ_ERROR = 1052; - exports.ER_SERVER_SHUTDOWN = 1053; - exports.ER_BAD_FIELD_ERROR = 1054; - exports.ER_WRONG_FIELD_WITH_GROUP = 1055; - exports.ER_WRONG_GROUP_FIELD = 1056; - exports.ER_WRONG_SUM_SELECT = 1057; - exports.ER_WRONG_VALUE_COUNT = 1058; - exports.ER_TOO_LONG_IDENT = 1059; - exports.ER_DUP_FIELDNAME = 1060; - exports.ER_DUP_KEYNAME = 1061; - exports.ER_DUP_ENTRY = 1062; - exports.ER_WRONG_FIELD_SPEC = 1063; - exports.ER_PARSE_ERROR = 1064; - exports.ER_EMPTY_QUERY = 1065; - exports.ER_NONUNIQ_TABLE = 1066; - exports.ER_INVALID_DEFAULT = 1067; - exports.ER_MULTIPLE_PRI_KEY = 1068; - exports.ER_TOO_MANY_KEYS = 1069; - exports.ER_TOO_MANY_KEY_PARTS = 1070; - exports.ER_TOO_LONG_KEY = 1071; - exports.ER_KEY_COLUMN_DOES_NOT_EXITS = 1072; - exports.ER_BLOB_USED_AS_KEY = 1073; - exports.ER_TOO_BIG_FIELDLENGTH = 1074; - exports.ER_WRONG_AUTO_KEY = 1075; - exports.ER_READY = 1076; - exports.ER_NORMAL_SHUTDOWN = 1077; - exports.ER_GOT_SIGNAL = 1078; - exports.ER_SHUTDOWN_COMPLETE = 1079; - exports.ER_FORCING_CLOSE = 1080; - exports.ER_IPSOCK_ERROR = 1081; - exports.ER_NO_SUCH_INDEX = 1082; - exports.ER_WRONG_FIELD_TERMINATORS = 1083; - exports.ER_BLOBS_AND_NO_TERMINATED = 1084; - exports.ER_TEXTFILE_NOT_READABLE = 1085; - exports.ER_FILE_EXISTS_ERROR = 1086; - exports.ER_LOAD_INFO = 1087; - exports.ER_ALTER_INFO = 1088; - exports.ER_WRONG_SUB_KEY = 1089; - exports.ER_CANT_REMOVE_ALL_FIELDS = 1090; - exports.ER_CANT_DROP_FIELD_OR_KEY = 1091; - exports.ER_INSERT_INFO = 1092; - exports.ER_UPDATE_TABLE_USED = 1093; - exports.ER_NO_SUCH_THREAD = 1094; - exports.ER_KILL_DENIED_ERROR = 1095; - exports.ER_NO_TABLES_USED = 1096; - exports.ER_TOO_BIG_SET = 1097; - exports.ER_NO_UNIQUE_LOGFILE = 1098; - exports.ER_TABLE_NOT_LOCKED_FOR_WRITE = 1099; - exports.ER_TABLE_NOT_LOCKED = 1100; - exports.ER_BLOB_CANT_HAVE_DEFAULT = 1101; - exports.ER_WRONG_DB_NAME = 1102; - exports.ER_WRONG_TABLE_NAME = 1103; - exports.ER_TOO_BIG_SELECT = 1104; - exports.ER_UNKNOWN_ERROR = 1105; - exports.ER_UNKNOWN_PROCEDURE = 1106; - exports.ER_WRONG_PARAMCOUNT_TO_PROCEDURE = 1107; - exports.ER_WRONG_PARAMETERS_TO_PROCEDURE = 1108; - exports.ER_UNKNOWN_TABLE = 1109; - exports.ER_FIELD_SPECIFIED_TWICE = 1110; - exports.ER_INVALID_GROUP_FUNC_USE = 1111; - exports.ER_UNSUPPORTED_EXTENSION = 1112; - exports.ER_TABLE_MUST_HAVE_COLUMNS = 1113; - exports.ER_RECORD_FILE_FULL = 1114; - exports.ER_UNKNOWN_CHARACTER_SET = 1115; - exports.ER_TOO_MANY_TABLES = 1116; - exports.ER_TOO_MANY_FIELDS = 1117; - exports.ER_TOO_BIG_ROWSIZE = 1118; - exports.ER_STACK_OVERRUN = 1119; - exports.ER_WRONG_OUTER_JOIN = 1120; - exports.ER_NULL_COLUMN_IN_INDEX = 1121; - exports.ER_CANT_FIND_UDF = 1122; - exports.ER_CANT_INITIALIZE_UDF = 1123; - exports.ER_UDF_NO_PATHS = 1124; - exports.ER_UDF_EXISTS = 1125; - exports.ER_CANT_OPEN_LIBRARY = 1126; - exports.ER_CANT_FIND_DL_ENTRY = 1127; - exports.ER_FUNCTION_NOT_DEFINED = 1128; - exports.ER_HOST_IS_BLOCKED = 1129; - exports.ER_HOST_NOT_PRIVILEGED = 1130; - exports.ER_PASSWORD_ANONYMOUS_USER = 1131; - exports.ER_PASSWORD_NOT_ALLOWED = 1132; - exports.ER_PASSWORD_NO_MATCH = 1133; - exports.ER_UPDATE_INFO = 1134; - exports.ER_CANT_CREATE_THREAD = 1135; - exports.ER_WRONG_VALUE_COUNT_ON_ROW = 1136; - exports.ER_CANT_REOPEN_TABLE = 1137; - exports.ER_INVALID_USE_OF_NULL = 1138; - exports.ER_REGEXP_ERROR = 1139; - exports.ER_MIX_OF_GROUP_FUNC_AND_FIELDS = 1140; - exports.ER_NONEXISTING_GRANT = 1141; - exports.ER_TABLEACCESS_DENIED_ERROR = 1142; - exports.ER_COLUMNACCESS_DENIED_ERROR = 1143; - exports.ER_ILLEGAL_GRANT_FOR_TABLE = 1144; - exports.ER_GRANT_WRONG_HOST_OR_USER = 1145; - exports.ER_NO_SUCH_TABLE = 1146; - exports.ER_NONEXISTING_TABLE_GRANT = 1147; - exports.ER_NOT_ALLOWED_COMMAND = 1148; - exports.ER_SYNTAX_ERROR = 1149; - exports.ER_UNUSED1 = 1150; - exports.ER_UNUSED2 = 1151; - exports.ER_ABORTING_CONNECTION = 1152; - exports.ER_NET_PACKET_TOO_LARGE = 1153; - exports.ER_NET_READ_ERROR_FROM_PIPE = 1154; - exports.ER_NET_FCNTL_ERROR = 1155; - exports.ER_NET_PACKETS_OUT_OF_ORDER = 1156; - exports.ER_NET_UNCOMPRESS_ERROR = 1157; - exports.ER_NET_READ_ERROR = 1158; - exports.ER_NET_READ_INTERRUPTED = 1159; - exports.ER_NET_ERROR_ON_WRITE = 1160; - exports.ER_NET_WRITE_INTERRUPTED = 1161; - exports.ER_TOO_LONG_STRING = 1162; - exports.ER_TABLE_CANT_HANDLE_BLOB = 1163; - exports.ER_TABLE_CANT_HANDLE_AUTO_INCREMENT = 1164; - exports.ER_UNUSED3 = 1165; - exports.ER_WRONG_COLUMN_NAME = 1166; - exports.ER_WRONG_KEY_COLUMN = 1167; - exports.ER_WRONG_MRG_TABLE = 1168; - exports.ER_DUP_UNIQUE = 1169; - exports.ER_BLOB_KEY_WITHOUT_LENGTH = 1170; - exports.ER_PRIMARY_CANT_HAVE_NULL = 1171; - exports.ER_TOO_MANY_ROWS = 1172; - exports.ER_REQUIRES_PRIMARY_KEY = 1173; - exports.ER_NO_RAID_COMPILED = 1174; - exports.ER_UPDATE_WITHOUT_KEY_IN_SAFE_MODE = 1175; - exports.ER_KEY_DOES_NOT_EXITS = 1176; - exports.ER_CHECK_NO_SUCH_TABLE = 1177; - exports.ER_CHECK_NOT_IMPLEMENTED = 1178; - exports.ER_CANT_DO_THIS_DURING_AN_TRANSACTION = 1179; - exports.ER_ERROR_DURING_COMMIT = 1180; - exports.ER_ERROR_DURING_ROLLBACK = 1181; - exports.ER_ERROR_DURING_FLUSH_LOGS = 1182; - exports.ER_ERROR_DURING_CHECKPOINT = 1183; - exports.ER_NEW_ABORTING_CONNECTION = 1184; - exports.ER_DUMP_NOT_IMPLEMENTED = 1185; - exports.ER_FLUSH_MASTER_BINLOG_CLOSED = 1186; - exports.ER_INDEX_REBUILD = 1187; - exports.ER_SOURCE = 1188; - exports.ER_SOURCE_NET_READ = 1189; - exports.ER_SOURCE_NET_WRITE = 1190; - exports.ER_FT_MATCHING_KEY_NOT_FOUND = 1191; - exports.ER_LOCK_OR_ACTIVE_TRANSACTION = 1192; - exports.ER_UNKNOWN_SYSTEM_VARIABLE = 1193; - exports.ER_CRASHED_ON_USAGE = 1194; - exports.ER_CRASHED_ON_REPAIR = 1195; - exports.ER_WARNING_NOT_COMPLETE_ROLLBACK = 1196; - exports.ER_TRANS_CACHE_FULL = 1197; - exports.ER_SLAVE_MUST_STOP = 1198; - exports.ER_REPLICA_NOT_RUNNING = 1199; - exports.ER_BAD_REPLICA = 1200; - exports.ER_CONNECTION_METADATA = 1201; - exports.ER_REPLICA_THREAD = 1202; - exports.ER_TOO_MANY_USER_CONNECTIONS = 1203; - exports.ER_SET_CONSTANTS_ONLY = 1204; - exports.ER_LOCK_WAIT_TIMEOUT = 1205; - exports.ER_LOCK_TABLE_FULL = 1206; - exports.ER_READ_ONLY_TRANSACTION = 1207; - exports.ER_DROP_DB_WITH_READ_LOCK = 1208; - exports.ER_CREATE_DB_WITH_READ_LOCK = 1209; - exports.ER_WRONG_ARGUMENTS = 1210; - exports.ER_NO_PERMISSION_TO_CREATE_USER = 1211; - exports.ER_UNION_TABLES_IN_DIFFERENT_DIR = 1212; - exports.ER_LOCK_DEADLOCK = 1213; - exports.ER_TABLE_CANT_HANDLE_FT = 1214; - exports.ER_CANNOT_ADD_FOREIGN = 1215; - exports.ER_NO_REFERENCED_ROW = 1216; - exports.ER_ROW_IS_REFERENCED = 1217; - exports.ER_CONNECT_TO_SOURCE = 1218; - exports.ER_QUERY_ON_MASTER = 1219; - exports.ER_ERROR_WHEN_EXECUTING_COMMAND = 1220; - exports.ER_WRONG_USAGE = 1221; - exports.ER_WRONG_NUMBER_OF_COLUMNS_IN_SELECT = 1222; - exports.ER_CANT_UPDATE_WITH_READLOCK = 1223; - exports.ER_MIXING_NOT_ALLOWED = 1224; - exports.ER_DUP_ARGUMENT = 1225; - exports.ER_USER_LIMIT_REACHED = 1226; - exports.ER_SPECIFIC_ACCESS_DENIED_ERROR = 1227; - exports.ER_LOCAL_VARIABLE = 1228; - exports.ER_GLOBAL_VARIABLE = 1229; - exports.ER_NO_DEFAULT = 1230; - exports.ER_WRONG_VALUE_FOR_VAR = 1231; - exports.ER_WRONG_TYPE_FOR_VAR = 1232; - exports.ER_VAR_CANT_BE_READ = 1233; - exports.ER_CANT_USE_OPTION_HERE = 1234; - exports.ER_NOT_SUPPORTED_YET = 1235; - exports.ER_SOURCE_FATAL_ERROR_READING_BINLOG = 1236; - exports.ER_REPLICA_IGNORED_TABLE = 1237; - exports.ER_INCORRECT_GLOBAL_LOCAL_VAR = 1238; - exports.ER_WRONG_FK_DEF = 1239; - exports.ER_KEY_REF_DO_NOT_MATCH_TABLE_REF = 1240; - exports.ER_OPERAND_COLUMNS = 1241; - exports.ER_SUBQUERY_NO_1_ROW = 1242; - exports.ER_UNKNOWN_STMT_HANDLER = 1243; - exports.ER_CORRUPT_HELP_DB = 1244; - exports.ER_CYCLIC_REFERENCE = 1245; - exports.ER_AUTO_CONVERT = 1246; - exports.ER_ILLEGAL_REFERENCE = 1247; - exports.ER_DERIVED_MUST_HAVE_ALIAS = 1248; - exports.ER_SELECT_REDUCED = 1249; - exports.ER_TABLENAME_NOT_ALLOWED_HERE = 1250; - exports.ER_NOT_SUPPORTED_AUTH_MODE = 1251; - exports.ER_SPATIAL_CANT_HAVE_NULL = 1252; - exports.ER_COLLATION_CHARSET_MISMATCH = 1253; - exports.ER_SLAVE_WAS_RUNNING = 1254; - exports.ER_SLAVE_WAS_NOT_RUNNING = 1255; - exports.ER_TOO_BIG_FOR_UNCOMPRESS = 1256; - exports.ER_ZLIB_Z_MEM_ERROR = 1257; - exports.ER_ZLIB_Z_BUF_ERROR = 1258; - exports.ER_ZLIB_Z_DATA_ERROR = 1259; - exports.ER_CUT_VALUE_GROUP_CONCAT = 1260; - exports.ER_WARN_TOO_FEW_RECORDS = 1261; - exports.ER_WARN_TOO_MANY_RECORDS = 1262; - exports.ER_WARN_NULL_TO_NOTNULL = 1263; - exports.ER_WARN_DATA_OUT_OF_RANGE = 1264; - exports.WARN_DATA_TRUNCATED = 1265; - exports.ER_WARN_USING_OTHER_HANDLER = 1266; - exports.ER_CANT_AGGREGATE_2COLLATIONS = 1267; - exports.ER_DROP_USER = 1268; - exports.ER_REVOKE_GRANTS = 1269; - exports.ER_CANT_AGGREGATE_3COLLATIONS = 1270; - exports.ER_CANT_AGGREGATE_NCOLLATIONS = 1271; - exports.ER_VARIABLE_IS_NOT_STRUCT = 1272; - exports.ER_UNKNOWN_COLLATION = 1273; - exports.ER_REPLICA_IGNORED_SSL_PARAMS = 1274; - exports.ER_SERVER_IS_IN_SECURE_AUTH_MODE = 1275; - exports.ER_WARN_FIELD_RESOLVED = 1276; - exports.ER_BAD_REPLICA_UNTIL_COND = 1277; - exports.ER_MISSING_SKIP_REPLICA = 1278; - exports.ER_UNTIL_COND_IGNORED = 1279; - exports.ER_WRONG_NAME_FOR_INDEX = 1280; - exports.ER_WRONG_NAME_FOR_CATALOG = 1281; - exports.ER_WARN_QC_RESIZE = 1282; - exports.ER_BAD_FT_COLUMN = 1283; - exports.ER_UNKNOWN_KEY_CACHE = 1284; - exports.ER_WARN_HOSTNAME_WONT_WORK = 1285; - exports.ER_UNKNOWN_STORAGE_ENGINE = 1286; - exports.ER_WARN_DEPRECATED_SYNTAX = 1287; - exports.ER_NON_UPDATABLE_TABLE = 1288; - exports.ER_FEATURE_DISABLED = 1289; - exports.ER_OPTION_PREVENTS_STATEMENT = 1290; - exports.ER_DUPLICATED_VALUE_IN_TYPE = 1291; - exports.ER_TRUNCATED_WRONG_VALUE = 1292; - exports.ER_TOO_MUCH_AUTO_TIMESTAMP_COLS = 1293; - exports.ER_INVALID_ON_UPDATE = 1294; - exports.ER_UNSUPPORTED_PS = 1295; - exports.ER_GET_ERRMSG = 1296; - exports.ER_GET_TEMPORARY_ERRMSG = 1297; - exports.ER_UNKNOWN_TIME_ZONE = 1298; - exports.ER_WARN_INVALID_TIMESTAMP = 1299; - exports.ER_INVALID_CHARACTER_STRING = 1300; - exports.ER_WARN_ALLOWED_PACKET_OVERFLOWED = 1301; - exports.ER_CONFLICTING_DECLARATIONS = 1302; - exports.ER_SP_NO_RECURSIVE_CREATE = 1303; - exports.ER_SP_ALREADY_EXISTS = 1304; - exports.ER_SP_DOES_NOT_EXIST = 1305; - exports.ER_SP_DROP_FAILED = 1306; - exports.ER_SP_STORE_FAILED = 1307; - exports.ER_SP_LILABEL_MISMATCH = 1308; - exports.ER_SP_LABEL_REDEFINE = 1309; - exports.ER_SP_LABEL_MISMATCH = 1310; - exports.ER_SP_UNINIT_VAR = 1311; - exports.ER_SP_BADSELECT = 1312; - exports.ER_SP_BADRETURN = 1313; - exports.ER_SP_BADSTATEMENT = 1314; - exports.ER_UPDATE_LOG_DEPRECATED_IGNORED = 1315; - exports.ER_UPDATE_LOG_DEPRECATED_TRANSLATED = 1316; - exports.ER_QUERY_INTERRUPTED = 1317; - exports.ER_SP_WRONG_NO_OF_ARGS = 1318; - exports.ER_SP_COND_MISMATCH = 1319; - exports.ER_SP_NORETURN = 1320; - exports.ER_SP_NORETURNEND = 1321; - exports.ER_SP_BAD_CURSOR_QUERY = 1322; - exports.ER_SP_BAD_CURSOR_SELECT = 1323; - exports.ER_SP_CURSOR_MISMATCH = 1324; - exports.ER_SP_CURSOR_ALREADY_OPEN = 1325; - exports.ER_SP_CURSOR_NOT_OPEN = 1326; - exports.ER_SP_UNDECLARED_VAR = 1327; - exports.ER_SP_WRONG_NO_OF_FETCH_ARGS = 1328; - exports.ER_SP_FETCH_NO_DATA = 1329; - exports.ER_SP_DUP_PARAM = 1330; - exports.ER_SP_DUP_VAR = 1331; - exports.ER_SP_DUP_COND = 1332; - exports.ER_SP_DUP_CURS = 1333; - exports.ER_SP_CANT_ALTER = 1334; - exports.ER_SP_SUBSELECT_NYI = 1335; - exports.ER_STMT_NOT_ALLOWED_IN_SF_OR_TRG = 1336; - exports.ER_SP_VARCOND_AFTER_CURSHNDLR = 1337; - exports.ER_SP_CURSOR_AFTER_HANDLER = 1338; - exports.ER_SP_CASE_NOT_FOUND = 1339; - exports.ER_FPARSER_TOO_BIG_FILE = 1340; - exports.ER_FPARSER_BAD_HEADER = 1341; - exports.ER_FPARSER_EOF_IN_COMMENT = 1342; - exports.ER_FPARSER_ERROR_IN_PARAMETER = 1343; - exports.ER_FPARSER_EOF_IN_UNKNOWN_PARAMETER = 1344; - exports.ER_VIEW_NO_EXPLAIN = 1345; - exports.ER_FRM_UNKNOWN_TYPE = 1346; - exports.ER_WRONG_OBJECT = 1347; - exports.ER_NONUPDATEABLE_COLUMN = 1348; - exports.ER_VIEW_SELECT_DERIVED = 1349; - exports.ER_VIEW_SELECT_CLAUSE = 1350; - exports.ER_VIEW_SELECT_VARIABLE = 1351; - exports.ER_VIEW_SELECT_TMPTABLE = 1352; - exports.ER_VIEW_WRONG_LIST = 1353; - exports.ER_WARN_VIEW_MERGE = 1354; - exports.ER_WARN_VIEW_WITHOUT_KEY = 1355; - exports.ER_VIEW_INVALID = 1356; - exports.ER_SP_NO_DROP_SP = 1357; - exports.ER_SP_GOTO_IN_HNDLR = 1358; - exports.ER_TRG_ALREADY_EXISTS = 1359; - exports.ER_TRG_DOES_NOT_EXIST = 1360; - exports.ER_TRG_ON_VIEW_OR_TEMP_TABLE = 1361; - exports.ER_TRG_CANT_CHANGE_ROW = 1362; - exports.ER_TRG_NO_SUCH_ROW_IN_TRG = 1363; - exports.ER_NO_DEFAULT_FOR_FIELD = 1364; - exports.ER_DIVISION_BY_ZERO = 1365; - exports.ER_TRUNCATED_WRONG_VALUE_FOR_FIELD = 1366; - exports.ER_ILLEGAL_VALUE_FOR_TYPE = 1367; - exports.ER_VIEW_NONUPD_CHECK = 1368; - exports.ER_VIEW_CHECK_FAILED = 1369; - exports.ER_PROCACCESS_DENIED_ERROR = 1370; - exports.ER_RELAY_LOG_FAIL = 1371; - exports.ER_PASSWD_LENGTH = 1372; - exports.ER_UNKNOWN_TARGET_BINLOG = 1373; - exports.ER_IO_ERR_LOG_INDEX_READ = 1374; - exports.ER_BINLOG_PURGE_PROHIBITED = 1375; - exports.ER_FSEEK_FAIL = 1376; - exports.ER_BINLOG_PURGE_FATAL_ERR = 1377; - exports.ER_LOG_IN_USE = 1378; - exports.ER_LOG_PURGE_UNKNOWN_ERR = 1379; - exports.ER_RELAY_LOG_INIT = 1380; - exports.ER_NO_BINARY_LOGGING = 1381; - exports.ER_RESERVED_SYNTAX = 1382; - exports.ER_WSAS_FAILED = 1383; - exports.ER_DIFF_GROUPS_PROC = 1384; - exports.ER_NO_GROUP_FOR_PROC = 1385; - exports.ER_ORDER_WITH_PROC = 1386; - exports.ER_LOGGING_PROHIBIT_CHANGING_OF = 1387; - exports.ER_NO_FILE_MAPPING = 1388; - exports.ER_WRONG_MAGIC = 1389; - exports.ER_PS_MANY_PARAM = 1390; - exports.ER_KEY_PART_0 = 1391; - exports.ER_VIEW_CHECKSUM = 1392; - exports.ER_VIEW_MULTIUPDATE = 1393; - exports.ER_VIEW_NO_INSERT_FIELD_LIST = 1394; - exports.ER_VIEW_DELETE_MERGE_VIEW = 1395; - exports.ER_CANNOT_USER = 1396; - exports.ER_XAER_NOTA = 1397; - exports.ER_XAER_INVAL = 1398; - exports.ER_XAER_RMFAIL = 1399; - exports.ER_XAER_OUTSIDE = 1400; - exports.ER_XAER_RMERR = 1401; - exports.ER_XA_RBROLLBACK = 1402; - exports.ER_NONEXISTING_PROC_GRANT = 1403; - exports.ER_PROC_AUTO_GRANT_FAIL = 1404; - exports.ER_PROC_AUTO_REVOKE_FAIL = 1405; - exports.ER_DATA_TOO_LONG = 1406; - exports.ER_SP_BAD_SQLSTATE = 1407; - exports.ER_STARTUP = 1408; - exports.ER_LOAD_FROM_FIXED_SIZE_ROWS_TO_VAR = 1409; - exports.ER_CANT_CREATE_USER_WITH_GRANT = 1410; - exports.ER_WRONG_VALUE_FOR_TYPE = 1411; - exports.ER_TABLE_DEF_CHANGED = 1412; - exports.ER_SP_DUP_HANDLER = 1413; - exports.ER_SP_NOT_VAR_ARG = 1414; - exports.ER_SP_NO_RETSET = 1415; - exports.ER_CANT_CREATE_GEOMETRY_OBJECT = 1416; - exports.ER_FAILED_ROUTINE_BREAK_BINLOG = 1417; - exports.ER_BINLOG_UNSAFE_ROUTINE = 1418; - exports.ER_BINLOG_CREATE_ROUTINE_NEED_SUPER = 1419; - exports.ER_EXEC_STMT_WITH_OPEN_CURSOR = 1420; - exports.ER_STMT_HAS_NO_OPEN_CURSOR = 1421; - exports.ER_COMMIT_NOT_ALLOWED_IN_SF_OR_TRG = 1422; - exports.ER_NO_DEFAULT_FOR_VIEW_FIELD = 1423; - exports.ER_SP_NO_RECURSION = 1424; - exports.ER_TOO_BIG_SCALE = 1425; - exports.ER_TOO_BIG_PRECISION = 1426; - exports.ER_M_BIGGER_THAN_D = 1427; - exports.ER_WRONG_LOCK_OF_SYSTEM_TABLE = 1428; - exports.ER_CONNECT_TO_FOREIGN_DATA_SOURCE = 1429; - exports.ER_QUERY_ON_FOREIGN_DATA_SOURCE = 1430; - exports.ER_FOREIGN_DATA_SOURCE_DOESNT_EXIST = 1431; - exports.ER_FOREIGN_DATA_STRING_INVALID_CANT_CREATE = 1432; - exports.ER_FOREIGN_DATA_STRING_INVALID = 1433; - exports.ER_CANT_CREATE_FEDERATED_TABLE = 1434; - exports.ER_TRG_IN_WRONG_SCHEMA = 1435; - exports.ER_STACK_OVERRUN_NEED_MORE = 1436; - exports.ER_TOO_LONG_BODY = 1437; - exports.ER_WARN_CANT_DROP_DEFAULT_KEYCACHE = 1438; - exports.ER_TOO_BIG_DISPLAYWIDTH = 1439; - exports.ER_XAER_DUPID = 1440; - exports.ER_DATETIME_FUNCTION_OVERFLOW = 1441; - exports.ER_CANT_UPDATE_USED_TABLE_IN_SF_OR_TRG = 1442; - exports.ER_VIEW_PREVENT_UPDATE = 1443; - exports.ER_PS_NO_RECURSION = 1444; - exports.ER_SP_CANT_SET_AUTOCOMMIT = 1445; - exports.ER_MALFORMED_DEFINER = 1446; - exports.ER_VIEW_FRM_NO_USER = 1447; - exports.ER_VIEW_OTHER_USER = 1448; - exports.ER_NO_SUCH_USER = 1449; - exports.ER_FORBID_SCHEMA_CHANGE = 1450; - exports.ER_ROW_IS_REFERENCED_2 = 1451; - exports.ER_NO_REFERENCED_ROW_2 = 1452; - exports.ER_SP_BAD_VAR_SHADOW = 1453; - exports.ER_TRG_NO_DEFINER = 1454; - exports.ER_OLD_FILE_FORMAT = 1455; - exports.ER_SP_RECURSION_LIMIT = 1456; - exports.ER_SP_PROC_TABLE_CORRUPT = 1457; - exports.ER_SP_WRONG_NAME = 1458; - exports.ER_TABLE_NEEDS_UPGRADE = 1459; - exports.ER_SP_NO_AGGREGATE = 1460; - exports.ER_MAX_PREPARED_STMT_COUNT_REACHED = 1461; - exports.ER_VIEW_RECURSIVE = 1462; - exports.ER_NON_GROUPING_FIELD_USED = 1463; - exports.ER_TABLE_CANT_HANDLE_SPKEYS = 1464; - exports.ER_NO_TRIGGERS_ON_SYSTEM_SCHEMA = 1465; - exports.ER_REMOVED_SPACES = 1466; - exports.ER_AUTOINC_READ_FAILED = 1467; - exports.ER_USERNAME = 1468; - exports.ER_HOSTNAME = 1469; - exports.ER_WRONG_STRING_LENGTH = 1470; - exports.ER_NON_INSERTABLE_TABLE = 1471; - exports.ER_ADMIN_WRONG_MRG_TABLE = 1472; - exports.ER_TOO_HIGH_LEVEL_OF_NESTING_FOR_SELECT = 1473; - exports.ER_NAME_BECOMES_EMPTY = 1474; - exports.ER_AMBIGUOUS_FIELD_TERM = 1475; - exports.ER_FOREIGN_SERVER_EXISTS = 1476; - exports.ER_FOREIGN_SERVER_DOESNT_EXIST = 1477; - exports.ER_ILLEGAL_HA_CREATE_OPTION = 1478; - exports.ER_PARTITION_REQUIRES_VALUES_ERROR = 1479; - exports.ER_PARTITION_WRONG_VALUES_ERROR = 1480; - exports.ER_PARTITION_MAXVALUE_ERROR = 1481; - exports.ER_PARTITION_SUBPARTITION_ERROR = 1482; - exports.ER_PARTITION_SUBPART_MIX_ERROR = 1483; - exports.ER_PARTITION_WRONG_NO_PART_ERROR = 1484; - exports.ER_PARTITION_WRONG_NO_SUBPART_ERROR = 1485; - exports.ER_WRONG_EXPR_IN_PARTITION_FUNC_ERROR = 1486; - exports.ER_NO_CONST_EXPR_IN_RANGE_OR_LIST_ERROR = 1487; - exports.ER_FIELD_NOT_FOUND_PART_ERROR = 1488; - exports.ER_LIST_OF_FIELDS_ONLY_IN_HASH_ERROR = 1489; - exports.ER_INCONSISTENT_PARTITION_INFO_ERROR = 1490; - exports.ER_PARTITION_FUNC_NOT_ALLOWED_ERROR = 1491; - exports.ER_PARTITIONS_MUST_BE_DEFINED_ERROR = 1492; - exports.ER_RANGE_NOT_INCREASING_ERROR = 1493; - exports.ER_INCONSISTENT_TYPE_OF_FUNCTIONS_ERROR = 1494; - exports.ER_MULTIPLE_DEF_CONST_IN_LIST_PART_ERROR = 1495; - exports.ER_PARTITION_ENTRY_ERROR = 1496; - exports.ER_MIX_HANDLER_ERROR = 1497; - exports.ER_PARTITION_NOT_DEFINED_ERROR = 1498; - exports.ER_TOO_MANY_PARTITIONS_ERROR = 1499; - exports.ER_SUBPARTITION_ERROR = 1500; - exports.ER_CANT_CREATE_HANDLER_FILE = 1501; - exports.ER_BLOB_FIELD_IN_PART_FUNC_ERROR = 1502; - exports.ER_UNIQUE_KEY_NEED_ALL_FIELDS_IN_PF = 1503; - exports.ER_NO_PARTS_ERROR = 1504; - exports.ER_PARTITION_MGMT_ON_NONPARTITIONED = 1505; - exports.ER_FOREIGN_KEY_ON_PARTITIONED = 1506; - exports.ER_DROP_PARTITION_NON_EXISTENT = 1507; - exports.ER_DROP_LAST_PARTITION = 1508; - exports.ER_COALESCE_ONLY_ON_HASH_PARTITION = 1509; - exports.ER_REORG_HASH_ONLY_ON_SAME_NO = 1510; - exports.ER_REORG_NO_PARAM_ERROR = 1511; - exports.ER_ONLY_ON_RANGE_LIST_PARTITION = 1512; - exports.ER_ADD_PARTITION_SUBPART_ERROR = 1513; - exports.ER_ADD_PARTITION_NO_NEW_PARTITION = 1514; - exports.ER_COALESCE_PARTITION_NO_PARTITION = 1515; - exports.ER_REORG_PARTITION_NOT_EXIST = 1516; - exports.ER_SAME_NAME_PARTITION = 1517; - exports.ER_NO_BINLOG_ERROR = 1518; - exports.ER_CONSECUTIVE_REORG_PARTITIONS = 1519; - exports.ER_REORG_OUTSIDE_RANGE = 1520; - exports.ER_PARTITION_FUNCTION_FAILURE = 1521; - exports.ER_PART_STATE_ERROR = 1522; - exports.ER_LIMITED_PART_RANGE = 1523; - exports.ER_PLUGIN_IS_NOT_LOADED = 1524; - exports.ER_WRONG_VALUE = 1525; - exports.ER_NO_PARTITION_FOR_GIVEN_VALUE = 1526; - exports.ER_FILEGROUP_OPTION_ONLY_ONCE = 1527; - exports.ER_CREATE_FILEGROUP_FAILED = 1528; - exports.ER_DROP_FILEGROUP_FAILED = 1529; - exports.ER_TABLESPACE_AUTO_EXTEND_ERROR = 1530; - exports.ER_WRONG_SIZE_NUMBER = 1531; - exports.ER_SIZE_OVERFLOW_ERROR = 1532; - exports.ER_ALTER_FILEGROUP_FAILED = 1533; - exports.ER_BINLOG_ROW_LOGGING_FAILED = 1534; - exports.ER_BINLOG_ROW_WRONG_TABLE_DEF = 1535; - exports.ER_BINLOG_ROW_RBR_TO_SBR = 1536; - exports.ER_EVENT_ALREADY_EXISTS = 1537; - exports.ER_EVENT_STORE_FAILED = 1538; - exports.ER_EVENT_DOES_NOT_EXIST = 1539; - exports.ER_EVENT_CANT_ALTER = 1540; - exports.ER_EVENT_DROP_FAILED = 1541; - exports.ER_EVENT_INTERVAL_NOT_POSITIVE_OR_TOO_BIG = 1542; - exports.ER_EVENT_ENDS_BEFORE_STARTS = 1543; - exports.ER_EVENT_EXEC_TIME_IN_THE_PAST = 1544; - exports.ER_EVENT_OPEN_TABLE_FAILED = 1545; - exports.ER_EVENT_NEITHER_M_EXPR_NOR_M_AT = 1546; - exports.ER_COL_COUNT_DOESNT_MATCH_CORRUPTED = 1547; - exports.ER_CANNOT_LOAD_FROM_TABLE = 1548; - exports.ER_EVENT_CANNOT_DELETE = 1549; - exports.ER_EVENT_COMPILE_ERROR = 1550; - exports.ER_EVENT_SAME_NAME = 1551; - exports.ER_EVENT_DATA_TOO_LONG = 1552; - exports.ER_DROP_INDEX_FK = 1553; - exports.ER_WARN_DEPRECATED_SYNTAX_WITH_VER = 1554; - exports.ER_CANT_WRITE_LOCK_LOG_TABLE = 1555; - exports.ER_CANT_LOCK_LOG_TABLE = 1556; - exports.ER_FOREIGN_DUPLICATE_KEY = 1557; - exports.ER_COL_COUNT_DOESNT_MATCH_PLEASE_UPDATE = 1558; - exports.ER_TEMP_TABLE_PREVENTS_SWITCH_OUT_OF_RBR = 1559; - exports.ER_STORED_FUNCTION_PREVENTS_SWITCH_BINLOG_FORMAT = 1560; - exports.ER_NDB_CANT_SWITCH_BINLOG_FORMAT = 1561; - exports.ER_PARTITION_NO_TEMPORARY = 1562; - exports.ER_PARTITION_CONST_DOMAIN_ERROR = 1563; - exports.ER_PARTITION_FUNCTION_IS_NOT_ALLOWED = 1564; - exports.ER_DDL_LOG_ERROR = 1565; - exports.ER_NULL_IN_VALUES_LESS_THAN = 1566; - exports.ER_WRONG_PARTITION_NAME = 1567; - exports.ER_CANT_CHANGE_TX_CHARACTERISTICS = 1568; - exports.ER_DUP_ENTRY_AUTOINCREMENT_CASE = 1569; - exports.ER_EVENT_MODIFY_QUEUE_ERROR = 1570; - exports.ER_EVENT_SET_VAR_ERROR = 1571; - exports.ER_PARTITION_MERGE_ERROR = 1572; - exports.ER_CANT_ACTIVATE_LOG = 1573; - exports.ER_RBR_NOT_AVAILABLE = 1574; - exports.ER_BASE64_DECODE_ERROR = 1575; - exports.ER_EVENT_RECURSION_FORBIDDEN = 1576; - exports.ER_EVENTS_DB_ERROR = 1577; - exports.ER_ONLY_INTEGERS_ALLOWED = 1578; - exports.ER_UNSUPORTED_LOG_ENGINE = 1579; - exports.ER_BAD_LOG_STATEMENT = 1580; - exports.ER_CANT_RENAME_LOG_TABLE = 1581; - exports.ER_WRONG_PARAMCOUNT_TO_NATIVE_FCT = 1582; - exports.ER_WRONG_PARAMETERS_TO_NATIVE_FCT = 1583; - exports.ER_WRONG_PARAMETERS_TO_STORED_FCT = 1584; - exports.ER_NATIVE_FCT_NAME_COLLISION = 1585; - exports.ER_DUP_ENTRY_WITH_KEY_NAME = 1586; - exports.ER_BINLOG_PURGE_EMFILE = 1587; - exports.ER_EVENT_CANNOT_CREATE_IN_THE_PAST = 1588; - exports.ER_EVENT_CANNOT_ALTER_IN_THE_PAST = 1589; - exports.ER_SLAVE_INCIDENT = 1590; - exports.ER_NO_PARTITION_FOR_GIVEN_VALUE_SILENT = 1591; - exports.ER_BINLOG_UNSAFE_STATEMENT = 1592; - exports.ER_BINLOG_FATAL_ERROR = 1593; - exports.ER_SLAVE_RELAY_LOG_READ_FAILURE = 1594; - exports.ER_SLAVE_RELAY_LOG_WRITE_FAILURE = 1595; - exports.ER_SLAVE_CREATE_EVENT_FAILURE = 1596; - exports.ER_SLAVE_MASTER_COM_FAILURE = 1597; - exports.ER_BINLOG_LOGGING_IMPOSSIBLE = 1598; - exports.ER_VIEW_NO_CREATION_CTX = 1599; - exports.ER_VIEW_INVALID_CREATION_CTX = 1600; - exports.ER_SR_INVALID_CREATION_CTX = 1601; - exports.ER_TRG_CORRUPTED_FILE = 1602; - exports.ER_TRG_NO_CREATION_CTX = 1603; - exports.ER_TRG_INVALID_CREATION_CTX = 1604; - exports.ER_EVENT_INVALID_CREATION_CTX = 1605; - exports.ER_TRG_CANT_OPEN_TABLE = 1606; - exports.ER_CANT_CREATE_SROUTINE = 1607; - exports.ER_NEVER_USED = 1608; - exports.ER_NO_FORMAT_DESCRIPTION_EVENT_BEFORE_BINLOG_STATEMENT = 1609; - exports.ER_REPLICA_CORRUPT_EVENT = 1610; - exports.ER_LOAD_DATA_INVALID_COLUMN = 1611; - exports.ER_LOG_PURGE_NO_FILE = 1612; - exports.ER_XA_RBTIMEOUT = 1613; - exports.ER_XA_RBDEADLOCK = 1614; - exports.ER_NEED_REPREPARE = 1615; - exports.ER_DELAYED_NOT_SUPPORTED = 1616; - exports.WARN_NO_CONNECTION_METADATA = 1617; - exports.WARN_OPTION_IGNORED = 1618; - exports.ER_PLUGIN_DELETE_BUILTIN = 1619; - exports.WARN_PLUGIN_BUSY = 1620; - exports.ER_VARIABLE_IS_READONLY = 1621; - exports.ER_WARN_ENGINE_TRANSACTION_ROLLBACK = 1622; - exports.ER_SLAVE_HEARTBEAT_FAILURE = 1623; - exports.ER_REPLICA_HEARTBEAT_VALUE_OUT_OF_RANGE = 1624; - exports.ER_NDB_REPLICATION_SCHEMA_ERROR = 1625; - exports.ER_CONFLICT_FN_PARSE_ERROR = 1626; - exports.ER_EXCEPTIONS_WRITE_ERROR = 1627; - exports.ER_TOO_LONG_TABLE_COMMENT = 1628; - exports.ER_TOO_LONG_FIELD_COMMENT = 1629; - exports.ER_FUNC_INEXISTENT_NAME_COLLISION = 1630; - exports.ER_DATABASE_NAME = 1631; - exports.ER_TABLE_NAME = 1632; - exports.ER_PARTITION_NAME = 1633; - exports.ER_SUBPARTITION_NAME = 1634; - exports.ER_TEMPORARY_NAME = 1635; - exports.ER_RENAMED_NAME = 1636; - exports.ER_TOO_MANY_CONCURRENT_TRXS = 1637; - exports.WARN_NON_ASCII_SEPARATOR_NOT_IMPLEMENTED = 1638; - exports.ER_DEBUG_SYNC_TIMEOUT = 1639; - exports.ER_DEBUG_SYNC_HIT_LIMIT = 1640; - exports.ER_DUP_SIGNAL_SET = 1641; - exports.ER_SIGNAL_WARN = 1642; - exports.ER_SIGNAL_NOT_FOUND = 1643; - exports.ER_SIGNAL_EXCEPTION = 1644; - exports.ER_RESIGNAL_WITHOUT_ACTIVE_HANDLER = 1645; - exports.ER_SIGNAL_BAD_CONDITION_TYPE = 1646; - exports.WARN_COND_ITEM_TRUNCATED = 1647; - exports.ER_COND_ITEM_TOO_LONG = 1648; - exports.ER_UNKNOWN_LOCALE = 1649; - exports.ER_REPLICA_IGNORE_SERVER_IDS = 1650; - exports.ER_QUERY_CACHE_DISABLED = 1651; - exports.ER_SAME_NAME_PARTITION_FIELD = 1652; - exports.ER_PARTITION_COLUMN_LIST_ERROR = 1653; - exports.ER_WRONG_TYPE_COLUMN_VALUE_ERROR = 1654; - exports.ER_TOO_MANY_PARTITION_FUNC_FIELDS_ERROR = 1655; - exports.ER_MAXVALUE_IN_VALUES_IN = 1656; - exports.ER_TOO_MANY_VALUES_ERROR = 1657; - exports.ER_ROW_SINGLE_PARTITION_FIELD_ERROR = 1658; - exports.ER_FIELD_TYPE_NOT_ALLOWED_AS_PARTITION_FIELD = 1659; - exports.ER_PARTITION_FIELDS_TOO_LONG = 1660; - exports.ER_BINLOG_ROW_ENGINE_AND_STMT_ENGINE = 1661; - exports.ER_BINLOG_ROW_MODE_AND_STMT_ENGINE = 1662; - exports.ER_BINLOG_UNSAFE_AND_STMT_ENGINE = 1663; - exports.ER_BINLOG_ROW_INJECTION_AND_STMT_ENGINE = 1664; - exports.ER_BINLOG_STMT_MODE_AND_ROW_ENGINE = 1665; - exports.ER_BINLOG_ROW_INJECTION_AND_STMT_MODE = 1666; - exports.ER_BINLOG_MULTIPLE_ENGINES_AND_SELF_LOGGING_ENGINE = 1667; - exports.ER_BINLOG_UNSAFE_LIMIT = 1668; - exports.ER_UNUSED4 = 1669; - exports.ER_BINLOG_UNSAFE_SYSTEM_TABLE = 1670; - exports.ER_BINLOG_UNSAFE_AUTOINC_COLUMNS = 1671; - exports.ER_BINLOG_UNSAFE_UDF = 1672; - exports.ER_BINLOG_UNSAFE_SYSTEM_VARIABLE = 1673; - exports.ER_BINLOG_UNSAFE_SYSTEM_FUNCTION = 1674; - exports.ER_BINLOG_UNSAFE_NONTRANS_AFTER_TRANS = 1675; - exports.ER_MESSAGE_AND_STATEMENT = 1676; - exports.ER_SLAVE_CONVERSION_FAILED = 1677; - exports.ER_REPLICA_CANT_CREATE_CONVERSION = 1678; - exports.ER_INSIDE_TRANSACTION_PREVENTS_SWITCH_BINLOG_FORMAT = 1679; - exports.ER_PATH_LENGTH = 1680; - exports.ER_WARN_DEPRECATED_SYNTAX_NO_REPLACEMENT = 1681; - exports.ER_WRONG_NATIVE_TABLE_STRUCTURE = 1682; - exports.ER_WRONG_PERFSCHEMA_USAGE = 1683; - exports.ER_WARN_I_S_SKIPPED_TABLE = 1684; - exports.ER_INSIDE_TRANSACTION_PREVENTS_SWITCH_BINLOG_DIRECT = 1685; - exports.ER_STORED_FUNCTION_PREVENTS_SWITCH_BINLOG_DIRECT = 1686; - exports.ER_SPATIAL_MUST_HAVE_GEOM_COL = 1687; - exports.ER_TOO_LONG_INDEX_COMMENT = 1688; - exports.ER_LOCK_ABORTED = 1689; - exports.ER_DATA_OUT_OF_RANGE = 1690; - exports.ER_WRONG_SPVAR_TYPE_IN_LIMIT = 1691; - exports.ER_BINLOG_UNSAFE_MULTIPLE_ENGINES_AND_SELF_LOGGING_ENGINE = 1692; - exports.ER_BINLOG_UNSAFE_MIXED_STATEMENT = 1693; - exports.ER_INSIDE_TRANSACTION_PREVENTS_SWITCH_SQL_LOG_BIN = 1694; - exports.ER_STORED_FUNCTION_PREVENTS_SWITCH_SQL_LOG_BIN = 1695; - exports.ER_FAILED_READ_FROM_PAR_FILE = 1696; - exports.ER_VALUES_IS_NOT_INT_TYPE_ERROR = 1697; - exports.ER_ACCESS_DENIED_NO_PASSWORD_ERROR = 1698; - exports.ER_SET_PASSWORD_AUTH_PLUGIN = 1699; - exports.ER_GRANT_PLUGIN_USER_EXISTS = 1700; - exports.ER_TRUNCATE_ILLEGAL_FK = 1701; - exports.ER_PLUGIN_IS_PERMANENT = 1702; - exports.ER_REPLICA_HEARTBEAT_VALUE_OUT_OF_RANGE_MIN = 1703; - exports.ER_REPLICA_HEARTBEAT_VALUE_OUT_OF_RANGE_MAX = 1704; - exports.ER_STMT_CACHE_FULL = 1705; - exports.ER_MULTI_UPDATE_KEY_CONFLICT = 1706; - exports.ER_TABLE_NEEDS_REBUILD = 1707; - exports.WARN_OPTION_BELOW_LIMIT = 1708; - exports.ER_INDEX_COLUMN_TOO_LONG = 1709; - exports.ER_ERROR_IN_TRIGGER_BODY = 1710; - exports.ER_ERROR_IN_UNKNOWN_TRIGGER_BODY = 1711; - exports.ER_INDEX_CORRUPT = 1712; - exports.ER_UNDO_RECORD_TOO_BIG = 1713; - exports.ER_BINLOG_UNSAFE_INSERT_IGNORE_SELECT = 1714; - exports.ER_BINLOG_UNSAFE_INSERT_SELECT_UPDATE = 1715; - exports.ER_BINLOG_UNSAFE_REPLACE_SELECT = 1716; - exports.ER_BINLOG_UNSAFE_CREATE_IGNORE_SELECT = 1717; - exports.ER_BINLOG_UNSAFE_CREATE_REPLACE_SELECT = 1718; - exports.ER_BINLOG_UNSAFE_UPDATE_IGNORE = 1719; - exports.ER_PLUGIN_NO_UNINSTALL = 1720; - exports.ER_PLUGIN_NO_INSTALL = 1721; - exports.ER_BINLOG_UNSAFE_WRITE_AUTOINC_SELECT = 1722; - exports.ER_BINLOG_UNSAFE_CREATE_SELECT_AUTOINC = 1723; - exports.ER_BINLOG_UNSAFE_INSERT_TWO_KEYS = 1724; - exports.ER_TABLE_IN_FK_CHECK = 1725; - exports.ER_UNSUPPORTED_ENGINE = 1726; - exports.ER_BINLOG_UNSAFE_AUTOINC_NOT_FIRST = 1727; - exports.ER_CANNOT_LOAD_FROM_TABLE_V2 = 1728; - exports.ER_SOURCE_DELAY_VALUE_OUT_OF_RANGE = 1729; - exports.ER_ONLY_FD_AND_RBR_EVENTS_ALLOWED_IN_BINLOG_STATEMENT = 1730; - exports.ER_PARTITION_EXCHANGE_DIFFERENT_OPTION = 1731; - exports.ER_PARTITION_EXCHANGE_PART_TABLE = 1732; - exports.ER_PARTITION_EXCHANGE_TEMP_TABLE = 1733; - exports.ER_PARTITION_INSTEAD_OF_SUBPARTITION = 1734; - exports.ER_UNKNOWN_PARTITION = 1735; - exports.ER_TABLES_DIFFERENT_METADATA = 1736; - exports.ER_ROW_DOES_NOT_MATCH_PARTITION = 1737; - exports.ER_BINLOG_CACHE_SIZE_GREATER_THAN_MAX = 1738; - exports.ER_WARN_INDEX_NOT_APPLICABLE = 1739; - exports.ER_PARTITION_EXCHANGE_FOREIGN_KEY = 1740; - exports.ER_NO_SUCH_KEY_VALUE = 1741; - exports.ER_RPL_INFO_DATA_TOO_LONG = 1742; - exports.ER_NETWORK_READ_EVENT_CHECKSUM_FAILURE = 1743; - exports.ER_BINLOG_READ_EVENT_CHECKSUM_FAILURE = 1744; - exports.ER_BINLOG_STMT_CACHE_SIZE_GREATER_THAN_MAX = 1745; - exports.ER_CANT_UPDATE_TABLE_IN_CREATE_TABLE_SELECT = 1746; - exports.ER_PARTITION_CLAUSE_ON_NONPARTITIONED = 1747; - exports.ER_ROW_DOES_NOT_MATCH_GIVEN_PARTITION_SET = 1748; - exports.ER_NO_SUCH_PARTITION = 1749; - exports.ER_CHANGE_RPL_INFO_REPOSITORY_FAILURE = 1750; - exports.ER_WARNING_NOT_COMPLETE_ROLLBACK_WITH_CREATED_TEMP_TABLE = 1751; - exports.ER_WARNING_NOT_COMPLETE_ROLLBACK_WITH_DROPPED_TEMP_TABLE = 1752; - exports.ER_MTA_FEATURE_IS_NOT_SUPPORTED = 1753; - exports.ER_MTA_UPDATED_DBS_GREATER_MAX = 1754; - exports.ER_MTA_CANT_PARALLEL = 1755; - exports.ER_MTA_INCONSISTENT_DATA = 1756; - exports.ER_FULLTEXT_NOT_SUPPORTED_WITH_PARTITIONING = 1757; - exports.ER_DA_INVALID_CONDITION_NUMBER = 1758; - exports.ER_INSECURE_PLAIN_TEXT = 1759; - exports.ER_INSECURE_CHANGE_SOURCE = 1760; - exports.ER_FOREIGN_DUPLICATE_KEY_WITH_CHILD_INFO = 1761; - exports.ER_FOREIGN_DUPLICATE_KEY_WITHOUT_CHILD_INFO = 1762; - exports.ER_SQLTHREAD_WITH_SECURE_REPLICA = 1763; - exports.ER_TABLE_HAS_NO_FT = 1764; - exports.ER_VARIABLE_NOT_SETTABLE_IN_SF_OR_TRIGGER = 1765; - exports.ER_VARIABLE_NOT_SETTABLE_IN_TRANSACTION = 1766; - exports.ER_GTID_NEXT_IS_NOT_IN_GTID_NEXT_LIST = 1767; - exports.ER_CANT_CHANGE_GTID_NEXT_IN_TRANSACTION = 1768; - exports.ER_SET_STATEMENT_CANNOT_INVOKE_FUNCTION = 1769; - exports.ER_GTID_NEXT_CANT_BE_AUTOMATIC_IF_GTID_NEXT_LIST_IS_NON_NULL = 1770; - exports.ER_SKIPPING_LOGGED_TRANSACTION = 1771; - exports.ER_MALFORMED_GTID_SET_SPECIFICATION = 1772; - exports.ER_MALFORMED_GTID_SET_ENCODING = 1773; - exports.ER_MALFORMED_GTID_SPECIFICATION = 1774; - exports.ER_GNO_EXHAUSTED = 1775; - exports.ER_BAD_REPLICA_AUTO_POSITION = 1776; - exports.ER_AUTO_POSITION_REQUIRES_GTID_MODE_NOT_OFF = 1777; - exports.ER_CANT_DO_IMPLICIT_COMMIT_IN_TRX_WHEN_GTID_NEXT_IS_SET = 1778; - exports.ER_GTID_MODE_ON_REQUIRES_ENFORCE_GTID_CONSISTENCY_ON = 1779; - exports.ER_GTID_MODE_REQUIRES_BINLOG = 1780; - exports.ER_CANT_SET_GTID_NEXT_TO_GTID_WHEN_GTID_MODE_IS_OFF = 1781; - exports.ER_CANT_SET_GTID_NEXT_TO_ANONYMOUS_WHEN_GTID_MODE_IS_ON = 1782; - exports.ER_CANT_SET_GTID_NEXT_LIST_TO_NON_NULL_WHEN_GTID_MODE_IS_OFF = 1783; - exports.ER_FOUND_GTID_EVENT_WHEN_GTID_MODE_IS_OFF = 1784; - exports.ER_GTID_UNSAFE_NON_TRANSACTIONAL_TABLE = 1785; - exports.ER_GTID_UNSAFE_CREATE_SELECT = 1786; - exports.ER_GTID_UNSAFE_CREATE_DROP_TEMP_TABLE_IN_TRANSACTION = 1787; - exports.ER_GTID_MODE_CAN_ONLY_CHANGE_ONE_STEP_AT_A_TIME = 1788; - exports.ER_SOURCE_HAS_PURGED_REQUIRED_GTIDS = 1789; - exports.ER_CANT_SET_GTID_NEXT_WHEN_OWNING_GTID = 1790; - exports.ER_UNKNOWN_EXPLAIN_FORMAT = 1791; - exports.ER_CANT_EXECUTE_IN_READ_ONLY_TRANSACTION = 1792; - exports.ER_TOO_LONG_TABLE_PARTITION_COMMENT = 1793; - exports.ER_REPLICA_CONFIGURATION = 1794; - exports.ER_INNODB_FT_LIMIT = 1795; - exports.ER_INNODB_NO_FT_TEMP_TABLE = 1796; - exports.ER_INNODB_FT_WRONG_DOCID_COLUMN = 1797; - exports.ER_INNODB_FT_WRONG_DOCID_INDEX = 1798; - exports.ER_INNODB_ONLINE_LOG_TOO_BIG = 1799; - exports.ER_UNKNOWN_ALTER_ALGORITHM = 1800; - exports.ER_UNKNOWN_ALTER_LOCK = 1801; - exports.ER_MTA_CHANGE_SOURCE_CANT_RUN_WITH_GAPS = 1802; - exports.ER_MTA_RECOVERY_FAILURE = 1803; - exports.ER_MTA_RESET_WORKERS = 1804; - exports.ER_COL_COUNT_DOESNT_MATCH_CORRUPTED_V2 = 1805; - exports.ER_REPLICA_SILENT_RETRY_TRANSACTION = 1806; - exports.ER_DISCARD_FK_CHECKS_RUNNING = 1807; - exports.ER_TABLE_SCHEMA_MISMATCH = 1808; - exports.ER_TABLE_IN_SYSTEM_TABLESPACE = 1809; - exports.ER_IO_READ_ERROR = 1810; - exports.ER_IO_WRITE_ERROR = 1811; - exports.ER_TABLESPACE_MISSING = 1812; - exports.ER_TABLESPACE_EXISTS = 1813; - exports.ER_TABLESPACE_DISCARDED = 1814; - exports.ER_INTERNAL_ERROR = 1815; - exports.ER_INNODB_IMPORT_ERROR = 1816; - exports.ER_INNODB_INDEX_CORRUPT = 1817; - exports.ER_INVALID_YEAR_COLUMN_LENGTH = 1818; - exports.ER_NOT_VALID_PASSWORD = 1819; - exports.ER_MUST_CHANGE_PASSWORD = 1820; - exports.ER_FK_NO_INDEX_CHILD = 1821; - exports.ER_FK_NO_INDEX_PARENT = 1822; - exports.ER_FK_FAIL_ADD_SYSTEM = 1823; - exports.ER_FK_CANNOT_OPEN_PARENT = 1824; - exports.ER_FK_INCORRECT_OPTION = 1825; - exports.ER_FK_DUP_NAME = 1826; - exports.ER_PASSWORD_FORMAT = 1827; - exports.ER_FK_COLUMN_CANNOT_DROP = 1828; - exports.ER_FK_COLUMN_CANNOT_DROP_CHILD = 1829; - exports.ER_FK_COLUMN_NOT_NULL = 1830; - exports.ER_DUP_INDEX = 1831; - exports.ER_FK_COLUMN_CANNOT_CHANGE = 1832; - exports.ER_FK_COLUMN_CANNOT_CHANGE_CHILD = 1833; - exports.ER_UNUSED5 = 1834; - exports.ER_MALFORMED_PACKET = 1835; - exports.ER_READ_ONLY_MODE = 1836; - exports.ER_GTID_NEXT_TYPE_UNDEFINED_GTID = 1837; - exports.ER_VARIABLE_NOT_SETTABLE_IN_SP = 1838; - exports.ER_CANT_SET_GTID_PURGED_WHEN_GTID_MODE_IS_OFF = 1839; - exports.ER_CANT_SET_GTID_PURGED_WHEN_GTID_EXECUTED_IS_NOT_EMPTY = 1840; - exports.ER_CANT_SET_GTID_PURGED_WHEN_OWNED_GTIDS_IS_NOT_EMPTY = 1841; - exports.ER_GTID_PURGED_WAS_CHANGED = 1842; - exports.ER_GTID_EXECUTED_WAS_CHANGED = 1843; - exports.ER_BINLOG_STMT_MODE_AND_NO_REPL_TABLES = 1844; - exports.ER_ALTER_OPERATION_NOT_SUPPORTED = 1845; - exports.ER_ALTER_OPERATION_NOT_SUPPORTED_REASON = 1846; - exports.ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_COPY = 1847; - exports.ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_PARTITION = 1848; - exports.ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_FK_RENAME = 1849; - exports.ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_COLUMN_TYPE = 1850; - exports.ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_FK_CHECK = 1851; - exports.ER_UNUSED6 = 1852; - exports.ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_NOPK = 1853; - exports.ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_AUTOINC = 1854; - exports.ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_HIDDEN_FTS = 1855; - exports.ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_CHANGE_FTS = 1856; - exports.ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_FTS = 1857; - exports.ER_SQL_REPLICA_SKIP_COUNTER_NOT_SETTABLE_IN_GTID_MODE = 1858; - exports.ER_DUP_UNKNOWN_IN_INDEX = 1859; - exports.ER_IDENT_CAUSES_TOO_LONG_PATH = 1860; - exports.ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_NOT_NULL = 1861; - exports.ER_MUST_CHANGE_PASSWORD_LOGIN = 1862; - exports.ER_ROW_IN_WRONG_PARTITION = 1863; - exports.ER_MTA_EVENT_BIGGER_PENDING_JOBS_SIZE_MAX = 1864; - exports.ER_INNODB_NO_FT_USES_PARSER = 1865; - exports.ER_BINLOG_LOGICAL_CORRUPTION = 1866; - exports.ER_WARN_PURGE_LOG_IN_USE = 1867; - exports.ER_WARN_PURGE_LOG_IS_ACTIVE = 1868; - exports.ER_AUTO_INCREMENT_CONFLICT = 1869; - exports.WARN_ON_BLOCKHOLE_IN_RBR = 1870; - exports.ER_REPLICA_CM_INIT_REPOSITORY = 1871; - exports.ER_REPLICA_AM_INIT_REPOSITORY = 1872; - exports.ER_ACCESS_DENIED_CHANGE_USER_ERROR = 1873; - exports.ER_INNODB_READ_ONLY = 1874; - exports.ER_STOP_REPLICA_SQL_THREAD_TIMEOUT = 1875; - exports.ER_STOP_REPLICA_IO_THREAD_TIMEOUT = 1876; - exports.ER_TABLE_CORRUPT = 1877; - exports.ER_TEMP_FILE_WRITE_FAILURE = 1878; - exports.ER_INNODB_FT_AUX_NOT_HEX_ID = 1879; - exports.ER_OLD_TEMPORALS_UPGRADED = 1880; - exports.ER_INNODB_FORCED_RECOVERY = 1881; - exports.ER_AES_INVALID_IV = 1882; - exports.ER_PLUGIN_CANNOT_BE_UNINSTALLED = 1883; - exports.ER_GTID_UNSAFE_BINLOG_SPLITTABLE_STATEMENT_AND_ASSIGNED_GTID = 1884; - exports.ER_REPLICA_HAS_MORE_GTIDS_THAN_SOURCE = 1885; - exports.ER_MISSING_KEY = 1886; - exports.WARN_NAMED_PIPE_ACCESS_EVERYONE = 1887; - exports.ER_FILE_CORRUPT = 3e3; - exports.ER_ERROR_ON_SOURCE = 3001; - exports.ER_INCONSISTENT_ERROR = 3002; - exports.ER_STORAGE_ENGINE_NOT_LOADED = 3003; - exports.ER_GET_STACKED_DA_WITHOUT_ACTIVE_HANDLER = 3004; - exports.ER_WARN_LEGACY_SYNTAX_CONVERTED = 3005; - exports.ER_BINLOG_UNSAFE_FULLTEXT_PLUGIN = 3006; - exports.ER_CANNOT_DISCARD_TEMPORARY_TABLE = 3007; - exports.ER_FK_DEPTH_EXCEEDED = 3008; - exports.ER_COL_COUNT_DOESNT_MATCH_PLEASE_UPDATE_V2 = 3009; - exports.ER_WARN_TRIGGER_DOESNT_HAVE_CREATED = 3010; - exports.ER_REFERENCED_TRG_DOES_NOT_EXIST = 3011; - exports.ER_EXPLAIN_NOT_SUPPORTED = 3012; - exports.ER_INVALID_FIELD_SIZE = 3013; - exports.ER_MISSING_HA_CREATE_OPTION = 3014; - exports.ER_ENGINE_OUT_OF_MEMORY = 3015; - exports.ER_PASSWORD_EXPIRE_ANONYMOUS_USER = 3016; - exports.ER_REPLICA_SQL_THREAD_MUST_STOP = 3017; - exports.ER_NO_FT_MATERIALIZED_SUBQUERY = 3018; - exports.ER_INNODB_UNDO_LOG_FULL = 3019; - exports.ER_INVALID_ARGUMENT_FOR_LOGARITHM = 3020; - exports.ER_REPLICA_CHANNEL_IO_THREAD_MUST_STOP = 3021; - exports.ER_WARN_OPEN_TEMP_TABLES_MUST_BE_ZERO = 3022; - exports.ER_WARN_ONLY_SOURCE_LOG_FILE_NO_POS = 3023; - exports.ER_QUERY_TIMEOUT = 3024; - exports.ER_NON_RO_SELECT_DISABLE_TIMER = 3025; - exports.ER_DUP_LIST_ENTRY = 3026; - exports.ER_SQL_MODE_NO_EFFECT = 3027; - exports.ER_AGGREGATE_ORDER_FOR_UNION = 3028; - exports.ER_AGGREGATE_ORDER_NON_AGG_QUERY = 3029; - exports.ER_REPLICA_WORKER_STOPPED_PREVIOUS_THD_ERROR = 3030; - exports.ER_DONT_SUPPORT_REPLICA_PRESERVE_COMMIT_ORDER = 3031; - exports.ER_SERVER_OFFLINE_MODE = 3032; - exports.ER_GIS_DIFFERENT_SRIDS = 3033; - exports.ER_GIS_UNSUPPORTED_ARGUMENT = 3034; - exports.ER_GIS_UNKNOWN_ERROR = 3035; - exports.ER_GIS_UNKNOWN_EXCEPTION = 3036; - exports.ER_GIS_INVALID_DATA = 3037; - exports.ER_BOOST_GEOMETRY_EMPTY_INPUT_EXCEPTION = 3038; - exports.ER_BOOST_GEOMETRY_CENTROID_EXCEPTION = 3039; - exports.ER_BOOST_GEOMETRY_OVERLAY_INVALID_INPUT_EXCEPTION = 3040; - exports.ER_BOOST_GEOMETRY_TURN_INFO_EXCEPTION = 3041; - exports.ER_BOOST_GEOMETRY_SELF_INTERSECTION_POINT_EXCEPTION = 3042; - exports.ER_BOOST_GEOMETRY_UNKNOWN_EXCEPTION = 3043; - exports.ER_STD_BAD_ALLOC_ERROR = 3044; - exports.ER_STD_DOMAIN_ERROR = 3045; - exports.ER_STD_LENGTH_ERROR = 3046; - exports.ER_STD_INVALID_ARGUMENT = 3047; - exports.ER_STD_OUT_OF_RANGE_ERROR = 3048; - exports.ER_STD_OVERFLOW_ERROR = 3049; - exports.ER_STD_RANGE_ERROR = 3050; - exports.ER_STD_UNDERFLOW_ERROR = 3051; - exports.ER_STD_LOGIC_ERROR = 3052; - exports.ER_STD_RUNTIME_ERROR = 3053; - exports.ER_STD_UNKNOWN_EXCEPTION = 3054; - exports.ER_GIS_DATA_WRONG_ENDIANESS = 3055; - exports.ER_CHANGE_SOURCE_PASSWORD_LENGTH = 3056; - exports.ER_USER_LOCK_WRONG_NAME = 3057; - exports.ER_USER_LOCK_DEADLOCK = 3058; - exports.ER_REPLACE_INACCESSIBLE_ROWS = 3059; - exports.ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_GIS = 3060; - exports.ER_ILLEGAL_USER_VAR = 3061; - exports.ER_GTID_MODE_OFF = 3062; - exports.ER_UNSUPPORTED_BY_REPLICATION_THREAD = 3063; - exports.ER_INCORRECT_TYPE = 3064; - exports.ER_FIELD_IN_ORDER_NOT_SELECT = 3065; - exports.ER_AGGREGATE_IN_ORDER_NOT_SELECT = 3066; - exports.ER_INVALID_RPL_WILD_TABLE_FILTER_PATTERN = 3067; - exports.ER_NET_OK_PACKET_TOO_LARGE = 3068; - exports.ER_INVALID_JSON_DATA = 3069; - exports.ER_INVALID_GEOJSON_MISSING_MEMBER = 3070; - exports.ER_INVALID_GEOJSON_WRONG_TYPE = 3071; - exports.ER_INVALID_GEOJSON_UNSPECIFIED = 3072; - exports.ER_DIMENSION_UNSUPPORTED = 3073; - exports.ER_REPLICA_CHANNEL_DOES_NOT_EXIST = 3074; - exports.ER_SLAVE_MULTIPLE_CHANNELS_HOST_PORT = 3075; - exports.ER_REPLICA_CHANNEL_NAME_INVALID_OR_TOO_LONG = 3076; - exports.ER_REPLICA_NEW_CHANNEL_WRONG_REPOSITORY = 3077; - exports.ER_SLAVE_CHANNEL_DELETE = 3078; - exports.ER_REPLICA_MULTIPLE_CHANNELS_CMD = 3079; - exports.ER_REPLICA_MAX_CHANNELS_EXCEEDED = 3080; - exports.ER_REPLICA_CHANNEL_MUST_STOP = 3081; - exports.ER_REPLICA_CHANNEL_NOT_RUNNING = 3082; - exports.ER_REPLICA_CHANNEL_WAS_RUNNING = 3083; - exports.ER_REPLICA_CHANNEL_WAS_NOT_RUNNING = 3084; - exports.ER_REPLICA_CHANNEL_SQL_THREAD_MUST_STOP = 3085; - exports.ER_REPLICA_CHANNEL_SQL_SKIP_COUNTER = 3086; - exports.ER_WRONG_FIELD_WITH_GROUP_V2 = 3087; - exports.ER_MIX_OF_GROUP_FUNC_AND_FIELDS_V2 = 3088; - exports.ER_WARN_DEPRECATED_SYSVAR_UPDATE = 3089; - exports.ER_WARN_DEPRECATED_SQLMODE = 3090; - exports.ER_CANNOT_LOG_PARTIAL_DROP_DATABASE_WITH_GTID = 3091; - exports.ER_GROUP_REPLICATION_CONFIGURATION = 3092; - exports.ER_GROUP_REPLICATION_RUNNING = 3093; - exports.ER_GROUP_REPLICATION_APPLIER_INIT_ERROR = 3094; - exports.ER_GROUP_REPLICATION_STOP_APPLIER_THREAD_TIMEOUT = 3095; - exports.ER_GROUP_REPLICATION_COMMUNICATION_LAYER_SESSION_ERROR = 3096; - exports.ER_GROUP_REPLICATION_COMMUNICATION_LAYER_JOIN_ERROR = 3097; - exports.ER_BEFORE_DML_VALIDATION_ERROR = 3098; - exports.ER_PREVENTS_VARIABLE_WITHOUT_RBR = 3099; - exports.ER_RUN_HOOK_ERROR = 3100; - exports.ER_TRANSACTION_ROLLBACK_DURING_COMMIT = 3101; - exports.ER_GENERATED_COLUMN_FUNCTION_IS_NOT_ALLOWED = 3102; - exports.ER_UNSUPPORTED_ALTER_INPLACE_ON_VIRTUAL_COLUMN = 3103; - exports.ER_WRONG_FK_OPTION_FOR_GENERATED_COLUMN = 3104; - exports.ER_NON_DEFAULT_VALUE_FOR_GENERATED_COLUMN = 3105; - exports.ER_UNSUPPORTED_ACTION_ON_GENERATED_COLUMN = 3106; - exports.ER_GENERATED_COLUMN_NON_PRIOR = 3107; - exports.ER_DEPENDENT_BY_GENERATED_COLUMN = 3108; - exports.ER_GENERATED_COLUMN_REF_AUTO_INC = 3109; - exports.ER_FEATURE_NOT_AVAILABLE = 3110; - exports.ER_CANT_SET_GTID_MODE = 3111; - exports.ER_CANT_USE_AUTO_POSITION_WITH_GTID_MODE_OFF = 3112; - exports.ER_CANT_REPLICATE_ANONYMOUS_WITH_AUTO_POSITION = 3113; - exports.ER_CANT_REPLICATE_ANONYMOUS_WITH_GTID_MODE_ON = 3114; - exports.ER_CANT_REPLICATE_GTID_WITH_GTID_MODE_OFF = 3115; - exports.ER_CANT_ENFORCE_GTID_CONSISTENCY_WITH_ONGOING_GTID_VIOLATING_TX = 3116; - exports.ER_ENFORCE_GTID_CONSISTENCY_WARN_WITH_ONGOING_GTID_VIOLATING_TX = 3117; - exports.ER_ACCOUNT_HAS_BEEN_LOCKED = 3118; - exports.ER_WRONG_TABLESPACE_NAME = 3119; - exports.ER_TABLESPACE_IS_NOT_EMPTY = 3120; - exports.ER_WRONG_FILE_NAME = 3121; - exports.ER_BOOST_GEOMETRY_INCONSISTENT_TURNS_EXCEPTION = 3122; - exports.ER_WARN_OPTIMIZER_HINT_SYNTAX_ERROR = 3123; - exports.ER_WARN_BAD_MAX_EXECUTION_TIME = 3124; - exports.ER_WARN_UNSUPPORTED_MAX_EXECUTION_TIME = 3125; - exports.ER_WARN_CONFLICTING_HINT = 3126; - exports.ER_WARN_UNKNOWN_QB_NAME = 3127; - exports.ER_UNRESOLVED_HINT_NAME = 3128; - exports.ER_WARN_ON_MODIFYING_GTID_EXECUTED_TABLE = 3129; - exports.ER_PLUGGABLE_PROTOCOL_COMMAND_NOT_SUPPORTED = 3130; - exports.ER_LOCKING_SERVICE_WRONG_NAME = 3131; - exports.ER_LOCKING_SERVICE_DEADLOCK = 3132; - exports.ER_LOCKING_SERVICE_TIMEOUT = 3133; - exports.ER_GIS_MAX_POINTS_IN_GEOMETRY_OVERFLOWED = 3134; - exports.ER_SQL_MODE_MERGED = 3135; - exports.ER_VTOKEN_PLUGIN_TOKEN_MISMATCH = 3136; - exports.ER_VTOKEN_PLUGIN_TOKEN_NOT_FOUND = 3137; - exports.ER_CANT_SET_VARIABLE_WHEN_OWNING_GTID = 3138; - exports.ER_REPLICA_CHANNEL_OPERATION_NOT_ALLOWED = 3139; - exports.ER_INVALID_JSON_TEXT = 3140; - exports.ER_INVALID_JSON_TEXT_IN_PARAM = 3141; - exports.ER_INVALID_JSON_BINARY_DATA = 3142; - exports.ER_INVALID_JSON_PATH = 3143; - exports.ER_INVALID_JSON_CHARSET = 3144; - exports.ER_INVALID_JSON_CHARSET_IN_FUNCTION = 3145; - exports.ER_INVALID_TYPE_FOR_JSON = 3146; - exports.ER_INVALID_CAST_TO_JSON = 3147; - exports.ER_INVALID_JSON_PATH_CHARSET = 3148; - exports.ER_INVALID_JSON_PATH_WILDCARD = 3149; - exports.ER_JSON_VALUE_TOO_BIG = 3150; - exports.ER_JSON_KEY_TOO_BIG = 3151; - exports.ER_JSON_USED_AS_KEY = 3152; - exports.ER_JSON_VACUOUS_PATH = 3153; - exports.ER_JSON_BAD_ONE_OR_ALL_ARG = 3154; - exports.ER_NUMERIC_JSON_VALUE_OUT_OF_RANGE = 3155; - exports.ER_INVALID_JSON_VALUE_FOR_CAST = 3156; - exports.ER_JSON_DOCUMENT_TOO_DEEP = 3157; - exports.ER_JSON_DOCUMENT_NULL_KEY = 3158; - exports.ER_SECURE_TRANSPORT_REQUIRED = 3159; - exports.ER_NO_SECURE_TRANSPORTS_CONFIGURED = 3160; - exports.ER_DISABLED_STORAGE_ENGINE = 3161; - exports.ER_USER_DOES_NOT_EXIST = 3162; - exports.ER_USER_ALREADY_EXISTS = 3163; - exports.ER_AUDIT_API_ABORT = 3164; - exports.ER_INVALID_JSON_PATH_ARRAY_CELL = 3165; - exports.ER_BUFPOOL_RESIZE_INPROGRESS = 3166; - exports.ER_FEATURE_DISABLED_SEE_DOC = 3167; - exports.ER_SERVER_ISNT_AVAILABLE = 3168; - exports.ER_SESSION_WAS_KILLED = 3169; - exports.ER_CAPACITY_EXCEEDED = 3170; - exports.ER_CAPACITY_EXCEEDED_IN_RANGE_OPTIMIZER = 3171; - exports.ER_TABLE_NEEDS_UPG_PART = 3172; - exports.ER_CANT_WAIT_FOR_EXECUTED_GTID_SET_WHILE_OWNING_A_GTID = 3173; - exports.ER_CANNOT_ADD_FOREIGN_BASE_COL_VIRTUAL = 3174; - exports.ER_CANNOT_CREATE_VIRTUAL_INDEX_CONSTRAINT = 3175; - exports.ER_ERROR_ON_MODIFYING_GTID_EXECUTED_TABLE = 3176; - exports.ER_LOCK_REFUSED_BY_ENGINE = 3177; - exports.ER_UNSUPPORTED_ALTER_ONLINE_ON_VIRTUAL_COLUMN = 3178; - exports.ER_MASTER_KEY_ROTATION_NOT_SUPPORTED_BY_SE = 3179; - exports.ER_MASTER_KEY_ROTATION_ERROR_BY_SE = 3180; - exports.ER_MASTER_KEY_ROTATION_BINLOG_FAILED = 3181; - exports.ER_MASTER_KEY_ROTATION_SE_UNAVAILABLE = 3182; - exports.ER_TABLESPACE_CANNOT_ENCRYPT = 3183; - exports.ER_INVALID_ENCRYPTION_OPTION = 3184; - exports.ER_CANNOT_FIND_KEY_IN_KEYRING = 3185; - exports.ER_CAPACITY_EXCEEDED_IN_PARSER = 3186; - exports.ER_UNSUPPORTED_ALTER_ENCRYPTION_INPLACE = 3187; - exports.ER_KEYRING_UDF_KEYRING_SERVICE_ERROR = 3188; - exports.ER_USER_COLUMN_OLD_LENGTH = 3189; - exports.ER_CANT_RESET_SOURCE = 3190; - exports.ER_GROUP_REPLICATION_MAX_GROUP_SIZE = 3191; - exports.ER_CANNOT_ADD_FOREIGN_BASE_COL_STORED = 3192; - exports.ER_TABLE_REFERENCED = 3193; - exports.ER_PARTITION_ENGINE_DEPRECATED_FOR_TABLE = 3194; - exports.ER_WARN_USING_GEOMFROMWKB_TO_SET_SRID_ZERO = 3195; - exports.ER_WARN_USING_GEOMFROMWKB_TO_SET_SRID = 3196; - exports.ER_XA_RETRY = 3197; - exports.ER_KEYRING_AWS_UDF_AWS_KMS_ERROR = 3198; - exports.ER_BINLOG_UNSAFE_XA = 3199; - exports.ER_UDF_ERROR = 3200; - exports.ER_KEYRING_MIGRATION_FAILURE = 3201; - exports.ER_KEYRING_ACCESS_DENIED_ERROR = 3202; - exports.ER_KEYRING_MIGRATION_STATUS = 3203; - exports.ER_PLUGIN_FAILED_TO_OPEN_TABLES = 3204; - exports.ER_PLUGIN_FAILED_TO_OPEN_TABLE = 3205; - exports.ER_AUDIT_LOG_NO_KEYRING_PLUGIN_INSTALLED = 3206; - exports.ER_AUDIT_LOG_ENCRYPTION_PASSWORD_HAS_NOT_BEEN_SET = 3207; - exports.ER_AUDIT_LOG_COULD_NOT_CREATE_AES_KEY = 3208; - exports.ER_AUDIT_LOG_ENCRYPTION_PASSWORD_CANNOT_BE_FETCHED = 3209; - exports.ER_AUDIT_LOG_JSON_FILTERING_NOT_ENABLED = 3210; - exports.ER_AUDIT_LOG_UDF_INSUFFICIENT_PRIVILEGE = 3211; - exports.ER_AUDIT_LOG_SUPER_PRIVILEGE_REQUIRED = 3212; - exports.ER_COULD_NOT_REINITIALIZE_AUDIT_LOG_FILTERS = 3213; - exports.ER_AUDIT_LOG_UDF_INVALID_ARGUMENT_TYPE = 3214; - exports.ER_AUDIT_LOG_UDF_INVALID_ARGUMENT_COUNT = 3215; - exports.ER_AUDIT_LOG_HAS_NOT_BEEN_INSTALLED = 3216; - exports.ER_AUDIT_LOG_UDF_READ_INVALID_MAX_ARRAY_LENGTH_ARG_TYPE = 3217; - exports.ER_AUDIT_LOG_UDF_READ_INVALID_MAX_ARRAY_LENGTH_ARG_VALUE = 3218; - exports.ER_AUDIT_LOG_JSON_FILTER_PARSING_ERROR = 3219; - exports.ER_AUDIT_LOG_JSON_FILTER_NAME_CANNOT_BE_EMPTY = 3220; - exports.ER_AUDIT_LOG_JSON_USER_NAME_CANNOT_BE_EMPTY = 3221; - exports.ER_AUDIT_LOG_JSON_FILTER_DOES_NOT_EXISTS = 3222; - exports.ER_AUDIT_LOG_USER_FIRST_CHARACTER_MUST_BE_ALPHANUMERIC = 3223; - exports.ER_AUDIT_LOG_USER_NAME_INVALID_CHARACTER = 3224; - exports.ER_AUDIT_LOG_HOST_NAME_INVALID_CHARACTER = 3225; - exports.WARN_DEPRECATED_MAXDB_SQL_MODE_FOR_TIMESTAMP = 3226; - exports.ER_XA_REPLICATION_FILTERS = 3227; - exports.ER_CANT_OPEN_ERROR_LOG = 3228; - exports.ER_GROUPING_ON_TIMESTAMP_IN_DST = 3229; - exports.ER_CANT_START_SERVER_NAMED_PIPE = 3230; - exports.ER_WRITE_SET_EXCEEDS_LIMIT = 3231; - exports.ER_DEPRECATED_TLS_VERSION_SESSION_57 = 3232; - exports.ER_WARN_DEPRECATED_TLS_VERSION_57 = 3233; - exports.ER_WARN_WRONG_NATIVE_TABLE_STRUCTURE = 3234; - exports.ER_AES_INVALID_KDF_NAME = 3235; - exports.ER_AES_INVALID_KDF_ITERATIONS = 3236; - exports.WARN_AES_KEY_SIZE = 3237; - exports.ER_AES_INVALID_KDF_OPTION_SIZE = 3238; - exports.ER_UNSUPPORT_COMPRESSED_TEMPORARY_TABLE = 3500; - exports.ER_ACL_OPERATION_FAILED = 3501; - exports.ER_UNSUPPORTED_INDEX_ALGORITHM = 3502; - exports.ER_NO_SUCH_DB = 3503; - exports.ER_TOO_BIG_ENUM = 3504; - exports.ER_TOO_LONG_SET_ENUM_VALUE = 3505; - exports.ER_INVALID_DD_OBJECT = 3506; - exports.ER_UPDATING_DD_TABLE = 3507; - exports.ER_INVALID_DD_OBJECT_ID = 3508; - exports.ER_INVALID_DD_OBJECT_NAME = 3509; - exports.ER_TABLESPACE_MISSING_WITH_NAME = 3510; - exports.ER_TOO_LONG_ROUTINE_COMMENT = 3511; - exports.ER_SP_LOAD_FAILED = 3512; - exports.ER_INVALID_BITWISE_OPERANDS_SIZE = 3513; - exports.ER_INVALID_BITWISE_AGGREGATE_OPERANDS_SIZE = 3514; - exports.ER_WARN_UNSUPPORTED_HINT = 3515; - exports.ER_UNEXPECTED_GEOMETRY_TYPE = 3516; - exports.ER_SRS_PARSE_ERROR = 3517; - exports.ER_SRS_PROJ_PARAMETER_MISSING = 3518; - exports.ER_WARN_SRS_NOT_FOUND = 3519; - exports.ER_SRS_NOT_CARTESIAN = 3520; - exports.ER_SRS_NOT_CARTESIAN_UNDEFINED = 3521; - exports.ER_PK_INDEX_CANT_BE_INVISIBLE = 3522; - exports.ER_UNKNOWN_AUTHID = 3523; - exports.ER_FAILED_ROLE_GRANT = 3524; - exports.ER_OPEN_ROLE_TABLES = 3525; - exports.ER_FAILED_DEFAULT_ROLES = 3526; - exports.ER_COMPONENTS_NO_SCHEME = 3527; - exports.ER_COMPONENTS_NO_SCHEME_SERVICE = 3528; - exports.ER_COMPONENTS_CANT_LOAD = 3529; - exports.ER_ROLE_NOT_GRANTED = 3530; - exports.ER_FAILED_REVOKE_ROLE = 3531; - exports.ER_RENAME_ROLE = 3532; - exports.ER_COMPONENTS_CANT_ACQUIRE_SERVICE_IMPLEMENTATION = 3533; - exports.ER_COMPONENTS_CANT_SATISFY_DEPENDENCY = 3534; - exports.ER_COMPONENTS_LOAD_CANT_REGISTER_SERVICE_IMPLEMENTATION = 3535; - exports.ER_COMPONENTS_LOAD_CANT_INITIALIZE = 3536; - exports.ER_COMPONENTS_UNLOAD_NOT_LOADED = 3537; - exports.ER_COMPONENTS_UNLOAD_CANT_DEINITIALIZE = 3538; - exports.ER_COMPONENTS_CANT_RELEASE_SERVICE = 3539; - exports.ER_COMPONENTS_UNLOAD_CANT_UNREGISTER_SERVICE = 3540; - exports.ER_COMPONENTS_CANT_UNLOAD = 3541; - exports.ER_WARN_UNLOAD_THE_NOT_PERSISTED = 3542; - exports.ER_COMPONENT_TABLE_INCORRECT = 3543; - exports.ER_COMPONENT_MANIPULATE_ROW_FAILED = 3544; - exports.ER_COMPONENTS_UNLOAD_DUPLICATE_IN_GROUP = 3545; - exports.ER_CANT_SET_GTID_PURGED_DUE_SETS_CONSTRAINTS = 3546; - exports.ER_CANNOT_LOCK_USER_MANAGEMENT_CACHES = 3547; - exports.ER_SRS_NOT_FOUND = 3548; - exports.ER_VARIABLE_NOT_PERSISTED = 3549; - exports.ER_IS_QUERY_INVALID_CLAUSE = 3550; - exports.ER_UNABLE_TO_STORE_STATISTICS = 3551; - exports.ER_NO_SYSTEM_SCHEMA_ACCESS = 3552; - exports.ER_NO_SYSTEM_TABLESPACE_ACCESS = 3553; - exports.ER_NO_SYSTEM_TABLE_ACCESS = 3554; - exports.ER_NO_SYSTEM_TABLE_ACCESS_FOR_DICTIONARY_TABLE = 3555; - exports.ER_NO_SYSTEM_TABLE_ACCESS_FOR_SYSTEM_TABLE = 3556; - exports.ER_NO_SYSTEM_TABLE_ACCESS_FOR_TABLE = 3557; - exports.ER_INVALID_OPTION_KEY = 3558; - exports.ER_INVALID_OPTION_VALUE = 3559; - exports.ER_INVALID_OPTION_KEY_VALUE_PAIR = 3560; - exports.ER_INVALID_OPTION_START_CHARACTER = 3561; - exports.ER_INVALID_OPTION_END_CHARACTER = 3562; - exports.ER_INVALID_OPTION_CHARACTERS = 3563; - exports.ER_DUPLICATE_OPTION_KEY = 3564; - exports.ER_WARN_SRS_NOT_FOUND_AXIS_ORDER = 3565; - exports.ER_NO_ACCESS_TO_NATIVE_FCT = 3566; - exports.ER_RESET_SOURCE_TO_VALUE_OUT_OF_RANGE = 3567; - exports.ER_UNRESOLVED_TABLE_LOCK = 3568; - exports.ER_DUPLICATE_TABLE_LOCK = 3569; - exports.ER_BINLOG_UNSAFE_SKIP_LOCKED = 3570; - exports.ER_BINLOG_UNSAFE_NOWAIT = 3571; - exports.ER_LOCK_NOWAIT = 3572; - exports.ER_CTE_RECURSIVE_REQUIRES_UNION = 3573; - exports.ER_CTE_RECURSIVE_REQUIRES_NONRECURSIVE_FIRST = 3574; - exports.ER_CTE_RECURSIVE_FORBIDS_AGGREGATION = 3575; - exports.ER_CTE_RECURSIVE_FORBIDDEN_JOIN_ORDER = 3576; - exports.ER_CTE_RECURSIVE_REQUIRES_SINGLE_REFERENCE = 3577; - exports.ER_SWITCH_TMP_ENGINE = 3578; - exports.ER_WINDOW_NO_SUCH_WINDOW = 3579; - exports.ER_WINDOW_CIRCULARITY_IN_WINDOW_GRAPH = 3580; - exports.ER_WINDOW_NO_CHILD_PARTITIONING = 3581; - exports.ER_WINDOW_NO_INHERIT_FRAME = 3582; - exports.ER_WINDOW_NO_REDEFINE_ORDER_BY = 3583; - exports.ER_WINDOW_FRAME_START_ILLEGAL = 3584; - exports.ER_WINDOW_FRAME_END_ILLEGAL = 3585; - exports.ER_WINDOW_FRAME_ILLEGAL = 3586; - exports.ER_WINDOW_RANGE_FRAME_ORDER_TYPE = 3587; - exports.ER_WINDOW_RANGE_FRAME_TEMPORAL_TYPE = 3588; - exports.ER_WINDOW_RANGE_FRAME_NUMERIC_TYPE = 3589; - exports.ER_WINDOW_RANGE_BOUND_NOT_CONSTANT = 3590; - exports.ER_WINDOW_DUPLICATE_NAME = 3591; - exports.ER_WINDOW_ILLEGAL_ORDER_BY = 3592; - exports.ER_WINDOW_INVALID_WINDOW_FUNC_USE = 3593; - exports.ER_WINDOW_INVALID_WINDOW_FUNC_ALIAS_USE = 3594; - exports.ER_WINDOW_NESTED_WINDOW_FUNC_USE_IN_WINDOW_SPEC = 3595; - exports.ER_WINDOW_ROWS_INTERVAL_USE = 3596; - exports.ER_WINDOW_NO_GROUP_ORDER = 3597; - exports.ER_WINDOW_EXPLAIN_JSON = 3598; - exports.ER_WINDOW_FUNCTION_IGNORES_FRAME = 3599; - exports.ER_WL9236_NOW = 3600; - exports.ER_INVALID_NO_OF_ARGS = 3601; - exports.ER_FIELD_IN_GROUPING_NOT_GROUP_BY = 3602; - exports.ER_TOO_LONG_TABLESPACE_COMMENT = 3603; - exports.ER_ENGINE_CANT_DROP_TABLE = 3604; - exports.ER_ENGINE_CANT_DROP_MISSING_TABLE = 3605; - exports.ER_TABLESPACE_DUP_FILENAME = 3606; - exports.ER_DB_DROP_RMDIR2 = 3607; - exports.ER_IMP_NO_FILES_MATCHED = 3608; - exports.ER_IMP_SCHEMA_DOES_NOT_EXIST = 3609; - exports.ER_IMP_TABLE_ALREADY_EXISTS = 3610; - exports.ER_IMP_INCOMPATIBLE_MYSQLD_VERSION = 3611; - exports.ER_IMP_INCOMPATIBLE_DD_VERSION = 3612; - exports.ER_IMP_INCOMPATIBLE_SDI_VERSION = 3613; - exports.ER_WARN_INVALID_HINT = 3614; - exports.ER_VAR_DOES_NOT_EXIST = 3615; - exports.ER_LONGITUDE_OUT_OF_RANGE = 3616; - exports.ER_LATITUDE_OUT_OF_RANGE = 3617; - exports.ER_NOT_IMPLEMENTED_FOR_GEOGRAPHIC_SRS = 3618; - exports.ER_ILLEGAL_PRIVILEGE_LEVEL = 3619; - exports.ER_NO_SYSTEM_VIEW_ACCESS = 3620; - exports.ER_COMPONENT_FILTER_FLABBERGASTED = 3621; - exports.ER_PART_EXPR_TOO_LONG = 3622; - exports.ER_UDF_DROP_DYNAMICALLY_REGISTERED = 3623; - exports.ER_UNABLE_TO_STORE_COLUMN_STATISTICS = 3624; - exports.ER_UNABLE_TO_UPDATE_COLUMN_STATISTICS = 3625; - exports.ER_UNABLE_TO_DROP_COLUMN_STATISTICS = 3626; - exports.ER_UNABLE_TO_BUILD_HISTOGRAM = 3627; - exports.ER_MANDATORY_ROLE = 3628; - exports.ER_MISSING_TABLESPACE_FILE = 3629; - exports.ER_PERSIST_ONLY_ACCESS_DENIED_ERROR = 3630; - exports.ER_CMD_NEED_SUPER = 3631; - exports.ER_PATH_IN_DATADIR = 3632; - exports.ER_CLONE_DDL_IN_PROGRESS = 3633; - exports.ER_CLONE_TOO_MANY_CONCURRENT_CLONES = 3634; - exports.ER_APPLIER_LOG_EVENT_VALIDATION_ERROR = 3635; - exports.ER_CTE_MAX_RECURSION_DEPTH = 3636; - exports.ER_NOT_HINT_UPDATABLE_VARIABLE = 3637; - exports.ER_CREDENTIALS_CONTRADICT_TO_HISTORY = 3638; - exports.ER_WARNING_PASSWORD_HISTORY_CLAUSES_VOID = 3639; - exports.ER_CLIENT_DOES_NOT_SUPPORT = 3640; - exports.ER_I_S_SKIPPED_TABLESPACE = 3641; - exports.ER_TABLESPACE_ENGINE_MISMATCH = 3642; - exports.ER_WRONG_SRID_FOR_COLUMN = 3643; - exports.ER_CANNOT_ALTER_SRID_DUE_TO_INDEX = 3644; - exports.ER_WARN_BINLOG_PARTIAL_UPDATES_DISABLED = 3645; - exports.ER_WARN_BINLOG_V1_ROW_EVENTS_DISABLED = 3646; - exports.ER_WARN_BINLOG_PARTIAL_UPDATES_SUGGESTS_PARTIAL_IMAGES = 3647; - exports.ER_COULD_NOT_APPLY_JSON_DIFF = 3648; - exports.ER_CORRUPTED_JSON_DIFF = 3649; - exports.ER_RESOURCE_GROUP_EXISTS = 3650; - exports.ER_RESOURCE_GROUP_NOT_EXISTS = 3651; - exports.ER_INVALID_VCPU_ID = 3652; - exports.ER_INVALID_VCPU_RANGE = 3653; - exports.ER_INVALID_THREAD_PRIORITY = 3654; - exports.ER_DISALLOWED_OPERATION = 3655; - exports.ER_RESOURCE_GROUP_BUSY = 3656; - exports.ER_RESOURCE_GROUP_DISABLED = 3657; - exports.ER_FEATURE_UNSUPPORTED = 3658; - exports.ER_ATTRIBUTE_IGNORED = 3659; - exports.ER_INVALID_THREAD_ID = 3660; - exports.ER_RESOURCE_GROUP_BIND_FAILED = 3661; - exports.ER_INVALID_USE_OF_FORCE_OPTION = 3662; - exports.ER_GROUP_REPLICATION_COMMAND_FAILURE = 3663; - exports.ER_SDI_OPERATION_FAILED = 3664; - exports.ER_MISSING_JSON_TABLE_VALUE = 3665; - exports.ER_WRONG_JSON_TABLE_VALUE = 3666; - exports.ER_TF_MUST_HAVE_ALIAS = 3667; - exports.ER_TF_FORBIDDEN_JOIN_TYPE = 3668; - exports.ER_JT_VALUE_OUT_OF_RANGE = 3669; - exports.ER_JT_MAX_NESTED_PATH = 3670; - exports.ER_PASSWORD_EXPIRATION_NOT_SUPPORTED_BY_AUTH_METHOD = 3671; - exports.ER_INVALID_GEOJSON_CRS_NOT_TOP_LEVEL = 3672; - exports.ER_BAD_NULL_ERROR_NOT_IGNORED = 3673; - exports.WARN_USELESS_SPATIAL_INDEX = 3674; - exports.ER_DISK_FULL_NOWAIT = 3675; - exports.ER_PARSE_ERROR_IN_DIGEST_FN = 3676; - exports.ER_UNDISCLOSED_PARSE_ERROR_IN_DIGEST_FN = 3677; - exports.ER_SCHEMA_DIR_EXISTS = 3678; - exports.ER_SCHEMA_DIR_MISSING = 3679; - exports.ER_SCHEMA_DIR_CREATE_FAILED = 3680; - exports.ER_SCHEMA_DIR_UNKNOWN = 3681; - exports.ER_ONLY_IMPLEMENTED_FOR_SRID_0_AND_4326 = 3682; - exports.ER_BINLOG_EXPIRE_LOG_DAYS_AND_SECS_USED_TOGETHER = 3683; - exports.ER_REGEXP_BUFFER_OVERFLOW = 3684; - exports.ER_REGEXP_ILLEGAL_ARGUMENT = 3685; - exports.ER_REGEXP_INDEX_OUTOFBOUNDS_ERROR = 3686; - exports.ER_REGEXP_INTERNAL_ERROR = 3687; - exports.ER_REGEXP_RULE_SYNTAX = 3688; - exports.ER_REGEXP_BAD_ESCAPE_SEQUENCE = 3689; - exports.ER_REGEXP_UNIMPLEMENTED = 3690; - exports.ER_REGEXP_MISMATCHED_PAREN = 3691; - exports.ER_REGEXP_BAD_INTERVAL = 3692; - exports.ER_REGEXP_MAX_LT_MIN = 3693; - exports.ER_REGEXP_INVALID_BACK_REF = 3694; - exports.ER_REGEXP_LOOK_BEHIND_LIMIT = 3695; - exports.ER_REGEXP_MISSING_CLOSE_BRACKET = 3696; - exports.ER_REGEXP_INVALID_RANGE = 3697; - exports.ER_REGEXP_STACK_OVERFLOW = 3698; - exports.ER_REGEXP_TIME_OUT = 3699; - exports.ER_REGEXP_PATTERN_TOO_BIG = 3700; - exports.ER_CANT_SET_ERROR_LOG_SERVICE = 3701; - exports.ER_EMPTY_PIPELINE_FOR_ERROR_LOG_SERVICE = 3702; - exports.ER_COMPONENT_FILTER_DIAGNOSTICS = 3703; - exports.ER_NOT_IMPLEMENTED_FOR_CARTESIAN_SRS = 3704; - exports.ER_NOT_IMPLEMENTED_FOR_PROJECTED_SRS = 3705; - exports.ER_NONPOSITIVE_RADIUS = 3706; - exports.ER_RESTART_SERVER_FAILED = 3707; - exports.ER_SRS_MISSING_MANDATORY_ATTRIBUTE = 3708; - exports.ER_SRS_MULTIPLE_ATTRIBUTE_DEFINITIONS = 3709; - exports.ER_SRS_NAME_CANT_BE_EMPTY_OR_WHITESPACE = 3710; - exports.ER_SRS_ORGANIZATION_CANT_BE_EMPTY_OR_WHITESPACE = 3711; - exports.ER_SRS_ID_ALREADY_EXISTS = 3712; - exports.ER_WARN_SRS_ID_ALREADY_EXISTS = 3713; - exports.ER_CANT_MODIFY_SRID_0 = 3714; - exports.ER_WARN_RESERVED_SRID_RANGE = 3715; - exports.ER_CANT_MODIFY_SRS_USED_BY_COLUMN = 3716; - exports.ER_SRS_INVALID_CHARACTER_IN_ATTRIBUTE = 3717; - exports.ER_SRS_ATTRIBUTE_STRING_TOO_LONG = 3718; - exports.ER_DEPRECATED_UTF8_ALIAS = 3719; - exports.ER_DEPRECATED_NATIONAL = 3720; - exports.ER_INVALID_DEFAULT_UTF8MB4_COLLATION = 3721; - exports.ER_UNABLE_TO_COLLECT_LOG_STATUS = 3722; - exports.ER_RESERVED_TABLESPACE_NAME = 3723; - exports.ER_UNABLE_TO_SET_OPTION = 3724; - exports.ER_REPLICA_POSSIBLY_DIVERGED_AFTER_DDL = 3725; - exports.ER_SRS_NOT_GEOGRAPHIC = 3726; - exports.ER_POLYGON_TOO_LARGE = 3727; - exports.ER_SPATIAL_UNIQUE_INDEX = 3728; - exports.ER_INDEX_TYPE_NOT_SUPPORTED_FOR_SPATIAL_INDEX = 3729; - exports.ER_FK_CANNOT_DROP_PARENT = 3730; - exports.ER_GEOMETRY_PARAM_LONGITUDE_OUT_OF_RANGE = 3731; - exports.ER_GEOMETRY_PARAM_LATITUDE_OUT_OF_RANGE = 3732; - exports.ER_FK_CANNOT_USE_VIRTUAL_COLUMN = 3733; - exports.ER_FK_NO_COLUMN_PARENT = 3734; - exports.ER_CANT_SET_ERROR_SUPPRESSION_LIST = 3735; - exports.ER_SRS_GEOGCS_INVALID_AXES = 3736; - exports.ER_SRS_INVALID_SEMI_MAJOR_AXIS = 3737; - exports.ER_SRS_INVALID_INVERSE_FLATTENING = 3738; - exports.ER_SRS_INVALID_ANGULAR_UNIT = 3739; - exports.ER_SRS_INVALID_PRIME_MERIDIAN = 3740; - exports.ER_TRANSFORM_SOURCE_SRS_NOT_SUPPORTED = 3741; - exports.ER_TRANSFORM_TARGET_SRS_NOT_SUPPORTED = 3742; - exports.ER_TRANSFORM_SOURCE_SRS_MISSING_TOWGS84 = 3743; - exports.ER_TRANSFORM_TARGET_SRS_MISSING_TOWGS84 = 3744; - exports.ER_TEMP_TABLE_PREVENTS_SWITCH_SESSION_BINLOG_FORMAT = 3745; - exports.ER_TEMP_TABLE_PREVENTS_SWITCH_GLOBAL_BINLOG_FORMAT = 3746; - exports.ER_RUNNING_APPLIER_PREVENTS_SWITCH_GLOBAL_BINLOG_FORMAT = 3747; - exports.ER_CLIENT_GTID_UNSAFE_CREATE_DROP_TEMP_TABLE_IN_TRX_IN_SBR = 3748; - exports.ER_XA_CANT_CREATE_MDL_BACKUP = 3749; - exports.ER_TABLE_WITHOUT_PK = 3750; - exports.ER_WARN_DATA_TRUNCATED_FUNCTIONAL_INDEX = 3751; - exports.ER_WARN_DATA_OUT_OF_RANGE_FUNCTIONAL_INDEX = 3752; - exports.ER_FUNCTIONAL_INDEX_ON_JSON_OR_GEOMETRY_FUNCTION = 3753; - exports.ER_FUNCTIONAL_INDEX_REF_AUTO_INCREMENT = 3754; - exports.ER_CANNOT_DROP_COLUMN_FUNCTIONAL_INDEX = 3755; - exports.ER_FUNCTIONAL_INDEX_PRIMARY_KEY = 3756; - exports.ER_FUNCTIONAL_INDEX_ON_LOB = 3757; - exports.ER_FUNCTIONAL_INDEX_FUNCTION_IS_NOT_ALLOWED = 3758; - exports.ER_FULLTEXT_FUNCTIONAL_INDEX = 3759; - exports.ER_SPATIAL_FUNCTIONAL_INDEX = 3760; - exports.ER_WRONG_KEY_COLUMN_FUNCTIONAL_INDEX = 3761; - exports.ER_FUNCTIONAL_INDEX_ON_FIELD = 3762; - exports.ER_GENERATED_COLUMN_NAMED_FUNCTION_IS_NOT_ALLOWED = 3763; - exports.ER_GENERATED_COLUMN_ROW_VALUE = 3764; - exports.ER_GENERATED_COLUMN_VARIABLES = 3765; - exports.ER_DEPENDENT_BY_DEFAULT_GENERATED_VALUE = 3766; - exports.ER_DEFAULT_VAL_GENERATED_NON_PRIOR = 3767; - exports.ER_DEFAULT_VAL_GENERATED_REF_AUTO_INC = 3768; - exports.ER_DEFAULT_VAL_GENERATED_FUNCTION_IS_NOT_ALLOWED = 3769; - exports.ER_DEFAULT_VAL_GENERATED_NAMED_FUNCTION_IS_NOT_ALLOWED = 3770; - exports.ER_DEFAULT_VAL_GENERATED_ROW_VALUE = 3771; - exports.ER_DEFAULT_VAL_GENERATED_VARIABLES = 3772; - exports.ER_DEFAULT_AS_VAL_GENERATED = 3773; - exports.ER_UNSUPPORTED_ACTION_ON_DEFAULT_VAL_GENERATED = 3774; - exports.ER_GTID_UNSAFE_ALTER_ADD_COL_WITH_DEFAULT_EXPRESSION = 3775; - exports.ER_FK_CANNOT_CHANGE_ENGINE = 3776; - exports.ER_WARN_DEPRECATED_USER_SET_EXPR = 3777; - exports.ER_WARN_DEPRECATED_UTF8MB3_COLLATION = 3778; - exports.ER_WARN_DEPRECATED_NESTED_COMMENT_SYNTAX = 3779; - exports.ER_FK_INCOMPATIBLE_COLUMNS = 3780; - exports.ER_GR_HOLD_WAIT_TIMEOUT = 3781; - exports.ER_GR_HOLD_KILLED = 3782; - exports.ER_GR_HOLD_MEMBER_STATUS_ERROR = 3783; - exports.ER_RPL_ENCRYPTION_FAILED_TO_FETCH_KEY = 3784; - exports.ER_RPL_ENCRYPTION_KEY_NOT_FOUND = 3785; - exports.ER_RPL_ENCRYPTION_KEYRING_INVALID_KEY = 3786; - exports.ER_RPL_ENCRYPTION_HEADER_ERROR = 3787; - exports.ER_RPL_ENCRYPTION_FAILED_TO_ROTATE_LOGS = 3788; - exports.ER_RPL_ENCRYPTION_KEY_EXISTS_UNEXPECTED = 3789; - exports.ER_RPL_ENCRYPTION_FAILED_TO_GENERATE_KEY = 3790; - exports.ER_RPL_ENCRYPTION_FAILED_TO_STORE_KEY = 3791; - exports.ER_RPL_ENCRYPTION_FAILED_TO_REMOVE_KEY = 3792; - exports.ER_RPL_ENCRYPTION_UNABLE_TO_CHANGE_OPTION = 3793; - exports.ER_RPL_ENCRYPTION_MASTER_KEY_RECOVERY_FAILED = 3794; - exports.ER_SLOW_LOG_MODE_IGNORED_WHEN_NOT_LOGGING_TO_FILE = 3795; - exports.ER_GRP_TRX_CONSISTENCY_NOT_ALLOWED = 3796; - exports.ER_GRP_TRX_CONSISTENCY_BEFORE = 3797; - exports.ER_GRP_TRX_CONSISTENCY_AFTER_ON_TRX_BEGIN = 3798; - exports.ER_GRP_TRX_CONSISTENCY_BEGIN_NOT_ALLOWED = 3799; - exports.ER_FUNCTIONAL_INDEX_ROW_VALUE_IS_NOT_ALLOWED = 3800; - exports.ER_RPL_ENCRYPTION_FAILED_TO_ENCRYPT = 3801; - exports.ER_PAGE_TRACKING_NOT_STARTED = 3802; - exports.ER_PAGE_TRACKING_RANGE_NOT_TRACKED = 3803; - exports.ER_PAGE_TRACKING_CANNOT_PURGE = 3804; - exports.ER_RPL_ENCRYPTION_CANNOT_ROTATE_BINLOG_MASTER_KEY = 3805; - exports.ER_BINLOG_MASTER_KEY_RECOVERY_OUT_OF_COMBINATION = 3806; - exports.ER_BINLOG_MASTER_KEY_ROTATION_FAIL_TO_OPERATE_KEY = 3807; - exports.ER_BINLOG_MASTER_KEY_ROTATION_FAIL_TO_ROTATE_LOGS = 3808; - exports.ER_BINLOG_MASTER_KEY_ROTATION_FAIL_TO_REENCRYPT_LOG = 3809; - exports.ER_BINLOG_MASTER_KEY_ROTATION_FAIL_TO_CLEANUP_UNUSED_KEYS = 3810; - exports.ER_BINLOG_MASTER_KEY_ROTATION_FAIL_TO_CLEANUP_AUX_KEY = 3811; - exports.ER_NON_BOOLEAN_EXPR_FOR_CHECK_CONSTRAINT = 3812; - exports.ER_COLUMN_CHECK_CONSTRAINT_REFERENCES_OTHER_COLUMN = 3813; - exports.ER_CHECK_CONSTRAINT_NAMED_FUNCTION_IS_NOT_ALLOWED = 3814; - exports.ER_CHECK_CONSTRAINT_FUNCTION_IS_NOT_ALLOWED = 3815; - exports.ER_CHECK_CONSTRAINT_VARIABLES = 3816; - exports.ER_CHECK_CONSTRAINT_ROW_VALUE = 3817; - exports.ER_CHECK_CONSTRAINT_REFERS_AUTO_INCREMENT_COLUMN = 3818; - exports.ER_CHECK_CONSTRAINT_VIOLATED = 3819; - exports.ER_CHECK_CONSTRAINT_REFERS_UNKNOWN_COLUMN = 3820; - exports.ER_CHECK_CONSTRAINT_NOT_FOUND = 3821; - exports.ER_CHECK_CONSTRAINT_DUP_NAME = 3822; - exports.ER_CHECK_CONSTRAINT_CLAUSE_USING_FK_REFER_ACTION_COLUMN = 3823; - exports.WARN_UNENCRYPTED_TABLE_IN_ENCRYPTED_DB = 3824; - exports.ER_INVALID_ENCRYPTION_REQUEST = 3825; - exports.ER_CANNOT_SET_TABLE_ENCRYPTION = 3826; - exports.ER_CANNOT_SET_DATABASE_ENCRYPTION = 3827; - exports.ER_CANNOT_SET_TABLESPACE_ENCRYPTION = 3828; - exports.ER_TABLESPACE_CANNOT_BE_ENCRYPTED = 3829; - exports.ER_TABLESPACE_CANNOT_BE_DECRYPTED = 3830; - exports.ER_TABLESPACE_TYPE_UNKNOWN = 3831; - exports.ER_TARGET_TABLESPACE_UNENCRYPTED = 3832; - exports.ER_CANNOT_USE_ENCRYPTION_CLAUSE = 3833; - exports.ER_INVALID_MULTIPLE_CLAUSES = 3834; - exports.ER_UNSUPPORTED_USE_OF_GRANT_AS = 3835; - exports.ER_UKNOWN_AUTH_ID_OR_ACCESS_DENIED_FOR_GRANT_AS = 3836; - exports.ER_DEPENDENT_BY_FUNCTIONAL_INDEX = 3837; - exports.ER_PLUGIN_NOT_EARLY = 3838; - exports.ER_INNODB_REDO_LOG_ARCHIVE_START_SUBDIR_PATH = 3839; - exports.ER_INNODB_REDO_LOG_ARCHIVE_START_TIMEOUT = 3840; - exports.ER_INNODB_REDO_LOG_ARCHIVE_DIRS_INVALID = 3841; - exports.ER_INNODB_REDO_LOG_ARCHIVE_LABEL_NOT_FOUND = 3842; - exports.ER_INNODB_REDO_LOG_ARCHIVE_DIR_EMPTY = 3843; - exports.ER_INNODB_REDO_LOG_ARCHIVE_NO_SUCH_DIR = 3844; - exports.ER_INNODB_REDO_LOG_ARCHIVE_DIR_CLASH = 3845; - exports.ER_INNODB_REDO_LOG_ARCHIVE_DIR_PERMISSIONS = 3846; - exports.ER_INNODB_REDO_LOG_ARCHIVE_FILE_CREATE = 3847; - exports.ER_INNODB_REDO_LOG_ARCHIVE_ACTIVE = 3848; - exports.ER_INNODB_REDO_LOG_ARCHIVE_INACTIVE = 3849; - exports.ER_INNODB_REDO_LOG_ARCHIVE_FAILED = 3850; - exports.ER_INNODB_REDO_LOG_ARCHIVE_SESSION = 3851; - exports.ER_STD_REGEX_ERROR = 3852; - exports.ER_INVALID_JSON_TYPE = 3853; - exports.ER_CANNOT_CONVERT_STRING = 3854; - exports.ER_DEPENDENT_BY_PARTITION_FUNC = 3855; - exports.ER_WARN_DEPRECATED_FLOAT_AUTO_INCREMENT = 3856; - exports.ER_RPL_CANT_STOP_REPLICA_WHILE_LOCKED_BACKUP = 3857; - exports.ER_WARN_DEPRECATED_FLOAT_DIGITS = 3858; - exports.ER_WARN_DEPRECATED_FLOAT_UNSIGNED = 3859; - exports.ER_WARN_DEPRECATED_INTEGER_DISPLAY_WIDTH = 3860; - exports.ER_WARN_DEPRECATED_ZEROFILL = 3861; - exports.ER_CLONE_DONOR = 3862; - exports.ER_CLONE_PROTOCOL = 3863; - exports.ER_CLONE_DONOR_VERSION = 3864; - exports.ER_CLONE_OS = 3865; - exports.ER_CLONE_PLATFORM = 3866; - exports.ER_CLONE_CHARSET = 3867; - exports.ER_CLONE_CONFIG = 3868; - exports.ER_CLONE_SYS_CONFIG = 3869; - exports.ER_CLONE_PLUGIN_MATCH = 3870; - exports.ER_CLONE_LOOPBACK = 3871; - exports.ER_CLONE_ENCRYPTION = 3872; - exports.ER_CLONE_DISK_SPACE = 3873; - exports.ER_CLONE_IN_PROGRESS = 3874; - exports.ER_CLONE_DISALLOWED = 3875; - exports.ER_CANNOT_GRANT_ROLES_TO_ANONYMOUS_USER = 3876; - exports.ER_SECONDARY_ENGINE_PLUGIN = 3877; - exports.ER_SECOND_PASSWORD_CANNOT_BE_EMPTY = 3878; - exports.ER_DB_ACCESS_DENIED = 3879; - exports.ER_DA_AUTH_ID_WITH_SYSTEM_USER_PRIV_IN_MANDATORY_ROLES = 3880; - exports.ER_DA_RPL_GTID_TABLE_CANNOT_OPEN = 3881; - exports.ER_GEOMETRY_IN_UNKNOWN_LENGTH_UNIT = 3882; - exports.ER_DA_PLUGIN_INSTALL_ERROR = 3883; - exports.ER_NO_SESSION_TEMP = 3884; - exports.ER_DA_UNKNOWN_ERROR_NUMBER = 3885; - exports.ER_COLUMN_CHANGE_SIZE = 3886; - exports.ER_REGEXP_INVALID_CAPTURE_GROUP_NAME = 3887; - exports.ER_DA_SSL_LIBRARY_ERROR = 3888; - exports.ER_SECONDARY_ENGINE = 3889; - exports.ER_SECONDARY_ENGINE_DDL = 3890; - exports.ER_INCORRECT_CURRENT_PASSWORD = 3891; - exports.ER_MISSING_CURRENT_PASSWORD = 3892; - exports.ER_CURRENT_PASSWORD_NOT_REQUIRED = 3893; - exports.ER_PASSWORD_CANNOT_BE_RETAINED_ON_PLUGIN_CHANGE = 3894; - exports.ER_CURRENT_PASSWORD_CANNOT_BE_RETAINED = 3895; - exports.ER_PARTIAL_REVOKES_EXIST = 3896; - exports.ER_CANNOT_GRANT_SYSTEM_PRIV_TO_MANDATORY_ROLE = 3897; - exports.ER_XA_REPLICATION_FILTERS = 3898; - exports.ER_UNSUPPORTED_SQL_MODE = 3899; - exports.ER_REGEXP_INVALID_FLAG = 3900; - exports.ER_PARTIAL_REVOKE_AND_DB_GRANT_BOTH_EXISTS = 3901; - exports.ER_UNIT_NOT_FOUND = 3902; - exports.ER_INVALID_JSON_VALUE_FOR_FUNC_INDEX = 3903; - exports.ER_JSON_VALUE_OUT_OF_RANGE_FOR_FUNC_INDEX = 3904; - exports.ER_EXCEEDED_MV_KEYS_NUM = 3905; - exports.ER_EXCEEDED_MV_KEYS_SPACE = 3906; - exports.ER_FUNCTIONAL_INDEX_DATA_IS_TOO_LONG = 3907; - exports.ER_WRONG_MVI_VALUE = 3908; - exports.ER_WARN_FUNC_INDEX_NOT_APPLICABLE = 3909; - exports.ER_GRP_RPL_UDF_ERROR = 3910; - exports.ER_UPDATE_GTID_PURGED_WITH_GR = 3911; - exports.ER_GROUPING_ON_TIMESTAMP_IN_DST = 3912; - exports.ER_TABLE_NAME_CAUSES_TOO_LONG_PATH = 3913; - exports.ER_AUDIT_LOG_INSUFFICIENT_PRIVILEGE = 3914; - exports.ER_AUDIT_LOG_PASSWORD_HAS_BEEN_COPIED = 3915; - exports.ER_DA_GRP_RPL_STARTED_AUTO_REJOIN = 3916; - exports.ER_SYSVAR_CHANGE_DURING_QUERY = 3917; - exports.ER_GLOBSTAT_CHANGE_DURING_QUERY = 3918; - exports.ER_GRP_RPL_MESSAGE_SERVICE_INIT_FAILURE = 3919; - exports.ER_CHANGE_SOURCE_WRONG_COMPRESSION_ALGORITHM_CLIENT = 3920; - exports.ER_CHANGE_SOURCE_WRONG_COMPRESSION_LEVEL_CLIENT = 3921; - exports.ER_WRONG_COMPRESSION_ALGORITHM_CLIENT = 3922; - exports.ER_WRONG_COMPRESSION_LEVEL_CLIENT = 3923; - exports.ER_CHANGE_SOURCE_WRONG_COMPRESSION_ALGORITHM_LIST_CLIENT = 3924; - exports.ER_CLIENT_PRIVILEGE_CHECKS_USER_CANNOT_BE_ANONYMOUS = 3925; - exports.ER_CLIENT_PRIVILEGE_CHECKS_USER_DOES_NOT_EXIST = 3926; - exports.ER_CLIENT_PRIVILEGE_CHECKS_USER_CORRUPT = 3927; - exports.ER_CLIENT_PRIVILEGE_CHECKS_USER_NEEDS_RPL_APPLIER_PRIV = 3928; - exports.ER_WARN_DA_PRIVILEGE_NOT_REGISTERED = 3929; - exports.ER_CLIENT_KEYRING_UDF_KEY_INVALID = 3930; - exports.ER_CLIENT_KEYRING_UDF_KEY_TYPE_INVALID = 3931; - exports.ER_CLIENT_KEYRING_UDF_KEY_TOO_LONG = 3932; - exports.ER_CLIENT_KEYRING_UDF_KEY_TYPE_TOO_LONG = 3933; - exports.ER_JSON_SCHEMA_VALIDATION_ERROR_WITH_DETAILED_REPORT = 3934; - exports.ER_DA_UDF_INVALID_CHARSET_SPECIFIED = 3935; - exports.ER_DA_UDF_INVALID_CHARSET = 3936; - exports.ER_DA_UDF_INVALID_COLLATION = 3937; - exports.ER_DA_UDF_INVALID_EXTENSION_ARGUMENT_TYPE = 3938; - exports.ER_MULTIPLE_CONSTRAINTS_WITH_SAME_NAME = 3939; - exports.ER_CONSTRAINT_NOT_FOUND = 3940; - exports.ER_ALTER_CONSTRAINT_ENFORCEMENT_NOT_SUPPORTED = 3941; - exports.ER_TABLE_VALUE_CONSTRUCTOR_MUST_HAVE_COLUMNS = 3942; - exports.ER_TABLE_VALUE_CONSTRUCTOR_CANNOT_HAVE_DEFAULT = 3943; - exports.ER_CLIENT_QUERY_FAILURE_INVALID_NON_ROW_FORMAT = 3944; - exports.ER_REQUIRE_ROW_FORMAT_INVALID_VALUE = 3945; - exports.ER_FAILED_TO_DETERMINE_IF_ROLE_IS_MANDATORY = 3946; - exports.ER_FAILED_TO_FETCH_MANDATORY_ROLE_LIST = 3947; - exports.ER_CLIENT_LOCAL_FILES_DISABLED = 3948; - exports.ER_IMP_INCOMPATIBLE_CFG_VERSION = 3949; - exports.ER_DA_OOM = 3950; - exports.ER_DA_UDF_INVALID_ARGUMENT_TO_SET_CHARSET = 3951; - exports.ER_DA_UDF_INVALID_RETURN_TYPE_TO_SET_CHARSET = 3952; - exports.ER_MULTIPLE_INTO_CLAUSES = 3953; - exports.ER_MISPLACED_INTO = 3954; - exports.ER_USER_ACCESS_DENIED_FOR_USER_ACCOUNT_BLOCKED_BY_PASSWORD_LOCK = 3955; - exports.ER_WARN_DEPRECATED_YEAR_UNSIGNED = 3956; - exports.ER_CLONE_NETWORK_PACKET = 3957; - exports.ER_SDI_OPERATION_FAILED_MISSING_RECORD = 3958; - exports.ER_DEPENDENT_BY_CHECK_CONSTRAINT = 3959; - exports.ER_GRP_OPERATION_NOT_ALLOWED_GR_MUST_STOP = 3960; - exports.ER_WARN_DEPRECATED_JSON_TABLE_ON_ERROR_ON_EMPTY = 3961; - exports.ER_WARN_DEPRECATED_INNER_INTO = 3962; - exports.ER_WARN_DEPRECATED_VALUES_FUNCTION_ALWAYS_NULL = 3963; - exports.ER_WARN_DEPRECATED_SQL_CALC_FOUND_ROWS = 3964; - exports.ER_WARN_DEPRECATED_FOUND_ROWS = 3965; - exports.ER_MISSING_JSON_VALUE = 3966; - exports.ER_MULTIPLE_JSON_VALUES = 3967; - exports.ER_HOSTNAME_TOO_LONG = 3968; - exports.ER_WARN_CLIENT_DEPRECATED_PARTITION_PREFIX_KEY = 3969; - exports.ER_GROUP_REPLICATION_USER_EMPTY_MSG = 3970; - exports.ER_GROUP_REPLICATION_USER_MANDATORY_MSG = 3971; - exports.ER_GROUP_REPLICATION_PASSWORD_LENGTH = 3972; - exports.ER_SUBQUERY_TRANSFORM_REJECTED = 3973; - exports.ER_DA_GRP_RPL_RECOVERY_ENDPOINT_FORMAT = 3974; - exports.ER_DA_GRP_RPL_RECOVERY_ENDPOINT_INVALID = 3975; - exports.ER_WRONG_VALUE_FOR_VAR_PLUS_ACTIONABLE_PART = 3976; - exports.ER_STATEMENT_NOT_ALLOWED_AFTER_START_TRANSACTION = 3977; - exports.ER_FOREIGN_KEY_WITH_ATOMIC_CREATE_SELECT = 3978; - exports.ER_NOT_ALLOWED_WITH_START_TRANSACTION = 3979; - exports.ER_INVALID_JSON_ATTRIBUTE = 3980; - exports.ER_ENGINE_ATTRIBUTE_NOT_SUPPORTED = 3981; - exports.ER_INVALID_USER_ATTRIBUTE_JSON = 3982; - exports.ER_INNODB_REDO_DISABLED = 3983; - exports.ER_INNODB_REDO_ARCHIVING_ENABLED = 3984; - exports.ER_MDL_OUT_OF_RESOURCES = 3985; - exports.ER_IMPLICIT_COMPARISON_FOR_JSON = 3986; - exports.ER_FUNCTION_DOES_NOT_SUPPORT_CHARACTER_SET = 3987; - exports.ER_IMPOSSIBLE_STRING_CONVERSION = 3988; - exports.ER_SCHEMA_READ_ONLY = 3989; - exports.ER_RPL_ASYNC_RECONNECT_GTID_MODE_OFF = 3990; - exports.ER_RPL_ASYNC_RECONNECT_AUTO_POSITION_OFF = 3991; - exports.ER_DISABLE_GTID_MODE_REQUIRES_ASYNC_RECONNECT_OFF = 3992; - exports.ER_DISABLE_AUTO_POSITION_REQUIRES_ASYNC_RECONNECT_OFF = 3993; - exports.ER_INVALID_PARAMETER_USE = 3994; - exports.ER_CHARACTER_SET_MISMATCH = 3995; - exports.ER_WARN_VAR_VALUE_CHANGE_NOT_SUPPORTED = 3996; - exports.ER_INVALID_TIME_ZONE_INTERVAL = 3997; - exports.ER_INVALID_CAST = 3998; - exports.ER_HYPERGRAPH_NOT_SUPPORTED_YET = 3999; - exports.ER_WARN_HYPERGRAPH_EXPERIMENTAL = 4e3; - exports.ER_DA_NO_ERROR_LOG_PARSER_CONFIGURED = 4001; - exports.ER_DA_ERROR_LOG_TABLE_DISABLED = 4002; - exports.ER_DA_ERROR_LOG_MULTIPLE_FILTERS = 4003; - exports.ER_DA_CANT_OPEN_ERROR_LOG = 4004; - exports.ER_USER_REFERENCED_AS_DEFINER = 4005; - exports.ER_CANNOT_USER_REFERENCED_AS_DEFINER = 4006; - exports.ER_REGEX_NUMBER_TOO_BIG = 4007; - exports.ER_SPVAR_NONINTEGER_TYPE = 4008; - exports.WARN_UNSUPPORTED_ACL_TABLES_READ = 4009; - exports.ER_BINLOG_UNSAFE_ACL_TABLE_READ_IN_DML_DDL = 4010; - exports.ER_STOP_REPLICA_MONITOR_IO_THREAD_TIMEOUT = 4011; - exports.ER_STARTING_REPLICA_MONITOR_IO_THREAD = 4012; - exports.ER_CANT_USE_ANONYMOUS_TO_GTID_WITH_GTID_MODE_NOT_ON = 4013; - exports.ER_CANT_COMBINE_ANONYMOUS_TO_GTID_AND_AUTOPOSITION = 4014; - exports.ER_ASSIGN_GTIDS_TO_ANONYMOUS_TRANSACTIONS_REQUIRES_GTID_MODE_ON = 4015; - exports.ER_SQL_REPLICA_SKIP_COUNTER_USED_WITH_GTID_MODE_ON = 4016; - exports.ER_USING_ASSIGN_GTIDS_TO_ANONYMOUS_TRANSACTIONS_AS_LOCAL_OR_UUID = 4017; - exports.ER_CANT_SET_ANONYMOUS_TO_GTID_AND_WAIT_UNTIL_SQL_THD_AFTER_GTIDS = 4018; - exports.ER_CANT_SET_SQL_AFTER_OR_BEFORE_GTIDS_WITH_ANONYMOUS_TO_GTID = 4019; - exports.ER_ANONYMOUS_TO_GTID_UUID_SAME_AS_GROUP_NAME = 4020; - exports.ER_CANT_USE_SAME_UUID_AS_GROUP_NAME = 4021; - exports.ER_GRP_RPL_RECOVERY_CHANNEL_STILL_RUNNING = 4022; - exports.ER_INNODB_INVALID_AUTOEXTEND_SIZE_VALUE = 4023; - exports.ER_INNODB_INCOMPATIBLE_WITH_TABLESPACE = 4024; - exports.ER_INNODB_AUTOEXTEND_SIZE_OUT_OF_RANGE = 4025; - exports.ER_CANNOT_USE_AUTOEXTEND_SIZE_CLAUSE = 4026; - exports.ER_ROLE_GRANTED_TO_ITSELF = 4027; - exports.ER_TABLE_MUST_HAVE_A_VISIBLE_COLUMN = 4028; - exports.ER_INNODB_COMPRESSION_FAILURE = 4029; - exports.ER_WARN_ASYNC_CONN_FAILOVER_NETWORK_NAMESPACE = 4030; - exports.ER_CLIENT_INTERACTION_TIMEOUT = 4031; - exports.ER_INVALID_CAST_TO_GEOMETRY = 4032; - exports.ER_INVALID_CAST_POLYGON_RING_DIRECTION = 4033; - exports.ER_GIS_DIFFERENT_SRIDS_AGGREGATION = 4034; - exports.ER_RELOAD_KEYRING_FAILURE = 4035; - exports.ER_SDI_GET_KEYS_INVALID_TABLESPACE = 4036; - exports.ER_CHANGE_RPL_SRC_WRONG_COMPRESSION_ALGORITHM_SIZE = 4037; - exports.ER_WARN_DEPRECATED_TLS_VERSION_FOR_CHANNEL_CLI = 4038; - exports.ER_CANT_USE_SAME_UUID_AS_VIEW_CHANGE_UUID = 4039; - exports.ER_ANONYMOUS_TO_GTID_UUID_SAME_AS_VIEW_CHANGE_UUID = 4040; - exports.ER_GRP_RPL_VIEW_CHANGE_UUID_FAIL_GET_VARIABLE = 4041; - exports.ER_WARN_ADUIT_LOG_MAX_SIZE_AND_PRUNE_SECONDS = 4042; - exports.ER_WARN_ADUIT_LOG_MAX_SIZE_CLOSE_TO_ROTATE_ON_SIZE = 4043; - exports.ER_KERBEROS_CREATE_USER = 4044; - exports.ER_INSTALL_PLUGIN_CONFLICT_CLIENT = 4045; - exports.ER_DA_ERROR_LOG_COMPONENT_FLUSH_FAILED = 4046; - exports.ER_WARN_SQL_AFTER_MTS_GAPS_GAP_NOT_CALCULATED = 4047; - exports.ER_INVALID_ASSIGNMENT_TARGET = 4048; - exports.ER_OPERATION_NOT_ALLOWED_ON_GR_SECONDARY = 4049; - exports.ER_GRP_RPL_FAILOVER_CHANNEL_STATUS_PROPAGATION = 4050; - exports.ER_WARN_AUDIT_LOG_FORMAT_UNIX_TIMESTAMP_ONLY_WHEN_JSON = 4051; - exports.ER_INVALID_MFA_PLUGIN_SPECIFIED = 4052; - exports.ER_IDENTIFIED_BY_UNSUPPORTED = 4053; - exports.ER_INVALID_PLUGIN_FOR_REGISTRATION = 4054; - exports.ER_PLUGIN_REQUIRES_REGISTRATION = 4055; - exports.ER_MFA_METHOD_EXISTS = 4056; - exports.ER_MFA_METHOD_NOT_EXISTS = 4057; - exports.ER_AUTHENTICATION_POLICY_MISMATCH = 4058; - exports.ER_PLUGIN_REGISTRATION_DONE = 4059; - exports.ER_INVALID_USER_FOR_REGISTRATION = 4060; - exports.ER_USER_REGISTRATION_FAILED = 4061; - exports.ER_MFA_METHODS_INVALID_ORDER = 4062; - exports.ER_MFA_METHODS_IDENTICAL = 4063; - exports.ER_INVALID_MFA_OPERATIONS_FOR_PASSWORDLESS_USER = 4064; - exports.ER_CHANGE_REPLICATION_SOURCE_NO_OPTIONS_FOR_GTID_ONLY = 4065; - exports.ER_CHANGE_REP_SOURCE_CANT_DISABLE_REQ_ROW_FORMAT_WITH_GTID_ONLY = 4066; - exports.ER_CHANGE_REP_SOURCE_CANT_DISABLE_AUTO_POSITION_WITH_GTID_ONLY = 4067; - exports.ER_CHANGE_REP_SOURCE_CANT_DISABLE_GTID_ONLY_WITHOUT_POSITIONS = 4068; - exports.ER_CHANGE_REP_SOURCE_CANT_DISABLE_AUTO_POS_WITHOUT_POSITIONS = 4069; - exports.ER_CHANGE_REP_SOURCE_GR_CHANNEL_WITH_GTID_MODE_NOT_ON = 4070; - exports.ER_CANT_USE_GTID_ONLY_WITH_GTID_MODE_NOT_ON = 4071; - exports.ER_WARN_C_DISABLE_GTID_ONLY_WITH_SOURCE_AUTO_POS_INVALID_POS = 4072; - exports.ER_DA_SSL_FIPS_MODE_ERROR = 4073; - exports.ER_VALUE_OUT_OF_RANGE = 4074; - exports.ER_FULLTEXT_WITH_ROLLUP = 4075; - exports.ER_REGEXP_MISSING_RESOURCE = 4076; - exports.ER_WARN_REGEXP_USING_DEFAULT = 4077; - exports.ER_REGEXP_MISSING_FILE = 4078; - exports.ER_WARN_DEPRECATED_COLLATION = 4079; - exports.ER_CONCURRENT_PROCEDURE_USAGE = 4080; - exports.ER_DA_GLOBAL_CONN_LIMIT = 4081; - exports.ER_DA_CONN_LIMIT = 4082; - exports.ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_COLUMN_TYPE_INSTANT = 4083; - exports.ER_WARN_SF_UDF_NAME_COLLISION = 4084; - exports.ER_CANNOT_PURGE_BINLOG_WITH_BACKUP_LOCK = 4085; - exports.ER_TOO_MANY_WINDOWS = 4086; - exports.ER_MYSQLBACKUP_CLIENT_MSG = 4087; - exports.ER_COMMENT_CONTAINS_INVALID_STRING = 4088; - exports.ER_DEFINITION_CONTAINS_INVALID_STRING = 4089; - exports.ER_CANT_EXECUTE_COMMAND_WITH_ASSIGNED_GTID_NEXT = 4090; - exports.ER_XA_TEMP_TABLE = 4091; - exports.ER_INNODB_MAX_ROW_VERSION = 4092; - exports.ER_INNODB_INSTANT_ADD_NOT_SUPPORTED_MAX_SIZE = 4093; - exports.ER_OPERATION_NOT_ALLOWED_WHILE_PRIMARY_CHANGE_IS_RUNNING = 4094; - exports.ER_WARN_DEPRECATED_DATETIME_DELIMITER = 4095; - exports.ER_WARN_DEPRECATED_SUPERFLUOUS_DELIMITER = 4096; - exports.ER_CANNOT_PERSIST_SENSITIVE_VARIABLES = 4097; - exports.ER_WARN_CANNOT_SECURELY_PERSIST_SENSITIVE_VARIABLES = 4098; - exports.ER_WARN_TRG_ALREADY_EXISTS = 4099; - exports.ER_IF_NOT_EXISTS_UNSUPPORTED_TRG_EXISTS_ON_DIFFERENT_TABLE = 4100; - exports.ER_IF_NOT_EXISTS_UNSUPPORTED_UDF_NATIVE_FCT_NAME_COLLISION = 4101; - exports.ER_SET_PASSWORD_AUTH_PLUGIN_ERROR = 4102; - exports.ER_REDUCED_DBLWR_FILE_CORRUPTED = 4103; - exports.ER_REDUCED_DBLWR_PAGE_FOUND = 4104; - exports.ER_SRS_INVALID_LATITUDE_OF_ORIGIN = 4105; - exports.ER_SRS_INVALID_LONGITUDE_OF_ORIGIN = 4106; - exports.ER_SRS_UNUSED_PROJ_PARAMETER_PRESENT = 4107; - exports.ER_GIPK_COLUMN_EXISTS = 4108; - exports.ER_GIPK_FAILED_AUTOINC_COLUMN_EXISTS = 4109; - exports.ER_GIPK_COLUMN_ALTER_NOT_ALLOWED = 4110; - exports.ER_DROP_PK_COLUMN_TO_DROP_GIPK = 4111; - exports.ER_CREATE_SELECT_WITH_GIPK_DISALLOWED_IN_SBR = 4112; - exports.ER_DA_EXPIRE_LOGS_DAYS_IGNORED = 4113; - exports.ER_CTE_RECURSIVE_NOT_UNION = 4114; - exports.ER_COMMAND_BACKEND_FAILED_TO_FETCH_SECURITY_CTX = 4115; - exports.ER_COMMAND_SERVICE_BACKEND_FAILED = 4116; - exports.ER_CLIENT_FILE_PRIVILEGE_FOR_REPLICATION_CHECKS = 4117; - exports.ER_GROUP_REPLICATION_FORCE_MEMBERS_COMMAND_FAILURE = 4118; - exports.ER_WARN_DEPRECATED_IDENT = 4119; - exports.ER_INTERSECT_ALL_MAX_DUPLICATES_EXCEEDED = 4120; - exports.ER_TP_QUERY_THRS_PER_GRP_EXCEEDS_TXN_THR_LIMIT = 4121; - exports.ER_BAD_TIMESTAMP_FORMAT = 4122; - exports.ER_SHAPE_PRIDICTION_UDF = 4123; - exports.ER_SRS_INVALID_HEIGHT = 4124; - exports.ER_SRS_INVALID_SCALING = 4125; - exports.ER_SRS_INVALID_ZONE_WIDTH = 4126; - exports.ER_SRS_INVALID_LATITUDE_POLAR_STERE_VAR_A = 4127; - exports.ER_WARN_DEPRECATED_CLIENT_NO_SCHEMA_OPTION = 4128; - exports.ER_TABLE_NOT_EMPTY = 4129; - exports.ER_TABLE_NO_PRIMARY_KEY = 4130; - exports.ER_TABLE_IN_SHARED_TABLESPACE = 4131; - exports.ER_INDEX_OTHER_THAN_PK = 4132; - exports.ER_LOAD_BULK_DATA_UNSORTED = 4133; - exports.ER_BULK_EXECUTOR_ERROR = 4134; - exports.ER_BULK_READER_LIBCURL_INIT_FAILED = 4135; - exports.ER_BULK_READER_LIBCURL_ERROR = 4136; - exports.ER_BULK_READER_SERVER_ERROR = 4137; - exports.ER_BULK_READER_COMMUNICATION_ERROR = 4138; - exports.ER_BULK_LOAD_DATA_FAILED = 4139; - exports.ER_BULK_LOADER_COLUMN_TOO_BIG_FOR_LEFTOVER_BUFFER = 4140; - exports.ER_BULK_LOADER_COMPONENT_ERROR = 4141; - exports.ER_BULK_LOADER_FILE_CONTAINS_LESS_LINES_THAN_IGNORE_CLAUSE = 4142; - exports.ER_BULK_PARSER_MISSING_ENCLOSED_BY = 4143; - exports.ER_BULK_PARSER_ROW_BUFFER_MAX_TOTAL_COLS_EXCEEDED = 4144; - exports.ER_BULK_PARSER_COPY_BUFFER_SIZE_EXCEEDED = 4145; - exports.ER_BULK_PARSER_UNEXPECTED_END_OF_INPUT = 4146; - exports.ER_BULK_PARSER_UNEXPECTED_ROW_TERMINATOR = 4147; - exports.ER_BULK_PARSER_UNEXPECTED_CHAR_AFTER_ENDING_ENCLOSED_BY = 4148; - exports.ER_BULK_PARSER_UNEXPECTED_CHAR_AFTER_NULL_ESCAPE = 4149; - exports.ER_BULK_PARSER_UNEXPECTED_CHAR_AFTER_COLUMN_TERMINATOR = 4150; - exports.ER_BULK_PARSER_INCOMPLETE_ESCAPE_SEQUENCE = 4151; - exports.ER_LOAD_BULK_DATA_FAILED = 4152; - exports.ER_LOAD_BULK_DATA_WRONG_VALUE_FOR_FIELD = 4153; - exports.ER_LOAD_BULK_DATA_WARN_NULL_TO_NOTNULL = 4154; - exports.ER_REQUIRE_TABLE_PRIMARY_KEY_CHECK_GENERATE_WITH_GR = 4155; - exports.ER_CANT_CHANGE_SYS_VAR_IN_READ_ONLY_MODE = 4156; - exports.ER_INNODB_INSTANT_ADD_DROP_NOT_SUPPORTED_MAX_SIZE = 4157; - exports.ER_INNODB_INSTANT_ADD_NOT_SUPPORTED_MAX_FIELDS = 4158; - exports.ER_CANT_SET_PERSISTED = 4159; - exports.ER_INSTALL_COMPONENT_SET_NULL_VALUE = 4160; - exports.ER_INSTALL_COMPONENT_SET_UNUSED_VALUE = 4161; - exports.ER_WARN_DEPRECATED_USER_DEFINED_COLLATIONS = 4162; - exports[1] = "EE_CANTCREATEFILE"; - exports[2] = "EE_READ"; - exports[3] = "EE_WRITE"; - exports[4] = "EE_BADCLOSE"; - exports[5] = "EE_OUTOFMEMORY"; - exports[6] = "EE_DELETE"; - exports[7] = "EE_LINK"; - exports[9] = "EE_EOFERR"; - exports[10] = "EE_CANTLOCK"; - exports[11] = "EE_CANTUNLOCK"; - exports[12] = "EE_DIR"; - exports[13] = "EE_STAT"; - exports[14] = "EE_CANT_CHSIZE"; - exports[15] = "EE_CANT_OPEN_STREAM"; - exports[16] = "EE_GETWD"; - exports[17] = "EE_SETWD"; - exports[18] = "EE_LINK_WARNING"; - exports[19] = "EE_OPEN_WARNING"; - exports[20] = "EE_DISK_FULL"; - exports[21] = "EE_CANT_MKDIR"; - exports[22] = "EE_UNKNOWN_CHARSET"; - exports[23] = "EE_OUT_OF_FILERESOURCES"; - exports[24] = "EE_CANT_READLINK"; - exports[25] = "EE_CANT_SYMLINK"; - exports[26] = "EE_REALPATH"; - exports[27] = "EE_SYNC"; - exports[28] = "EE_UNKNOWN_COLLATION"; - exports[29] = "EE_FILENOTFOUND"; - exports[30] = "EE_FILE_NOT_CLOSED"; - exports[31] = "EE_CHANGE_OWNERSHIP"; - exports[32] = "EE_CHANGE_PERMISSIONS"; - exports[33] = "EE_CANT_SEEK"; - exports[34] = "EE_CAPACITY_EXCEEDED"; - exports[35] = "EE_DISK_FULL_WITH_RETRY_MSG"; - exports[36] = "EE_FAILED_TO_CREATE_TIMER"; - exports[37] = "EE_FAILED_TO_DELETE_TIMER"; - exports[38] = "EE_FAILED_TO_CREATE_TIMER_QUEUE"; - exports[39] = "EE_FAILED_TO_START_TIMER_NOTIFY_THREAD"; - exports[40] = "EE_FAILED_TO_CREATE_TIMER_NOTIFY_THREAD_INTERRUPT_EVENT"; - exports[41] = "EE_EXITING_TIMER_NOTIFY_THREAD"; - exports[42] = "EE_WIN_LIBRARY_LOAD_FAILED"; - exports[43] = "EE_WIN_RUN_TIME_ERROR_CHECK"; - exports[44] = "EE_FAILED_TO_DETERMINE_LARGE_PAGE_SIZE"; - exports[45] = "EE_FAILED_TO_KILL_ALL_THREADS"; - exports[46] = "EE_FAILED_TO_CREATE_IO_COMPLETION_PORT"; - exports[47] = "EE_FAILED_TO_OPEN_DEFAULTS_FILE"; - exports[48] = "EE_FAILED_TO_HANDLE_DEFAULTS_FILE"; - exports[49] = "EE_WRONG_DIRECTIVE_IN_CONFIG_FILE"; - exports[50] = "EE_SKIPPING_DIRECTIVE_DUE_TO_MAX_INCLUDE_RECURSION"; - exports[51] = "EE_INCORRECT_GRP_DEFINITION_IN_CONFIG_FILE"; - exports[52] = "EE_OPTION_WITHOUT_GRP_IN_CONFIG_FILE"; - exports[53] = "EE_CONFIG_FILE_PERMISSION_ERROR"; - exports[54] = "EE_IGNORE_WORLD_WRITABLE_CONFIG_FILE"; - exports[55] = "EE_USING_DISABLED_OPTION"; - exports[56] = "EE_USING_DISABLED_SHORT_OPTION"; - exports[57] = "EE_USING_PASSWORD_ON_CLI_IS_INSECURE"; - exports[58] = "EE_UNKNOWN_SUFFIX_FOR_VARIABLE"; - exports[59] = "EE_SSL_ERROR_FROM_FILE"; - exports[60] = "EE_SSL_ERROR"; - exports[61] = "EE_NET_SEND_ERROR_IN_BOOTSTRAP"; - exports[62] = "EE_PACKETS_OUT_OF_ORDER"; - exports[63] = "EE_UNKNOWN_PROTOCOL_OPTION"; - exports[64] = "EE_FAILED_TO_LOCATE_SERVER_PUBLIC_KEY"; - exports[65] = "EE_PUBLIC_KEY_NOT_IN_PEM_FORMAT"; - exports[66] = "EE_DEBUG_INFO"; - exports[67] = "EE_UNKNOWN_VARIABLE"; - exports[68] = "EE_UNKNOWN_OPTION"; - exports[69] = "EE_UNKNOWN_SHORT_OPTION"; - exports[70] = "EE_OPTION_WITHOUT_ARGUMENT"; - exports[71] = "EE_OPTION_REQUIRES_ARGUMENT"; - exports[72] = "EE_SHORT_OPTION_REQUIRES_ARGUMENT"; - exports[73] = "EE_OPTION_IGNORED_DUE_TO_INVALID_VALUE"; - exports[74] = "EE_OPTION_WITH_EMPTY_VALUE"; - exports[75] = "EE_FAILED_TO_ASSIGN_MAX_VALUE_TO_OPTION"; - exports[76] = "EE_INCORRECT_BOOLEAN_VALUE_FOR_OPTION"; - exports[77] = "EE_FAILED_TO_SET_OPTION_VALUE"; - exports[78] = "EE_INCORRECT_INT_VALUE_FOR_OPTION"; - exports[79] = "EE_INCORRECT_UINT_VALUE_FOR_OPTION"; - exports[80] = "EE_ADJUSTED_SIGNED_VALUE_FOR_OPTION"; - exports[81] = "EE_ADJUSTED_UNSIGNED_VALUE_FOR_OPTION"; - exports[82] = "EE_ADJUSTED_ULONGLONG_VALUE_FOR_OPTION"; - exports[83] = "EE_ADJUSTED_DOUBLE_VALUE_FOR_OPTION"; - exports[84] = "EE_INVALID_DECIMAL_VALUE_FOR_OPTION"; - exports[85] = "EE_COLLATION_PARSER_ERROR"; - exports[86] = "EE_FAILED_TO_RESET_BEFORE_PRIMARY_IGNORABLE_CHAR"; - exports[87] = "EE_FAILED_TO_RESET_BEFORE_TERTIARY_IGNORABLE_CHAR"; - exports[88] = "EE_SHIFT_CHAR_OUT_OF_RANGE"; - exports[89] = "EE_RESET_CHAR_OUT_OF_RANGE"; - exports[90] = "EE_UNKNOWN_LDML_TAG"; - exports[91] = "EE_FAILED_TO_RESET_BEFORE_SECONDARY_IGNORABLE_CHAR"; - exports[92] = "EE_FAILED_PROCESSING_DIRECTIVE"; - exports[93] = "EE_PTHREAD_KILL_FAILED"; - exports[120] = "HA_ERR_KEY_NOT_FOUND"; - exports[121] = "HA_ERR_FOUND_DUPP_KEY"; - exports[122] = "HA_ERR_INTERNAL_ERROR"; - exports[123] = "HA_ERR_RECORD_CHANGED"; - exports[124] = "HA_ERR_WRONG_INDEX"; - exports[125] = "HA_ERR_ROLLED_BACK"; - exports[126] = "HA_ERR_CRASHED"; - exports[127] = "HA_ERR_WRONG_IN_RECORD"; - exports[128] = "HA_ERR_OUT_OF_MEM"; - exports[130] = "HA_ERR_NOT_A_TABLE"; - exports[131] = "HA_ERR_WRONG_COMMAND"; - exports[132] = "HA_ERR_OLD_FILE"; - exports[133] = "HA_ERR_NO_ACTIVE_RECORD"; - exports[134] = "HA_ERR_RECORD_DELETED"; - exports[135] = "HA_ERR_RECORD_FILE_FULL"; - exports[136] = "HA_ERR_INDEX_FILE_FULL"; - exports[137] = "HA_ERR_END_OF_FILE"; - exports[138] = "HA_ERR_UNSUPPORTED"; - exports[139] = "HA_ERR_TOO_BIG_ROW"; - exports[140] = "HA_WRONG_CREATE_OPTION"; - exports[141] = "HA_ERR_FOUND_DUPP_UNIQUE"; - exports[142] = "HA_ERR_UNKNOWN_CHARSET"; - exports[143] = "HA_ERR_WRONG_MRG_TABLE_DEF"; - exports[144] = "HA_ERR_CRASHED_ON_REPAIR"; - exports[145] = "HA_ERR_CRASHED_ON_USAGE"; - exports[146] = "HA_ERR_LOCK_WAIT_TIMEOUT"; - exports[147] = "HA_ERR_LOCK_TABLE_FULL"; - exports[148] = "HA_ERR_READ_ONLY_TRANSACTION"; - exports[149] = "HA_ERR_LOCK_DEADLOCK"; - exports[150] = "HA_ERR_CANNOT_ADD_FOREIGN"; - exports[151] = "HA_ERR_NO_REFERENCED_ROW"; - exports[152] = "HA_ERR_ROW_IS_REFERENCED"; - exports[153] = "HA_ERR_NO_SAVEPOINT"; - exports[154] = "HA_ERR_NON_UNIQUE_BLOCK_SIZE"; - exports[155] = "HA_ERR_NO_SUCH_TABLE"; - exports[156] = "HA_ERR_TABLE_EXIST"; - exports[157] = "HA_ERR_NO_CONNECTION"; - exports[158] = "HA_ERR_NULL_IN_SPATIAL"; - exports[159] = "HA_ERR_TABLE_DEF_CHANGED"; - exports[160] = "HA_ERR_NO_PARTITION_FOUND"; - exports[161] = "HA_ERR_RBR_LOGGING_FAILED"; - exports[162] = "HA_ERR_DROP_INDEX_FK"; - exports[163] = "HA_ERR_FOREIGN_DUPLICATE_KEY"; - exports[164] = "HA_ERR_TABLE_NEEDS_UPGRADE"; - exports[165] = "HA_ERR_TABLE_READONLY"; - exports[166] = "HA_ERR_AUTOINC_READ_FAILED"; - exports[167] = "HA_ERR_AUTOINC_ERANGE"; - exports[168] = "HA_ERR_GENERIC"; - exports[169] = "HA_ERR_RECORD_IS_THE_SAME"; - exports[170] = "HA_ERR_LOGGING_IMPOSSIBLE"; - exports[171] = "HA_ERR_CORRUPT_EVENT"; - exports[172] = "HA_ERR_NEW_FILE"; - exports[173] = "HA_ERR_ROWS_EVENT_APPLY"; - exports[174] = "HA_ERR_INITIALIZATION"; - exports[175] = "HA_ERR_FILE_TOO_SHORT"; - exports[176] = "HA_ERR_WRONG_CRC"; - exports[177] = "HA_ERR_TOO_MANY_CONCURRENT_TRXS"; - exports[178] = "HA_ERR_NOT_IN_LOCK_PARTITIONS"; - exports[179] = "HA_ERR_INDEX_COL_TOO_LONG"; - exports[180] = "HA_ERR_INDEX_CORRUPT"; - exports[181] = "HA_ERR_UNDO_REC_TOO_BIG"; - exports[182] = "HA_FTS_INVALID_DOCID"; - exports[183] = "HA_ERR_TABLE_IN_FK_CHECK"; - exports[184] = "HA_ERR_TABLESPACE_EXISTS"; - exports[185] = "HA_ERR_TOO_MANY_FIELDS"; - exports[186] = "HA_ERR_ROW_IN_WRONG_PARTITION"; - exports[187] = "HA_ERR_INNODB_READ_ONLY"; - exports[188] = "HA_ERR_FTS_EXCEED_RESULT_CACHE_LIMIT"; - exports[189] = "HA_ERR_TEMP_FILE_WRITE_FAILURE"; - exports[190] = "HA_ERR_INNODB_FORCED_RECOVERY"; - exports[191] = "HA_ERR_FTS_TOO_MANY_WORDS_IN_PHRASE"; - exports[192] = "HA_ERR_FK_DEPTH_EXCEEDED"; - exports[193] = "HA_MISSING_CREATE_OPTION"; - exports[194] = "HA_ERR_SE_OUT_OF_MEMORY"; - exports[195] = "HA_ERR_TABLE_CORRUPT"; - exports[196] = "HA_ERR_QUERY_INTERRUPTED"; - exports[197] = "HA_ERR_TABLESPACE_MISSING"; - exports[198] = "HA_ERR_TABLESPACE_IS_NOT_EMPTY"; - exports[199] = "HA_ERR_WRONG_FILE_NAME"; - exports[200] = "HA_ERR_NOT_ALLOWED_COMMAND"; - exports[201] = "HA_ERR_COMPUTE_FAILED"; - exports[202] = "HA_ERR_ROW_FORMAT_CHANGED"; - exports[203] = "HA_ERR_NO_WAIT_LOCK"; - exports[204] = "HA_ERR_DISK_FULL_NOWAIT"; - exports[205] = "HA_ERR_NO_SESSION_TEMP"; - exports[206] = "HA_ERR_WRONG_TABLE_NAME"; - exports[207] = "HA_ERR_TOO_LONG_PATH"; - exports[208] = "HA_ERR_SAMPLING_INIT_FAILED"; - exports[209] = "HA_ERR_FTS_TOO_MANY_NESTED_EXP"; - exports[1e3] = "ER_HASHCHK"; - exports[1001] = "ER_NISAMCHK"; - exports[1002] = "ER_NO"; - exports[1003] = "ER_YES"; - exports[1004] = "ER_CANT_CREATE_FILE"; - exports[1005] = "ER_CANT_CREATE_TABLE"; - exports[1006] = "ER_CANT_CREATE_DB"; - exports[1007] = "ER_DB_CREATE_EXISTS"; - exports[1008] = "ER_DB_DROP_EXISTS"; - exports[1009] = "ER_DB_DROP_DELETE"; - exports[1010] = "ER_DB_DROP_RMDIR"; - exports[1011] = "ER_CANT_DELETE_FILE"; - exports[1012] = "ER_CANT_FIND_SYSTEM_REC"; - exports[1013] = "ER_CANT_GET_STAT"; - exports[1014] = "ER_CANT_GET_WD"; - exports[1015] = "ER_CANT_LOCK"; - exports[1016] = "ER_CANT_OPEN_FILE"; - exports[1017] = "ER_FILE_NOT_FOUND"; - exports[1018] = "ER_CANT_READ_DIR"; - exports[1019] = "ER_CANT_SET_WD"; - exports[1020] = "ER_CHECKREAD"; - exports[1021] = "ER_DISK_FULL"; - exports[1022] = "ER_DUP_KEY"; - exports[1023] = "ER_ERROR_ON_CLOSE"; - exports[1024] = "ER_ERROR_ON_READ"; - exports[1025] = "ER_ERROR_ON_RENAME"; - exports[1026] = "ER_ERROR_ON_WRITE"; - exports[1027] = "ER_FILE_USED"; - exports[1028] = "ER_FILSORT_ABORT"; - exports[1029] = "ER_FORM_NOT_FOUND"; - exports[1030] = "ER_GET_ERRNO"; - exports[1031] = "ER_ILLEGAL_HA"; - exports[1032] = "ER_KEY_NOT_FOUND"; - exports[1033] = "ER_NOT_FORM_FILE"; - exports[1034] = "ER_NOT_KEYFILE"; - exports[1035] = "ER_OLD_KEYFILE"; - exports[1036] = "ER_OPEN_AS_READONLY"; - exports[1037] = "ER_OUTOFMEMORY"; - exports[1038] = "ER_OUT_OF_SORTMEMORY"; - exports[1039] = "ER_UNEXPECTED_EOF"; - exports[1040] = "ER_CON_COUNT_ERROR"; - exports[1041] = "ER_OUT_OF_RESOURCES"; - exports[1042] = "ER_BAD_HOST_ERROR"; - exports[1043] = "ER_HANDSHAKE_ERROR"; - exports[1044] = "ER_DBACCESS_DENIED_ERROR"; - exports[1045] = "ER_ACCESS_DENIED_ERROR"; - exports[1046] = "ER_NO_DB_ERROR"; - exports[1047] = "ER_UNKNOWN_COM_ERROR"; - exports[1048] = "ER_BAD_NULL_ERROR"; - exports[1049] = "ER_BAD_DB_ERROR"; - exports[1050] = "ER_TABLE_EXISTS_ERROR"; - exports[1051] = "ER_BAD_TABLE_ERROR"; - exports[1052] = "ER_NON_UNIQ_ERROR"; - exports[1053] = "ER_SERVER_SHUTDOWN"; - exports[1054] = "ER_BAD_FIELD_ERROR"; - exports[1055] = "ER_WRONG_FIELD_WITH_GROUP"; - exports[1056] = "ER_WRONG_GROUP_FIELD"; - exports[1057] = "ER_WRONG_SUM_SELECT"; - exports[1058] = "ER_WRONG_VALUE_COUNT"; - exports[1059] = "ER_TOO_LONG_IDENT"; - exports[1060] = "ER_DUP_FIELDNAME"; - exports[1061] = "ER_DUP_KEYNAME"; - exports[1062] = "ER_DUP_ENTRY"; - exports[1063] = "ER_WRONG_FIELD_SPEC"; - exports[1064] = "ER_PARSE_ERROR"; - exports[1065] = "ER_EMPTY_QUERY"; - exports[1066] = "ER_NONUNIQ_TABLE"; - exports[1067] = "ER_INVALID_DEFAULT"; - exports[1068] = "ER_MULTIPLE_PRI_KEY"; - exports[1069] = "ER_TOO_MANY_KEYS"; - exports[1070] = "ER_TOO_MANY_KEY_PARTS"; - exports[1071] = "ER_TOO_LONG_KEY"; - exports[1072] = "ER_KEY_COLUMN_DOES_NOT_EXITS"; - exports[1073] = "ER_BLOB_USED_AS_KEY"; - exports[1074] = "ER_TOO_BIG_FIELDLENGTH"; - exports[1075] = "ER_WRONG_AUTO_KEY"; - exports[1076] = "ER_READY"; - exports[1077] = "ER_NORMAL_SHUTDOWN"; - exports[1078] = "ER_GOT_SIGNAL"; - exports[1079] = "ER_SHUTDOWN_COMPLETE"; - exports[1080] = "ER_FORCING_CLOSE"; - exports[1081] = "ER_IPSOCK_ERROR"; - exports[1082] = "ER_NO_SUCH_INDEX"; - exports[1083] = "ER_WRONG_FIELD_TERMINATORS"; - exports[1084] = "ER_BLOBS_AND_NO_TERMINATED"; - exports[1085] = "ER_TEXTFILE_NOT_READABLE"; - exports[1086] = "ER_FILE_EXISTS_ERROR"; - exports[1087] = "ER_LOAD_INFO"; - exports[1088] = "ER_ALTER_INFO"; - exports[1089] = "ER_WRONG_SUB_KEY"; - exports[1090] = "ER_CANT_REMOVE_ALL_FIELDS"; - exports[1091] = "ER_CANT_DROP_FIELD_OR_KEY"; - exports[1092] = "ER_INSERT_INFO"; - exports[1093] = "ER_UPDATE_TABLE_USED"; - exports[1094] = "ER_NO_SUCH_THREAD"; - exports[1095] = "ER_KILL_DENIED_ERROR"; - exports[1096] = "ER_NO_TABLES_USED"; - exports[1097] = "ER_TOO_BIG_SET"; - exports[1098] = "ER_NO_UNIQUE_LOGFILE"; - exports[1099] = "ER_TABLE_NOT_LOCKED_FOR_WRITE"; - exports[1100] = "ER_TABLE_NOT_LOCKED"; - exports[1101] = "ER_BLOB_CANT_HAVE_DEFAULT"; - exports[1102] = "ER_WRONG_DB_NAME"; - exports[1103] = "ER_WRONG_TABLE_NAME"; - exports[1104] = "ER_TOO_BIG_SELECT"; - exports[1105] = "ER_UNKNOWN_ERROR"; - exports[1106] = "ER_UNKNOWN_PROCEDURE"; - exports[1107] = "ER_WRONG_PARAMCOUNT_TO_PROCEDURE"; - exports[1108] = "ER_WRONG_PARAMETERS_TO_PROCEDURE"; - exports[1109] = "ER_UNKNOWN_TABLE"; - exports[1110] = "ER_FIELD_SPECIFIED_TWICE"; - exports[1111] = "ER_INVALID_GROUP_FUNC_USE"; - exports[1112] = "ER_UNSUPPORTED_EXTENSION"; - exports[1113] = "ER_TABLE_MUST_HAVE_COLUMNS"; - exports[1114] = "ER_RECORD_FILE_FULL"; - exports[1115] = "ER_UNKNOWN_CHARACTER_SET"; - exports[1116] = "ER_TOO_MANY_TABLES"; - exports[1117] = "ER_TOO_MANY_FIELDS"; - exports[1118] = "ER_TOO_BIG_ROWSIZE"; - exports[1119] = "ER_STACK_OVERRUN"; - exports[1120] = "ER_WRONG_OUTER_JOIN"; - exports[1121] = "ER_NULL_COLUMN_IN_INDEX"; - exports[1122] = "ER_CANT_FIND_UDF"; - exports[1123] = "ER_CANT_INITIALIZE_UDF"; - exports[1124] = "ER_UDF_NO_PATHS"; - exports[1125] = "ER_UDF_EXISTS"; - exports[1126] = "ER_CANT_OPEN_LIBRARY"; - exports[1127] = "ER_CANT_FIND_DL_ENTRY"; - exports[1128] = "ER_FUNCTION_NOT_DEFINED"; - exports[1129] = "ER_HOST_IS_BLOCKED"; - exports[1130] = "ER_HOST_NOT_PRIVILEGED"; - exports[1131] = "ER_PASSWORD_ANONYMOUS_USER"; - exports[1132] = "ER_PASSWORD_NOT_ALLOWED"; - exports[1133] = "ER_PASSWORD_NO_MATCH"; - exports[1134] = "ER_UPDATE_INFO"; - exports[1135] = "ER_CANT_CREATE_THREAD"; - exports[1136] = "ER_WRONG_VALUE_COUNT_ON_ROW"; - exports[1137] = "ER_CANT_REOPEN_TABLE"; - exports[1138] = "ER_INVALID_USE_OF_NULL"; - exports[1139] = "ER_REGEXP_ERROR"; - exports[1140] = "ER_MIX_OF_GROUP_FUNC_AND_FIELDS"; - exports[1141] = "ER_NONEXISTING_GRANT"; - exports[1142] = "ER_TABLEACCESS_DENIED_ERROR"; - exports[1143] = "ER_COLUMNACCESS_DENIED_ERROR"; - exports[1144] = "ER_ILLEGAL_GRANT_FOR_TABLE"; - exports[1145] = "ER_GRANT_WRONG_HOST_OR_USER"; - exports[1146] = "ER_NO_SUCH_TABLE"; - exports[1147] = "ER_NONEXISTING_TABLE_GRANT"; - exports[1148] = "ER_NOT_ALLOWED_COMMAND"; - exports[1149] = "ER_SYNTAX_ERROR"; - exports[1150] = "ER_UNUSED1"; - exports[1151] = "ER_UNUSED2"; - exports[1152] = "ER_ABORTING_CONNECTION"; - exports[1153] = "ER_NET_PACKET_TOO_LARGE"; - exports[1154] = "ER_NET_READ_ERROR_FROM_PIPE"; - exports[1155] = "ER_NET_FCNTL_ERROR"; - exports[1156] = "ER_NET_PACKETS_OUT_OF_ORDER"; - exports[1157] = "ER_NET_UNCOMPRESS_ERROR"; - exports[1158] = "ER_NET_READ_ERROR"; - exports[1159] = "ER_NET_READ_INTERRUPTED"; - exports[1160] = "ER_NET_ERROR_ON_WRITE"; - exports[1161] = "ER_NET_WRITE_INTERRUPTED"; - exports[1162] = "ER_TOO_LONG_STRING"; - exports[1163] = "ER_TABLE_CANT_HANDLE_BLOB"; - exports[1164] = "ER_TABLE_CANT_HANDLE_AUTO_INCREMENT"; - exports[1165] = "ER_UNUSED3"; - exports[1166] = "ER_WRONG_COLUMN_NAME"; - exports[1167] = "ER_WRONG_KEY_COLUMN"; - exports[1168] = "ER_WRONG_MRG_TABLE"; - exports[1169] = "ER_DUP_UNIQUE"; - exports[1170] = "ER_BLOB_KEY_WITHOUT_LENGTH"; - exports[1171] = "ER_PRIMARY_CANT_HAVE_NULL"; - exports[1172] = "ER_TOO_MANY_ROWS"; - exports[1173] = "ER_REQUIRES_PRIMARY_KEY"; - exports[1174] = "ER_NO_RAID_COMPILED"; - exports[1175] = "ER_UPDATE_WITHOUT_KEY_IN_SAFE_MODE"; - exports[1176] = "ER_KEY_DOES_NOT_EXITS"; - exports[1177] = "ER_CHECK_NO_SUCH_TABLE"; - exports[1178] = "ER_CHECK_NOT_IMPLEMENTED"; - exports[1179] = "ER_CANT_DO_THIS_DURING_AN_TRANSACTION"; - exports[1180] = "ER_ERROR_DURING_COMMIT"; - exports[1181] = "ER_ERROR_DURING_ROLLBACK"; - exports[1182] = "ER_ERROR_DURING_FLUSH_LOGS"; - exports[1183] = "ER_ERROR_DURING_CHECKPOINT"; - exports[1184] = "ER_NEW_ABORTING_CONNECTION"; - exports[1185] = "ER_DUMP_NOT_IMPLEMENTED"; - exports[1186] = "ER_FLUSH_MASTER_BINLOG_CLOSED"; - exports[1187] = "ER_INDEX_REBUILD"; - exports[1188] = "ER_SOURCE"; - exports[1189] = "ER_SOURCE_NET_READ"; - exports[1190] = "ER_SOURCE_NET_WRITE"; - exports[1191] = "ER_FT_MATCHING_KEY_NOT_FOUND"; - exports[1192] = "ER_LOCK_OR_ACTIVE_TRANSACTION"; - exports[1193] = "ER_UNKNOWN_SYSTEM_VARIABLE"; - exports[1194] = "ER_CRASHED_ON_USAGE"; - exports[1195] = "ER_CRASHED_ON_REPAIR"; - exports[1196] = "ER_WARNING_NOT_COMPLETE_ROLLBACK"; - exports[1197] = "ER_TRANS_CACHE_FULL"; - exports[1198] = "ER_SLAVE_MUST_STOP"; - exports[1199] = "ER_REPLICA_NOT_RUNNING"; - exports[1200] = "ER_BAD_REPLICA"; - exports[1201] = "ER_CONNECTION_METADATA"; - exports[1202] = "ER_REPLICA_THREAD"; - exports[1203] = "ER_TOO_MANY_USER_CONNECTIONS"; - exports[1204] = "ER_SET_CONSTANTS_ONLY"; - exports[1205] = "ER_LOCK_WAIT_TIMEOUT"; - exports[1206] = "ER_LOCK_TABLE_FULL"; - exports[1207] = "ER_READ_ONLY_TRANSACTION"; - exports[1208] = "ER_DROP_DB_WITH_READ_LOCK"; - exports[1209] = "ER_CREATE_DB_WITH_READ_LOCK"; - exports[1210] = "ER_WRONG_ARGUMENTS"; - exports[1211] = "ER_NO_PERMISSION_TO_CREATE_USER"; - exports[1212] = "ER_UNION_TABLES_IN_DIFFERENT_DIR"; - exports[1213] = "ER_LOCK_DEADLOCK"; - exports[1214] = "ER_TABLE_CANT_HANDLE_FT"; - exports[1215] = "ER_CANNOT_ADD_FOREIGN"; - exports[1216] = "ER_NO_REFERENCED_ROW"; - exports[1217] = "ER_ROW_IS_REFERENCED"; - exports[1218] = "ER_CONNECT_TO_SOURCE"; - exports[1219] = "ER_QUERY_ON_MASTER"; - exports[1220] = "ER_ERROR_WHEN_EXECUTING_COMMAND"; - exports[1221] = "ER_WRONG_USAGE"; - exports[1222] = "ER_WRONG_NUMBER_OF_COLUMNS_IN_SELECT"; - exports[1223] = "ER_CANT_UPDATE_WITH_READLOCK"; - exports[1224] = "ER_MIXING_NOT_ALLOWED"; - exports[1225] = "ER_DUP_ARGUMENT"; - exports[1226] = "ER_USER_LIMIT_REACHED"; - exports[1227] = "ER_SPECIFIC_ACCESS_DENIED_ERROR"; - exports[1228] = "ER_LOCAL_VARIABLE"; - exports[1229] = "ER_GLOBAL_VARIABLE"; - exports[1230] = "ER_NO_DEFAULT"; - exports[1231] = "ER_WRONG_VALUE_FOR_VAR"; - exports[1232] = "ER_WRONG_TYPE_FOR_VAR"; - exports[1233] = "ER_VAR_CANT_BE_READ"; - exports[1234] = "ER_CANT_USE_OPTION_HERE"; - exports[1235] = "ER_NOT_SUPPORTED_YET"; - exports[1236] = "ER_SOURCE_FATAL_ERROR_READING_BINLOG"; - exports[1237] = "ER_REPLICA_IGNORED_TABLE"; - exports[1238] = "ER_INCORRECT_GLOBAL_LOCAL_VAR"; - exports[1239] = "ER_WRONG_FK_DEF"; - exports[1240] = "ER_KEY_REF_DO_NOT_MATCH_TABLE_REF"; - exports[1241] = "ER_OPERAND_COLUMNS"; - exports[1242] = "ER_SUBQUERY_NO_1_ROW"; - exports[1243] = "ER_UNKNOWN_STMT_HANDLER"; - exports[1244] = "ER_CORRUPT_HELP_DB"; - exports[1245] = "ER_CYCLIC_REFERENCE"; - exports[1246] = "ER_AUTO_CONVERT"; - exports[1247] = "ER_ILLEGAL_REFERENCE"; - exports[1248] = "ER_DERIVED_MUST_HAVE_ALIAS"; - exports[1249] = "ER_SELECT_REDUCED"; - exports[1250] = "ER_TABLENAME_NOT_ALLOWED_HERE"; - exports[1251] = "ER_NOT_SUPPORTED_AUTH_MODE"; - exports[1252] = "ER_SPATIAL_CANT_HAVE_NULL"; - exports[1253] = "ER_COLLATION_CHARSET_MISMATCH"; - exports[1254] = "ER_SLAVE_WAS_RUNNING"; - exports[1255] = "ER_SLAVE_WAS_NOT_RUNNING"; - exports[1256] = "ER_TOO_BIG_FOR_UNCOMPRESS"; - exports[1257] = "ER_ZLIB_Z_MEM_ERROR"; - exports[1258] = "ER_ZLIB_Z_BUF_ERROR"; - exports[1259] = "ER_ZLIB_Z_DATA_ERROR"; - exports[1260] = "ER_CUT_VALUE_GROUP_CONCAT"; - exports[1261] = "ER_WARN_TOO_FEW_RECORDS"; - exports[1262] = "ER_WARN_TOO_MANY_RECORDS"; - exports[1263] = "ER_WARN_NULL_TO_NOTNULL"; - exports[1264] = "ER_WARN_DATA_OUT_OF_RANGE"; - exports[1265] = "WARN_DATA_TRUNCATED"; - exports[1266] = "ER_WARN_USING_OTHER_HANDLER"; - exports[1267] = "ER_CANT_AGGREGATE_2COLLATIONS"; - exports[1268] = "ER_DROP_USER"; - exports[1269] = "ER_REVOKE_GRANTS"; - exports[1270] = "ER_CANT_AGGREGATE_3COLLATIONS"; - exports[1271] = "ER_CANT_AGGREGATE_NCOLLATIONS"; - exports[1272] = "ER_VARIABLE_IS_NOT_STRUCT"; - exports[1273] = "ER_UNKNOWN_COLLATION"; - exports[1274] = "ER_REPLICA_IGNORED_SSL_PARAMS"; - exports[1275] = "ER_SERVER_IS_IN_SECURE_AUTH_MODE"; - exports[1276] = "ER_WARN_FIELD_RESOLVED"; - exports[1277] = "ER_BAD_REPLICA_UNTIL_COND"; - exports[1278] = "ER_MISSING_SKIP_REPLICA"; - exports[1279] = "ER_UNTIL_COND_IGNORED"; - exports[1280] = "ER_WRONG_NAME_FOR_INDEX"; - exports[1281] = "ER_WRONG_NAME_FOR_CATALOG"; - exports[1282] = "ER_WARN_QC_RESIZE"; - exports[1283] = "ER_BAD_FT_COLUMN"; - exports[1284] = "ER_UNKNOWN_KEY_CACHE"; - exports[1285] = "ER_WARN_HOSTNAME_WONT_WORK"; - exports[1286] = "ER_UNKNOWN_STORAGE_ENGINE"; - exports[1287] = "ER_WARN_DEPRECATED_SYNTAX"; - exports[1288] = "ER_NON_UPDATABLE_TABLE"; - exports[1289] = "ER_FEATURE_DISABLED"; - exports[1290] = "ER_OPTION_PREVENTS_STATEMENT"; - exports[1291] = "ER_DUPLICATED_VALUE_IN_TYPE"; - exports[1292] = "ER_TRUNCATED_WRONG_VALUE"; - exports[1293] = "ER_TOO_MUCH_AUTO_TIMESTAMP_COLS"; - exports[1294] = "ER_INVALID_ON_UPDATE"; - exports[1295] = "ER_UNSUPPORTED_PS"; - exports[1296] = "ER_GET_ERRMSG"; - exports[1297] = "ER_GET_TEMPORARY_ERRMSG"; - exports[1298] = "ER_UNKNOWN_TIME_ZONE"; - exports[1299] = "ER_WARN_INVALID_TIMESTAMP"; - exports[1300] = "ER_INVALID_CHARACTER_STRING"; - exports[1301] = "ER_WARN_ALLOWED_PACKET_OVERFLOWED"; - exports[1302] = "ER_CONFLICTING_DECLARATIONS"; - exports[1303] = "ER_SP_NO_RECURSIVE_CREATE"; - exports[1304] = "ER_SP_ALREADY_EXISTS"; - exports[1305] = "ER_SP_DOES_NOT_EXIST"; - exports[1306] = "ER_SP_DROP_FAILED"; - exports[1307] = "ER_SP_STORE_FAILED"; - exports[1308] = "ER_SP_LILABEL_MISMATCH"; - exports[1309] = "ER_SP_LABEL_REDEFINE"; - exports[1310] = "ER_SP_LABEL_MISMATCH"; - exports[1311] = "ER_SP_UNINIT_VAR"; - exports[1312] = "ER_SP_BADSELECT"; - exports[1313] = "ER_SP_BADRETURN"; - exports[1314] = "ER_SP_BADSTATEMENT"; - exports[1315] = "ER_UPDATE_LOG_DEPRECATED_IGNORED"; - exports[1316] = "ER_UPDATE_LOG_DEPRECATED_TRANSLATED"; - exports[1317] = "ER_QUERY_INTERRUPTED"; - exports[1318] = "ER_SP_WRONG_NO_OF_ARGS"; - exports[1319] = "ER_SP_COND_MISMATCH"; - exports[1320] = "ER_SP_NORETURN"; - exports[1321] = "ER_SP_NORETURNEND"; - exports[1322] = "ER_SP_BAD_CURSOR_QUERY"; - exports[1323] = "ER_SP_BAD_CURSOR_SELECT"; - exports[1324] = "ER_SP_CURSOR_MISMATCH"; - exports[1325] = "ER_SP_CURSOR_ALREADY_OPEN"; - exports[1326] = "ER_SP_CURSOR_NOT_OPEN"; - exports[1327] = "ER_SP_UNDECLARED_VAR"; - exports[1328] = "ER_SP_WRONG_NO_OF_FETCH_ARGS"; - exports[1329] = "ER_SP_FETCH_NO_DATA"; - exports[1330] = "ER_SP_DUP_PARAM"; - exports[1331] = "ER_SP_DUP_VAR"; - exports[1332] = "ER_SP_DUP_COND"; - exports[1333] = "ER_SP_DUP_CURS"; - exports[1334] = "ER_SP_CANT_ALTER"; - exports[1335] = "ER_SP_SUBSELECT_NYI"; - exports[1336] = "ER_STMT_NOT_ALLOWED_IN_SF_OR_TRG"; - exports[1337] = "ER_SP_VARCOND_AFTER_CURSHNDLR"; - exports[1338] = "ER_SP_CURSOR_AFTER_HANDLER"; - exports[1339] = "ER_SP_CASE_NOT_FOUND"; - exports[1340] = "ER_FPARSER_TOO_BIG_FILE"; - exports[1341] = "ER_FPARSER_BAD_HEADER"; - exports[1342] = "ER_FPARSER_EOF_IN_COMMENT"; - exports[1343] = "ER_FPARSER_ERROR_IN_PARAMETER"; - exports[1344] = "ER_FPARSER_EOF_IN_UNKNOWN_PARAMETER"; - exports[1345] = "ER_VIEW_NO_EXPLAIN"; - exports[1346] = "ER_FRM_UNKNOWN_TYPE"; - exports[1347] = "ER_WRONG_OBJECT"; - exports[1348] = "ER_NONUPDATEABLE_COLUMN"; - exports[1349] = "ER_VIEW_SELECT_DERIVED"; - exports[1350] = "ER_VIEW_SELECT_CLAUSE"; - exports[1351] = "ER_VIEW_SELECT_VARIABLE"; - exports[1352] = "ER_VIEW_SELECT_TMPTABLE"; - exports[1353] = "ER_VIEW_WRONG_LIST"; - exports[1354] = "ER_WARN_VIEW_MERGE"; - exports[1355] = "ER_WARN_VIEW_WITHOUT_KEY"; - exports[1356] = "ER_VIEW_INVALID"; - exports[1357] = "ER_SP_NO_DROP_SP"; - exports[1358] = "ER_SP_GOTO_IN_HNDLR"; - exports[1359] = "ER_TRG_ALREADY_EXISTS"; - exports[1360] = "ER_TRG_DOES_NOT_EXIST"; - exports[1361] = "ER_TRG_ON_VIEW_OR_TEMP_TABLE"; - exports[1362] = "ER_TRG_CANT_CHANGE_ROW"; - exports[1363] = "ER_TRG_NO_SUCH_ROW_IN_TRG"; - exports[1364] = "ER_NO_DEFAULT_FOR_FIELD"; - exports[1365] = "ER_DIVISION_BY_ZERO"; - exports[1366] = "ER_TRUNCATED_WRONG_VALUE_FOR_FIELD"; - exports[1367] = "ER_ILLEGAL_VALUE_FOR_TYPE"; - exports[1368] = "ER_VIEW_NONUPD_CHECK"; - exports[1369] = "ER_VIEW_CHECK_FAILED"; - exports[1370] = "ER_PROCACCESS_DENIED_ERROR"; - exports[1371] = "ER_RELAY_LOG_FAIL"; - exports[1372] = "ER_PASSWD_LENGTH"; - exports[1373] = "ER_UNKNOWN_TARGET_BINLOG"; - exports[1374] = "ER_IO_ERR_LOG_INDEX_READ"; - exports[1375] = "ER_BINLOG_PURGE_PROHIBITED"; - exports[1376] = "ER_FSEEK_FAIL"; - exports[1377] = "ER_BINLOG_PURGE_FATAL_ERR"; - exports[1378] = "ER_LOG_IN_USE"; - exports[1379] = "ER_LOG_PURGE_UNKNOWN_ERR"; - exports[1380] = "ER_RELAY_LOG_INIT"; - exports[1381] = "ER_NO_BINARY_LOGGING"; - exports[1382] = "ER_RESERVED_SYNTAX"; - exports[1383] = "ER_WSAS_FAILED"; - exports[1384] = "ER_DIFF_GROUPS_PROC"; - exports[1385] = "ER_NO_GROUP_FOR_PROC"; - exports[1386] = "ER_ORDER_WITH_PROC"; - exports[1387] = "ER_LOGGING_PROHIBIT_CHANGING_OF"; - exports[1388] = "ER_NO_FILE_MAPPING"; - exports[1389] = "ER_WRONG_MAGIC"; - exports[1390] = "ER_PS_MANY_PARAM"; - exports[1391] = "ER_KEY_PART_0"; - exports[1392] = "ER_VIEW_CHECKSUM"; - exports[1393] = "ER_VIEW_MULTIUPDATE"; - exports[1394] = "ER_VIEW_NO_INSERT_FIELD_LIST"; - exports[1395] = "ER_VIEW_DELETE_MERGE_VIEW"; - exports[1396] = "ER_CANNOT_USER"; - exports[1397] = "ER_XAER_NOTA"; - exports[1398] = "ER_XAER_INVAL"; - exports[1399] = "ER_XAER_RMFAIL"; - exports[1400] = "ER_XAER_OUTSIDE"; - exports[1401] = "ER_XAER_RMERR"; - exports[1402] = "ER_XA_RBROLLBACK"; - exports[1403] = "ER_NONEXISTING_PROC_GRANT"; - exports[1404] = "ER_PROC_AUTO_GRANT_FAIL"; - exports[1405] = "ER_PROC_AUTO_REVOKE_FAIL"; - exports[1406] = "ER_DATA_TOO_LONG"; - exports[1407] = "ER_SP_BAD_SQLSTATE"; - exports[1408] = "ER_STARTUP"; - exports[1409] = "ER_LOAD_FROM_FIXED_SIZE_ROWS_TO_VAR"; - exports[1410] = "ER_CANT_CREATE_USER_WITH_GRANT"; - exports[1411] = "ER_WRONG_VALUE_FOR_TYPE"; - exports[1412] = "ER_TABLE_DEF_CHANGED"; - exports[1413] = "ER_SP_DUP_HANDLER"; - exports[1414] = "ER_SP_NOT_VAR_ARG"; - exports[1415] = "ER_SP_NO_RETSET"; - exports[1416] = "ER_CANT_CREATE_GEOMETRY_OBJECT"; - exports[1417] = "ER_FAILED_ROUTINE_BREAK_BINLOG"; - exports[1418] = "ER_BINLOG_UNSAFE_ROUTINE"; - exports[1419] = "ER_BINLOG_CREATE_ROUTINE_NEED_SUPER"; - exports[1420] = "ER_EXEC_STMT_WITH_OPEN_CURSOR"; - exports[1421] = "ER_STMT_HAS_NO_OPEN_CURSOR"; - exports[1422] = "ER_COMMIT_NOT_ALLOWED_IN_SF_OR_TRG"; - exports[1423] = "ER_NO_DEFAULT_FOR_VIEW_FIELD"; - exports[1424] = "ER_SP_NO_RECURSION"; - exports[1425] = "ER_TOO_BIG_SCALE"; - exports[1426] = "ER_TOO_BIG_PRECISION"; - exports[1427] = "ER_M_BIGGER_THAN_D"; - exports[1428] = "ER_WRONG_LOCK_OF_SYSTEM_TABLE"; - exports[1429] = "ER_CONNECT_TO_FOREIGN_DATA_SOURCE"; - exports[1430] = "ER_QUERY_ON_FOREIGN_DATA_SOURCE"; - exports[1431] = "ER_FOREIGN_DATA_SOURCE_DOESNT_EXIST"; - exports[1432] = "ER_FOREIGN_DATA_STRING_INVALID_CANT_CREATE"; - exports[1433] = "ER_FOREIGN_DATA_STRING_INVALID"; - exports[1434] = "ER_CANT_CREATE_FEDERATED_TABLE"; - exports[1435] = "ER_TRG_IN_WRONG_SCHEMA"; - exports[1436] = "ER_STACK_OVERRUN_NEED_MORE"; - exports[1437] = "ER_TOO_LONG_BODY"; - exports[1438] = "ER_WARN_CANT_DROP_DEFAULT_KEYCACHE"; - exports[1439] = "ER_TOO_BIG_DISPLAYWIDTH"; - exports[1440] = "ER_XAER_DUPID"; - exports[1441] = "ER_DATETIME_FUNCTION_OVERFLOW"; - exports[1442] = "ER_CANT_UPDATE_USED_TABLE_IN_SF_OR_TRG"; - exports[1443] = "ER_VIEW_PREVENT_UPDATE"; - exports[1444] = "ER_PS_NO_RECURSION"; - exports[1445] = "ER_SP_CANT_SET_AUTOCOMMIT"; - exports[1446] = "ER_MALFORMED_DEFINER"; - exports[1447] = "ER_VIEW_FRM_NO_USER"; - exports[1448] = "ER_VIEW_OTHER_USER"; - exports[1449] = "ER_NO_SUCH_USER"; - exports[1450] = "ER_FORBID_SCHEMA_CHANGE"; - exports[1451] = "ER_ROW_IS_REFERENCED_2"; - exports[1452] = "ER_NO_REFERENCED_ROW_2"; - exports[1453] = "ER_SP_BAD_VAR_SHADOW"; - exports[1454] = "ER_TRG_NO_DEFINER"; - exports[1455] = "ER_OLD_FILE_FORMAT"; - exports[1456] = "ER_SP_RECURSION_LIMIT"; - exports[1457] = "ER_SP_PROC_TABLE_CORRUPT"; - exports[1458] = "ER_SP_WRONG_NAME"; - exports[1459] = "ER_TABLE_NEEDS_UPGRADE"; - exports[1460] = "ER_SP_NO_AGGREGATE"; - exports[1461] = "ER_MAX_PREPARED_STMT_COUNT_REACHED"; - exports[1462] = "ER_VIEW_RECURSIVE"; - exports[1463] = "ER_NON_GROUPING_FIELD_USED"; - exports[1464] = "ER_TABLE_CANT_HANDLE_SPKEYS"; - exports[1465] = "ER_NO_TRIGGERS_ON_SYSTEM_SCHEMA"; - exports[1466] = "ER_REMOVED_SPACES"; - exports[1467] = "ER_AUTOINC_READ_FAILED"; - exports[1468] = "ER_USERNAME"; - exports[1469] = "ER_HOSTNAME"; - exports[1470] = "ER_WRONG_STRING_LENGTH"; - exports[1471] = "ER_NON_INSERTABLE_TABLE"; - exports[1472] = "ER_ADMIN_WRONG_MRG_TABLE"; - exports[1473] = "ER_TOO_HIGH_LEVEL_OF_NESTING_FOR_SELECT"; - exports[1474] = "ER_NAME_BECOMES_EMPTY"; - exports[1475] = "ER_AMBIGUOUS_FIELD_TERM"; - exports[1476] = "ER_FOREIGN_SERVER_EXISTS"; - exports[1477] = "ER_FOREIGN_SERVER_DOESNT_EXIST"; - exports[1478] = "ER_ILLEGAL_HA_CREATE_OPTION"; - exports[1479] = "ER_PARTITION_REQUIRES_VALUES_ERROR"; - exports[1480] = "ER_PARTITION_WRONG_VALUES_ERROR"; - exports[1481] = "ER_PARTITION_MAXVALUE_ERROR"; - exports[1482] = "ER_PARTITION_SUBPARTITION_ERROR"; - exports[1483] = "ER_PARTITION_SUBPART_MIX_ERROR"; - exports[1484] = "ER_PARTITION_WRONG_NO_PART_ERROR"; - exports[1485] = "ER_PARTITION_WRONG_NO_SUBPART_ERROR"; - exports[1486] = "ER_WRONG_EXPR_IN_PARTITION_FUNC_ERROR"; - exports[1487] = "ER_NO_CONST_EXPR_IN_RANGE_OR_LIST_ERROR"; - exports[1488] = "ER_FIELD_NOT_FOUND_PART_ERROR"; - exports[1489] = "ER_LIST_OF_FIELDS_ONLY_IN_HASH_ERROR"; - exports[1490] = "ER_INCONSISTENT_PARTITION_INFO_ERROR"; - exports[1491] = "ER_PARTITION_FUNC_NOT_ALLOWED_ERROR"; - exports[1492] = "ER_PARTITIONS_MUST_BE_DEFINED_ERROR"; - exports[1493] = "ER_RANGE_NOT_INCREASING_ERROR"; - exports[1494] = "ER_INCONSISTENT_TYPE_OF_FUNCTIONS_ERROR"; - exports[1495] = "ER_MULTIPLE_DEF_CONST_IN_LIST_PART_ERROR"; - exports[1496] = "ER_PARTITION_ENTRY_ERROR"; - exports[1497] = "ER_MIX_HANDLER_ERROR"; - exports[1498] = "ER_PARTITION_NOT_DEFINED_ERROR"; - exports[1499] = "ER_TOO_MANY_PARTITIONS_ERROR"; - exports[1500] = "ER_SUBPARTITION_ERROR"; - exports[1501] = "ER_CANT_CREATE_HANDLER_FILE"; - exports[1502] = "ER_BLOB_FIELD_IN_PART_FUNC_ERROR"; - exports[1503] = "ER_UNIQUE_KEY_NEED_ALL_FIELDS_IN_PF"; - exports[1504] = "ER_NO_PARTS_ERROR"; - exports[1505] = "ER_PARTITION_MGMT_ON_NONPARTITIONED"; - exports[1506] = "ER_FOREIGN_KEY_ON_PARTITIONED"; - exports[1507] = "ER_DROP_PARTITION_NON_EXISTENT"; - exports[1508] = "ER_DROP_LAST_PARTITION"; - exports[1509] = "ER_COALESCE_ONLY_ON_HASH_PARTITION"; - exports[1510] = "ER_REORG_HASH_ONLY_ON_SAME_NO"; - exports[1511] = "ER_REORG_NO_PARAM_ERROR"; - exports[1512] = "ER_ONLY_ON_RANGE_LIST_PARTITION"; - exports[1513] = "ER_ADD_PARTITION_SUBPART_ERROR"; - exports[1514] = "ER_ADD_PARTITION_NO_NEW_PARTITION"; - exports[1515] = "ER_COALESCE_PARTITION_NO_PARTITION"; - exports[1516] = "ER_REORG_PARTITION_NOT_EXIST"; - exports[1517] = "ER_SAME_NAME_PARTITION"; - exports[1518] = "ER_NO_BINLOG_ERROR"; - exports[1519] = "ER_CONSECUTIVE_REORG_PARTITIONS"; - exports[1520] = "ER_REORG_OUTSIDE_RANGE"; - exports[1521] = "ER_PARTITION_FUNCTION_FAILURE"; - exports[1522] = "ER_PART_STATE_ERROR"; - exports[1523] = "ER_LIMITED_PART_RANGE"; - exports[1524] = "ER_PLUGIN_IS_NOT_LOADED"; - exports[1525] = "ER_WRONG_VALUE"; - exports[1526] = "ER_NO_PARTITION_FOR_GIVEN_VALUE"; - exports[1527] = "ER_FILEGROUP_OPTION_ONLY_ONCE"; - exports[1528] = "ER_CREATE_FILEGROUP_FAILED"; - exports[1529] = "ER_DROP_FILEGROUP_FAILED"; - exports[1530] = "ER_TABLESPACE_AUTO_EXTEND_ERROR"; - exports[1531] = "ER_WRONG_SIZE_NUMBER"; - exports[1532] = "ER_SIZE_OVERFLOW_ERROR"; - exports[1533] = "ER_ALTER_FILEGROUP_FAILED"; - exports[1534] = "ER_BINLOG_ROW_LOGGING_FAILED"; - exports[1535] = "ER_BINLOG_ROW_WRONG_TABLE_DEF"; - exports[1536] = "ER_BINLOG_ROW_RBR_TO_SBR"; - exports[1537] = "ER_EVENT_ALREADY_EXISTS"; - exports[1538] = "ER_EVENT_STORE_FAILED"; - exports[1539] = "ER_EVENT_DOES_NOT_EXIST"; - exports[1540] = "ER_EVENT_CANT_ALTER"; - exports[1541] = "ER_EVENT_DROP_FAILED"; - exports[1542] = "ER_EVENT_INTERVAL_NOT_POSITIVE_OR_TOO_BIG"; - exports[1543] = "ER_EVENT_ENDS_BEFORE_STARTS"; - exports[1544] = "ER_EVENT_EXEC_TIME_IN_THE_PAST"; - exports[1545] = "ER_EVENT_OPEN_TABLE_FAILED"; - exports[1546] = "ER_EVENT_NEITHER_M_EXPR_NOR_M_AT"; - exports[1547] = "ER_COL_COUNT_DOESNT_MATCH_CORRUPTED"; - exports[1548] = "ER_CANNOT_LOAD_FROM_TABLE"; - exports[1549] = "ER_EVENT_CANNOT_DELETE"; - exports[1550] = "ER_EVENT_COMPILE_ERROR"; - exports[1551] = "ER_EVENT_SAME_NAME"; - exports[1552] = "ER_EVENT_DATA_TOO_LONG"; - exports[1553] = "ER_DROP_INDEX_FK"; - exports[1554] = "ER_WARN_DEPRECATED_SYNTAX_WITH_VER"; - exports[1555] = "ER_CANT_WRITE_LOCK_LOG_TABLE"; - exports[1556] = "ER_CANT_LOCK_LOG_TABLE"; - exports[1557] = "ER_FOREIGN_DUPLICATE_KEY"; - exports[1558] = "ER_COL_COUNT_DOESNT_MATCH_PLEASE_UPDATE"; - exports[1559] = "ER_TEMP_TABLE_PREVENTS_SWITCH_OUT_OF_RBR"; - exports[1560] = "ER_STORED_FUNCTION_PREVENTS_SWITCH_BINLOG_FORMAT"; - exports[1561] = "ER_NDB_CANT_SWITCH_BINLOG_FORMAT"; - exports[1562] = "ER_PARTITION_NO_TEMPORARY"; - exports[1563] = "ER_PARTITION_CONST_DOMAIN_ERROR"; - exports[1564] = "ER_PARTITION_FUNCTION_IS_NOT_ALLOWED"; - exports[1565] = "ER_DDL_LOG_ERROR"; - exports[1566] = "ER_NULL_IN_VALUES_LESS_THAN"; - exports[1567] = "ER_WRONG_PARTITION_NAME"; - exports[1568] = "ER_CANT_CHANGE_TX_CHARACTERISTICS"; - exports[1569] = "ER_DUP_ENTRY_AUTOINCREMENT_CASE"; - exports[1570] = "ER_EVENT_MODIFY_QUEUE_ERROR"; - exports[1571] = "ER_EVENT_SET_VAR_ERROR"; - exports[1572] = "ER_PARTITION_MERGE_ERROR"; - exports[1573] = "ER_CANT_ACTIVATE_LOG"; - exports[1574] = "ER_RBR_NOT_AVAILABLE"; - exports[1575] = "ER_BASE64_DECODE_ERROR"; - exports[1576] = "ER_EVENT_RECURSION_FORBIDDEN"; - exports[1577] = "ER_EVENTS_DB_ERROR"; - exports[1578] = "ER_ONLY_INTEGERS_ALLOWED"; - exports[1579] = "ER_UNSUPORTED_LOG_ENGINE"; - exports[1580] = "ER_BAD_LOG_STATEMENT"; - exports[1581] = "ER_CANT_RENAME_LOG_TABLE"; - exports[1582] = "ER_WRONG_PARAMCOUNT_TO_NATIVE_FCT"; - exports[1583] = "ER_WRONG_PARAMETERS_TO_NATIVE_FCT"; - exports[1584] = "ER_WRONG_PARAMETERS_TO_STORED_FCT"; - exports[1585] = "ER_NATIVE_FCT_NAME_COLLISION"; - exports[1586] = "ER_DUP_ENTRY_WITH_KEY_NAME"; - exports[1587] = "ER_BINLOG_PURGE_EMFILE"; - exports[1588] = "ER_EVENT_CANNOT_CREATE_IN_THE_PAST"; - exports[1589] = "ER_EVENT_CANNOT_ALTER_IN_THE_PAST"; - exports[1590] = "ER_SLAVE_INCIDENT"; - exports[1591] = "ER_NO_PARTITION_FOR_GIVEN_VALUE_SILENT"; - exports[1592] = "ER_BINLOG_UNSAFE_STATEMENT"; - exports[1593] = "ER_BINLOG_FATAL_ERROR"; - exports[1594] = "ER_SLAVE_RELAY_LOG_READ_FAILURE"; - exports[1595] = "ER_SLAVE_RELAY_LOG_WRITE_FAILURE"; - exports[1596] = "ER_SLAVE_CREATE_EVENT_FAILURE"; - exports[1597] = "ER_SLAVE_MASTER_COM_FAILURE"; - exports[1598] = "ER_BINLOG_LOGGING_IMPOSSIBLE"; - exports[1599] = "ER_VIEW_NO_CREATION_CTX"; - exports[1600] = "ER_VIEW_INVALID_CREATION_CTX"; - exports[1601] = "ER_SR_INVALID_CREATION_CTX"; - exports[1602] = "ER_TRG_CORRUPTED_FILE"; - exports[1603] = "ER_TRG_NO_CREATION_CTX"; - exports[1604] = "ER_TRG_INVALID_CREATION_CTX"; - exports[1605] = "ER_EVENT_INVALID_CREATION_CTX"; - exports[1606] = "ER_TRG_CANT_OPEN_TABLE"; - exports[1607] = "ER_CANT_CREATE_SROUTINE"; - exports[1608] = "ER_NEVER_USED"; - exports[1609] = "ER_NO_FORMAT_DESCRIPTION_EVENT_BEFORE_BINLOG_STATEMENT"; - exports[1610] = "ER_REPLICA_CORRUPT_EVENT"; - exports[1611] = "ER_LOAD_DATA_INVALID_COLUMN"; - exports[1612] = "ER_LOG_PURGE_NO_FILE"; - exports[1613] = "ER_XA_RBTIMEOUT"; - exports[1614] = "ER_XA_RBDEADLOCK"; - exports[1615] = "ER_NEED_REPREPARE"; - exports[1616] = "ER_DELAYED_NOT_SUPPORTED"; - exports[1617] = "WARN_NO_CONNECTION_METADATA"; - exports[1618] = "WARN_OPTION_IGNORED"; - exports[1619] = "ER_PLUGIN_DELETE_BUILTIN"; - exports[1620] = "WARN_PLUGIN_BUSY"; - exports[1621] = "ER_VARIABLE_IS_READONLY"; - exports[1622] = "ER_WARN_ENGINE_TRANSACTION_ROLLBACK"; - exports[1623] = "ER_SLAVE_HEARTBEAT_FAILURE"; - exports[1624] = "ER_REPLICA_HEARTBEAT_VALUE_OUT_OF_RANGE"; - exports[1625] = "ER_NDB_REPLICATION_SCHEMA_ERROR"; - exports[1626] = "ER_CONFLICT_FN_PARSE_ERROR"; - exports[1627] = "ER_EXCEPTIONS_WRITE_ERROR"; - exports[1628] = "ER_TOO_LONG_TABLE_COMMENT"; - exports[1629] = "ER_TOO_LONG_FIELD_COMMENT"; - exports[1630] = "ER_FUNC_INEXISTENT_NAME_COLLISION"; - exports[1631] = "ER_DATABASE_NAME"; - exports[1632] = "ER_TABLE_NAME"; - exports[1633] = "ER_PARTITION_NAME"; - exports[1634] = "ER_SUBPARTITION_NAME"; - exports[1635] = "ER_TEMPORARY_NAME"; - exports[1636] = "ER_RENAMED_NAME"; - exports[1637] = "ER_TOO_MANY_CONCURRENT_TRXS"; - exports[1638] = "WARN_NON_ASCII_SEPARATOR_NOT_IMPLEMENTED"; - exports[1639] = "ER_DEBUG_SYNC_TIMEOUT"; - exports[1640] = "ER_DEBUG_SYNC_HIT_LIMIT"; - exports[1641] = "ER_DUP_SIGNAL_SET"; - exports[1642] = "ER_SIGNAL_WARN"; - exports[1643] = "ER_SIGNAL_NOT_FOUND"; - exports[1644] = "ER_SIGNAL_EXCEPTION"; - exports[1645] = "ER_RESIGNAL_WITHOUT_ACTIVE_HANDLER"; - exports[1646] = "ER_SIGNAL_BAD_CONDITION_TYPE"; - exports[1647] = "WARN_COND_ITEM_TRUNCATED"; - exports[1648] = "ER_COND_ITEM_TOO_LONG"; - exports[1649] = "ER_UNKNOWN_LOCALE"; - exports[1650] = "ER_REPLICA_IGNORE_SERVER_IDS"; - exports[1651] = "ER_QUERY_CACHE_DISABLED"; - exports[1652] = "ER_SAME_NAME_PARTITION_FIELD"; - exports[1653] = "ER_PARTITION_COLUMN_LIST_ERROR"; - exports[1654] = "ER_WRONG_TYPE_COLUMN_VALUE_ERROR"; - exports[1655] = "ER_TOO_MANY_PARTITION_FUNC_FIELDS_ERROR"; - exports[1656] = "ER_MAXVALUE_IN_VALUES_IN"; - exports[1657] = "ER_TOO_MANY_VALUES_ERROR"; - exports[1658] = "ER_ROW_SINGLE_PARTITION_FIELD_ERROR"; - exports[1659] = "ER_FIELD_TYPE_NOT_ALLOWED_AS_PARTITION_FIELD"; - exports[1660] = "ER_PARTITION_FIELDS_TOO_LONG"; - exports[1661] = "ER_BINLOG_ROW_ENGINE_AND_STMT_ENGINE"; - exports[1662] = "ER_BINLOG_ROW_MODE_AND_STMT_ENGINE"; - exports[1663] = "ER_BINLOG_UNSAFE_AND_STMT_ENGINE"; - exports[1664] = "ER_BINLOG_ROW_INJECTION_AND_STMT_ENGINE"; - exports[1665] = "ER_BINLOG_STMT_MODE_AND_ROW_ENGINE"; - exports[1666] = "ER_BINLOG_ROW_INJECTION_AND_STMT_MODE"; - exports[1667] = "ER_BINLOG_MULTIPLE_ENGINES_AND_SELF_LOGGING_ENGINE"; - exports[1668] = "ER_BINLOG_UNSAFE_LIMIT"; - exports[1669] = "ER_UNUSED4"; - exports[1670] = "ER_BINLOG_UNSAFE_SYSTEM_TABLE"; - exports[1671] = "ER_BINLOG_UNSAFE_AUTOINC_COLUMNS"; - exports[1672] = "ER_BINLOG_UNSAFE_UDF"; - exports[1673] = "ER_BINLOG_UNSAFE_SYSTEM_VARIABLE"; - exports[1674] = "ER_BINLOG_UNSAFE_SYSTEM_FUNCTION"; - exports[1675] = "ER_BINLOG_UNSAFE_NONTRANS_AFTER_TRANS"; - exports[1676] = "ER_MESSAGE_AND_STATEMENT"; - exports[1677] = "ER_SLAVE_CONVERSION_FAILED"; - exports[1678] = "ER_REPLICA_CANT_CREATE_CONVERSION"; - exports[1679] = "ER_INSIDE_TRANSACTION_PREVENTS_SWITCH_BINLOG_FORMAT"; - exports[1680] = "ER_PATH_LENGTH"; - exports[1681] = "ER_WARN_DEPRECATED_SYNTAX_NO_REPLACEMENT"; - exports[1682] = "ER_WRONG_NATIVE_TABLE_STRUCTURE"; - exports[1683] = "ER_WRONG_PERFSCHEMA_USAGE"; - exports[1684] = "ER_WARN_I_S_SKIPPED_TABLE"; - exports[1685] = "ER_INSIDE_TRANSACTION_PREVENTS_SWITCH_BINLOG_DIRECT"; - exports[1686] = "ER_STORED_FUNCTION_PREVENTS_SWITCH_BINLOG_DIRECT"; - exports[1687] = "ER_SPATIAL_MUST_HAVE_GEOM_COL"; - exports[1688] = "ER_TOO_LONG_INDEX_COMMENT"; - exports[1689] = "ER_LOCK_ABORTED"; - exports[1690] = "ER_DATA_OUT_OF_RANGE"; - exports[1691] = "ER_WRONG_SPVAR_TYPE_IN_LIMIT"; - exports[1692] = "ER_BINLOG_UNSAFE_MULTIPLE_ENGINES_AND_SELF_LOGGING_ENGINE"; - exports[1693] = "ER_BINLOG_UNSAFE_MIXED_STATEMENT"; - exports[1694] = "ER_INSIDE_TRANSACTION_PREVENTS_SWITCH_SQL_LOG_BIN"; - exports[1695] = "ER_STORED_FUNCTION_PREVENTS_SWITCH_SQL_LOG_BIN"; - exports[1696] = "ER_FAILED_READ_FROM_PAR_FILE"; - exports[1697] = "ER_VALUES_IS_NOT_INT_TYPE_ERROR"; - exports[1698] = "ER_ACCESS_DENIED_NO_PASSWORD_ERROR"; - exports[1699] = "ER_SET_PASSWORD_AUTH_PLUGIN"; - exports[1700] = "ER_GRANT_PLUGIN_USER_EXISTS"; - exports[1701] = "ER_TRUNCATE_ILLEGAL_FK"; - exports[1702] = "ER_PLUGIN_IS_PERMANENT"; - exports[1703] = "ER_REPLICA_HEARTBEAT_VALUE_OUT_OF_RANGE_MIN"; - exports[1704] = "ER_REPLICA_HEARTBEAT_VALUE_OUT_OF_RANGE_MAX"; - exports[1705] = "ER_STMT_CACHE_FULL"; - exports[1706] = "ER_MULTI_UPDATE_KEY_CONFLICT"; - exports[1707] = "ER_TABLE_NEEDS_REBUILD"; - exports[1708] = "WARN_OPTION_BELOW_LIMIT"; - exports[1709] = "ER_INDEX_COLUMN_TOO_LONG"; - exports[1710] = "ER_ERROR_IN_TRIGGER_BODY"; - exports[1711] = "ER_ERROR_IN_UNKNOWN_TRIGGER_BODY"; - exports[1712] = "ER_INDEX_CORRUPT"; - exports[1713] = "ER_UNDO_RECORD_TOO_BIG"; - exports[1714] = "ER_BINLOG_UNSAFE_INSERT_IGNORE_SELECT"; - exports[1715] = "ER_BINLOG_UNSAFE_INSERT_SELECT_UPDATE"; - exports[1716] = "ER_BINLOG_UNSAFE_REPLACE_SELECT"; - exports[1717] = "ER_BINLOG_UNSAFE_CREATE_IGNORE_SELECT"; - exports[1718] = "ER_BINLOG_UNSAFE_CREATE_REPLACE_SELECT"; - exports[1719] = "ER_BINLOG_UNSAFE_UPDATE_IGNORE"; - exports[1720] = "ER_PLUGIN_NO_UNINSTALL"; - exports[1721] = "ER_PLUGIN_NO_INSTALL"; - exports[1722] = "ER_BINLOG_UNSAFE_WRITE_AUTOINC_SELECT"; - exports[1723] = "ER_BINLOG_UNSAFE_CREATE_SELECT_AUTOINC"; - exports[1724] = "ER_BINLOG_UNSAFE_INSERT_TWO_KEYS"; - exports[1725] = "ER_TABLE_IN_FK_CHECK"; - exports[1726] = "ER_UNSUPPORTED_ENGINE"; - exports[1727] = "ER_BINLOG_UNSAFE_AUTOINC_NOT_FIRST"; - exports[1728] = "ER_CANNOT_LOAD_FROM_TABLE_V2"; - exports[1729] = "ER_SOURCE_DELAY_VALUE_OUT_OF_RANGE"; - exports[1730] = "ER_ONLY_FD_AND_RBR_EVENTS_ALLOWED_IN_BINLOG_STATEMENT"; - exports[1731] = "ER_PARTITION_EXCHANGE_DIFFERENT_OPTION"; - exports[1732] = "ER_PARTITION_EXCHANGE_PART_TABLE"; - exports[1733] = "ER_PARTITION_EXCHANGE_TEMP_TABLE"; - exports[1734] = "ER_PARTITION_INSTEAD_OF_SUBPARTITION"; - exports[1735] = "ER_UNKNOWN_PARTITION"; - exports[1736] = "ER_TABLES_DIFFERENT_METADATA"; - exports[1737] = "ER_ROW_DOES_NOT_MATCH_PARTITION"; - exports[1738] = "ER_BINLOG_CACHE_SIZE_GREATER_THAN_MAX"; - exports[1739] = "ER_WARN_INDEX_NOT_APPLICABLE"; - exports[1740] = "ER_PARTITION_EXCHANGE_FOREIGN_KEY"; - exports[1741] = "ER_NO_SUCH_KEY_VALUE"; - exports[1742] = "ER_RPL_INFO_DATA_TOO_LONG"; - exports[1743] = "ER_NETWORK_READ_EVENT_CHECKSUM_FAILURE"; - exports[1744] = "ER_BINLOG_READ_EVENT_CHECKSUM_FAILURE"; - exports[1745] = "ER_BINLOG_STMT_CACHE_SIZE_GREATER_THAN_MAX"; - exports[1746] = "ER_CANT_UPDATE_TABLE_IN_CREATE_TABLE_SELECT"; - exports[1747] = "ER_PARTITION_CLAUSE_ON_NONPARTITIONED"; - exports[1748] = "ER_ROW_DOES_NOT_MATCH_GIVEN_PARTITION_SET"; - exports[1749] = "ER_NO_SUCH_PARTITION"; - exports[1750] = "ER_CHANGE_RPL_INFO_REPOSITORY_FAILURE"; - exports[1751] = "ER_WARNING_NOT_COMPLETE_ROLLBACK_WITH_CREATED_TEMP_TABLE"; - exports[1752] = "ER_WARNING_NOT_COMPLETE_ROLLBACK_WITH_DROPPED_TEMP_TABLE"; - exports[1753] = "ER_MTA_FEATURE_IS_NOT_SUPPORTED"; - exports[1754] = "ER_MTA_UPDATED_DBS_GREATER_MAX"; - exports[1755] = "ER_MTA_CANT_PARALLEL"; - exports[1756] = "ER_MTA_INCONSISTENT_DATA"; - exports[1757] = "ER_FULLTEXT_NOT_SUPPORTED_WITH_PARTITIONING"; - exports[1758] = "ER_DA_INVALID_CONDITION_NUMBER"; - exports[1759] = "ER_INSECURE_PLAIN_TEXT"; - exports[1760] = "ER_INSECURE_CHANGE_SOURCE"; - exports[1761] = "ER_FOREIGN_DUPLICATE_KEY_WITH_CHILD_INFO"; - exports[1762] = "ER_FOREIGN_DUPLICATE_KEY_WITHOUT_CHILD_INFO"; - exports[1763] = "ER_SQLTHREAD_WITH_SECURE_REPLICA"; - exports[1764] = "ER_TABLE_HAS_NO_FT"; - exports[1765] = "ER_VARIABLE_NOT_SETTABLE_IN_SF_OR_TRIGGER"; - exports[1766] = "ER_VARIABLE_NOT_SETTABLE_IN_TRANSACTION"; - exports[1767] = "ER_GTID_NEXT_IS_NOT_IN_GTID_NEXT_LIST"; - exports[1768] = "ER_CANT_CHANGE_GTID_NEXT_IN_TRANSACTION"; - exports[1769] = "ER_SET_STATEMENT_CANNOT_INVOKE_FUNCTION"; - exports[1770] = "ER_GTID_NEXT_CANT_BE_AUTOMATIC_IF_GTID_NEXT_LIST_IS_NON_NULL"; - exports[1771] = "ER_SKIPPING_LOGGED_TRANSACTION"; - exports[1772] = "ER_MALFORMED_GTID_SET_SPECIFICATION"; - exports[1773] = "ER_MALFORMED_GTID_SET_ENCODING"; - exports[1774] = "ER_MALFORMED_GTID_SPECIFICATION"; - exports[1775] = "ER_GNO_EXHAUSTED"; - exports[1776] = "ER_BAD_REPLICA_AUTO_POSITION"; - exports[1777] = "ER_AUTO_POSITION_REQUIRES_GTID_MODE_NOT_OFF"; - exports[1778] = "ER_CANT_DO_IMPLICIT_COMMIT_IN_TRX_WHEN_GTID_NEXT_IS_SET"; - exports[1779] = "ER_GTID_MODE_ON_REQUIRES_ENFORCE_GTID_CONSISTENCY_ON"; - exports[1780] = "ER_GTID_MODE_REQUIRES_BINLOG"; - exports[1781] = "ER_CANT_SET_GTID_NEXT_TO_GTID_WHEN_GTID_MODE_IS_OFF"; - exports[1782] = "ER_CANT_SET_GTID_NEXT_TO_ANONYMOUS_WHEN_GTID_MODE_IS_ON"; - exports[1783] = "ER_CANT_SET_GTID_NEXT_LIST_TO_NON_NULL_WHEN_GTID_MODE_IS_OFF"; - exports[1784] = "ER_FOUND_GTID_EVENT_WHEN_GTID_MODE_IS_OFF"; - exports[1785] = "ER_GTID_UNSAFE_NON_TRANSACTIONAL_TABLE"; - exports[1786] = "ER_GTID_UNSAFE_CREATE_SELECT"; - exports[1787] = "ER_GTID_UNSAFE_CREATE_DROP_TEMP_TABLE_IN_TRANSACTION"; - exports[1788] = "ER_GTID_MODE_CAN_ONLY_CHANGE_ONE_STEP_AT_A_TIME"; - exports[1789] = "ER_SOURCE_HAS_PURGED_REQUIRED_GTIDS"; - exports[1790] = "ER_CANT_SET_GTID_NEXT_WHEN_OWNING_GTID"; - exports[1791] = "ER_UNKNOWN_EXPLAIN_FORMAT"; - exports[1792] = "ER_CANT_EXECUTE_IN_READ_ONLY_TRANSACTION"; - exports[1793] = "ER_TOO_LONG_TABLE_PARTITION_COMMENT"; - exports[1794] = "ER_REPLICA_CONFIGURATION"; - exports[1795] = "ER_INNODB_FT_LIMIT"; - exports[1796] = "ER_INNODB_NO_FT_TEMP_TABLE"; - exports[1797] = "ER_INNODB_FT_WRONG_DOCID_COLUMN"; - exports[1798] = "ER_INNODB_FT_WRONG_DOCID_INDEX"; - exports[1799] = "ER_INNODB_ONLINE_LOG_TOO_BIG"; - exports[1800] = "ER_UNKNOWN_ALTER_ALGORITHM"; - exports[1801] = "ER_UNKNOWN_ALTER_LOCK"; - exports[1802] = "ER_MTA_CHANGE_SOURCE_CANT_RUN_WITH_GAPS"; - exports[1803] = "ER_MTA_RECOVERY_FAILURE"; - exports[1804] = "ER_MTA_RESET_WORKERS"; - exports[1805] = "ER_COL_COUNT_DOESNT_MATCH_CORRUPTED_V2"; - exports[1806] = "ER_REPLICA_SILENT_RETRY_TRANSACTION"; - exports[1807] = "ER_DISCARD_FK_CHECKS_RUNNING"; - exports[1808] = "ER_TABLE_SCHEMA_MISMATCH"; - exports[1809] = "ER_TABLE_IN_SYSTEM_TABLESPACE"; - exports[1810] = "ER_IO_READ_ERROR"; - exports[1811] = "ER_IO_WRITE_ERROR"; - exports[1812] = "ER_TABLESPACE_MISSING"; - exports[1813] = "ER_TABLESPACE_EXISTS"; - exports[1814] = "ER_TABLESPACE_DISCARDED"; - exports[1815] = "ER_INTERNAL_ERROR"; - exports[1816] = "ER_INNODB_IMPORT_ERROR"; - exports[1817] = "ER_INNODB_INDEX_CORRUPT"; - exports[1818] = "ER_INVALID_YEAR_COLUMN_LENGTH"; - exports[1819] = "ER_NOT_VALID_PASSWORD"; - exports[1820] = "ER_MUST_CHANGE_PASSWORD"; - exports[1821] = "ER_FK_NO_INDEX_CHILD"; - exports[1822] = "ER_FK_NO_INDEX_PARENT"; - exports[1823] = "ER_FK_FAIL_ADD_SYSTEM"; - exports[1824] = "ER_FK_CANNOT_OPEN_PARENT"; - exports[1825] = "ER_FK_INCORRECT_OPTION"; - exports[1826] = "ER_FK_DUP_NAME"; - exports[1827] = "ER_PASSWORD_FORMAT"; - exports[1828] = "ER_FK_COLUMN_CANNOT_DROP"; - exports[1829] = "ER_FK_COLUMN_CANNOT_DROP_CHILD"; - exports[1830] = "ER_FK_COLUMN_NOT_NULL"; - exports[1831] = "ER_DUP_INDEX"; - exports[1832] = "ER_FK_COLUMN_CANNOT_CHANGE"; - exports[1833] = "ER_FK_COLUMN_CANNOT_CHANGE_CHILD"; - exports[1834] = "ER_UNUSED5"; - exports[1835] = "ER_MALFORMED_PACKET"; - exports[1836] = "ER_READ_ONLY_MODE"; - exports[1837] = "ER_GTID_NEXT_TYPE_UNDEFINED_GTID"; - exports[1838] = "ER_VARIABLE_NOT_SETTABLE_IN_SP"; - exports[1839] = "ER_CANT_SET_GTID_PURGED_WHEN_GTID_MODE_IS_OFF"; - exports[1840] = "ER_CANT_SET_GTID_PURGED_WHEN_GTID_EXECUTED_IS_NOT_EMPTY"; - exports[1841] = "ER_CANT_SET_GTID_PURGED_WHEN_OWNED_GTIDS_IS_NOT_EMPTY"; - exports[1842] = "ER_GTID_PURGED_WAS_CHANGED"; - exports[1843] = "ER_GTID_EXECUTED_WAS_CHANGED"; - exports[1844] = "ER_BINLOG_STMT_MODE_AND_NO_REPL_TABLES"; - exports[1845] = "ER_ALTER_OPERATION_NOT_SUPPORTED"; - exports[1846] = "ER_ALTER_OPERATION_NOT_SUPPORTED_REASON"; - exports[1847] = "ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_COPY"; - exports[1848] = "ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_PARTITION"; - exports[1849] = "ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_FK_RENAME"; - exports[1850] = "ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_COLUMN_TYPE"; - exports[1851] = "ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_FK_CHECK"; - exports[1852] = "ER_UNUSED6"; - exports[1853] = "ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_NOPK"; - exports[1854] = "ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_AUTOINC"; - exports[1855] = "ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_HIDDEN_FTS"; - exports[1856] = "ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_CHANGE_FTS"; - exports[1857] = "ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_FTS"; - exports[1858] = "ER_SQL_REPLICA_SKIP_COUNTER_NOT_SETTABLE_IN_GTID_MODE"; - exports[1859] = "ER_DUP_UNKNOWN_IN_INDEX"; - exports[1860] = "ER_IDENT_CAUSES_TOO_LONG_PATH"; - exports[1861] = "ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_NOT_NULL"; - exports[1862] = "ER_MUST_CHANGE_PASSWORD_LOGIN"; - exports[1863] = "ER_ROW_IN_WRONG_PARTITION"; - exports[1864] = "ER_MTA_EVENT_BIGGER_PENDING_JOBS_SIZE_MAX"; - exports[1865] = "ER_INNODB_NO_FT_USES_PARSER"; - exports[1866] = "ER_BINLOG_LOGICAL_CORRUPTION"; - exports[1867] = "ER_WARN_PURGE_LOG_IN_USE"; - exports[1868] = "ER_WARN_PURGE_LOG_IS_ACTIVE"; - exports[1869] = "ER_AUTO_INCREMENT_CONFLICT"; - exports[1870] = "WARN_ON_BLOCKHOLE_IN_RBR"; - exports[1871] = "ER_REPLICA_CM_INIT_REPOSITORY"; - exports[1872] = "ER_REPLICA_AM_INIT_REPOSITORY"; - exports[1873] = "ER_ACCESS_DENIED_CHANGE_USER_ERROR"; - exports[1874] = "ER_INNODB_READ_ONLY"; - exports[1875] = "ER_STOP_REPLICA_SQL_THREAD_TIMEOUT"; - exports[1876] = "ER_STOP_REPLICA_IO_THREAD_TIMEOUT"; - exports[1877] = "ER_TABLE_CORRUPT"; - exports[1878] = "ER_TEMP_FILE_WRITE_FAILURE"; - exports[1879] = "ER_INNODB_FT_AUX_NOT_HEX_ID"; - exports[1880] = "ER_OLD_TEMPORALS_UPGRADED"; - exports[1881] = "ER_INNODB_FORCED_RECOVERY"; - exports[1882] = "ER_AES_INVALID_IV"; - exports[1883] = "ER_PLUGIN_CANNOT_BE_UNINSTALLED"; - exports[1884] = "ER_GTID_UNSAFE_BINLOG_SPLITTABLE_STATEMENT_AND_ASSIGNED_GTID"; - exports[1885] = "ER_REPLICA_HAS_MORE_GTIDS_THAN_SOURCE"; - exports[1886] = "ER_MISSING_KEY"; - exports[1887] = "WARN_NAMED_PIPE_ACCESS_EVERYONE"; - exports[3e3] = "ER_FILE_CORRUPT"; - exports[3001] = "ER_ERROR_ON_SOURCE"; - exports[3002] = "ER_INCONSISTENT_ERROR"; - exports[3003] = "ER_STORAGE_ENGINE_NOT_LOADED"; - exports[3004] = "ER_GET_STACKED_DA_WITHOUT_ACTIVE_HANDLER"; - exports[3005] = "ER_WARN_LEGACY_SYNTAX_CONVERTED"; - exports[3006] = "ER_BINLOG_UNSAFE_FULLTEXT_PLUGIN"; - exports[3007] = "ER_CANNOT_DISCARD_TEMPORARY_TABLE"; - exports[3008] = "ER_FK_DEPTH_EXCEEDED"; - exports[3009] = "ER_COL_COUNT_DOESNT_MATCH_PLEASE_UPDATE_V2"; - exports[3010] = "ER_WARN_TRIGGER_DOESNT_HAVE_CREATED"; - exports[3011] = "ER_REFERENCED_TRG_DOES_NOT_EXIST"; - exports[3012] = "ER_EXPLAIN_NOT_SUPPORTED"; - exports[3013] = "ER_INVALID_FIELD_SIZE"; - exports[3014] = "ER_MISSING_HA_CREATE_OPTION"; - exports[3015] = "ER_ENGINE_OUT_OF_MEMORY"; - exports[3016] = "ER_PASSWORD_EXPIRE_ANONYMOUS_USER"; - exports[3017] = "ER_REPLICA_SQL_THREAD_MUST_STOP"; - exports[3018] = "ER_NO_FT_MATERIALIZED_SUBQUERY"; - exports[3019] = "ER_INNODB_UNDO_LOG_FULL"; - exports[3020] = "ER_INVALID_ARGUMENT_FOR_LOGARITHM"; - exports[3021] = "ER_REPLICA_CHANNEL_IO_THREAD_MUST_STOP"; - exports[3022] = "ER_WARN_OPEN_TEMP_TABLES_MUST_BE_ZERO"; - exports[3023] = "ER_WARN_ONLY_SOURCE_LOG_FILE_NO_POS"; - exports[3024] = "ER_QUERY_TIMEOUT"; - exports[3025] = "ER_NON_RO_SELECT_DISABLE_TIMER"; - exports[3026] = "ER_DUP_LIST_ENTRY"; - exports[3027] = "ER_SQL_MODE_NO_EFFECT"; - exports[3028] = "ER_AGGREGATE_ORDER_FOR_UNION"; - exports[3029] = "ER_AGGREGATE_ORDER_NON_AGG_QUERY"; - exports[3030] = "ER_REPLICA_WORKER_STOPPED_PREVIOUS_THD_ERROR"; - exports[3031] = "ER_DONT_SUPPORT_REPLICA_PRESERVE_COMMIT_ORDER"; - exports[3032] = "ER_SERVER_OFFLINE_MODE"; - exports[3033] = "ER_GIS_DIFFERENT_SRIDS"; - exports[3034] = "ER_GIS_UNSUPPORTED_ARGUMENT"; - exports[3035] = "ER_GIS_UNKNOWN_ERROR"; - exports[3036] = "ER_GIS_UNKNOWN_EXCEPTION"; - exports[3037] = "ER_GIS_INVALID_DATA"; - exports[3038] = "ER_BOOST_GEOMETRY_EMPTY_INPUT_EXCEPTION"; - exports[3039] = "ER_BOOST_GEOMETRY_CENTROID_EXCEPTION"; - exports[3040] = "ER_BOOST_GEOMETRY_OVERLAY_INVALID_INPUT_EXCEPTION"; - exports[3041] = "ER_BOOST_GEOMETRY_TURN_INFO_EXCEPTION"; - exports[3042] = "ER_BOOST_GEOMETRY_SELF_INTERSECTION_POINT_EXCEPTION"; - exports[3043] = "ER_BOOST_GEOMETRY_UNKNOWN_EXCEPTION"; - exports[3044] = "ER_STD_BAD_ALLOC_ERROR"; - exports[3045] = "ER_STD_DOMAIN_ERROR"; - exports[3046] = "ER_STD_LENGTH_ERROR"; - exports[3047] = "ER_STD_INVALID_ARGUMENT"; - exports[3048] = "ER_STD_OUT_OF_RANGE_ERROR"; - exports[3049] = "ER_STD_OVERFLOW_ERROR"; - exports[3050] = "ER_STD_RANGE_ERROR"; - exports[3051] = "ER_STD_UNDERFLOW_ERROR"; - exports[3052] = "ER_STD_LOGIC_ERROR"; - exports[3053] = "ER_STD_RUNTIME_ERROR"; - exports[3054] = "ER_STD_UNKNOWN_EXCEPTION"; - exports[3055] = "ER_GIS_DATA_WRONG_ENDIANESS"; - exports[3056] = "ER_CHANGE_SOURCE_PASSWORD_LENGTH"; - exports[3057] = "ER_USER_LOCK_WRONG_NAME"; - exports[3058] = "ER_USER_LOCK_DEADLOCK"; - exports[3059] = "ER_REPLACE_INACCESSIBLE_ROWS"; - exports[3060] = "ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_GIS"; - exports[3061] = "ER_ILLEGAL_USER_VAR"; - exports[3062] = "ER_GTID_MODE_OFF"; - exports[3063] = "ER_UNSUPPORTED_BY_REPLICATION_THREAD"; - exports[3064] = "ER_INCORRECT_TYPE"; - exports[3065] = "ER_FIELD_IN_ORDER_NOT_SELECT"; - exports[3066] = "ER_AGGREGATE_IN_ORDER_NOT_SELECT"; - exports[3067] = "ER_INVALID_RPL_WILD_TABLE_FILTER_PATTERN"; - exports[3068] = "ER_NET_OK_PACKET_TOO_LARGE"; - exports[3069] = "ER_INVALID_JSON_DATA"; - exports[3070] = "ER_INVALID_GEOJSON_MISSING_MEMBER"; - exports[3071] = "ER_INVALID_GEOJSON_WRONG_TYPE"; - exports[3072] = "ER_INVALID_GEOJSON_UNSPECIFIED"; - exports[3073] = "ER_DIMENSION_UNSUPPORTED"; - exports[3074] = "ER_REPLICA_CHANNEL_DOES_NOT_EXIST"; - exports[3075] = "ER_SLAVE_MULTIPLE_CHANNELS_HOST_PORT"; - exports[3076] = "ER_REPLICA_CHANNEL_NAME_INVALID_OR_TOO_LONG"; - exports[3077] = "ER_REPLICA_NEW_CHANNEL_WRONG_REPOSITORY"; - exports[3078] = "ER_SLAVE_CHANNEL_DELETE"; - exports[3079] = "ER_REPLICA_MULTIPLE_CHANNELS_CMD"; - exports[3080] = "ER_REPLICA_MAX_CHANNELS_EXCEEDED"; - exports[3081] = "ER_REPLICA_CHANNEL_MUST_STOP"; - exports[3082] = "ER_REPLICA_CHANNEL_NOT_RUNNING"; - exports[3083] = "ER_REPLICA_CHANNEL_WAS_RUNNING"; - exports[3084] = "ER_REPLICA_CHANNEL_WAS_NOT_RUNNING"; - exports[3085] = "ER_REPLICA_CHANNEL_SQL_THREAD_MUST_STOP"; - exports[3086] = "ER_REPLICA_CHANNEL_SQL_SKIP_COUNTER"; - exports[3087] = "ER_WRONG_FIELD_WITH_GROUP_V2"; - exports[3088] = "ER_MIX_OF_GROUP_FUNC_AND_FIELDS_V2"; - exports[3089] = "ER_WARN_DEPRECATED_SYSVAR_UPDATE"; - exports[3090] = "ER_WARN_DEPRECATED_SQLMODE"; - exports[3091] = "ER_CANNOT_LOG_PARTIAL_DROP_DATABASE_WITH_GTID"; - exports[3092] = "ER_GROUP_REPLICATION_CONFIGURATION"; - exports[3093] = "ER_GROUP_REPLICATION_RUNNING"; - exports[3094] = "ER_GROUP_REPLICATION_APPLIER_INIT_ERROR"; - exports[3095] = "ER_GROUP_REPLICATION_STOP_APPLIER_THREAD_TIMEOUT"; - exports[3096] = "ER_GROUP_REPLICATION_COMMUNICATION_LAYER_SESSION_ERROR"; - exports[3097] = "ER_GROUP_REPLICATION_COMMUNICATION_LAYER_JOIN_ERROR"; - exports[3098] = "ER_BEFORE_DML_VALIDATION_ERROR"; - exports[3099] = "ER_PREVENTS_VARIABLE_WITHOUT_RBR"; - exports[3100] = "ER_RUN_HOOK_ERROR"; - exports[3101] = "ER_TRANSACTION_ROLLBACK_DURING_COMMIT"; - exports[3102] = "ER_GENERATED_COLUMN_FUNCTION_IS_NOT_ALLOWED"; - exports[3103] = "ER_UNSUPPORTED_ALTER_INPLACE_ON_VIRTUAL_COLUMN"; - exports[3104] = "ER_WRONG_FK_OPTION_FOR_GENERATED_COLUMN"; - exports[3105] = "ER_NON_DEFAULT_VALUE_FOR_GENERATED_COLUMN"; - exports[3106] = "ER_UNSUPPORTED_ACTION_ON_GENERATED_COLUMN"; - exports[3107] = "ER_GENERATED_COLUMN_NON_PRIOR"; - exports[3108] = "ER_DEPENDENT_BY_GENERATED_COLUMN"; - exports[3109] = "ER_GENERATED_COLUMN_REF_AUTO_INC"; - exports[3110] = "ER_FEATURE_NOT_AVAILABLE"; - exports[3111] = "ER_CANT_SET_GTID_MODE"; - exports[3112] = "ER_CANT_USE_AUTO_POSITION_WITH_GTID_MODE_OFF"; - exports[3113] = "ER_CANT_REPLICATE_ANONYMOUS_WITH_AUTO_POSITION"; - exports[3114] = "ER_CANT_REPLICATE_ANONYMOUS_WITH_GTID_MODE_ON"; - exports[3115] = "ER_CANT_REPLICATE_GTID_WITH_GTID_MODE_OFF"; - exports[3116] = "ER_CANT_ENFORCE_GTID_CONSISTENCY_WITH_ONGOING_GTID_VIOLATING_TX"; - exports[3117] = "ER_ENFORCE_GTID_CONSISTENCY_WARN_WITH_ONGOING_GTID_VIOLATING_TX"; - exports[3118] = "ER_ACCOUNT_HAS_BEEN_LOCKED"; - exports[3119] = "ER_WRONG_TABLESPACE_NAME"; - exports[3120] = "ER_TABLESPACE_IS_NOT_EMPTY"; - exports[3121] = "ER_WRONG_FILE_NAME"; - exports[3122] = "ER_BOOST_GEOMETRY_INCONSISTENT_TURNS_EXCEPTION"; - exports[3123] = "ER_WARN_OPTIMIZER_HINT_SYNTAX_ERROR"; - exports[3124] = "ER_WARN_BAD_MAX_EXECUTION_TIME"; - exports[3125] = "ER_WARN_UNSUPPORTED_MAX_EXECUTION_TIME"; - exports[3126] = "ER_WARN_CONFLICTING_HINT"; - exports[3127] = "ER_WARN_UNKNOWN_QB_NAME"; - exports[3128] = "ER_UNRESOLVED_HINT_NAME"; - exports[3129] = "ER_WARN_ON_MODIFYING_GTID_EXECUTED_TABLE"; - exports[3130] = "ER_PLUGGABLE_PROTOCOL_COMMAND_NOT_SUPPORTED"; - exports[3131] = "ER_LOCKING_SERVICE_WRONG_NAME"; - exports[3132] = "ER_LOCKING_SERVICE_DEADLOCK"; - exports[3133] = "ER_LOCKING_SERVICE_TIMEOUT"; - exports[3134] = "ER_GIS_MAX_POINTS_IN_GEOMETRY_OVERFLOWED"; - exports[3135] = "ER_SQL_MODE_MERGED"; - exports[3136] = "ER_VTOKEN_PLUGIN_TOKEN_MISMATCH"; - exports[3137] = "ER_VTOKEN_PLUGIN_TOKEN_NOT_FOUND"; - exports[3138] = "ER_CANT_SET_VARIABLE_WHEN_OWNING_GTID"; - exports[3139] = "ER_REPLICA_CHANNEL_OPERATION_NOT_ALLOWED"; - exports[3140] = "ER_INVALID_JSON_TEXT"; - exports[3141] = "ER_INVALID_JSON_TEXT_IN_PARAM"; - exports[3142] = "ER_INVALID_JSON_BINARY_DATA"; - exports[3143] = "ER_INVALID_JSON_PATH"; - exports[3144] = "ER_INVALID_JSON_CHARSET"; - exports[3145] = "ER_INVALID_JSON_CHARSET_IN_FUNCTION"; - exports[3146] = "ER_INVALID_TYPE_FOR_JSON"; - exports[3147] = "ER_INVALID_CAST_TO_JSON"; - exports[3148] = "ER_INVALID_JSON_PATH_CHARSET"; - exports[3149] = "ER_INVALID_JSON_PATH_WILDCARD"; - exports[3150] = "ER_JSON_VALUE_TOO_BIG"; - exports[3151] = "ER_JSON_KEY_TOO_BIG"; - exports[3152] = "ER_JSON_USED_AS_KEY"; - exports[3153] = "ER_JSON_VACUOUS_PATH"; - exports[3154] = "ER_JSON_BAD_ONE_OR_ALL_ARG"; - exports[3155] = "ER_NUMERIC_JSON_VALUE_OUT_OF_RANGE"; - exports[3156] = "ER_INVALID_JSON_VALUE_FOR_CAST"; - exports[3157] = "ER_JSON_DOCUMENT_TOO_DEEP"; - exports[3158] = "ER_JSON_DOCUMENT_NULL_KEY"; - exports[3159] = "ER_SECURE_TRANSPORT_REQUIRED"; - exports[3160] = "ER_NO_SECURE_TRANSPORTS_CONFIGURED"; - exports[3161] = "ER_DISABLED_STORAGE_ENGINE"; - exports[3162] = "ER_USER_DOES_NOT_EXIST"; - exports[3163] = "ER_USER_ALREADY_EXISTS"; - exports[3164] = "ER_AUDIT_API_ABORT"; - exports[3165] = "ER_INVALID_JSON_PATH_ARRAY_CELL"; - exports[3166] = "ER_BUFPOOL_RESIZE_INPROGRESS"; - exports[3167] = "ER_FEATURE_DISABLED_SEE_DOC"; - exports[3168] = "ER_SERVER_ISNT_AVAILABLE"; - exports[3169] = "ER_SESSION_WAS_KILLED"; - exports[3170] = "ER_CAPACITY_EXCEEDED"; - exports[3171] = "ER_CAPACITY_EXCEEDED_IN_RANGE_OPTIMIZER"; - exports[3172] = "ER_TABLE_NEEDS_UPG_PART"; - exports[3173] = "ER_CANT_WAIT_FOR_EXECUTED_GTID_SET_WHILE_OWNING_A_GTID"; - exports[3174] = "ER_CANNOT_ADD_FOREIGN_BASE_COL_VIRTUAL"; - exports[3175] = "ER_CANNOT_CREATE_VIRTUAL_INDEX_CONSTRAINT"; - exports[3176] = "ER_ERROR_ON_MODIFYING_GTID_EXECUTED_TABLE"; - exports[3177] = "ER_LOCK_REFUSED_BY_ENGINE"; - exports[3178] = "ER_UNSUPPORTED_ALTER_ONLINE_ON_VIRTUAL_COLUMN"; - exports[3179] = "ER_MASTER_KEY_ROTATION_NOT_SUPPORTED_BY_SE"; - exports[3180] = "ER_MASTER_KEY_ROTATION_ERROR_BY_SE"; - exports[3181] = "ER_MASTER_KEY_ROTATION_BINLOG_FAILED"; - exports[3182] = "ER_MASTER_KEY_ROTATION_SE_UNAVAILABLE"; - exports[3183] = "ER_TABLESPACE_CANNOT_ENCRYPT"; - exports[3184] = "ER_INVALID_ENCRYPTION_OPTION"; - exports[3185] = "ER_CANNOT_FIND_KEY_IN_KEYRING"; - exports[3186] = "ER_CAPACITY_EXCEEDED_IN_PARSER"; - exports[3187] = "ER_UNSUPPORTED_ALTER_ENCRYPTION_INPLACE"; - exports[3188] = "ER_KEYRING_UDF_KEYRING_SERVICE_ERROR"; - exports[3189] = "ER_USER_COLUMN_OLD_LENGTH"; - exports[3190] = "ER_CANT_RESET_SOURCE"; - exports[3191] = "ER_GROUP_REPLICATION_MAX_GROUP_SIZE"; - exports[3192] = "ER_CANNOT_ADD_FOREIGN_BASE_COL_STORED"; - exports[3193] = "ER_TABLE_REFERENCED"; - exports[3194] = "ER_PARTITION_ENGINE_DEPRECATED_FOR_TABLE"; - exports[3195] = "ER_WARN_USING_GEOMFROMWKB_TO_SET_SRID_ZERO"; - exports[3196] = "ER_WARN_USING_GEOMFROMWKB_TO_SET_SRID"; - exports[3197] = "ER_XA_RETRY"; - exports[3198] = "ER_KEYRING_AWS_UDF_AWS_KMS_ERROR"; - exports[3199] = "ER_BINLOG_UNSAFE_XA"; - exports[3200] = "ER_UDF_ERROR"; - exports[3201] = "ER_KEYRING_MIGRATION_FAILURE"; - exports[3202] = "ER_KEYRING_ACCESS_DENIED_ERROR"; - exports[3203] = "ER_KEYRING_MIGRATION_STATUS"; - exports[3204] = "ER_PLUGIN_FAILED_TO_OPEN_TABLES"; - exports[3205] = "ER_PLUGIN_FAILED_TO_OPEN_TABLE"; - exports[3206] = "ER_AUDIT_LOG_NO_KEYRING_PLUGIN_INSTALLED"; - exports[3207] = "ER_AUDIT_LOG_ENCRYPTION_PASSWORD_HAS_NOT_BEEN_SET"; - exports[3208] = "ER_AUDIT_LOG_COULD_NOT_CREATE_AES_KEY"; - exports[3209] = "ER_AUDIT_LOG_ENCRYPTION_PASSWORD_CANNOT_BE_FETCHED"; - exports[3210] = "ER_AUDIT_LOG_JSON_FILTERING_NOT_ENABLED"; - exports[3211] = "ER_AUDIT_LOG_UDF_INSUFFICIENT_PRIVILEGE"; - exports[3212] = "ER_AUDIT_LOG_SUPER_PRIVILEGE_REQUIRED"; - exports[3213] = "ER_COULD_NOT_REINITIALIZE_AUDIT_LOG_FILTERS"; - exports[3214] = "ER_AUDIT_LOG_UDF_INVALID_ARGUMENT_TYPE"; - exports[3215] = "ER_AUDIT_LOG_UDF_INVALID_ARGUMENT_COUNT"; - exports[3216] = "ER_AUDIT_LOG_HAS_NOT_BEEN_INSTALLED"; - exports[3217] = "ER_AUDIT_LOG_UDF_READ_INVALID_MAX_ARRAY_LENGTH_ARG_TYPE"; - exports[3218] = "ER_AUDIT_LOG_UDF_READ_INVALID_MAX_ARRAY_LENGTH_ARG_VALUE"; - exports[3219] = "ER_AUDIT_LOG_JSON_FILTER_PARSING_ERROR"; - exports[3220] = "ER_AUDIT_LOG_JSON_FILTER_NAME_CANNOT_BE_EMPTY"; - exports[3221] = "ER_AUDIT_LOG_JSON_USER_NAME_CANNOT_BE_EMPTY"; - exports[3222] = "ER_AUDIT_LOG_JSON_FILTER_DOES_NOT_EXISTS"; - exports[3223] = "ER_AUDIT_LOG_USER_FIRST_CHARACTER_MUST_BE_ALPHANUMERIC"; - exports[3224] = "ER_AUDIT_LOG_USER_NAME_INVALID_CHARACTER"; - exports[3225] = "ER_AUDIT_LOG_HOST_NAME_INVALID_CHARACTER"; - exports[3226] = "WARN_DEPRECATED_MAXDB_SQL_MODE_FOR_TIMESTAMP"; - exports[3227] = "ER_XA_REPLICATION_FILTERS"; - exports[3228] = "ER_CANT_OPEN_ERROR_LOG"; - exports[3229] = "ER_GROUPING_ON_TIMESTAMP_IN_DST"; - exports[3230] = "ER_CANT_START_SERVER_NAMED_PIPE"; - exports[3231] = "ER_WRITE_SET_EXCEEDS_LIMIT"; - exports[3232] = "ER_DEPRECATED_TLS_VERSION_SESSION_57"; - exports[3233] = "ER_WARN_DEPRECATED_TLS_VERSION_57"; - exports[3234] = "ER_WARN_WRONG_NATIVE_TABLE_STRUCTURE"; - exports[3235] = "ER_AES_INVALID_KDF_NAME"; - exports[3236] = "ER_AES_INVALID_KDF_ITERATIONS"; - exports[3237] = "WARN_AES_KEY_SIZE"; - exports[3238] = "ER_AES_INVALID_KDF_OPTION_SIZE"; - exports[3500] = "ER_UNSUPPORT_COMPRESSED_TEMPORARY_TABLE"; - exports[3501] = "ER_ACL_OPERATION_FAILED"; - exports[3502] = "ER_UNSUPPORTED_INDEX_ALGORITHM"; - exports[3503] = "ER_NO_SUCH_DB"; - exports[3504] = "ER_TOO_BIG_ENUM"; - exports[3505] = "ER_TOO_LONG_SET_ENUM_VALUE"; - exports[3506] = "ER_INVALID_DD_OBJECT"; - exports[3507] = "ER_UPDATING_DD_TABLE"; - exports[3508] = "ER_INVALID_DD_OBJECT_ID"; - exports[3509] = "ER_INVALID_DD_OBJECT_NAME"; - exports[3510] = "ER_TABLESPACE_MISSING_WITH_NAME"; - exports[3511] = "ER_TOO_LONG_ROUTINE_COMMENT"; - exports[3512] = "ER_SP_LOAD_FAILED"; - exports[3513] = "ER_INVALID_BITWISE_OPERANDS_SIZE"; - exports[3514] = "ER_INVALID_BITWISE_AGGREGATE_OPERANDS_SIZE"; - exports[3515] = "ER_WARN_UNSUPPORTED_HINT"; - exports[3516] = "ER_UNEXPECTED_GEOMETRY_TYPE"; - exports[3517] = "ER_SRS_PARSE_ERROR"; - exports[3518] = "ER_SRS_PROJ_PARAMETER_MISSING"; - exports[3519] = "ER_WARN_SRS_NOT_FOUND"; - exports[3520] = "ER_SRS_NOT_CARTESIAN"; - exports[3521] = "ER_SRS_NOT_CARTESIAN_UNDEFINED"; - exports[3522] = "ER_PK_INDEX_CANT_BE_INVISIBLE"; - exports[3523] = "ER_UNKNOWN_AUTHID"; - exports[3524] = "ER_FAILED_ROLE_GRANT"; - exports[3525] = "ER_OPEN_ROLE_TABLES"; - exports[3526] = "ER_FAILED_DEFAULT_ROLES"; - exports[3527] = "ER_COMPONENTS_NO_SCHEME"; - exports[3528] = "ER_COMPONENTS_NO_SCHEME_SERVICE"; - exports[3529] = "ER_COMPONENTS_CANT_LOAD"; - exports[3530] = "ER_ROLE_NOT_GRANTED"; - exports[3531] = "ER_FAILED_REVOKE_ROLE"; - exports[3532] = "ER_RENAME_ROLE"; - exports[3533] = "ER_COMPONENTS_CANT_ACQUIRE_SERVICE_IMPLEMENTATION"; - exports[3534] = "ER_COMPONENTS_CANT_SATISFY_DEPENDENCY"; - exports[3535] = "ER_COMPONENTS_LOAD_CANT_REGISTER_SERVICE_IMPLEMENTATION"; - exports[3536] = "ER_COMPONENTS_LOAD_CANT_INITIALIZE"; - exports[3537] = "ER_COMPONENTS_UNLOAD_NOT_LOADED"; - exports[3538] = "ER_COMPONENTS_UNLOAD_CANT_DEINITIALIZE"; - exports[3539] = "ER_COMPONENTS_CANT_RELEASE_SERVICE"; - exports[3540] = "ER_COMPONENTS_UNLOAD_CANT_UNREGISTER_SERVICE"; - exports[3541] = "ER_COMPONENTS_CANT_UNLOAD"; - exports[3542] = "ER_WARN_UNLOAD_THE_NOT_PERSISTED"; - exports[3543] = "ER_COMPONENT_TABLE_INCORRECT"; - exports[3544] = "ER_COMPONENT_MANIPULATE_ROW_FAILED"; - exports[3545] = "ER_COMPONENTS_UNLOAD_DUPLICATE_IN_GROUP"; - exports[3546] = "ER_CANT_SET_GTID_PURGED_DUE_SETS_CONSTRAINTS"; - exports[3547] = "ER_CANNOT_LOCK_USER_MANAGEMENT_CACHES"; - exports[3548] = "ER_SRS_NOT_FOUND"; - exports[3549] = "ER_VARIABLE_NOT_PERSISTED"; - exports[3550] = "ER_IS_QUERY_INVALID_CLAUSE"; - exports[3551] = "ER_UNABLE_TO_STORE_STATISTICS"; - exports[3552] = "ER_NO_SYSTEM_SCHEMA_ACCESS"; - exports[3553] = "ER_NO_SYSTEM_TABLESPACE_ACCESS"; - exports[3554] = "ER_NO_SYSTEM_TABLE_ACCESS"; - exports[3555] = "ER_NO_SYSTEM_TABLE_ACCESS_FOR_DICTIONARY_TABLE"; - exports[3556] = "ER_NO_SYSTEM_TABLE_ACCESS_FOR_SYSTEM_TABLE"; - exports[3557] = "ER_NO_SYSTEM_TABLE_ACCESS_FOR_TABLE"; - exports[3558] = "ER_INVALID_OPTION_KEY"; - exports[3559] = "ER_INVALID_OPTION_VALUE"; - exports[3560] = "ER_INVALID_OPTION_KEY_VALUE_PAIR"; - exports[3561] = "ER_INVALID_OPTION_START_CHARACTER"; - exports[3562] = "ER_INVALID_OPTION_END_CHARACTER"; - exports[3563] = "ER_INVALID_OPTION_CHARACTERS"; - exports[3564] = "ER_DUPLICATE_OPTION_KEY"; - exports[3565] = "ER_WARN_SRS_NOT_FOUND_AXIS_ORDER"; - exports[3566] = "ER_NO_ACCESS_TO_NATIVE_FCT"; - exports[3567] = "ER_RESET_SOURCE_TO_VALUE_OUT_OF_RANGE"; - exports[3568] = "ER_UNRESOLVED_TABLE_LOCK"; - exports[3569] = "ER_DUPLICATE_TABLE_LOCK"; - exports[3570] = "ER_BINLOG_UNSAFE_SKIP_LOCKED"; - exports[3571] = "ER_BINLOG_UNSAFE_NOWAIT"; - exports[3572] = "ER_LOCK_NOWAIT"; - exports[3573] = "ER_CTE_RECURSIVE_REQUIRES_UNION"; - exports[3574] = "ER_CTE_RECURSIVE_REQUIRES_NONRECURSIVE_FIRST"; - exports[3575] = "ER_CTE_RECURSIVE_FORBIDS_AGGREGATION"; - exports[3576] = "ER_CTE_RECURSIVE_FORBIDDEN_JOIN_ORDER"; - exports[3577] = "ER_CTE_RECURSIVE_REQUIRES_SINGLE_REFERENCE"; - exports[3578] = "ER_SWITCH_TMP_ENGINE"; - exports[3579] = "ER_WINDOW_NO_SUCH_WINDOW"; - exports[3580] = "ER_WINDOW_CIRCULARITY_IN_WINDOW_GRAPH"; - exports[3581] = "ER_WINDOW_NO_CHILD_PARTITIONING"; - exports[3582] = "ER_WINDOW_NO_INHERIT_FRAME"; - exports[3583] = "ER_WINDOW_NO_REDEFINE_ORDER_BY"; - exports[3584] = "ER_WINDOW_FRAME_START_ILLEGAL"; - exports[3585] = "ER_WINDOW_FRAME_END_ILLEGAL"; - exports[3586] = "ER_WINDOW_FRAME_ILLEGAL"; - exports[3587] = "ER_WINDOW_RANGE_FRAME_ORDER_TYPE"; - exports[3588] = "ER_WINDOW_RANGE_FRAME_TEMPORAL_TYPE"; - exports[3589] = "ER_WINDOW_RANGE_FRAME_NUMERIC_TYPE"; - exports[3590] = "ER_WINDOW_RANGE_BOUND_NOT_CONSTANT"; - exports[3591] = "ER_WINDOW_DUPLICATE_NAME"; - exports[3592] = "ER_WINDOW_ILLEGAL_ORDER_BY"; - exports[3593] = "ER_WINDOW_INVALID_WINDOW_FUNC_USE"; - exports[3594] = "ER_WINDOW_INVALID_WINDOW_FUNC_ALIAS_USE"; - exports[3595] = "ER_WINDOW_NESTED_WINDOW_FUNC_USE_IN_WINDOW_SPEC"; - exports[3596] = "ER_WINDOW_ROWS_INTERVAL_USE"; - exports[3597] = "ER_WINDOW_NO_GROUP_ORDER"; - exports[3598] = "ER_WINDOW_EXPLAIN_JSON"; - exports[3599] = "ER_WINDOW_FUNCTION_IGNORES_FRAME"; - exports[3600] = "ER_WL9236_NOW"; - exports[3601] = "ER_INVALID_NO_OF_ARGS"; - exports[3602] = "ER_FIELD_IN_GROUPING_NOT_GROUP_BY"; - exports[3603] = "ER_TOO_LONG_TABLESPACE_COMMENT"; - exports[3604] = "ER_ENGINE_CANT_DROP_TABLE"; - exports[3605] = "ER_ENGINE_CANT_DROP_MISSING_TABLE"; - exports[3606] = "ER_TABLESPACE_DUP_FILENAME"; - exports[3607] = "ER_DB_DROP_RMDIR2"; - exports[3608] = "ER_IMP_NO_FILES_MATCHED"; - exports[3609] = "ER_IMP_SCHEMA_DOES_NOT_EXIST"; - exports[3610] = "ER_IMP_TABLE_ALREADY_EXISTS"; - exports[3611] = "ER_IMP_INCOMPATIBLE_MYSQLD_VERSION"; - exports[3612] = "ER_IMP_INCOMPATIBLE_DD_VERSION"; - exports[3613] = "ER_IMP_INCOMPATIBLE_SDI_VERSION"; - exports[3614] = "ER_WARN_INVALID_HINT"; - exports[3615] = "ER_VAR_DOES_NOT_EXIST"; - exports[3616] = "ER_LONGITUDE_OUT_OF_RANGE"; - exports[3617] = "ER_LATITUDE_OUT_OF_RANGE"; - exports[3618] = "ER_NOT_IMPLEMENTED_FOR_GEOGRAPHIC_SRS"; - exports[3619] = "ER_ILLEGAL_PRIVILEGE_LEVEL"; - exports[3620] = "ER_NO_SYSTEM_VIEW_ACCESS"; - exports[3621] = "ER_COMPONENT_FILTER_FLABBERGASTED"; - exports[3622] = "ER_PART_EXPR_TOO_LONG"; - exports[3623] = "ER_UDF_DROP_DYNAMICALLY_REGISTERED"; - exports[3624] = "ER_UNABLE_TO_STORE_COLUMN_STATISTICS"; - exports[3625] = "ER_UNABLE_TO_UPDATE_COLUMN_STATISTICS"; - exports[3626] = "ER_UNABLE_TO_DROP_COLUMN_STATISTICS"; - exports[3627] = "ER_UNABLE_TO_BUILD_HISTOGRAM"; - exports[3628] = "ER_MANDATORY_ROLE"; - exports[3629] = "ER_MISSING_TABLESPACE_FILE"; - exports[3630] = "ER_PERSIST_ONLY_ACCESS_DENIED_ERROR"; - exports[3631] = "ER_CMD_NEED_SUPER"; - exports[3632] = "ER_PATH_IN_DATADIR"; - exports[3633] = "ER_CLONE_DDL_IN_PROGRESS"; - exports[3634] = "ER_CLONE_TOO_MANY_CONCURRENT_CLONES"; - exports[3635] = "ER_APPLIER_LOG_EVENT_VALIDATION_ERROR"; - exports[3636] = "ER_CTE_MAX_RECURSION_DEPTH"; - exports[3637] = "ER_NOT_HINT_UPDATABLE_VARIABLE"; - exports[3638] = "ER_CREDENTIALS_CONTRADICT_TO_HISTORY"; - exports[3639] = "ER_WARNING_PASSWORD_HISTORY_CLAUSES_VOID"; - exports[3640] = "ER_CLIENT_DOES_NOT_SUPPORT"; - exports[3641] = "ER_I_S_SKIPPED_TABLESPACE"; - exports[3642] = "ER_TABLESPACE_ENGINE_MISMATCH"; - exports[3643] = "ER_WRONG_SRID_FOR_COLUMN"; - exports[3644] = "ER_CANNOT_ALTER_SRID_DUE_TO_INDEX"; - exports[3645] = "ER_WARN_BINLOG_PARTIAL_UPDATES_DISABLED"; - exports[3646] = "ER_WARN_BINLOG_V1_ROW_EVENTS_DISABLED"; - exports[3647] = "ER_WARN_BINLOG_PARTIAL_UPDATES_SUGGESTS_PARTIAL_IMAGES"; - exports[3648] = "ER_COULD_NOT_APPLY_JSON_DIFF"; - exports[3649] = "ER_CORRUPTED_JSON_DIFF"; - exports[3650] = "ER_RESOURCE_GROUP_EXISTS"; - exports[3651] = "ER_RESOURCE_GROUP_NOT_EXISTS"; - exports[3652] = "ER_INVALID_VCPU_ID"; - exports[3653] = "ER_INVALID_VCPU_RANGE"; - exports[3654] = "ER_INVALID_THREAD_PRIORITY"; - exports[3655] = "ER_DISALLOWED_OPERATION"; - exports[3656] = "ER_RESOURCE_GROUP_BUSY"; - exports[3657] = "ER_RESOURCE_GROUP_DISABLED"; - exports[3658] = "ER_FEATURE_UNSUPPORTED"; - exports[3659] = "ER_ATTRIBUTE_IGNORED"; - exports[3660] = "ER_INVALID_THREAD_ID"; - exports[3661] = "ER_RESOURCE_GROUP_BIND_FAILED"; - exports[3662] = "ER_INVALID_USE_OF_FORCE_OPTION"; - exports[3663] = "ER_GROUP_REPLICATION_COMMAND_FAILURE"; - exports[3664] = "ER_SDI_OPERATION_FAILED"; - exports[3665] = "ER_MISSING_JSON_TABLE_VALUE"; - exports[3666] = "ER_WRONG_JSON_TABLE_VALUE"; - exports[3667] = "ER_TF_MUST_HAVE_ALIAS"; - exports[3668] = "ER_TF_FORBIDDEN_JOIN_TYPE"; - exports[3669] = "ER_JT_VALUE_OUT_OF_RANGE"; - exports[3670] = "ER_JT_MAX_NESTED_PATH"; - exports[3671] = "ER_PASSWORD_EXPIRATION_NOT_SUPPORTED_BY_AUTH_METHOD"; - exports[3672] = "ER_INVALID_GEOJSON_CRS_NOT_TOP_LEVEL"; - exports[3673] = "ER_BAD_NULL_ERROR_NOT_IGNORED"; - exports[3674] = "WARN_USELESS_SPATIAL_INDEX"; - exports[3675] = "ER_DISK_FULL_NOWAIT"; - exports[3676] = "ER_PARSE_ERROR_IN_DIGEST_FN"; - exports[3677] = "ER_UNDISCLOSED_PARSE_ERROR_IN_DIGEST_FN"; - exports[3678] = "ER_SCHEMA_DIR_EXISTS"; - exports[3679] = "ER_SCHEMA_DIR_MISSING"; - exports[3680] = "ER_SCHEMA_DIR_CREATE_FAILED"; - exports[3681] = "ER_SCHEMA_DIR_UNKNOWN"; - exports[3682] = "ER_ONLY_IMPLEMENTED_FOR_SRID_0_AND_4326"; - exports[3683] = "ER_BINLOG_EXPIRE_LOG_DAYS_AND_SECS_USED_TOGETHER"; - exports[3684] = "ER_REGEXP_BUFFER_OVERFLOW"; - exports[3685] = "ER_REGEXP_ILLEGAL_ARGUMENT"; - exports[3686] = "ER_REGEXP_INDEX_OUTOFBOUNDS_ERROR"; - exports[3687] = "ER_REGEXP_INTERNAL_ERROR"; - exports[3688] = "ER_REGEXP_RULE_SYNTAX"; - exports[3689] = "ER_REGEXP_BAD_ESCAPE_SEQUENCE"; - exports[3690] = "ER_REGEXP_UNIMPLEMENTED"; - exports[3691] = "ER_REGEXP_MISMATCHED_PAREN"; - exports[3692] = "ER_REGEXP_BAD_INTERVAL"; - exports[3693] = "ER_REGEXP_MAX_LT_MIN"; - exports[3694] = "ER_REGEXP_INVALID_BACK_REF"; - exports[3695] = "ER_REGEXP_LOOK_BEHIND_LIMIT"; - exports[3696] = "ER_REGEXP_MISSING_CLOSE_BRACKET"; - exports[3697] = "ER_REGEXP_INVALID_RANGE"; - exports[3698] = "ER_REGEXP_STACK_OVERFLOW"; - exports[3699] = "ER_REGEXP_TIME_OUT"; - exports[3700] = "ER_REGEXP_PATTERN_TOO_BIG"; - exports[3701] = "ER_CANT_SET_ERROR_LOG_SERVICE"; - exports[3702] = "ER_EMPTY_PIPELINE_FOR_ERROR_LOG_SERVICE"; - exports[3703] = "ER_COMPONENT_FILTER_DIAGNOSTICS"; - exports[3704] = "ER_NOT_IMPLEMENTED_FOR_CARTESIAN_SRS"; - exports[3705] = "ER_NOT_IMPLEMENTED_FOR_PROJECTED_SRS"; - exports[3706] = "ER_NONPOSITIVE_RADIUS"; - exports[3707] = "ER_RESTART_SERVER_FAILED"; - exports[3708] = "ER_SRS_MISSING_MANDATORY_ATTRIBUTE"; - exports[3709] = "ER_SRS_MULTIPLE_ATTRIBUTE_DEFINITIONS"; - exports[3710] = "ER_SRS_NAME_CANT_BE_EMPTY_OR_WHITESPACE"; - exports[3711] = "ER_SRS_ORGANIZATION_CANT_BE_EMPTY_OR_WHITESPACE"; - exports[3712] = "ER_SRS_ID_ALREADY_EXISTS"; - exports[3713] = "ER_WARN_SRS_ID_ALREADY_EXISTS"; - exports[3714] = "ER_CANT_MODIFY_SRID_0"; - exports[3715] = "ER_WARN_RESERVED_SRID_RANGE"; - exports[3716] = "ER_CANT_MODIFY_SRS_USED_BY_COLUMN"; - exports[3717] = "ER_SRS_INVALID_CHARACTER_IN_ATTRIBUTE"; - exports[3718] = "ER_SRS_ATTRIBUTE_STRING_TOO_LONG"; - exports[3719] = "ER_DEPRECATED_UTF8_ALIAS"; - exports[3720] = "ER_DEPRECATED_NATIONAL"; - exports[3721] = "ER_INVALID_DEFAULT_UTF8MB4_COLLATION"; - exports[3722] = "ER_UNABLE_TO_COLLECT_LOG_STATUS"; - exports[3723] = "ER_RESERVED_TABLESPACE_NAME"; - exports[3724] = "ER_UNABLE_TO_SET_OPTION"; - exports[3725] = "ER_REPLICA_POSSIBLY_DIVERGED_AFTER_DDL"; - exports[3726] = "ER_SRS_NOT_GEOGRAPHIC"; - exports[3727] = "ER_POLYGON_TOO_LARGE"; - exports[3728] = "ER_SPATIAL_UNIQUE_INDEX"; - exports[3729] = "ER_INDEX_TYPE_NOT_SUPPORTED_FOR_SPATIAL_INDEX"; - exports[3730] = "ER_FK_CANNOT_DROP_PARENT"; - exports[3731] = "ER_GEOMETRY_PARAM_LONGITUDE_OUT_OF_RANGE"; - exports[3732] = "ER_GEOMETRY_PARAM_LATITUDE_OUT_OF_RANGE"; - exports[3733] = "ER_FK_CANNOT_USE_VIRTUAL_COLUMN"; - exports[3734] = "ER_FK_NO_COLUMN_PARENT"; - exports[3735] = "ER_CANT_SET_ERROR_SUPPRESSION_LIST"; - exports[3736] = "ER_SRS_GEOGCS_INVALID_AXES"; - exports[3737] = "ER_SRS_INVALID_SEMI_MAJOR_AXIS"; - exports[3738] = "ER_SRS_INVALID_INVERSE_FLATTENING"; - exports[3739] = "ER_SRS_INVALID_ANGULAR_UNIT"; - exports[3740] = "ER_SRS_INVALID_PRIME_MERIDIAN"; - exports[3741] = "ER_TRANSFORM_SOURCE_SRS_NOT_SUPPORTED"; - exports[3742] = "ER_TRANSFORM_TARGET_SRS_NOT_SUPPORTED"; - exports[3743] = "ER_TRANSFORM_SOURCE_SRS_MISSING_TOWGS84"; - exports[3744] = "ER_TRANSFORM_TARGET_SRS_MISSING_TOWGS84"; - exports[3745] = "ER_TEMP_TABLE_PREVENTS_SWITCH_SESSION_BINLOG_FORMAT"; - exports[3746] = "ER_TEMP_TABLE_PREVENTS_SWITCH_GLOBAL_BINLOG_FORMAT"; - exports[3747] = "ER_RUNNING_APPLIER_PREVENTS_SWITCH_GLOBAL_BINLOG_FORMAT"; - exports[3748] = "ER_CLIENT_GTID_UNSAFE_CREATE_DROP_TEMP_TABLE_IN_TRX_IN_SBR"; - exports[3749] = "ER_XA_CANT_CREATE_MDL_BACKUP"; - exports[3750] = "ER_TABLE_WITHOUT_PK"; - exports[3751] = "ER_WARN_DATA_TRUNCATED_FUNCTIONAL_INDEX"; - exports[3752] = "ER_WARN_DATA_OUT_OF_RANGE_FUNCTIONAL_INDEX"; - exports[3753] = "ER_FUNCTIONAL_INDEX_ON_JSON_OR_GEOMETRY_FUNCTION"; - exports[3754] = "ER_FUNCTIONAL_INDEX_REF_AUTO_INCREMENT"; - exports[3755] = "ER_CANNOT_DROP_COLUMN_FUNCTIONAL_INDEX"; - exports[3756] = "ER_FUNCTIONAL_INDEX_PRIMARY_KEY"; - exports[3757] = "ER_FUNCTIONAL_INDEX_ON_LOB"; - exports[3758] = "ER_FUNCTIONAL_INDEX_FUNCTION_IS_NOT_ALLOWED"; - exports[3759] = "ER_FULLTEXT_FUNCTIONAL_INDEX"; - exports[3760] = "ER_SPATIAL_FUNCTIONAL_INDEX"; - exports[3761] = "ER_WRONG_KEY_COLUMN_FUNCTIONAL_INDEX"; - exports[3762] = "ER_FUNCTIONAL_INDEX_ON_FIELD"; - exports[3763] = "ER_GENERATED_COLUMN_NAMED_FUNCTION_IS_NOT_ALLOWED"; - exports[3764] = "ER_GENERATED_COLUMN_ROW_VALUE"; - exports[3765] = "ER_GENERATED_COLUMN_VARIABLES"; - exports[3766] = "ER_DEPENDENT_BY_DEFAULT_GENERATED_VALUE"; - exports[3767] = "ER_DEFAULT_VAL_GENERATED_NON_PRIOR"; - exports[3768] = "ER_DEFAULT_VAL_GENERATED_REF_AUTO_INC"; - exports[3769] = "ER_DEFAULT_VAL_GENERATED_FUNCTION_IS_NOT_ALLOWED"; - exports[3770] = "ER_DEFAULT_VAL_GENERATED_NAMED_FUNCTION_IS_NOT_ALLOWED"; - exports[3771] = "ER_DEFAULT_VAL_GENERATED_ROW_VALUE"; - exports[3772] = "ER_DEFAULT_VAL_GENERATED_VARIABLES"; - exports[3773] = "ER_DEFAULT_AS_VAL_GENERATED"; - exports[3774] = "ER_UNSUPPORTED_ACTION_ON_DEFAULT_VAL_GENERATED"; - exports[3775] = "ER_GTID_UNSAFE_ALTER_ADD_COL_WITH_DEFAULT_EXPRESSION"; - exports[3776] = "ER_FK_CANNOT_CHANGE_ENGINE"; - exports[3777] = "ER_WARN_DEPRECATED_USER_SET_EXPR"; - exports[3778] = "ER_WARN_DEPRECATED_UTF8MB3_COLLATION"; - exports[3779] = "ER_WARN_DEPRECATED_NESTED_COMMENT_SYNTAX"; - exports[3780] = "ER_FK_INCOMPATIBLE_COLUMNS"; - exports[3781] = "ER_GR_HOLD_WAIT_TIMEOUT"; - exports[3782] = "ER_GR_HOLD_KILLED"; - exports[3783] = "ER_GR_HOLD_MEMBER_STATUS_ERROR"; - exports[3784] = "ER_RPL_ENCRYPTION_FAILED_TO_FETCH_KEY"; - exports[3785] = "ER_RPL_ENCRYPTION_KEY_NOT_FOUND"; - exports[3786] = "ER_RPL_ENCRYPTION_KEYRING_INVALID_KEY"; - exports[3787] = "ER_RPL_ENCRYPTION_HEADER_ERROR"; - exports[3788] = "ER_RPL_ENCRYPTION_FAILED_TO_ROTATE_LOGS"; - exports[3789] = "ER_RPL_ENCRYPTION_KEY_EXISTS_UNEXPECTED"; - exports[3790] = "ER_RPL_ENCRYPTION_FAILED_TO_GENERATE_KEY"; - exports[3791] = "ER_RPL_ENCRYPTION_FAILED_TO_STORE_KEY"; - exports[3792] = "ER_RPL_ENCRYPTION_FAILED_TO_REMOVE_KEY"; - exports[3793] = "ER_RPL_ENCRYPTION_UNABLE_TO_CHANGE_OPTION"; - exports[3794] = "ER_RPL_ENCRYPTION_MASTER_KEY_RECOVERY_FAILED"; - exports[3795] = "ER_SLOW_LOG_MODE_IGNORED_WHEN_NOT_LOGGING_TO_FILE"; - exports[3796] = "ER_GRP_TRX_CONSISTENCY_NOT_ALLOWED"; - exports[3797] = "ER_GRP_TRX_CONSISTENCY_BEFORE"; - exports[3798] = "ER_GRP_TRX_CONSISTENCY_AFTER_ON_TRX_BEGIN"; - exports[3799] = "ER_GRP_TRX_CONSISTENCY_BEGIN_NOT_ALLOWED"; - exports[3800] = "ER_FUNCTIONAL_INDEX_ROW_VALUE_IS_NOT_ALLOWED"; - exports[3801] = "ER_RPL_ENCRYPTION_FAILED_TO_ENCRYPT"; - exports[3802] = "ER_PAGE_TRACKING_NOT_STARTED"; - exports[3803] = "ER_PAGE_TRACKING_RANGE_NOT_TRACKED"; - exports[3804] = "ER_PAGE_TRACKING_CANNOT_PURGE"; - exports[3805] = "ER_RPL_ENCRYPTION_CANNOT_ROTATE_BINLOG_MASTER_KEY"; - exports[3806] = "ER_BINLOG_MASTER_KEY_RECOVERY_OUT_OF_COMBINATION"; - exports[3807] = "ER_BINLOG_MASTER_KEY_ROTATION_FAIL_TO_OPERATE_KEY"; - exports[3808] = "ER_BINLOG_MASTER_KEY_ROTATION_FAIL_TO_ROTATE_LOGS"; - exports[3809] = "ER_BINLOG_MASTER_KEY_ROTATION_FAIL_TO_REENCRYPT_LOG"; - exports[3810] = "ER_BINLOG_MASTER_KEY_ROTATION_FAIL_TO_CLEANUP_UNUSED_KEYS"; - exports[3811] = "ER_BINLOG_MASTER_KEY_ROTATION_FAIL_TO_CLEANUP_AUX_KEY"; - exports[3812] = "ER_NON_BOOLEAN_EXPR_FOR_CHECK_CONSTRAINT"; - exports[3813] = "ER_COLUMN_CHECK_CONSTRAINT_REFERENCES_OTHER_COLUMN"; - exports[3814] = "ER_CHECK_CONSTRAINT_NAMED_FUNCTION_IS_NOT_ALLOWED"; - exports[3815] = "ER_CHECK_CONSTRAINT_FUNCTION_IS_NOT_ALLOWED"; - exports[3816] = "ER_CHECK_CONSTRAINT_VARIABLES"; - exports[3817] = "ER_CHECK_CONSTRAINT_ROW_VALUE"; - exports[3818] = "ER_CHECK_CONSTRAINT_REFERS_AUTO_INCREMENT_COLUMN"; - exports[3819] = "ER_CHECK_CONSTRAINT_VIOLATED"; - exports[3820] = "ER_CHECK_CONSTRAINT_REFERS_UNKNOWN_COLUMN"; - exports[3821] = "ER_CHECK_CONSTRAINT_NOT_FOUND"; - exports[3822] = "ER_CHECK_CONSTRAINT_DUP_NAME"; - exports[3823] = "ER_CHECK_CONSTRAINT_CLAUSE_USING_FK_REFER_ACTION_COLUMN"; - exports[3824] = "WARN_UNENCRYPTED_TABLE_IN_ENCRYPTED_DB"; - exports[3825] = "ER_INVALID_ENCRYPTION_REQUEST"; - exports[3826] = "ER_CANNOT_SET_TABLE_ENCRYPTION"; - exports[3827] = "ER_CANNOT_SET_DATABASE_ENCRYPTION"; - exports[3828] = "ER_CANNOT_SET_TABLESPACE_ENCRYPTION"; - exports[3829] = "ER_TABLESPACE_CANNOT_BE_ENCRYPTED"; - exports[3830] = "ER_TABLESPACE_CANNOT_BE_DECRYPTED"; - exports[3831] = "ER_TABLESPACE_TYPE_UNKNOWN"; - exports[3832] = "ER_TARGET_TABLESPACE_UNENCRYPTED"; - exports[3833] = "ER_CANNOT_USE_ENCRYPTION_CLAUSE"; - exports[3834] = "ER_INVALID_MULTIPLE_CLAUSES"; - exports[3835] = "ER_UNSUPPORTED_USE_OF_GRANT_AS"; - exports[3836] = "ER_UKNOWN_AUTH_ID_OR_ACCESS_DENIED_FOR_GRANT_AS"; - exports[3837] = "ER_DEPENDENT_BY_FUNCTIONAL_INDEX"; - exports[3838] = "ER_PLUGIN_NOT_EARLY"; - exports[3839] = "ER_INNODB_REDO_LOG_ARCHIVE_START_SUBDIR_PATH"; - exports[3840] = "ER_INNODB_REDO_LOG_ARCHIVE_START_TIMEOUT"; - exports[3841] = "ER_INNODB_REDO_LOG_ARCHIVE_DIRS_INVALID"; - exports[3842] = "ER_INNODB_REDO_LOG_ARCHIVE_LABEL_NOT_FOUND"; - exports[3843] = "ER_INNODB_REDO_LOG_ARCHIVE_DIR_EMPTY"; - exports[3844] = "ER_INNODB_REDO_LOG_ARCHIVE_NO_SUCH_DIR"; - exports[3845] = "ER_INNODB_REDO_LOG_ARCHIVE_DIR_CLASH"; - exports[3846] = "ER_INNODB_REDO_LOG_ARCHIVE_DIR_PERMISSIONS"; - exports[3847] = "ER_INNODB_REDO_LOG_ARCHIVE_FILE_CREATE"; - exports[3848] = "ER_INNODB_REDO_LOG_ARCHIVE_ACTIVE"; - exports[3849] = "ER_INNODB_REDO_LOG_ARCHIVE_INACTIVE"; - exports[3850] = "ER_INNODB_REDO_LOG_ARCHIVE_FAILED"; - exports[3851] = "ER_INNODB_REDO_LOG_ARCHIVE_SESSION"; - exports[3852] = "ER_STD_REGEX_ERROR"; - exports[3853] = "ER_INVALID_JSON_TYPE"; - exports[3854] = "ER_CANNOT_CONVERT_STRING"; - exports[3855] = "ER_DEPENDENT_BY_PARTITION_FUNC"; - exports[3856] = "ER_WARN_DEPRECATED_FLOAT_AUTO_INCREMENT"; - exports[3857] = "ER_RPL_CANT_STOP_REPLICA_WHILE_LOCKED_BACKUP"; - exports[3858] = "ER_WARN_DEPRECATED_FLOAT_DIGITS"; - exports[3859] = "ER_WARN_DEPRECATED_FLOAT_UNSIGNED"; - exports[3860] = "ER_WARN_DEPRECATED_INTEGER_DISPLAY_WIDTH"; - exports[3861] = "ER_WARN_DEPRECATED_ZEROFILL"; - exports[3862] = "ER_CLONE_DONOR"; - exports[3863] = "ER_CLONE_PROTOCOL"; - exports[3864] = "ER_CLONE_DONOR_VERSION"; - exports[3865] = "ER_CLONE_OS"; - exports[3866] = "ER_CLONE_PLATFORM"; - exports[3867] = "ER_CLONE_CHARSET"; - exports[3868] = "ER_CLONE_CONFIG"; - exports[3869] = "ER_CLONE_SYS_CONFIG"; - exports[3870] = "ER_CLONE_PLUGIN_MATCH"; - exports[3871] = "ER_CLONE_LOOPBACK"; - exports[3872] = "ER_CLONE_ENCRYPTION"; - exports[3873] = "ER_CLONE_DISK_SPACE"; - exports[3874] = "ER_CLONE_IN_PROGRESS"; - exports[3875] = "ER_CLONE_DISALLOWED"; - exports[3876] = "ER_CANNOT_GRANT_ROLES_TO_ANONYMOUS_USER"; - exports[3877] = "ER_SECONDARY_ENGINE_PLUGIN"; - exports[3878] = "ER_SECOND_PASSWORD_CANNOT_BE_EMPTY"; - exports[3879] = "ER_DB_ACCESS_DENIED"; - exports[3880] = "ER_DA_AUTH_ID_WITH_SYSTEM_USER_PRIV_IN_MANDATORY_ROLES"; - exports[3881] = "ER_DA_RPL_GTID_TABLE_CANNOT_OPEN"; - exports[3882] = "ER_GEOMETRY_IN_UNKNOWN_LENGTH_UNIT"; - exports[3883] = "ER_DA_PLUGIN_INSTALL_ERROR"; - exports[3884] = "ER_NO_SESSION_TEMP"; - exports[3885] = "ER_DA_UNKNOWN_ERROR_NUMBER"; - exports[3886] = "ER_COLUMN_CHANGE_SIZE"; - exports[3887] = "ER_REGEXP_INVALID_CAPTURE_GROUP_NAME"; - exports[3888] = "ER_DA_SSL_LIBRARY_ERROR"; - exports[3889] = "ER_SECONDARY_ENGINE"; - exports[3890] = "ER_SECONDARY_ENGINE_DDL"; - exports[3891] = "ER_INCORRECT_CURRENT_PASSWORD"; - exports[3892] = "ER_MISSING_CURRENT_PASSWORD"; - exports[3893] = "ER_CURRENT_PASSWORD_NOT_REQUIRED"; - exports[3894] = "ER_PASSWORD_CANNOT_BE_RETAINED_ON_PLUGIN_CHANGE"; - exports[3895] = "ER_CURRENT_PASSWORD_CANNOT_BE_RETAINED"; - exports[3896] = "ER_PARTIAL_REVOKES_EXIST"; - exports[3897] = "ER_CANNOT_GRANT_SYSTEM_PRIV_TO_MANDATORY_ROLE"; - exports[3898] = "ER_XA_REPLICATION_FILTERS"; - exports[3899] = "ER_UNSUPPORTED_SQL_MODE"; - exports[3900] = "ER_REGEXP_INVALID_FLAG"; - exports[3901] = "ER_PARTIAL_REVOKE_AND_DB_GRANT_BOTH_EXISTS"; - exports[3902] = "ER_UNIT_NOT_FOUND"; - exports[3903] = "ER_INVALID_JSON_VALUE_FOR_FUNC_INDEX"; - exports[3904] = "ER_JSON_VALUE_OUT_OF_RANGE_FOR_FUNC_INDEX"; - exports[3905] = "ER_EXCEEDED_MV_KEYS_NUM"; - exports[3906] = "ER_EXCEEDED_MV_KEYS_SPACE"; - exports[3907] = "ER_FUNCTIONAL_INDEX_DATA_IS_TOO_LONG"; - exports[3908] = "ER_WRONG_MVI_VALUE"; - exports[3909] = "ER_WARN_FUNC_INDEX_NOT_APPLICABLE"; - exports[3910] = "ER_GRP_RPL_UDF_ERROR"; - exports[3911] = "ER_UPDATE_GTID_PURGED_WITH_GR"; - exports[3912] = "ER_GROUPING_ON_TIMESTAMP_IN_DST"; - exports[3913] = "ER_TABLE_NAME_CAUSES_TOO_LONG_PATH"; - exports[3914] = "ER_AUDIT_LOG_INSUFFICIENT_PRIVILEGE"; - exports[3915] = "ER_AUDIT_LOG_PASSWORD_HAS_BEEN_COPIED"; - exports[3916] = "ER_DA_GRP_RPL_STARTED_AUTO_REJOIN"; - exports[3917] = "ER_SYSVAR_CHANGE_DURING_QUERY"; - exports[3918] = "ER_GLOBSTAT_CHANGE_DURING_QUERY"; - exports[3919] = "ER_GRP_RPL_MESSAGE_SERVICE_INIT_FAILURE"; - exports[3920] = "ER_CHANGE_SOURCE_WRONG_COMPRESSION_ALGORITHM_CLIENT"; - exports[3921] = "ER_CHANGE_SOURCE_WRONG_COMPRESSION_LEVEL_CLIENT"; - exports[3922] = "ER_WRONG_COMPRESSION_ALGORITHM_CLIENT"; - exports[3923] = "ER_WRONG_COMPRESSION_LEVEL_CLIENT"; - exports[3924] = "ER_CHANGE_SOURCE_WRONG_COMPRESSION_ALGORITHM_LIST_CLIENT"; - exports[3925] = "ER_CLIENT_PRIVILEGE_CHECKS_USER_CANNOT_BE_ANONYMOUS"; - exports[3926] = "ER_CLIENT_PRIVILEGE_CHECKS_USER_DOES_NOT_EXIST"; - exports[3927] = "ER_CLIENT_PRIVILEGE_CHECKS_USER_CORRUPT"; - exports[3928] = "ER_CLIENT_PRIVILEGE_CHECKS_USER_NEEDS_RPL_APPLIER_PRIV"; - exports[3929] = "ER_WARN_DA_PRIVILEGE_NOT_REGISTERED"; - exports[3930] = "ER_CLIENT_KEYRING_UDF_KEY_INVALID"; - exports[3931] = "ER_CLIENT_KEYRING_UDF_KEY_TYPE_INVALID"; - exports[3932] = "ER_CLIENT_KEYRING_UDF_KEY_TOO_LONG"; - exports[3933] = "ER_CLIENT_KEYRING_UDF_KEY_TYPE_TOO_LONG"; - exports[3934] = "ER_JSON_SCHEMA_VALIDATION_ERROR_WITH_DETAILED_REPORT"; - exports[3935] = "ER_DA_UDF_INVALID_CHARSET_SPECIFIED"; - exports[3936] = "ER_DA_UDF_INVALID_CHARSET"; - exports[3937] = "ER_DA_UDF_INVALID_COLLATION"; - exports[3938] = "ER_DA_UDF_INVALID_EXTENSION_ARGUMENT_TYPE"; - exports[3939] = "ER_MULTIPLE_CONSTRAINTS_WITH_SAME_NAME"; - exports[3940] = "ER_CONSTRAINT_NOT_FOUND"; - exports[3941] = "ER_ALTER_CONSTRAINT_ENFORCEMENT_NOT_SUPPORTED"; - exports[3942] = "ER_TABLE_VALUE_CONSTRUCTOR_MUST_HAVE_COLUMNS"; - exports[3943] = "ER_TABLE_VALUE_CONSTRUCTOR_CANNOT_HAVE_DEFAULT"; - exports[3944] = "ER_CLIENT_QUERY_FAILURE_INVALID_NON_ROW_FORMAT"; - exports[3945] = "ER_REQUIRE_ROW_FORMAT_INVALID_VALUE"; - exports[3946] = "ER_FAILED_TO_DETERMINE_IF_ROLE_IS_MANDATORY"; - exports[3947] = "ER_FAILED_TO_FETCH_MANDATORY_ROLE_LIST"; - exports[3948] = "ER_CLIENT_LOCAL_FILES_DISABLED"; - exports[3949] = "ER_IMP_INCOMPATIBLE_CFG_VERSION"; - exports[3950] = "ER_DA_OOM"; - exports[3951] = "ER_DA_UDF_INVALID_ARGUMENT_TO_SET_CHARSET"; - exports[3952] = "ER_DA_UDF_INVALID_RETURN_TYPE_TO_SET_CHARSET"; - exports[3953] = "ER_MULTIPLE_INTO_CLAUSES"; - exports[3954] = "ER_MISPLACED_INTO"; - exports[3955] = "ER_USER_ACCESS_DENIED_FOR_USER_ACCOUNT_BLOCKED_BY_PASSWORD_LOCK"; - exports[3956] = "ER_WARN_DEPRECATED_YEAR_UNSIGNED"; - exports[3957] = "ER_CLONE_NETWORK_PACKET"; - exports[3958] = "ER_SDI_OPERATION_FAILED_MISSING_RECORD"; - exports[3959] = "ER_DEPENDENT_BY_CHECK_CONSTRAINT"; - exports[3960] = "ER_GRP_OPERATION_NOT_ALLOWED_GR_MUST_STOP"; - exports[3961] = "ER_WARN_DEPRECATED_JSON_TABLE_ON_ERROR_ON_EMPTY"; - exports[3962] = "ER_WARN_DEPRECATED_INNER_INTO"; - exports[3963] = "ER_WARN_DEPRECATED_VALUES_FUNCTION_ALWAYS_NULL"; - exports[3964] = "ER_WARN_DEPRECATED_SQL_CALC_FOUND_ROWS"; - exports[3965] = "ER_WARN_DEPRECATED_FOUND_ROWS"; - exports[3966] = "ER_MISSING_JSON_VALUE"; - exports[3967] = "ER_MULTIPLE_JSON_VALUES"; - exports[3968] = "ER_HOSTNAME_TOO_LONG"; - exports[3969] = "ER_WARN_CLIENT_DEPRECATED_PARTITION_PREFIX_KEY"; - exports[3970] = "ER_GROUP_REPLICATION_USER_EMPTY_MSG"; - exports[3971] = "ER_GROUP_REPLICATION_USER_MANDATORY_MSG"; - exports[3972] = "ER_GROUP_REPLICATION_PASSWORD_LENGTH"; - exports[3973] = "ER_SUBQUERY_TRANSFORM_REJECTED"; - exports[3974] = "ER_DA_GRP_RPL_RECOVERY_ENDPOINT_FORMAT"; - exports[3975] = "ER_DA_GRP_RPL_RECOVERY_ENDPOINT_INVALID"; - exports[3976] = "ER_WRONG_VALUE_FOR_VAR_PLUS_ACTIONABLE_PART"; - exports[3977] = "ER_STATEMENT_NOT_ALLOWED_AFTER_START_TRANSACTION"; - exports[3978] = "ER_FOREIGN_KEY_WITH_ATOMIC_CREATE_SELECT"; - exports[3979] = "ER_NOT_ALLOWED_WITH_START_TRANSACTION"; - exports[3980] = "ER_INVALID_JSON_ATTRIBUTE"; - exports[3981] = "ER_ENGINE_ATTRIBUTE_NOT_SUPPORTED"; - exports[3982] = "ER_INVALID_USER_ATTRIBUTE_JSON"; - exports[3983] = "ER_INNODB_REDO_DISABLED"; - exports[3984] = "ER_INNODB_REDO_ARCHIVING_ENABLED"; - exports[3985] = "ER_MDL_OUT_OF_RESOURCES"; - exports[3986] = "ER_IMPLICIT_COMPARISON_FOR_JSON"; - exports[3987] = "ER_FUNCTION_DOES_NOT_SUPPORT_CHARACTER_SET"; - exports[3988] = "ER_IMPOSSIBLE_STRING_CONVERSION"; - exports[3989] = "ER_SCHEMA_READ_ONLY"; - exports[3990] = "ER_RPL_ASYNC_RECONNECT_GTID_MODE_OFF"; - exports[3991] = "ER_RPL_ASYNC_RECONNECT_AUTO_POSITION_OFF"; - exports[3992] = "ER_DISABLE_GTID_MODE_REQUIRES_ASYNC_RECONNECT_OFF"; - exports[3993] = "ER_DISABLE_AUTO_POSITION_REQUIRES_ASYNC_RECONNECT_OFF"; - exports[3994] = "ER_INVALID_PARAMETER_USE"; - exports[3995] = "ER_CHARACTER_SET_MISMATCH"; - exports[3996] = "ER_WARN_VAR_VALUE_CHANGE_NOT_SUPPORTED"; - exports[3997] = "ER_INVALID_TIME_ZONE_INTERVAL"; - exports[3998] = "ER_INVALID_CAST"; - exports[3999] = "ER_HYPERGRAPH_NOT_SUPPORTED_YET"; - exports[4e3] = "ER_WARN_HYPERGRAPH_EXPERIMENTAL"; - exports[4001] = "ER_DA_NO_ERROR_LOG_PARSER_CONFIGURED"; - exports[4002] = "ER_DA_ERROR_LOG_TABLE_DISABLED"; - exports[4003] = "ER_DA_ERROR_LOG_MULTIPLE_FILTERS"; - exports[4004] = "ER_DA_CANT_OPEN_ERROR_LOG"; - exports[4005] = "ER_USER_REFERENCED_AS_DEFINER"; - exports[4006] = "ER_CANNOT_USER_REFERENCED_AS_DEFINER"; - exports[4007] = "ER_REGEX_NUMBER_TOO_BIG"; - exports[4008] = "ER_SPVAR_NONINTEGER_TYPE"; - exports[4009] = "WARN_UNSUPPORTED_ACL_TABLES_READ"; - exports[4010] = "ER_BINLOG_UNSAFE_ACL_TABLE_READ_IN_DML_DDL"; - exports[4011] = "ER_STOP_REPLICA_MONITOR_IO_THREAD_TIMEOUT"; - exports[4012] = "ER_STARTING_REPLICA_MONITOR_IO_THREAD"; - exports[4013] = "ER_CANT_USE_ANONYMOUS_TO_GTID_WITH_GTID_MODE_NOT_ON"; - exports[4014] = "ER_CANT_COMBINE_ANONYMOUS_TO_GTID_AND_AUTOPOSITION"; - exports[4015] = "ER_ASSIGN_GTIDS_TO_ANONYMOUS_TRANSACTIONS_REQUIRES_GTID_MODE_ON"; - exports[4016] = "ER_SQL_REPLICA_SKIP_COUNTER_USED_WITH_GTID_MODE_ON"; - exports[4017] = "ER_USING_ASSIGN_GTIDS_TO_ANONYMOUS_TRANSACTIONS_AS_LOCAL_OR_UUID"; - exports[4018] = "ER_CANT_SET_ANONYMOUS_TO_GTID_AND_WAIT_UNTIL_SQL_THD_AFTER_GTIDS"; - exports[4019] = "ER_CANT_SET_SQL_AFTER_OR_BEFORE_GTIDS_WITH_ANONYMOUS_TO_GTID"; - exports[4020] = "ER_ANONYMOUS_TO_GTID_UUID_SAME_AS_GROUP_NAME"; - exports[4021] = "ER_CANT_USE_SAME_UUID_AS_GROUP_NAME"; - exports[4022] = "ER_GRP_RPL_RECOVERY_CHANNEL_STILL_RUNNING"; - exports[4023] = "ER_INNODB_INVALID_AUTOEXTEND_SIZE_VALUE"; - exports[4024] = "ER_INNODB_INCOMPATIBLE_WITH_TABLESPACE"; - exports[4025] = "ER_INNODB_AUTOEXTEND_SIZE_OUT_OF_RANGE"; - exports[4026] = "ER_CANNOT_USE_AUTOEXTEND_SIZE_CLAUSE"; - exports[4027] = "ER_ROLE_GRANTED_TO_ITSELF"; - exports[4028] = "ER_TABLE_MUST_HAVE_A_VISIBLE_COLUMN"; - exports[4029] = "ER_INNODB_COMPRESSION_FAILURE"; - exports[4030] = "ER_WARN_ASYNC_CONN_FAILOVER_NETWORK_NAMESPACE"; - exports[4031] = "ER_CLIENT_INTERACTION_TIMEOUT"; - exports[4032] = "ER_INVALID_CAST_TO_GEOMETRY"; - exports[4033] = "ER_INVALID_CAST_POLYGON_RING_DIRECTION"; - exports[4034] = "ER_GIS_DIFFERENT_SRIDS_AGGREGATION"; - exports[4035] = "ER_RELOAD_KEYRING_FAILURE"; - exports[4036] = "ER_SDI_GET_KEYS_INVALID_TABLESPACE"; - exports[4037] = "ER_CHANGE_RPL_SRC_WRONG_COMPRESSION_ALGORITHM_SIZE"; - exports[4038] = "ER_WARN_DEPRECATED_TLS_VERSION_FOR_CHANNEL_CLI"; - exports[4039] = "ER_CANT_USE_SAME_UUID_AS_VIEW_CHANGE_UUID"; - exports[4040] = "ER_ANONYMOUS_TO_GTID_UUID_SAME_AS_VIEW_CHANGE_UUID"; - exports[4041] = "ER_GRP_RPL_VIEW_CHANGE_UUID_FAIL_GET_VARIABLE"; - exports[4042] = "ER_WARN_ADUIT_LOG_MAX_SIZE_AND_PRUNE_SECONDS"; - exports[4043] = "ER_WARN_ADUIT_LOG_MAX_SIZE_CLOSE_TO_ROTATE_ON_SIZE"; - exports[4044] = "ER_KERBEROS_CREATE_USER"; - exports[4045] = "ER_INSTALL_PLUGIN_CONFLICT_CLIENT"; - exports[4046] = "ER_DA_ERROR_LOG_COMPONENT_FLUSH_FAILED"; - exports[4047] = "ER_WARN_SQL_AFTER_MTS_GAPS_GAP_NOT_CALCULATED"; - exports[4048] = "ER_INVALID_ASSIGNMENT_TARGET"; - exports[4049] = "ER_OPERATION_NOT_ALLOWED_ON_GR_SECONDARY"; - exports[4050] = "ER_GRP_RPL_FAILOVER_CHANNEL_STATUS_PROPAGATION"; - exports[4051] = "ER_WARN_AUDIT_LOG_FORMAT_UNIX_TIMESTAMP_ONLY_WHEN_JSON"; - exports[4052] = "ER_INVALID_MFA_PLUGIN_SPECIFIED"; - exports[4053] = "ER_IDENTIFIED_BY_UNSUPPORTED"; - exports[4054] = "ER_INVALID_PLUGIN_FOR_REGISTRATION"; - exports[4055] = "ER_PLUGIN_REQUIRES_REGISTRATION"; - exports[4056] = "ER_MFA_METHOD_EXISTS"; - exports[4057] = "ER_MFA_METHOD_NOT_EXISTS"; - exports[4058] = "ER_AUTHENTICATION_POLICY_MISMATCH"; - exports[4059] = "ER_PLUGIN_REGISTRATION_DONE"; - exports[4060] = "ER_INVALID_USER_FOR_REGISTRATION"; - exports[4061] = "ER_USER_REGISTRATION_FAILED"; - exports[4062] = "ER_MFA_METHODS_INVALID_ORDER"; - exports[4063] = "ER_MFA_METHODS_IDENTICAL"; - exports[4064] = "ER_INVALID_MFA_OPERATIONS_FOR_PASSWORDLESS_USER"; - exports[4065] = "ER_CHANGE_REPLICATION_SOURCE_NO_OPTIONS_FOR_GTID_ONLY"; - exports[4066] = "ER_CHANGE_REP_SOURCE_CANT_DISABLE_REQ_ROW_FORMAT_WITH_GTID_ONLY"; - exports[4067] = "ER_CHANGE_REP_SOURCE_CANT_DISABLE_AUTO_POSITION_WITH_GTID_ONLY"; - exports[4068] = "ER_CHANGE_REP_SOURCE_CANT_DISABLE_GTID_ONLY_WITHOUT_POSITIONS"; - exports[4069] = "ER_CHANGE_REP_SOURCE_CANT_DISABLE_AUTO_POS_WITHOUT_POSITIONS"; - exports[4070] = "ER_CHANGE_REP_SOURCE_GR_CHANNEL_WITH_GTID_MODE_NOT_ON"; - exports[4071] = "ER_CANT_USE_GTID_ONLY_WITH_GTID_MODE_NOT_ON"; - exports[4072] = "ER_WARN_C_DISABLE_GTID_ONLY_WITH_SOURCE_AUTO_POS_INVALID_POS"; - exports[4073] = "ER_DA_SSL_FIPS_MODE_ERROR"; - exports[4074] = "ER_VALUE_OUT_OF_RANGE"; - exports[4075] = "ER_FULLTEXT_WITH_ROLLUP"; - exports[4076] = "ER_REGEXP_MISSING_RESOURCE"; - exports[4077] = "ER_WARN_REGEXP_USING_DEFAULT"; - exports[4078] = "ER_REGEXP_MISSING_FILE"; - exports[4079] = "ER_WARN_DEPRECATED_COLLATION"; - exports[4080] = "ER_CONCURRENT_PROCEDURE_USAGE"; - exports[4081] = "ER_DA_GLOBAL_CONN_LIMIT"; - exports[4082] = "ER_DA_CONN_LIMIT"; - exports[4083] = "ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_COLUMN_TYPE_INSTANT"; - exports[4084] = "ER_WARN_SF_UDF_NAME_COLLISION"; - exports[4085] = "ER_CANNOT_PURGE_BINLOG_WITH_BACKUP_LOCK"; - exports[4086] = "ER_TOO_MANY_WINDOWS"; - exports[4087] = "ER_MYSQLBACKUP_CLIENT_MSG"; - exports[4088] = "ER_COMMENT_CONTAINS_INVALID_STRING"; - exports[4089] = "ER_DEFINITION_CONTAINS_INVALID_STRING"; - exports[4090] = "ER_CANT_EXECUTE_COMMAND_WITH_ASSIGNED_GTID_NEXT"; - exports[4091] = "ER_XA_TEMP_TABLE"; - exports[4092] = "ER_INNODB_MAX_ROW_VERSION"; - exports[4093] = "ER_INNODB_INSTANT_ADD_NOT_SUPPORTED_MAX_SIZE"; - exports[4094] = "ER_OPERATION_NOT_ALLOWED_WHILE_PRIMARY_CHANGE_IS_RUNNING"; - exports[4095] = "ER_WARN_DEPRECATED_DATETIME_DELIMITER"; - exports[4096] = "ER_WARN_DEPRECATED_SUPERFLUOUS_DELIMITER"; - exports[4097] = "ER_CANNOT_PERSIST_SENSITIVE_VARIABLES"; - exports[4098] = "ER_WARN_CANNOT_SECURELY_PERSIST_SENSITIVE_VARIABLES"; - exports[4099] = "ER_WARN_TRG_ALREADY_EXISTS"; - exports[4100] = "ER_IF_NOT_EXISTS_UNSUPPORTED_TRG_EXISTS_ON_DIFFERENT_TABLE"; - exports[4101] = "ER_IF_NOT_EXISTS_UNSUPPORTED_UDF_NATIVE_FCT_NAME_COLLISION"; - exports[4102] = "ER_SET_PASSWORD_AUTH_PLUGIN_ERROR"; - exports[4103] = "ER_REDUCED_DBLWR_FILE_CORRUPTED"; - exports[4104] = "ER_REDUCED_DBLWR_PAGE_FOUND"; - exports[4105] = "ER_SRS_INVALID_LATITUDE_OF_ORIGIN"; - exports[4106] = "ER_SRS_INVALID_LONGITUDE_OF_ORIGIN"; - exports[4107] = "ER_SRS_UNUSED_PROJ_PARAMETER_PRESENT"; - exports[4108] = "ER_GIPK_COLUMN_EXISTS"; - exports[4109] = "ER_GIPK_FAILED_AUTOINC_COLUMN_EXISTS"; - exports[4110] = "ER_GIPK_COLUMN_ALTER_NOT_ALLOWED"; - exports[4111] = "ER_DROP_PK_COLUMN_TO_DROP_GIPK"; - exports[4112] = "ER_CREATE_SELECT_WITH_GIPK_DISALLOWED_IN_SBR"; - exports[4113] = "ER_DA_EXPIRE_LOGS_DAYS_IGNORED"; - exports[4114] = "ER_CTE_RECURSIVE_NOT_UNION"; - exports[4115] = "ER_COMMAND_BACKEND_FAILED_TO_FETCH_SECURITY_CTX"; - exports[4116] = "ER_COMMAND_SERVICE_BACKEND_FAILED"; - exports[4117] = "ER_CLIENT_FILE_PRIVILEGE_FOR_REPLICATION_CHECKS"; - exports[4118] = "ER_GROUP_REPLICATION_FORCE_MEMBERS_COMMAND_FAILURE"; - exports[4119] = "ER_WARN_DEPRECATED_IDENT"; - exports[4120] = "ER_INTERSECT_ALL_MAX_DUPLICATES_EXCEEDED"; - exports[4121] = "ER_TP_QUERY_THRS_PER_GRP_EXCEEDS_TXN_THR_LIMIT"; - exports[4122] = "ER_BAD_TIMESTAMP_FORMAT"; - exports[4123] = "ER_SHAPE_PRIDICTION_UDF"; - exports[4124] = "ER_SRS_INVALID_HEIGHT"; - exports[4125] = "ER_SRS_INVALID_SCALING"; - exports[4126] = "ER_SRS_INVALID_ZONE_WIDTH"; - exports[4127] = "ER_SRS_INVALID_LATITUDE_POLAR_STERE_VAR_A"; - exports[4128] = "ER_WARN_DEPRECATED_CLIENT_NO_SCHEMA_OPTION"; - exports[4129] = "ER_TABLE_NOT_EMPTY"; - exports[4130] = "ER_TABLE_NO_PRIMARY_KEY"; - exports[4131] = "ER_TABLE_IN_SHARED_TABLESPACE"; - exports[4132] = "ER_INDEX_OTHER_THAN_PK"; - exports[4133] = "ER_LOAD_BULK_DATA_UNSORTED"; - exports[4134] = "ER_BULK_EXECUTOR_ERROR"; - exports[4135] = "ER_BULK_READER_LIBCURL_INIT_FAILED"; - exports[4136] = "ER_BULK_READER_LIBCURL_ERROR"; - exports[4137] = "ER_BULK_READER_SERVER_ERROR"; - exports[4138] = "ER_BULK_READER_COMMUNICATION_ERROR"; - exports[4139] = "ER_BULK_LOAD_DATA_FAILED"; - exports[4140] = "ER_BULK_LOADER_COLUMN_TOO_BIG_FOR_LEFTOVER_BUFFER"; - exports[4141] = "ER_BULK_LOADER_COMPONENT_ERROR"; - exports[4142] = "ER_BULK_LOADER_FILE_CONTAINS_LESS_LINES_THAN_IGNORE_CLAUSE"; - exports[4143] = "ER_BULK_PARSER_MISSING_ENCLOSED_BY"; - exports[4144] = "ER_BULK_PARSER_ROW_BUFFER_MAX_TOTAL_COLS_EXCEEDED"; - exports[4145] = "ER_BULK_PARSER_COPY_BUFFER_SIZE_EXCEEDED"; - exports[4146] = "ER_BULK_PARSER_UNEXPECTED_END_OF_INPUT"; - exports[4147] = "ER_BULK_PARSER_UNEXPECTED_ROW_TERMINATOR"; - exports[4148] = "ER_BULK_PARSER_UNEXPECTED_CHAR_AFTER_ENDING_ENCLOSED_BY"; - exports[4149] = "ER_BULK_PARSER_UNEXPECTED_CHAR_AFTER_NULL_ESCAPE"; - exports[4150] = "ER_BULK_PARSER_UNEXPECTED_CHAR_AFTER_COLUMN_TERMINATOR"; - exports[4151] = "ER_BULK_PARSER_INCOMPLETE_ESCAPE_SEQUENCE"; - exports[4152] = "ER_LOAD_BULK_DATA_FAILED"; - exports[4153] = "ER_LOAD_BULK_DATA_WRONG_VALUE_FOR_FIELD"; - exports[4154] = "ER_LOAD_BULK_DATA_WARN_NULL_TO_NOTNULL"; - exports[4155] = "ER_REQUIRE_TABLE_PRIMARY_KEY_CHECK_GENERATE_WITH_GR"; - exports[4156] = "ER_CANT_CHANGE_SYS_VAR_IN_READ_ONLY_MODE"; - exports[4157] = "ER_INNODB_INSTANT_ADD_DROP_NOT_SUPPORTED_MAX_SIZE"; - exports[4158] = "ER_INNODB_INSTANT_ADD_NOT_SUPPORTED_MAX_FIELDS"; - exports[4159] = "ER_CANT_SET_PERSISTED"; - exports[4160] = "ER_INSTALL_COMPONENT_SET_NULL_VALUE"; - exports[4161] = "ER_INSTALL_COMPONENT_SET_UNUSED_VALUE"; - exports[4162] = "ER_WARN_DEPRECATED_USER_DEFINED_COLLATIONS"; + exports2.EE_CANTCREATEFILE = 1; + exports2.EE_READ = 2; + exports2.EE_WRITE = 3; + exports2.EE_BADCLOSE = 4; + exports2.EE_OUTOFMEMORY = 5; + exports2.EE_DELETE = 6; + exports2.EE_LINK = 7; + exports2.EE_EOFERR = 9; + exports2.EE_CANTLOCK = 10; + exports2.EE_CANTUNLOCK = 11; + exports2.EE_DIR = 12; + exports2.EE_STAT = 13; + exports2.EE_CANT_CHSIZE = 14; + exports2.EE_CANT_OPEN_STREAM = 15; + exports2.EE_GETWD = 16; + exports2.EE_SETWD = 17; + exports2.EE_LINK_WARNING = 18; + exports2.EE_OPEN_WARNING = 19; + exports2.EE_DISK_FULL = 20; + exports2.EE_CANT_MKDIR = 21; + exports2.EE_UNKNOWN_CHARSET = 22; + exports2.EE_OUT_OF_FILERESOURCES = 23; + exports2.EE_CANT_READLINK = 24; + exports2.EE_CANT_SYMLINK = 25; + exports2.EE_REALPATH = 26; + exports2.EE_SYNC = 27; + exports2.EE_UNKNOWN_COLLATION = 28; + exports2.EE_FILENOTFOUND = 29; + exports2.EE_FILE_NOT_CLOSED = 30; + exports2.EE_CHANGE_OWNERSHIP = 31; + exports2.EE_CHANGE_PERMISSIONS = 32; + exports2.EE_CANT_SEEK = 33; + exports2.EE_CAPACITY_EXCEEDED = 34; + exports2.EE_DISK_FULL_WITH_RETRY_MSG = 35; + exports2.EE_FAILED_TO_CREATE_TIMER = 36; + exports2.EE_FAILED_TO_DELETE_TIMER = 37; + exports2.EE_FAILED_TO_CREATE_TIMER_QUEUE = 38; + exports2.EE_FAILED_TO_START_TIMER_NOTIFY_THREAD = 39; + exports2.EE_FAILED_TO_CREATE_TIMER_NOTIFY_THREAD_INTERRUPT_EVENT = 40; + exports2.EE_EXITING_TIMER_NOTIFY_THREAD = 41; + exports2.EE_WIN_LIBRARY_LOAD_FAILED = 42; + exports2.EE_WIN_RUN_TIME_ERROR_CHECK = 43; + exports2.EE_FAILED_TO_DETERMINE_LARGE_PAGE_SIZE = 44; + exports2.EE_FAILED_TO_KILL_ALL_THREADS = 45; + exports2.EE_FAILED_TO_CREATE_IO_COMPLETION_PORT = 46; + exports2.EE_FAILED_TO_OPEN_DEFAULTS_FILE = 47; + exports2.EE_FAILED_TO_HANDLE_DEFAULTS_FILE = 48; + exports2.EE_WRONG_DIRECTIVE_IN_CONFIG_FILE = 49; + exports2.EE_SKIPPING_DIRECTIVE_DUE_TO_MAX_INCLUDE_RECURSION = 50; + exports2.EE_INCORRECT_GRP_DEFINITION_IN_CONFIG_FILE = 51; + exports2.EE_OPTION_WITHOUT_GRP_IN_CONFIG_FILE = 52; + exports2.EE_CONFIG_FILE_PERMISSION_ERROR = 53; + exports2.EE_IGNORE_WORLD_WRITABLE_CONFIG_FILE = 54; + exports2.EE_USING_DISABLED_OPTION = 55; + exports2.EE_USING_DISABLED_SHORT_OPTION = 56; + exports2.EE_USING_PASSWORD_ON_CLI_IS_INSECURE = 57; + exports2.EE_UNKNOWN_SUFFIX_FOR_VARIABLE = 58; + exports2.EE_SSL_ERROR_FROM_FILE = 59; + exports2.EE_SSL_ERROR = 60; + exports2.EE_NET_SEND_ERROR_IN_BOOTSTRAP = 61; + exports2.EE_PACKETS_OUT_OF_ORDER = 62; + exports2.EE_UNKNOWN_PROTOCOL_OPTION = 63; + exports2.EE_FAILED_TO_LOCATE_SERVER_PUBLIC_KEY = 64; + exports2.EE_PUBLIC_KEY_NOT_IN_PEM_FORMAT = 65; + exports2.EE_DEBUG_INFO = 66; + exports2.EE_UNKNOWN_VARIABLE = 67; + exports2.EE_UNKNOWN_OPTION = 68; + exports2.EE_UNKNOWN_SHORT_OPTION = 69; + exports2.EE_OPTION_WITHOUT_ARGUMENT = 70; + exports2.EE_OPTION_REQUIRES_ARGUMENT = 71; + exports2.EE_SHORT_OPTION_REQUIRES_ARGUMENT = 72; + exports2.EE_OPTION_IGNORED_DUE_TO_INVALID_VALUE = 73; + exports2.EE_OPTION_WITH_EMPTY_VALUE = 74; + exports2.EE_FAILED_TO_ASSIGN_MAX_VALUE_TO_OPTION = 75; + exports2.EE_INCORRECT_BOOLEAN_VALUE_FOR_OPTION = 76; + exports2.EE_FAILED_TO_SET_OPTION_VALUE = 77; + exports2.EE_INCORRECT_INT_VALUE_FOR_OPTION = 78; + exports2.EE_INCORRECT_UINT_VALUE_FOR_OPTION = 79; + exports2.EE_ADJUSTED_SIGNED_VALUE_FOR_OPTION = 80; + exports2.EE_ADJUSTED_UNSIGNED_VALUE_FOR_OPTION = 81; + exports2.EE_ADJUSTED_ULONGLONG_VALUE_FOR_OPTION = 82; + exports2.EE_ADJUSTED_DOUBLE_VALUE_FOR_OPTION = 83; + exports2.EE_INVALID_DECIMAL_VALUE_FOR_OPTION = 84; + exports2.EE_COLLATION_PARSER_ERROR = 85; + exports2.EE_FAILED_TO_RESET_BEFORE_PRIMARY_IGNORABLE_CHAR = 86; + exports2.EE_FAILED_TO_RESET_BEFORE_TERTIARY_IGNORABLE_CHAR = 87; + exports2.EE_SHIFT_CHAR_OUT_OF_RANGE = 88; + exports2.EE_RESET_CHAR_OUT_OF_RANGE = 89; + exports2.EE_UNKNOWN_LDML_TAG = 90; + exports2.EE_FAILED_TO_RESET_BEFORE_SECONDARY_IGNORABLE_CHAR = 91; + exports2.EE_FAILED_PROCESSING_DIRECTIVE = 92; + exports2.EE_PTHREAD_KILL_FAILED = 93; + exports2.HA_ERR_KEY_NOT_FOUND = 120; + exports2.HA_ERR_FOUND_DUPP_KEY = 121; + exports2.HA_ERR_INTERNAL_ERROR = 122; + exports2.HA_ERR_RECORD_CHANGED = 123; + exports2.HA_ERR_WRONG_INDEX = 124; + exports2.HA_ERR_ROLLED_BACK = 125; + exports2.HA_ERR_CRASHED = 126; + exports2.HA_ERR_WRONG_IN_RECORD = 127; + exports2.HA_ERR_OUT_OF_MEM = 128; + exports2.HA_ERR_NOT_A_TABLE = 130; + exports2.HA_ERR_WRONG_COMMAND = 131; + exports2.HA_ERR_OLD_FILE = 132; + exports2.HA_ERR_NO_ACTIVE_RECORD = 133; + exports2.HA_ERR_RECORD_DELETED = 134; + exports2.HA_ERR_RECORD_FILE_FULL = 135; + exports2.HA_ERR_INDEX_FILE_FULL = 136; + exports2.HA_ERR_END_OF_FILE = 137; + exports2.HA_ERR_UNSUPPORTED = 138; + exports2.HA_ERR_TOO_BIG_ROW = 139; + exports2.HA_WRONG_CREATE_OPTION = 140; + exports2.HA_ERR_FOUND_DUPP_UNIQUE = 141; + exports2.HA_ERR_UNKNOWN_CHARSET = 142; + exports2.HA_ERR_WRONG_MRG_TABLE_DEF = 143; + exports2.HA_ERR_CRASHED_ON_REPAIR = 144; + exports2.HA_ERR_CRASHED_ON_USAGE = 145; + exports2.HA_ERR_LOCK_WAIT_TIMEOUT = 146; + exports2.HA_ERR_LOCK_TABLE_FULL = 147; + exports2.HA_ERR_READ_ONLY_TRANSACTION = 148; + exports2.HA_ERR_LOCK_DEADLOCK = 149; + exports2.HA_ERR_CANNOT_ADD_FOREIGN = 150; + exports2.HA_ERR_NO_REFERENCED_ROW = 151; + exports2.HA_ERR_ROW_IS_REFERENCED = 152; + exports2.HA_ERR_NO_SAVEPOINT = 153; + exports2.HA_ERR_NON_UNIQUE_BLOCK_SIZE = 154; + exports2.HA_ERR_NO_SUCH_TABLE = 155; + exports2.HA_ERR_TABLE_EXIST = 156; + exports2.HA_ERR_NO_CONNECTION = 157; + exports2.HA_ERR_NULL_IN_SPATIAL = 158; + exports2.HA_ERR_TABLE_DEF_CHANGED = 159; + exports2.HA_ERR_NO_PARTITION_FOUND = 160; + exports2.HA_ERR_RBR_LOGGING_FAILED = 161; + exports2.HA_ERR_DROP_INDEX_FK = 162; + exports2.HA_ERR_FOREIGN_DUPLICATE_KEY = 163; + exports2.HA_ERR_TABLE_NEEDS_UPGRADE = 164; + exports2.HA_ERR_TABLE_READONLY = 165; + exports2.HA_ERR_AUTOINC_READ_FAILED = 166; + exports2.HA_ERR_AUTOINC_ERANGE = 167; + exports2.HA_ERR_GENERIC = 168; + exports2.HA_ERR_RECORD_IS_THE_SAME = 169; + exports2.HA_ERR_LOGGING_IMPOSSIBLE = 170; + exports2.HA_ERR_CORRUPT_EVENT = 171; + exports2.HA_ERR_NEW_FILE = 172; + exports2.HA_ERR_ROWS_EVENT_APPLY = 173; + exports2.HA_ERR_INITIALIZATION = 174; + exports2.HA_ERR_FILE_TOO_SHORT = 175; + exports2.HA_ERR_WRONG_CRC = 176; + exports2.HA_ERR_TOO_MANY_CONCURRENT_TRXS = 177; + exports2.HA_ERR_NOT_IN_LOCK_PARTITIONS = 178; + exports2.HA_ERR_INDEX_COL_TOO_LONG = 179; + exports2.HA_ERR_INDEX_CORRUPT = 180; + exports2.HA_ERR_UNDO_REC_TOO_BIG = 181; + exports2.HA_FTS_INVALID_DOCID = 182; + exports2.HA_ERR_TABLE_IN_FK_CHECK = 183; + exports2.HA_ERR_TABLESPACE_EXISTS = 184; + exports2.HA_ERR_TOO_MANY_FIELDS = 185; + exports2.HA_ERR_ROW_IN_WRONG_PARTITION = 186; + exports2.HA_ERR_INNODB_READ_ONLY = 187; + exports2.HA_ERR_FTS_EXCEED_RESULT_CACHE_LIMIT = 188; + exports2.HA_ERR_TEMP_FILE_WRITE_FAILURE = 189; + exports2.HA_ERR_INNODB_FORCED_RECOVERY = 190; + exports2.HA_ERR_FTS_TOO_MANY_WORDS_IN_PHRASE = 191; + exports2.HA_ERR_FK_DEPTH_EXCEEDED = 192; + exports2.HA_MISSING_CREATE_OPTION = 193; + exports2.HA_ERR_SE_OUT_OF_MEMORY = 194; + exports2.HA_ERR_TABLE_CORRUPT = 195; + exports2.HA_ERR_QUERY_INTERRUPTED = 196; + exports2.HA_ERR_TABLESPACE_MISSING = 197; + exports2.HA_ERR_TABLESPACE_IS_NOT_EMPTY = 198; + exports2.HA_ERR_WRONG_FILE_NAME = 199; + exports2.HA_ERR_NOT_ALLOWED_COMMAND = 200; + exports2.HA_ERR_COMPUTE_FAILED = 201; + exports2.HA_ERR_ROW_FORMAT_CHANGED = 202; + exports2.HA_ERR_NO_WAIT_LOCK = 203; + exports2.HA_ERR_DISK_FULL_NOWAIT = 204; + exports2.HA_ERR_NO_SESSION_TEMP = 205; + exports2.HA_ERR_WRONG_TABLE_NAME = 206; + exports2.HA_ERR_TOO_LONG_PATH = 207; + exports2.HA_ERR_SAMPLING_INIT_FAILED = 208; + exports2.HA_ERR_FTS_TOO_MANY_NESTED_EXP = 209; + exports2.ER_HASHCHK = 1e3; + exports2.ER_NISAMCHK = 1001; + exports2.ER_NO = 1002; + exports2.ER_YES = 1003; + exports2.ER_CANT_CREATE_FILE = 1004; + exports2.ER_CANT_CREATE_TABLE = 1005; + exports2.ER_CANT_CREATE_DB = 1006; + exports2.ER_DB_CREATE_EXISTS = 1007; + exports2.ER_DB_DROP_EXISTS = 1008; + exports2.ER_DB_DROP_DELETE = 1009; + exports2.ER_DB_DROP_RMDIR = 1010; + exports2.ER_CANT_DELETE_FILE = 1011; + exports2.ER_CANT_FIND_SYSTEM_REC = 1012; + exports2.ER_CANT_GET_STAT = 1013; + exports2.ER_CANT_GET_WD = 1014; + exports2.ER_CANT_LOCK = 1015; + exports2.ER_CANT_OPEN_FILE = 1016; + exports2.ER_FILE_NOT_FOUND = 1017; + exports2.ER_CANT_READ_DIR = 1018; + exports2.ER_CANT_SET_WD = 1019; + exports2.ER_CHECKREAD = 1020; + exports2.ER_DISK_FULL = 1021; + exports2.ER_DUP_KEY = 1022; + exports2.ER_ERROR_ON_CLOSE = 1023; + exports2.ER_ERROR_ON_READ = 1024; + exports2.ER_ERROR_ON_RENAME = 1025; + exports2.ER_ERROR_ON_WRITE = 1026; + exports2.ER_FILE_USED = 1027; + exports2.ER_FILSORT_ABORT = 1028; + exports2.ER_FORM_NOT_FOUND = 1029; + exports2.ER_GET_ERRNO = 1030; + exports2.ER_ILLEGAL_HA = 1031; + exports2.ER_KEY_NOT_FOUND = 1032; + exports2.ER_NOT_FORM_FILE = 1033; + exports2.ER_NOT_KEYFILE = 1034; + exports2.ER_OLD_KEYFILE = 1035; + exports2.ER_OPEN_AS_READONLY = 1036; + exports2.ER_OUTOFMEMORY = 1037; + exports2.ER_OUT_OF_SORTMEMORY = 1038; + exports2.ER_UNEXPECTED_EOF = 1039; + exports2.ER_CON_COUNT_ERROR = 1040; + exports2.ER_OUT_OF_RESOURCES = 1041; + exports2.ER_BAD_HOST_ERROR = 1042; + exports2.ER_HANDSHAKE_ERROR = 1043; + exports2.ER_DBACCESS_DENIED_ERROR = 1044; + exports2.ER_ACCESS_DENIED_ERROR = 1045; + exports2.ER_NO_DB_ERROR = 1046; + exports2.ER_UNKNOWN_COM_ERROR = 1047; + exports2.ER_BAD_NULL_ERROR = 1048; + exports2.ER_BAD_DB_ERROR = 1049; + exports2.ER_TABLE_EXISTS_ERROR = 1050; + exports2.ER_BAD_TABLE_ERROR = 1051; + exports2.ER_NON_UNIQ_ERROR = 1052; + exports2.ER_SERVER_SHUTDOWN = 1053; + exports2.ER_BAD_FIELD_ERROR = 1054; + exports2.ER_WRONG_FIELD_WITH_GROUP = 1055; + exports2.ER_WRONG_GROUP_FIELD = 1056; + exports2.ER_WRONG_SUM_SELECT = 1057; + exports2.ER_WRONG_VALUE_COUNT = 1058; + exports2.ER_TOO_LONG_IDENT = 1059; + exports2.ER_DUP_FIELDNAME = 1060; + exports2.ER_DUP_KEYNAME = 1061; + exports2.ER_DUP_ENTRY = 1062; + exports2.ER_WRONG_FIELD_SPEC = 1063; + exports2.ER_PARSE_ERROR = 1064; + exports2.ER_EMPTY_QUERY = 1065; + exports2.ER_NONUNIQ_TABLE = 1066; + exports2.ER_INVALID_DEFAULT = 1067; + exports2.ER_MULTIPLE_PRI_KEY = 1068; + exports2.ER_TOO_MANY_KEYS = 1069; + exports2.ER_TOO_MANY_KEY_PARTS = 1070; + exports2.ER_TOO_LONG_KEY = 1071; + exports2.ER_KEY_COLUMN_DOES_NOT_EXITS = 1072; + exports2.ER_BLOB_USED_AS_KEY = 1073; + exports2.ER_TOO_BIG_FIELDLENGTH = 1074; + exports2.ER_WRONG_AUTO_KEY = 1075; + exports2.ER_READY = 1076; + exports2.ER_NORMAL_SHUTDOWN = 1077; + exports2.ER_GOT_SIGNAL = 1078; + exports2.ER_SHUTDOWN_COMPLETE = 1079; + exports2.ER_FORCING_CLOSE = 1080; + exports2.ER_IPSOCK_ERROR = 1081; + exports2.ER_NO_SUCH_INDEX = 1082; + exports2.ER_WRONG_FIELD_TERMINATORS = 1083; + exports2.ER_BLOBS_AND_NO_TERMINATED = 1084; + exports2.ER_TEXTFILE_NOT_READABLE = 1085; + exports2.ER_FILE_EXISTS_ERROR = 1086; + exports2.ER_LOAD_INFO = 1087; + exports2.ER_ALTER_INFO = 1088; + exports2.ER_WRONG_SUB_KEY = 1089; + exports2.ER_CANT_REMOVE_ALL_FIELDS = 1090; + exports2.ER_CANT_DROP_FIELD_OR_KEY = 1091; + exports2.ER_INSERT_INFO = 1092; + exports2.ER_UPDATE_TABLE_USED = 1093; + exports2.ER_NO_SUCH_THREAD = 1094; + exports2.ER_KILL_DENIED_ERROR = 1095; + exports2.ER_NO_TABLES_USED = 1096; + exports2.ER_TOO_BIG_SET = 1097; + exports2.ER_NO_UNIQUE_LOGFILE = 1098; + exports2.ER_TABLE_NOT_LOCKED_FOR_WRITE = 1099; + exports2.ER_TABLE_NOT_LOCKED = 1100; + exports2.ER_BLOB_CANT_HAVE_DEFAULT = 1101; + exports2.ER_WRONG_DB_NAME = 1102; + exports2.ER_WRONG_TABLE_NAME = 1103; + exports2.ER_TOO_BIG_SELECT = 1104; + exports2.ER_UNKNOWN_ERROR = 1105; + exports2.ER_UNKNOWN_PROCEDURE = 1106; + exports2.ER_WRONG_PARAMCOUNT_TO_PROCEDURE = 1107; + exports2.ER_WRONG_PARAMETERS_TO_PROCEDURE = 1108; + exports2.ER_UNKNOWN_TABLE = 1109; + exports2.ER_FIELD_SPECIFIED_TWICE = 1110; + exports2.ER_INVALID_GROUP_FUNC_USE = 1111; + exports2.ER_UNSUPPORTED_EXTENSION = 1112; + exports2.ER_TABLE_MUST_HAVE_COLUMNS = 1113; + exports2.ER_RECORD_FILE_FULL = 1114; + exports2.ER_UNKNOWN_CHARACTER_SET = 1115; + exports2.ER_TOO_MANY_TABLES = 1116; + exports2.ER_TOO_MANY_FIELDS = 1117; + exports2.ER_TOO_BIG_ROWSIZE = 1118; + exports2.ER_STACK_OVERRUN = 1119; + exports2.ER_WRONG_OUTER_JOIN = 1120; + exports2.ER_NULL_COLUMN_IN_INDEX = 1121; + exports2.ER_CANT_FIND_UDF = 1122; + exports2.ER_CANT_INITIALIZE_UDF = 1123; + exports2.ER_UDF_NO_PATHS = 1124; + exports2.ER_UDF_EXISTS = 1125; + exports2.ER_CANT_OPEN_LIBRARY = 1126; + exports2.ER_CANT_FIND_DL_ENTRY = 1127; + exports2.ER_FUNCTION_NOT_DEFINED = 1128; + exports2.ER_HOST_IS_BLOCKED = 1129; + exports2.ER_HOST_NOT_PRIVILEGED = 1130; + exports2.ER_PASSWORD_ANONYMOUS_USER = 1131; + exports2.ER_PASSWORD_NOT_ALLOWED = 1132; + exports2.ER_PASSWORD_NO_MATCH = 1133; + exports2.ER_UPDATE_INFO = 1134; + exports2.ER_CANT_CREATE_THREAD = 1135; + exports2.ER_WRONG_VALUE_COUNT_ON_ROW = 1136; + exports2.ER_CANT_REOPEN_TABLE = 1137; + exports2.ER_INVALID_USE_OF_NULL = 1138; + exports2.ER_REGEXP_ERROR = 1139; + exports2.ER_MIX_OF_GROUP_FUNC_AND_FIELDS = 1140; + exports2.ER_NONEXISTING_GRANT = 1141; + exports2.ER_TABLEACCESS_DENIED_ERROR = 1142; + exports2.ER_COLUMNACCESS_DENIED_ERROR = 1143; + exports2.ER_ILLEGAL_GRANT_FOR_TABLE = 1144; + exports2.ER_GRANT_WRONG_HOST_OR_USER = 1145; + exports2.ER_NO_SUCH_TABLE = 1146; + exports2.ER_NONEXISTING_TABLE_GRANT = 1147; + exports2.ER_NOT_ALLOWED_COMMAND = 1148; + exports2.ER_SYNTAX_ERROR = 1149; + exports2.ER_UNUSED1 = 1150; + exports2.ER_UNUSED2 = 1151; + exports2.ER_ABORTING_CONNECTION = 1152; + exports2.ER_NET_PACKET_TOO_LARGE = 1153; + exports2.ER_NET_READ_ERROR_FROM_PIPE = 1154; + exports2.ER_NET_FCNTL_ERROR = 1155; + exports2.ER_NET_PACKETS_OUT_OF_ORDER = 1156; + exports2.ER_NET_UNCOMPRESS_ERROR = 1157; + exports2.ER_NET_READ_ERROR = 1158; + exports2.ER_NET_READ_INTERRUPTED = 1159; + exports2.ER_NET_ERROR_ON_WRITE = 1160; + exports2.ER_NET_WRITE_INTERRUPTED = 1161; + exports2.ER_TOO_LONG_STRING = 1162; + exports2.ER_TABLE_CANT_HANDLE_BLOB = 1163; + exports2.ER_TABLE_CANT_HANDLE_AUTO_INCREMENT = 1164; + exports2.ER_UNUSED3 = 1165; + exports2.ER_WRONG_COLUMN_NAME = 1166; + exports2.ER_WRONG_KEY_COLUMN = 1167; + exports2.ER_WRONG_MRG_TABLE = 1168; + exports2.ER_DUP_UNIQUE = 1169; + exports2.ER_BLOB_KEY_WITHOUT_LENGTH = 1170; + exports2.ER_PRIMARY_CANT_HAVE_NULL = 1171; + exports2.ER_TOO_MANY_ROWS = 1172; + exports2.ER_REQUIRES_PRIMARY_KEY = 1173; + exports2.ER_NO_RAID_COMPILED = 1174; + exports2.ER_UPDATE_WITHOUT_KEY_IN_SAFE_MODE = 1175; + exports2.ER_KEY_DOES_NOT_EXITS = 1176; + exports2.ER_CHECK_NO_SUCH_TABLE = 1177; + exports2.ER_CHECK_NOT_IMPLEMENTED = 1178; + exports2.ER_CANT_DO_THIS_DURING_AN_TRANSACTION = 1179; + exports2.ER_ERROR_DURING_COMMIT = 1180; + exports2.ER_ERROR_DURING_ROLLBACK = 1181; + exports2.ER_ERROR_DURING_FLUSH_LOGS = 1182; + exports2.ER_ERROR_DURING_CHECKPOINT = 1183; + exports2.ER_NEW_ABORTING_CONNECTION = 1184; + exports2.ER_DUMP_NOT_IMPLEMENTED = 1185; + exports2.ER_FLUSH_MASTER_BINLOG_CLOSED = 1186; + exports2.ER_INDEX_REBUILD = 1187; + exports2.ER_SOURCE = 1188; + exports2.ER_SOURCE_NET_READ = 1189; + exports2.ER_SOURCE_NET_WRITE = 1190; + exports2.ER_FT_MATCHING_KEY_NOT_FOUND = 1191; + exports2.ER_LOCK_OR_ACTIVE_TRANSACTION = 1192; + exports2.ER_UNKNOWN_SYSTEM_VARIABLE = 1193; + exports2.ER_CRASHED_ON_USAGE = 1194; + exports2.ER_CRASHED_ON_REPAIR = 1195; + exports2.ER_WARNING_NOT_COMPLETE_ROLLBACK = 1196; + exports2.ER_TRANS_CACHE_FULL = 1197; + exports2.ER_SLAVE_MUST_STOP = 1198; + exports2.ER_REPLICA_NOT_RUNNING = 1199; + exports2.ER_BAD_REPLICA = 1200; + exports2.ER_CONNECTION_METADATA = 1201; + exports2.ER_REPLICA_THREAD = 1202; + exports2.ER_TOO_MANY_USER_CONNECTIONS = 1203; + exports2.ER_SET_CONSTANTS_ONLY = 1204; + exports2.ER_LOCK_WAIT_TIMEOUT = 1205; + exports2.ER_LOCK_TABLE_FULL = 1206; + exports2.ER_READ_ONLY_TRANSACTION = 1207; + exports2.ER_DROP_DB_WITH_READ_LOCK = 1208; + exports2.ER_CREATE_DB_WITH_READ_LOCK = 1209; + exports2.ER_WRONG_ARGUMENTS = 1210; + exports2.ER_NO_PERMISSION_TO_CREATE_USER = 1211; + exports2.ER_UNION_TABLES_IN_DIFFERENT_DIR = 1212; + exports2.ER_LOCK_DEADLOCK = 1213; + exports2.ER_TABLE_CANT_HANDLE_FT = 1214; + exports2.ER_CANNOT_ADD_FOREIGN = 1215; + exports2.ER_NO_REFERENCED_ROW = 1216; + exports2.ER_ROW_IS_REFERENCED = 1217; + exports2.ER_CONNECT_TO_SOURCE = 1218; + exports2.ER_QUERY_ON_MASTER = 1219; + exports2.ER_ERROR_WHEN_EXECUTING_COMMAND = 1220; + exports2.ER_WRONG_USAGE = 1221; + exports2.ER_WRONG_NUMBER_OF_COLUMNS_IN_SELECT = 1222; + exports2.ER_CANT_UPDATE_WITH_READLOCK = 1223; + exports2.ER_MIXING_NOT_ALLOWED = 1224; + exports2.ER_DUP_ARGUMENT = 1225; + exports2.ER_USER_LIMIT_REACHED = 1226; + exports2.ER_SPECIFIC_ACCESS_DENIED_ERROR = 1227; + exports2.ER_LOCAL_VARIABLE = 1228; + exports2.ER_GLOBAL_VARIABLE = 1229; + exports2.ER_NO_DEFAULT = 1230; + exports2.ER_WRONG_VALUE_FOR_VAR = 1231; + exports2.ER_WRONG_TYPE_FOR_VAR = 1232; + exports2.ER_VAR_CANT_BE_READ = 1233; + exports2.ER_CANT_USE_OPTION_HERE = 1234; + exports2.ER_NOT_SUPPORTED_YET = 1235; + exports2.ER_SOURCE_FATAL_ERROR_READING_BINLOG = 1236; + exports2.ER_REPLICA_IGNORED_TABLE = 1237; + exports2.ER_INCORRECT_GLOBAL_LOCAL_VAR = 1238; + exports2.ER_WRONG_FK_DEF = 1239; + exports2.ER_KEY_REF_DO_NOT_MATCH_TABLE_REF = 1240; + exports2.ER_OPERAND_COLUMNS = 1241; + exports2.ER_SUBQUERY_NO_1_ROW = 1242; + exports2.ER_UNKNOWN_STMT_HANDLER = 1243; + exports2.ER_CORRUPT_HELP_DB = 1244; + exports2.ER_CYCLIC_REFERENCE = 1245; + exports2.ER_AUTO_CONVERT = 1246; + exports2.ER_ILLEGAL_REFERENCE = 1247; + exports2.ER_DERIVED_MUST_HAVE_ALIAS = 1248; + exports2.ER_SELECT_REDUCED = 1249; + exports2.ER_TABLENAME_NOT_ALLOWED_HERE = 1250; + exports2.ER_NOT_SUPPORTED_AUTH_MODE = 1251; + exports2.ER_SPATIAL_CANT_HAVE_NULL = 1252; + exports2.ER_COLLATION_CHARSET_MISMATCH = 1253; + exports2.ER_SLAVE_WAS_RUNNING = 1254; + exports2.ER_SLAVE_WAS_NOT_RUNNING = 1255; + exports2.ER_TOO_BIG_FOR_UNCOMPRESS = 1256; + exports2.ER_ZLIB_Z_MEM_ERROR = 1257; + exports2.ER_ZLIB_Z_BUF_ERROR = 1258; + exports2.ER_ZLIB_Z_DATA_ERROR = 1259; + exports2.ER_CUT_VALUE_GROUP_CONCAT = 1260; + exports2.ER_WARN_TOO_FEW_RECORDS = 1261; + exports2.ER_WARN_TOO_MANY_RECORDS = 1262; + exports2.ER_WARN_NULL_TO_NOTNULL = 1263; + exports2.ER_WARN_DATA_OUT_OF_RANGE = 1264; + exports2.WARN_DATA_TRUNCATED = 1265; + exports2.ER_WARN_USING_OTHER_HANDLER = 1266; + exports2.ER_CANT_AGGREGATE_2COLLATIONS = 1267; + exports2.ER_DROP_USER = 1268; + exports2.ER_REVOKE_GRANTS = 1269; + exports2.ER_CANT_AGGREGATE_3COLLATIONS = 1270; + exports2.ER_CANT_AGGREGATE_NCOLLATIONS = 1271; + exports2.ER_VARIABLE_IS_NOT_STRUCT = 1272; + exports2.ER_UNKNOWN_COLLATION = 1273; + exports2.ER_REPLICA_IGNORED_SSL_PARAMS = 1274; + exports2.ER_SERVER_IS_IN_SECURE_AUTH_MODE = 1275; + exports2.ER_WARN_FIELD_RESOLVED = 1276; + exports2.ER_BAD_REPLICA_UNTIL_COND = 1277; + exports2.ER_MISSING_SKIP_REPLICA = 1278; + exports2.ER_UNTIL_COND_IGNORED = 1279; + exports2.ER_WRONG_NAME_FOR_INDEX = 1280; + exports2.ER_WRONG_NAME_FOR_CATALOG = 1281; + exports2.ER_WARN_QC_RESIZE = 1282; + exports2.ER_BAD_FT_COLUMN = 1283; + exports2.ER_UNKNOWN_KEY_CACHE = 1284; + exports2.ER_WARN_HOSTNAME_WONT_WORK = 1285; + exports2.ER_UNKNOWN_STORAGE_ENGINE = 1286; + exports2.ER_WARN_DEPRECATED_SYNTAX = 1287; + exports2.ER_NON_UPDATABLE_TABLE = 1288; + exports2.ER_FEATURE_DISABLED = 1289; + exports2.ER_OPTION_PREVENTS_STATEMENT = 1290; + exports2.ER_DUPLICATED_VALUE_IN_TYPE = 1291; + exports2.ER_TRUNCATED_WRONG_VALUE = 1292; + exports2.ER_TOO_MUCH_AUTO_TIMESTAMP_COLS = 1293; + exports2.ER_INVALID_ON_UPDATE = 1294; + exports2.ER_UNSUPPORTED_PS = 1295; + exports2.ER_GET_ERRMSG = 1296; + exports2.ER_GET_TEMPORARY_ERRMSG = 1297; + exports2.ER_UNKNOWN_TIME_ZONE = 1298; + exports2.ER_WARN_INVALID_TIMESTAMP = 1299; + exports2.ER_INVALID_CHARACTER_STRING = 1300; + exports2.ER_WARN_ALLOWED_PACKET_OVERFLOWED = 1301; + exports2.ER_CONFLICTING_DECLARATIONS = 1302; + exports2.ER_SP_NO_RECURSIVE_CREATE = 1303; + exports2.ER_SP_ALREADY_EXISTS = 1304; + exports2.ER_SP_DOES_NOT_EXIST = 1305; + exports2.ER_SP_DROP_FAILED = 1306; + exports2.ER_SP_STORE_FAILED = 1307; + exports2.ER_SP_LILABEL_MISMATCH = 1308; + exports2.ER_SP_LABEL_REDEFINE = 1309; + exports2.ER_SP_LABEL_MISMATCH = 1310; + exports2.ER_SP_UNINIT_VAR = 1311; + exports2.ER_SP_BADSELECT = 1312; + exports2.ER_SP_BADRETURN = 1313; + exports2.ER_SP_BADSTATEMENT = 1314; + exports2.ER_UPDATE_LOG_DEPRECATED_IGNORED = 1315; + exports2.ER_UPDATE_LOG_DEPRECATED_TRANSLATED = 1316; + exports2.ER_QUERY_INTERRUPTED = 1317; + exports2.ER_SP_WRONG_NO_OF_ARGS = 1318; + exports2.ER_SP_COND_MISMATCH = 1319; + exports2.ER_SP_NORETURN = 1320; + exports2.ER_SP_NORETURNEND = 1321; + exports2.ER_SP_BAD_CURSOR_QUERY = 1322; + exports2.ER_SP_BAD_CURSOR_SELECT = 1323; + exports2.ER_SP_CURSOR_MISMATCH = 1324; + exports2.ER_SP_CURSOR_ALREADY_OPEN = 1325; + exports2.ER_SP_CURSOR_NOT_OPEN = 1326; + exports2.ER_SP_UNDECLARED_VAR = 1327; + exports2.ER_SP_WRONG_NO_OF_FETCH_ARGS = 1328; + exports2.ER_SP_FETCH_NO_DATA = 1329; + exports2.ER_SP_DUP_PARAM = 1330; + exports2.ER_SP_DUP_VAR = 1331; + exports2.ER_SP_DUP_COND = 1332; + exports2.ER_SP_DUP_CURS = 1333; + exports2.ER_SP_CANT_ALTER = 1334; + exports2.ER_SP_SUBSELECT_NYI = 1335; + exports2.ER_STMT_NOT_ALLOWED_IN_SF_OR_TRG = 1336; + exports2.ER_SP_VARCOND_AFTER_CURSHNDLR = 1337; + exports2.ER_SP_CURSOR_AFTER_HANDLER = 1338; + exports2.ER_SP_CASE_NOT_FOUND = 1339; + exports2.ER_FPARSER_TOO_BIG_FILE = 1340; + exports2.ER_FPARSER_BAD_HEADER = 1341; + exports2.ER_FPARSER_EOF_IN_COMMENT = 1342; + exports2.ER_FPARSER_ERROR_IN_PARAMETER = 1343; + exports2.ER_FPARSER_EOF_IN_UNKNOWN_PARAMETER = 1344; + exports2.ER_VIEW_NO_EXPLAIN = 1345; + exports2.ER_FRM_UNKNOWN_TYPE = 1346; + exports2.ER_WRONG_OBJECT = 1347; + exports2.ER_NONUPDATEABLE_COLUMN = 1348; + exports2.ER_VIEW_SELECT_DERIVED = 1349; + exports2.ER_VIEW_SELECT_CLAUSE = 1350; + exports2.ER_VIEW_SELECT_VARIABLE = 1351; + exports2.ER_VIEW_SELECT_TMPTABLE = 1352; + exports2.ER_VIEW_WRONG_LIST = 1353; + exports2.ER_WARN_VIEW_MERGE = 1354; + exports2.ER_WARN_VIEW_WITHOUT_KEY = 1355; + exports2.ER_VIEW_INVALID = 1356; + exports2.ER_SP_NO_DROP_SP = 1357; + exports2.ER_SP_GOTO_IN_HNDLR = 1358; + exports2.ER_TRG_ALREADY_EXISTS = 1359; + exports2.ER_TRG_DOES_NOT_EXIST = 1360; + exports2.ER_TRG_ON_VIEW_OR_TEMP_TABLE = 1361; + exports2.ER_TRG_CANT_CHANGE_ROW = 1362; + exports2.ER_TRG_NO_SUCH_ROW_IN_TRG = 1363; + exports2.ER_NO_DEFAULT_FOR_FIELD = 1364; + exports2.ER_DIVISION_BY_ZERO = 1365; + exports2.ER_TRUNCATED_WRONG_VALUE_FOR_FIELD = 1366; + exports2.ER_ILLEGAL_VALUE_FOR_TYPE = 1367; + exports2.ER_VIEW_NONUPD_CHECK = 1368; + exports2.ER_VIEW_CHECK_FAILED = 1369; + exports2.ER_PROCACCESS_DENIED_ERROR = 1370; + exports2.ER_RELAY_LOG_FAIL = 1371; + exports2.ER_PASSWD_LENGTH = 1372; + exports2.ER_UNKNOWN_TARGET_BINLOG = 1373; + exports2.ER_IO_ERR_LOG_INDEX_READ = 1374; + exports2.ER_BINLOG_PURGE_PROHIBITED = 1375; + exports2.ER_FSEEK_FAIL = 1376; + exports2.ER_BINLOG_PURGE_FATAL_ERR = 1377; + exports2.ER_LOG_IN_USE = 1378; + exports2.ER_LOG_PURGE_UNKNOWN_ERR = 1379; + exports2.ER_RELAY_LOG_INIT = 1380; + exports2.ER_NO_BINARY_LOGGING = 1381; + exports2.ER_RESERVED_SYNTAX = 1382; + exports2.ER_WSAS_FAILED = 1383; + exports2.ER_DIFF_GROUPS_PROC = 1384; + exports2.ER_NO_GROUP_FOR_PROC = 1385; + exports2.ER_ORDER_WITH_PROC = 1386; + exports2.ER_LOGGING_PROHIBIT_CHANGING_OF = 1387; + exports2.ER_NO_FILE_MAPPING = 1388; + exports2.ER_WRONG_MAGIC = 1389; + exports2.ER_PS_MANY_PARAM = 1390; + exports2.ER_KEY_PART_0 = 1391; + exports2.ER_VIEW_CHECKSUM = 1392; + exports2.ER_VIEW_MULTIUPDATE = 1393; + exports2.ER_VIEW_NO_INSERT_FIELD_LIST = 1394; + exports2.ER_VIEW_DELETE_MERGE_VIEW = 1395; + exports2.ER_CANNOT_USER = 1396; + exports2.ER_XAER_NOTA = 1397; + exports2.ER_XAER_INVAL = 1398; + exports2.ER_XAER_RMFAIL = 1399; + exports2.ER_XAER_OUTSIDE = 1400; + exports2.ER_XAER_RMERR = 1401; + exports2.ER_XA_RBROLLBACK = 1402; + exports2.ER_NONEXISTING_PROC_GRANT = 1403; + exports2.ER_PROC_AUTO_GRANT_FAIL = 1404; + exports2.ER_PROC_AUTO_REVOKE_FAIL = 1405; + exports2.ER_DATA_TOO_LONG = 1406; + exports2.ER_SP_BAD_SQLSTATE = 1407; + exports2.ER_STARTUP = 1408; + exports2.ER_LOAD_FROM_FIXED_SIZE_ROWS_TO_VAR = 1409; + exports2.ER_CANT_CREATE_USER_WITH_GRANT = 1410; + exports2.ER_WRONG_VALUE_FOR_TYPE = 1411; + exports2.ER_TABLE_DEF_CHANGED = 1412; + exports2.ER_SP_DUP_HANDLER = 1413; + exports2.ER_SP_NOT_VAR_ARG = 1414; + exports2.ER_SP_NO_RETSET = 1415; + exports2.ER_CANT_CREATE_GEOMETRY_OBJECT = 1416; + exports2.ER_FAILED_ROUTINE_BREAK_BINLOG = 1417; + exports2.ER_BINLOG_UNSAFE_ROUTINE = 1418; + exports2.ER_BINLOG_CREATE_ROUTINE_NEED_SUPER = 1419; + exports2.ER_EXEC_STMT_WITH_OPEN_CURSOR = 1420; + exports2.ER_STMT_HAS_NO_OPEN_CURSOR = 1421; + exports2.ER_COMMIT_NOT_ALLOWED_IN_SF_OR_TRG = 1422; + exports2.ER_NO_DEFAULT_FOR_VIEW_FIELD = 1423; + exports2.ER_SP_NO_RECURSION = 1424; + exports2.ER_TOO_BIG_SCALE = 1425; + exports2.ER_TOO_BIG_PRECISION = 1426; + exports2.ER_M_BIGGER_THAN_D = 1427; + exports2.ER_WRONG_LOCK_OF_SYSTEM_TABLE = 1428; + exports2.ER_CONNECT_TO_FOREIGN_DATA_SOURCE = 1429; + exports2.ER_QUERY_ON_FOREIGN_DATA_SOURCE = 1430; + exports2.ER_FOREIGN_DATA_SOURCE_DOESNT_EXIST = 1431; + exports2.ER_FOREIGN_DATA_STRING_INVALID_CANT_CREATE = 1432; + exports2.ER_FOREIGN_DATA_STRING_INVALID = 1433; + exports2.ER_CANT_CREATE_FEDERATED_TABLE = 1434; + exports2.ER_TRG_IN_WRONG_SCHEMA = 1435; + exports2.ER_STACK_OVERRUN_NEED_MORE = 1436; + exports2.ER_TOO_LONG_BODY = 1437; + exports2.ER_WARN_CANT_DROP_DEFAULT_KEYCACHE = 1438; + exports2.ER_TOO_BIG_DISPLAYWIDTH = 1439; + exports2.ER_XAER_DUPID = 1440; + exports2.ER_DATETIME_FUNCTION_OVERFLOW = 1441; + exports2.ER_CANT_UPDATE_USED_TABLE_IN_SF_OR_TRG = 1442; + exports2.ER_VIEW_PREVENT_UPDATE = 1443; + exports2.ER_PS_NO_RECURSION = 1444; + exports2.ER_SP_CANT_SET_AUTOCOMMIT = 1445; + exports2.ER_MALFORMED_DEFINER = 1446; + exports2.ER_VIEW_FRM_NO_USER = 1447; + exports2.ER_VIEW_OTHER_USER = 1448; + exports2.ER_NO_SUCH_USER = 1449; + exports2.ER_FORBID_SCHEMA_CHANGE = 1450; + exports2.ER_ROW_IS_REFERENCED_2 = 1451; + exports2.ER_NO_REFERENCED_ROW_2 = 1452; + exports2.ER_SP_BAD_VAR_SHADOW = 1453; + exports2.ER_TRG_NO_DEFINER = 1454; + exports2.ER_OLD_FILE_FORMAT = 1455; + exports2.ER_SP_RECURSION_LIMIT = 1456; + exports2.ER_SP_PROC_TABLE_CORRUPT = 1457; + exports2.ER_SP_WRONG_NAME = 1458; + exports2.ER_TABLE_NEEDS_UPGRADE = 1459; + exports2.ER_SP_NO_AGGREGATE = 1460; + exports2.ER_MAX_PREPARED_STMT_COUNT_REACHED = 1461; + exports2.ER_VIEW_RECURSIVE = 1462; + exports2.ER_NON_GROUPING_FIELD_USED = 1463; + exports2.ER_TABLE_CANT_HANDLE_SPKEYS = 1464; + exports2.ER_NO_TRIGGERS_ON_SYSTEM_SCHEMA = 1465; + exports2.ER_REMOVED_SPACES = 1466; + exports2.ER_AUTOINC_READ_FAILED = 1467; + exports2.ER_USERNAME = 1468; + exports2.ER_HOSTNAME = 1469; + exports2.ER_WRONG_STRING_LENGTH = 1470; + exports2.ER_NON_INSERTABLE_TABLE = 1471; + exports2.ER_ADMIN_WRONG_MRG_TABLE = 1472; + exports2.ER_TOO_HIGH_LEVEL_OF_NESTING_FOR_SELECT = 1473; + exports2.ER_NAME_BECOMES_EMPTY = 1474; + exports2.ER_AMBIGUOUS_FIELD_TERM = 1475; + exports2.ER_FOREIGN_SERVER_EXISTS = 1476; + exports2.ER_FOREIGN_SERVER_DOESNT_EXIST = 1477; + exports2.ER_ILLEGAL_HA_CREATE_OPTION = 1478; + exports2.ER_PARTITION_REQUIRES_VALUES_ERROR = 1479; + exports2.ER_PARTITION_WRONG_VALUES_ERROR = 1480; + exports2.ER_PARTITION_MAXVALUE_ERROR = 1481; + exports2.ER_PARTITION_SUBPARTITION_ERROR = 1482; + exports2.ER_PARTITION_SUBPART_MIX_ERROR = 1483; + exports2.ER_PARTITION_WRONG_NO_PART_ERROR = 1484; + exports2.ER_PARTITION_WRONG_NO_SUBPART_ERROR = 1485; + exports2.ER_WRONG_EXPR_IN_PARTITION_FUNC_ERROR = 1486; + exports2.ER_NO_CONST_EXPR_IN_RANGE_OR_LIST_ERROR = 1487; + exports2.ER_FIELD_NOT_FOUND_PART_ERROR = 1488; + exports2.ER_LIST_OF_FIELDS_ONLY_IN_HASH_ERROR = 1489; + exports2.ER_INCONSISTENT_PARTITION_INFO_ERROR = 1490; + exports2.ER_PARTITION_FUNC_NOT_ALLOWED_ERROR = 1491; + exports2.ER_PARTITIONS_MUST_BE_DEFINED_ERROR = 1492; + exports2.ER_RANGE_NOT_INCREASING_ERROR = 1493; + exports2.ER_INCONSISTENT_TYPE_OF_FUNCTIONS_ERROR = 1494; + exports2.ER_MULTIPLE_DEF_CONST_IN_LIST_PART_ERROR = 1495; + exports2.ER_PARTITION_ENTRY_ERROR = 1496; + exports2.ER_MIX_HANDLER_ERROR = 1497; + exports2.ER_PARTITION_NOT_DEFINED_ERROR = 1498; + exports2.ER_TOO_MANY_PARTITIONS_ERROR = 1499; + exports2.ER_SUBPARTITION_ERROR = 1500; + exports2.ER_CANT_CREATE_HANDLER_FILE = 1501; + exports2.ER_BLOB_FIELD_IN_PART_FUNC_ERROR = 1502; + exports2.ER_UNIQUE_KEY_NEED_ALL_FIELDS_IN_PF = 1503; + exports2.ER_NO_PARTS_ERROR = 1504; + exports2.ER_PARTITION_MGMT_ON_NONPARTITIONED = 1505; + exports2.ER_FOREIGN_KEY_ON_PARTITIONED = 1506; + exports2.ER_DROP_PARTITION_NON_EXISTENT = 1507; + exports2.ER_DROP_LAST_PARTITION = 1508; + exports2.ER_COALESCE_ONLY_ON_HASH_PARTITION = 1509; + exports2.ER_REORG_HASH_ONLY_ON_SAME_NO = 1510; + exports2.ER_REORG_NO_PARAM_ERROR = 1511; + exports2.ER_ONLY_ON_RANGE_LIST_PARTITION = 1512; + exports2.ER_ADD_PARTITION_SUBPART_ERROR = 1513; + exports2.ER_ADD_PARTITION_NO_NEW_PARTITION = 1514; + exports2.ER_COALESCE_PARTITION_NO_PARTITION = 1515; + exports2.ER_REORG_PARTITION_NOT_EXIST = 1516; + exports2.ER_SAME_NAME_PARTITION = 1517; + exports2.ER_NO_BINLOG_ERROR = 1518; + exports2.ER_CONSECUTIVE_REORG_PARTITIONS = 1519; + exports2.ER_REORG_OUTSIDE_RANGE = 1520; + exports2.ER_PARTITION_FUNCTION_FAILURE = 1521; + exports2.ER_PART_STATE_ERROR = 1522; + exports2.ER_LIMITED_PART_RANGE = 1523; + exports2.ER_PLUGIN_IS_NOT_LOADED = 1524; + exports2.ER_WRONG_VALUE = 1525; + exports2.ER_NO_PARTITION_FOR_GIVEN_VALUE = 1526; + exports2.ER_FILEGROUP_OPTION_ONLY_ONCE = 1527; + exports2.ER_CREATE_FILEGROUP_FAILED = 1528; + exports2.ER_DROP_FILEGROUP_FAILED = 1529; + exports2.ER_TABLESPACE_AUTO_EXTEND_ERROR = 1530; + exports2.ER_WRONG_SIZE_NUMBER = 1531; + exports2.ER_SIZE_OVERFLOW_ERROR = 1532; + exports2.ER_ALTER_FILEGROUP_FAILED = 1533; + exports2.ER_BINLOG_ROW_LOGGING_FAILED = 1534; + exports2.ER_BINLOG_ROW_WRONG_TABLE_DEF = 1535; + exports2.ER_BINLOG_ROW_RBR_TO_SBR = 1536; + exports2.ER_EVENT_ALREADY_EXISTS = 1537; + exports2.ER_EVENT_STORE_FAILED = 1538; + exports2.ER_EVENT_DOES_NOT_EXIST = 1539; + exports2.ER_EVENT_CANT_ALTER = 1540; + exports2.ER_EVENT_DROP_FAILED = 1541; + exports2.ER_EVENT_INTERVAL_NOT_POSITIVE_OR_TOO_BIG = 1542; + exports2.ER_EVENT_ENDS_BEFORE_STARTS = 1543; + exports2.ER_EVENT_EXEC_TIME_IN_THE_PAST = 1544; + exports2.ER_EVENT_OPEN_TABLE_FAILED = 1545; + exports2.ER_EVENT_NEITHER_M_EXPR_NOR_M_AT = 1546; + exports2.ER_COL_COUNT_DOESNT_MATCH_CORRUPTED = 1547; + exports2.ER_CANNOT_LOAD_FROM_TABLE = 1548; + exports2.ER_EVENT_CANNOT_DELETE = 1549; + exports2.ER_EVENT_COMPILE_ERROR = 1550; + exports2.ER_EVENT_SAME_NAME = 1551; + exports2.ER_EVENT_DATA_TOO_LONG = 1552; + exports2.ER_DROP_INDEX_FK = 1553; + exports2.ER_WARN_DEPRECATED_SYNTAX_WITH_VER = 1554; + exports2.ER_CANT_WRITE_LOCK_LOG_TABLE = 1555; + exports2.ER_CANT_LOCK_LOG_TABLE = 1556; + exports2.ER_FOREIGN_DUPLICATE_KEY = 1557; + exports2.ER_COL_COUNT_DOESNT_MATCH_PLEASE_UPDATE = 1558; + exports2.ER_TEMP_TABLE_PREVENTS_SWITCH_OUT_OF_RBR = 1559; + exports2.ER_STORED_FUNCTION_PREVENTS_SWITCH_BINLOG_FORMAT = 1560; + exports2.ER_NDB_CANT_SWITCH_BINLOG_FORMAT = 1561; + exports2.ER_PARTITION_NO_TEMPORARY = 1562; + exports2.ER_PARTITION_CONST_DOMAIN_ERROR = 1563; + exports2.ER_PARTITION_FUNCTION_IS_NOT_ALLOWED = 1564; + exports2.ER_DDL_LOG_ERROR = 1565; + exports2.ER_NULL_IN_VALUES_LESS_THAN = 1566; + exports2.ER_WRONG_PARTITION_NAME = 1567; + exports2.ER_CANT_CHANGE_TX_CHARACTERISTICS = 1568; + exports2.ER_DUP_ENTRY_AUTOINCREMENT_CASE = 1569; + exports2.ER_EVENT_MODIFY_QUEUE_ERROR = 1570; + exports2.ER_EVENT_SET_VAR_ERROR = 1571; + exports2.ER_PARTITION_MERGE_ERROR = 1572; + exports2.ER_CANT_ACTIVATE_LOG = 1573; + exports2.ER_RBR_NOT_AVAILABLE = 1574; + exports2.ER_BASE64_DECODE_ERROR = 1575; + exports2.ER_EVENT_RECURSION_FORBIDDEN = 1576; + exports2.ER_EVENTS_DB_ERROR = 1577; + exports2.ER_ONLY_INTEGERS_ALLOWED = 1578; + exports2.ER_UNSUPORTED_LOG_ENGINE = 1579; + exports2.ER_BAD_LOG_STATEMENT = 1580; + exports2.ER_CANT_RENAME_LOG_TABLE = 1581; + exports2.ER_WRONG_PARAMCOUNT_TO_NATIVE_FCT = 1582; + exports2.ER_WRONG_PARAMETERS_TO_NATIVE_FCT = 1583; + exports2.ER_WRONG_PARAMETERS_TO_STORED_FCT = 1584; + exports2.ER_NATIVE_FCT_NAME_COLLISION = 1585; + exports2.ER_DUP_ENTRY_WITH_KEY_NAME = 1586; + exports2.ER_BINLOG_PURGE_EMFILE = 1587; + exports2.ER_EVENT_CANNOT_CREATE_IN_THE_PAST = 1588; + exports2.ER_EVENT_CANNOT_ALTER_IN_THE_PAST = 1589; + exports2.ER_SLAVE_INCIDENT = 1590; + exports2.ER_NO_PARTITION_FOR_GIVEN_VALUE_SILENT = 1591; + exports2.ER_BINLOG_UNSAFE_STATEMENT = 1592; + exports2.ER_BINLOG_FATAL_ERROR = 1593; + exports2.ER_SLAVE_RELAY_LOG_READ_FAILURE = 1594; + exports2.ER_SLAVE_RELAY_LOG_WRITE_FAILURE = 1595; + exports2.ER_SLAVE_CREATE_EVENT_FAILURE = 1596; + exports2.ER_SLAVE_MASTER_COM_FAILURE = 1597; + exports2.ER_BINLOG_LOGGING_IMPOSSIBLE = 1598; + exports2.ER_VIEW_NO_CREATION_CTX = 1599; + exports2.ER_VIEW_INVALID_CREATION_CTX = 1600; + exports2.ER_SR_INVALID_CREATION_CTX = 1601; + exports2.ER_TRG_CORRUPTED_FILE = 1602; + exports2.ER_TRG_NO_CREATION_CTX = 1603; + exports2.ER_TRG_INVALID_CREATION_CTX = 1604; + exports2.ER_EVENT_INVALID_CREATION_CTX = 1605; + exports2.ER_TRG_CANT_OPEN_TABLE = 1606; + exports2.ER_CANT_CREATE_SROUTINE = 1607; + exports2.ER_NEVER_USED = 1608; + exports2.ER_NO_FORMAT_DESCRIPTION_EVENT_BEFORE_BINLOG_STATEMENT = 1609; + exports2.ER_REPLICA_CORRUPT_EVENT = 1610; + exports2.ER_LOAD_DATA_INVALID_COLUMN = 1611; + exports2.ER_LOG_PURGE_NO_FILE = 1612; + exports2.ER_XA_RBTIMEOUT = 1613; + exports2.ER_XA_RBDEADLOCK = 1614; + exports2.ER_NEED_REPREPARE = 1615; + exports2.ER_DELAYED_NOT_SUPPORTED = 1616; + exports2.WARN_NO_CONNECTION_METADATA = 1617; + exports2.WARN_OPTION_IGNORED = 1618; + exports2.ER_PLUGIN_DELETE_BUILTIN = 1619; + exports2.WARN_PLUGIN_BUSY = 1620; + exports2.ER_VARIABLE_IS_READONLY = 1621; + exports2.ER_WARN_ENGINE_TRANSACTION_ROLLBACK = 1622; + exports2.ER_SLAVE_HEARTBEAT_FAILURE = 1623; + exports2.ER_REPLICA_HEARTBEAT_VALUE_OUT_OF_RANGE = 1624; + exports2.ER_NDB_REPLICATION_SCHEMA_ERROR = 1625; + exports2.ER_CONFLICT_FN_PARSE_ERROR = 1626; + exports2.ER_EXCEPTIONS_WRITE_ERROR = 1627; + exports2.ER_TOO_LONG_TABLE_COMMENT = 1628; + exports2.ER_TOO_LONG_FIELD_COMMENT = 1629; + exports2.ER_FUNC_INEXISTENT_NAME_COLLISION = 1630; + exports2.ER_DATABASE_NAME = 1631; + exports2.ER_TABLE_NAME = 1632; + exports2.ER_PARTITION_NAME = 1633; + exports2.ER_SUBPARTITION_NAME = 1634; + exports2.ER_TEMPORARY_NAME = 1635; + exports2.ER_RENAMED_NAME = 1636; + exports2.ER_TOO_MANY_CONCURRENT_TRXS = 1637; + exports2.WARN_NON_ASCII_SEPARATOR_NOT_IMPLEMENTED = 1638; + exports2.ER_DEBUG_SYNC_TIMEOUT = 1639; + exports2.ER_DEBUG_SYNC_HIT_LIMIT = 1640; + exports2.ER_DUP_SIGNAL_SET = 1641; + exports2.ER_SIGNAL_WARN = 1642; + exports2.ER_SIGNAL_NOT_FOUND = 1643; + exports2.ER_SIGNAL_EXCEPTION = 1644; + exports2.ER_RESIGNAL_WITHOUT_ACTIVE_HANDLER = 1645; + exports2.ER_SIGNAL_BAD_CONDITION_TYPE = 1646; + exports2.WARN_COND_ITEM_TRUNCATED = 1647; + exports2.ER_COND_ITEM_TOO_LONG = 1648; + exports2.ER_UNKNOWN_LOCALE = 1649; + exports2.ER_REPLICA_IGNORE_SERVER_IDS = 1650; + exports2.ER_QUERY_CACHE_DISABLED = 1651; + exports2.ER_SAME_NAME_PARTITION_FIELD = 1652; + exports2.ER_PARTITION_COLUMN_LIST_ERROR = 1653; + exports2.ER_WRONG_TYPE_COLUMN_VALUE_ERROR = 1654; + exports2.ER_TOO_MANY_PARTITION_FUNC_FIELDS_ERROR = 1655; + exports2.ER_MAXVALUE_IN_VALUES_IN = 1656; + exports2.ER_TOO_MANY_VALUES_ERROR = 1657; + exports2.ER_ROW_SINGLE_PARTITION_FIELD_ERROR = 1658; + exports2.ER_FIELD_TYPE_NOT_ALLOWED_AS_PARTITION_FIELD = 1659; + exports2.ER_PARTITION_FIELDS_TOO_LONG = 1660; + exports2.ER_BINLOG_ROW_ENGINE_AND_STMT_ENGINE = 1661; + exports2.ER_BINLOG_ROW_MODE_AND_STMT_ENGINE = 1662; + exports2.ER_BINLOG_UNSAFE_AND_STMT_ENGINE = 1663; + exports2.ER_BINLOG_ROW_INJECTION_AND_STMT_ENGINE = 1664; + exports2.ER_BINLOG_STMT_MODE_AND_ROW_ENGINE = 1665; + exports2.ER_BINLOG_ROW_INJECTION_AND_STMT_MODE = 1666; + exports2.ER_BINLOG_MULTIPLE_ENGINES_AND_SELF_LOGGING_ENGINE = 1667; + exports2.ER_BINLOG_UNSAFE_LIMIT = 1668; + exports2.ER_UNUSED4 = 1669; + exports2.ER_BINLOG_UNSAFE_SYSTEM_TABLE = 1670; + exports2.ER_BINLOG_UNSAFE_AUTOINC_COLUMNS = 1671; + exports2.ER_BINLOG_UNSAFE_UDF = 1672; + exports2.ER_BINLOG_UNSAFE_SYSTEM_VARIABLE = 1673; + exports2.ER_BINLOG_UNSAFE_SYSTEM_FUNCTION = 1674; + exports2.ER_BINLOG_UNSAFE_NONTRANS_AFTER_TRANS = 1675; + exports2.ER_MESSAGE_AND_STATEMENT = 1676; + exports2.ER_SLAVE_CONVERSION_FAILED = 1677; + exports2.ER_REPLICA_CANT_CREATE_CONVERSION = 1678; + exports2.ER_INSIDE_TRANSACTION_PREVENTS_SWITCH_BINLOG_FORMAT = 1679; + exports2.ER_PATH_LENGTH = 1680; + exports2.ER_WARN_DEPRECATED_SYNTAX_NO_REPLACEMENT = 1681; + exports2.ER_WRONG_NATIVE_TABLE_STRUCTURE = 1682; + exports2.ER_WRONG_PERFSCHEMA_USAGE = 1683; + exports2.ER_WARN_I_S_SKIPPED_TABLE = 1684; + exports2.ER_INSIDE_TRANSACTION_PREVENTS_SWITCH_BINLOG_DIRECT = 1685; + exports2.ER_STORED_FUNCTION_PREVENTS_SWITCH_BINLOG_DIRECT = 1686; + exports2.ER_SPATIAL_MUST_HAVE_GEOM_COL = 1687; + exports2.ER_TOO_LONG_INDEX_COMMENT = 1688; + exports2.ER_LOCK_ABORTED = 1689; + exports2.ER_DATA_OUT_OF_RANGE = 1690; + exports2.ER_WRONG_SPVAR_TYPE_IN_LIMIT = 1691; + exports2.ER_BINLOG_UNSAFE_MULTIPLE_ENGINES_AND_SELF_LOGGING_ENGINE = 1692; + exports2.ER_BINLOG_UNSAFE_MIXED_STATEMENT = 1693; + exports2.ER_INSIDE_TRANSACTION_PREVENTS_SWITCH_SQL_LOG_BIN = 1694; + exports2.ER_STORED_FUNCTION_PREVENTS_SWITCH_SQL_LOG_BIN = 1695; + exports2.ER_FAILED_READ_FROM_PAR_FILE = 1696; + exports2.ER_VALUES_IS_NOT_INT_TYPE_ERROR = 1697; + exports2.ER_ACCESS_DENIED_NO_PASSWORD_ERROR = 1698; + exports2.ER_SET_PASSWORD_AUTH_PLUGIN = 1699; + exports2.ER_GRANT_PLUGIN_USER_EXISTS = 1700; + exports2.ER_TRUNCATE_ILLEGAL_FK = 1701; + exports2.ER_PLUGIN_IS_PERMANENT = 1702; + exports2.ER_REPLICA_HEARTBEAT_VALUE_OUT_OF_RANGE_MIN = 1703; + exports2.ER_REPLICA_HEARTBEAT_VALUE_OUT_OF_RANGE_MAX = 1704; + exports2.ER_STMT_CACHE_FULL = 1705; + exports2.ER_MULTI_UPDATE_KEY_CONFLICT = 1706; + exports2.ER_TABLE_NEEDS_REBUILD = 1707; + exports2.WARN_OPTION_BELOW_LIMIT = 1708; + exports2.ER_INDEX_COLUMN_TOO_LONG = 1709; + exports2.ER_ERROR_IN_TRIGGER_BODY = 1710; + exports2.ER_ERROR_IN_UNKNOWN_TRIGGER_BODY = 1711; + exports2.ER_INDEX_CORRUPT = 1712; + exports2.ER_UNDO_RECORD_TOO_BIG = 1713; + exports2.ER_BINLOG_UNSAFE_INSERT_IGNORE_SELECT = 1714; + exports2.ER_BINLOG_UNSAFE_INSERT_SELECT_UPDATE = 1715; + exports2.ER_BINLOG_UNSAFE_REPLACE_SELECT = 1716; + exports2.ER_BINLOG_UNSAFE_CREATE_IGNORE_SELECT = 1717; + exports2.ER_BINLOG_UNSAFE_CREATE_REPLACE_SELECT = 1718; + exports2.ER_BINLOG_UNSAFE_UPDATE_IGNORE = 1719; + exports2.ER_PLUGIN_NO_UNINSTALL = 1720; + exports2.ER_PLUGIN_NO_INSTALL = 1721; + exports2.ER_BINLOG_UNSAFE_WRITE_AUTOINC_SELECT = 1722; + exports2.ER_BINLOG_UNSAFE_CREATE_SELECT_AUTOINC = 1723; + exports2.ER_BINLOG_UNSAFE_INSERT_TWO_KEYS = 1724; + exports2.ER_TABLE_IN_FK_CHECK = 1725; + exports2.ER_UNSUPPORTED_ENGINE = 1726; + exports2.ER_BINLOG_UNSAFE_AUTOINC_NOT_FIRST = 1727; + exports2.ER_CANNOT_LOAD_FROM_TABLE_V2 = 1728; + exports2.ER_SOURCE_DELAY_VALUE_OUT_OF_RANGE = 1729; + exports2.ER_ONLY_FD_AND_RBR_EVENTS_ALLOWED_IN_BINLOG_STATEMENT = 1730; + exports2.ER_PARTITION_EXCHANGE_DIFFERENT_OPTION = 1731; + exports2.ER_PARTITION_EXCHANGE_PART_TABLE = 1732; + exports2.ER_PARTITION_EXCHANGE_TEMP_TABLE = 1733; + exports2.ER_PARTITION_INSTEAD_OF_SUBPARTITION = 1734; + exports2.ER_UNKNOWN_PARTITION = 1735; + exports2.ER_TABLES_DIFFERENT_METADATA = 1736; + exports2.ER_ROW_DOES_NOT_MATCH_PARTITION = 1737; + exports2.ER_BINLOG_CACHE_SIZE_GREATER_THAN_MAX = 1738; + exports2.ER_WARN_INDEX_NOT_APPLICABLE = 1739; + exports2.ER_PARTITION_EXCHANGE_FOREIGN_KEY = 1740; + exports2.ER_NO_SUCH_KEY_VALUE = 1741; + exports2.ER_RPL_INFO_DATA_TOO_LONG = 1742; + exports2.ER_NETWORK_READ_EVENT_CHECKSUM_FAILURE = 1743; + exports2.ER_BINLOG_READ_EVENT_CHECKSUM_FAILURE = 1744; + exports2.ER_BINLOG_STMT_CACHE_SIZE_GREATER_THAN_MAX = 1745; + exports2.ER_CANT_UPDATE_TABLE_IN_CREATE_TABLE_SELECT = 1746; + exports2.ER_PARTITION_CLAUSE_ON_NONPARTITIONED = 1747; + exports2.ER_ROW_DOES_NOT_MATCH_GIVEN_PARTITION_SET = 1748; + exports2.ER_NO_SUCH_PARTITION = 1749; + exports2.ER_CHANGE_RPL_INFO_REPOSITORY_FAILURE = 1750; + exports2.ER_WARNING_NOT_COMPLETE_ROLLBACK_WITH_CREATED_TEMP_TABLE = 1751; + exports2.ER_WARNING_NOT_COMPLETE_ROLLBACK_WITH_DROPPED_TEMP_TABLE = 1752; + exports2.ER_MTA_FEATURE_IS_NOT_SUPPORTED = 1753; + exports2.ER_MTA_UPDATED_DBS_GREATER_MAX = 1754; + exports2.ER_MTA_CANT_PARALLEL = 1755; + exports2.ER_MTA_INCONSISTENT_DATA = 1756; + exports2.ER_FULLTEXT_NOT_SUPPORTED_WITH_PARTITIONING = 1757; + exports2.ER_DA_INVALID_CONDITION_NUMBER = 1758; + exports2.ER_INSECURE_PLAIN_TEXT = 1759; + exports2.ER_INSECURE_CHANGE_SOURCE = 1760; + exports2.ER_FOREIGN_DUPLICATE_KEY_WITH_CHILD_INFO = 1761; + exports2.ER_FOREIGN_DUPLICATE_KEY_WITHOUT_CHILD_INFO = 1762; + exports2.ER_SQLTHREAD_WITH_SECURE_REPLICA = 1763; + exports2.ER_TABLE_HAS_NO_FT = 1764; + exports2.ER_VARIABLE_NOT_SETTABLE_IN_SF_OR_TRIGGER = 1765; + exports2.ER_VARIABLE_NOT_SETTABLE_IN_TRANSACTION = 1766; + exports2.ER_GTID_NEXT_IS_NOT_IN_GTID_NEXT_LIST = 1767; + exports2.ER_CANT_CHANGE_GTID_NEXT_IN_TRANSACTION = 1768; + exports2.ER_SET_STATEMENT_CANNOT_INVOKE_FUNCTION = 1769; + exports2.ER_GTID_NEXT_CANT_BE_AUTOMATIC_IF_GTID_NEXT_LIST_IS_NON_NULL = 1770; + exports2.ER_SKIPPING_LOGGED_TRANSACTION = 1771; + exports2.ER_MALFORMED_GTID_SET_SPECIFICATION = 1772; + exports2.ER_MALFORMED_GTID_SET_ENCODING = 1773; + exports2.ER_MALFORMED_GTID_SPECIFICATION = 1774; + exports2.ER_GNO_EXHAUSTED = 1775; + exports2.ER_BAD_REPLICA_AUTO_POSITION = 1776; + exports2.ER_AUTO_POSITION_REQUIRES_GTID_MODE_NOT_OFF = 1777; + exports2.ER_CANT_DO_IMPLICIT_COMMIT_IN_TRX_WHEN_GTID_NEXT_IS_SET = 1778; + exports2.ER_GTID_MODE_ON_REQUIRES_ENFORCE_GTID_CONSISTENCY_ON = 1779; + exports2.ER_GTID_MODE_REQUIRES_BINLOG = 1780; + exports2.ER_CANT_SET_GTID_NEXT_TO_GTID_WHEN_GTID_MODE_IS_OFF = 1781; + exports2.ER_CANT_SET_GTID_NEXT_TO_ANONYMOUS_WHEN_GTID_MODE_IS_ON = 1782; + exports2.ER_CANT_SET_GTID_NEXT_LIST_TO_NON_NULL_WHEN_GTID_MODE_IS_OFF = 1783; + exports2.ER_FOUND_GTID_EVENT_WHEN_GTID_MODE_IS_OFF = 1784; + exports2.ER_GTID_UNSAFE_NON_TRANSACTIONAL_TABLE = 1785; + exports2.ER_GTID_UNSAFE_CREATE_SELECT = 1786; + exports2.ER_GTID_UNSAFE_CREATE_DROP_TEMP_TABLE_IN_TRANSACTION = 1787; + exports2.ER_GTID_MODE_CAN_ONLY_CHANGE_ONE_STEP_AT_A_TIME = 1788; + exports2.ER_SOURCE_HAS_PURGED_REQUIRED_GTIDS = 1789; + exports2.ER_CANT_SET_GTID_NEXT_WHEN_OWNING_GTID = 1790; + exports2.ER_UNKNOWN_EXPLAIN_FORMAT = 1791; + exports2.ER_CANT_EXECUTE_IN_READ_ONLY_TRANSACTION = 1792; + exports2.ER_TOO_LONG_TABLE_PARTITION_COMMENT = 1793; + exports2.ER_REPLICA_CONFIGURATION = 1794; + exports2.ER_INNODB_FT_LIMIT = 1795; + exports2.ER_INNODB_NO_FT_TEMP_TABLE = 1796; + exports2.ER_INNODB_FT_WRONG_DOCID_COLUMN = 1797; + exports2.ER_INNODB_FT_WRONG_DOCID_INDEX = 1798; + exports2.ER_INNODB_ONLINE_LOG_TOO_BIG = 1799; + exports2.ER_UNKNOWN_ALTER_ALGORITHM = 1800; + exports2.ER_UNKNOWN_ALTER_LOCK = 1801; + exports2.ER_MTA_CHANGE_SOURCE_CANT_RUN_WITH_GAPS = 1802; + exports2.ER_MTA_RECOVERY_FAILURE = 1803; + exports2.ER_MTA_RESET_WORKERS = 1804; + exports2.ER_COL_COUNT_DOESNT_MATCH_CORRUPTED_V2 = 1805; + exports2.ER_REPLICA_SILENT_RETRY_TRANSACTION = 1806; + exports2.ER_DISCARD_FK_CHECKS_RUNNING = 1807; + exports2.ER_TABLE_SCHEMA_MISMATCH = 1808; + exports2.ER_TABLE_IN_SYSTEM_TABLESPACE = 1809; + exports2.ER_IO_READ_ERROR = 1810; + exports2.ER_IO_WRITE_ERROR = 1811; + exports2.ER_TABLESPACE_MISSING = 1812; + exports2.ER_TABLESPACE_EXISTS = 1813; + exports2.ER_TABLESPACE_DISCARDED = 1814; + exports2.ER_INTERNAL_ERROR = 1815; + exports2.ER_INNODB_IMPORT_ERROR = 1816; + exports2.ER_INNODB_INDEX_CORRUPT = 1817; + exports2.ER_INVALID_YEAR_COLUMN_LENGTH = 1818; + exports2.ER_NOT_VALID_PASSWORD = 1819; + exports2.ER_MUST_CHANGE_PASSWORD = 1820; + exports2.ER_FK_NO_INDEX_CHILD = 1821; + exports2.ER_FK_NO_INDEX_PARENT = 1822; + exports2.ER_FK_FAIL_ADD_SYSTEM = 1823; + exports2.ER_FK_CANNOT_OPEN_PARENT = 1824; + exports2.ER_FK_INCORRECT_OPTION = 1825; + exports2.ER_FK_DUP_NAME = 1826; + exports2.ER_PASSWORD_FORMAT = 1827; + exports2.ER_FK_COLUMN_CANNOT_DROP = 1828; + exports2.ER_FK_COLUMN_CANNOT_DROP_CHILD = 1829; + exports2.ER_FK_COLUMN_NOT_NULL = 1830; + exports2.ER_DUP_INDEX = 1831; + exports2.ER_FK_COLUMN_CANNOT_CHANGE = 1832; + exports2.ER_FK_COLUMN_CANNOT_CHANGE_CHILD = 1833; + exports2.ER_UNUSED5 = 1834; + exports2.ER_MALFORMED_PACKET = 1835; + exports2.ER_READ_ONLY_MODE = 1836; + exports2.ER_GTID_NEXT_TYPE_UNDEFINED_GTID = 1837; + exports2.ER_VARIABLE_NOT_SETTABLE_IN_SP = 1838; + exports2.ER_CANT_SET_GTID_PURGED_WHEN_GTID_MODE_IS_OFF = 1839; + exports2.ER_CANT_SET_GTID_PURGED_WHEN_GTID_EXECUTED_IS_NOT_EMPTY = 1840; + exports2.ER_CANT_SET_GTID_PURGED_WHEN_OWNED_GTIDS_IS_NOT_EMPTY = 1841; + exports2.ER_GTID_PURGED_WAS_CHANGED = 1842; + exports2.ER_GTID_EXECUTED_WAS_CHANGED = 1843; + exports2.ER_BINLOG_STMT_MODE_AND_NO_REPL_TABLES = 1844; + exports2.ER_ALTER_OPERATION_NOT_SUPPORTED = 1845; + exports2.ER_ALTER_OPERATION_NOT_SUPPORTED_REASON = 1846; + exports2.ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_COPY = 1847; + exports2.ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_PARTITION = 1848; + exports2.ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_FK_RENAME = 1849; + exports2.ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_COLUMN_TYPE = 1850; + exports2.ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_FK_CHECK = 1851; + exports2.ER_UNUSED6 = 1852; + exports2.ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_NOPK = 1853; + exports2.ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_AUTOINC = 1854; + exports2.ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_HIDDEN_FTS = 1855; + exports2.ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_CHANGE_FTS = 1856; + exports2.ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_FTS = 1857; + exports2.ER_SQL_REPLICA_SKIP_COUNTER_NOT_SETTABLE_IN_GTID_MODE = 1858; + exports2.ER_DUP_UNKNOWN_IN_INDEX = 1859; + exports2.ER_IDENT_CAUSES_TOO_LONG_PATH = 1860; + exports2.ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_NOT_NULL = 1861; + exports2.ER_MUST_CHANGE_PASSWORD_LOGIN = 1862; + exports2.ER_ROW_IN_WRONG_PARTITION = 1863; + exports2.ER_MTA_EVENT_BIGGER_PENDING_JOBS_SIZE_MAX = 1864; + exports2.ER_INNODB_NO_FT_USES_PARSER = 1865; + exports2.ER_BINLOG_LOGICAL_CORRUPTION = 1866; + exports2.ER_WARN_PURGE_LOG_IN_USE = 1867; + exports2.ER_WARN_PURGE_LOG_IS_ACTIVE = 1868; + exports2.ER_AUTO_INCREMENT_CONFLICT = 1869; + exports2.WARN_ON_BLOCKHOLE_IN_RBR = 1870; + exports2.ER_REPLICA_CM_INIT_REPOSITORY = 1871; + exports2.ER_REPLICA_AM_INIT_REPOSITORY = 1872; + exports2.ER_ACCESS_DENIED_CHANGE_USER_ERROR = 1873; + exports2.ER_INNODB_READ_ONLY = 1874; + exports2.ER_STOP_REPLICA_SQL_THREAD_TIMEOUT = 1875; + exports2.ER_STOP_REPLICA_IO_THREAD_TIMEOUT = 1876; + exports2.ER_TABLE_CORRUPT = 1877; + exports2.ER_TEMP_FILE_WRITE_FAILURE = 1878; + exports2.ER_INNODB_FT_AUX_NOT_HEX_ID = 1879; + exports2.ER_OLD_TEMPORALS_UPGRADED = 1880; + exports2.ER_INNODB_FORCED_RECOVERY = 1881; + exports2.ER_AES_INVALID_IV = 1882; + exports2.ER_PLUGIN_CANNOT_BE_UNINSTALLED = 1883; + exports2.ER_GTID_UNSAFE_BINLOG_SPLITTABLE_STATEMENT_AND_ASSIGNED_GTID = 1884; + exports2.ER_REPLICA_HAS_MORE_GTIDS_THAN_SOURCE = 1885; + exports2.ER_MISSING_KEY = 1886; + exports2.WARN_NAMED_PIPE_ACCESS_EVERYONE = 1887; + exports2.ER_FILE_CORRUPT = 3e3; + exports2.ER_ERROR_ON_SOURCE = 3001; + exports2.ER_INCONSISTENT_ERROR = 3002; + exports2.ER_STORAGE_ENGINE_NOT_LOADED = 3003; + exports2.ER_GET_STACKED_DA_WITHOUT_ACTIVE_HANDLER = 3004; + exports2.ER_WARN_LEGACY_SYNTAX_CONVERTED = 3005; + exports2.ER_BINLOG_UNSAFE_FULLTEXT_PLUGIN = 3006; + exports2.ER_CANNOT_DISCARD_TEMPORARY_TABLE = 3007; + exports2.ER_FK_DEPTH_EXCEEDED = 3008; + exports2.ER_COL_COUNT_DOESNT_MATCH_PLEASE_UPDATE_V2 = 3009; + exports2.ER_WARN_TRIGGER_DOESNT_HAVE_CREATED = 3010; + exports2.ER_REFERENCED_TRG_DOES_NOT_EXIST = 3011; + exports2.ER_EXPLAIN_NOT_SUPPORTED = 3012; + exports2.ER_INVALID_FIELD_SIZE = 3013; + exports2.ER_MISSING_HA_CREATE_OPTION = 3014; + exports2.ER_ENGINE_OUT_OF_MEMORY = 3015; + exports2.ER_PASSWORD_EXPIRE_ANONYMOUS_USER = 3016; + exports2.ER_REPLICA_SQL_THREAD_MUST_STOP = 3017; + exports2.ER_NO_FT_MATERIALIZED_SUBQUERY = 3018; + exports2.ER_INNODB_UNDO_LOG_FULL = 3019; + exports2.ER_INVALID_ARGUMENT_FOR_LOGARITHM = 3020; + exports2.ER_REPLICA_CHANNEL_IO_THREAD_MUST_STOP = 3021; + exports2.ER_WARN_OPEN_TEMP_TABLES_MUST_BE_ZERO = 3022; + exports2.ER_WARN_ONLY_SOURCE_LOG_FILE_NO_POS = 3023; + exports2.ER_QUERY_TIMEOUT = 3024; + exports2.ER_NON_RO_SELECT_DISABLE_TIMER = 3025; + exports2.ER_DUP_LIST_ENTRY = 3026; + exports2.ER_SQL_MODE_NO_EFFECT = 3027; + exports2.ER_AGGREGATE_ORDER_FOR_UNION = 3028; + exports2.ER_AGGREGATE_ORDER_NON_AGG_QUERY = 3029; + exports2.ER_REPLICA_WORKER_STOPPED_PREVIOUS_THD_ERROR = 3030; + exports2.ER_DONT_SUPPORT_REPLICA_PRESERVE_COMMIT_ORDER = 3031; + exports2.ER_SERVER_OFFLINE_MODE = 3032; + exports2.ER_GIS_DIFFERENT_SRIDS = 3033; + exports2.ER_GIS_UNSUPPORTED_ARGUMENT = 3034; + exports2.ER_GIS_UNKNOWN_ERROR = 3035; + exports2.ER_GIS_UNKNOWN_EXCEPTION = 3036; + exports2.ER_GIS_INVALID_DATA = 3037; + exports2.ER_BOOST_GEOMETRY_EMPTY_INPUT_EXCEPTION = 3038; + exports2.ER_BOOST_GEOMETRY_CENTROID_EXCEPTION = 3039; + exports2.ER_BOOST_GEOMETRY_OVERLAY_INVALID_INPUT_EXCEPTION = 3040; + exports2.ER_BOOST_GEOMETRY_TURN_INFO_EXCEPTION = 3041; + exports2.ER_BOOST_GEOMETRY_SELF_INTERSECTION_POINT_EXCEPTION = 3042; + exports2.ER_BOOST_GEOMETRY_UNKNOWN_EXCEPTION = 3043; + exports2.ER_STD_BAD_ALLOC_ERROR = 3044; + exports2.ER_STD_DOMAIN_ERROR = 3045; + exports2.ER_STD_LENGTH_ERROR = 3046; + exports2.ER_STD_INVALID_ARGUMENT = 3047; + exports2.ER_STD_OUT_OF_RANGE_ERROR = 3048; + exports2.ER_STD_OVERFLOW_ERROR = 3049; + exports2.ER_STD_RANGE_ERROR = 3050; + exports2.ER_STD_UNDERFLOW_ERROR = 3051; + exports2.ER_STD_LOGIC_ERROR = 3052; + exports2.ER_STD_RUNTIME_ERROR = 3053; + exports2.ER_STD_UNKNOWN_EXCEPTION = 3054; + exports2.ER_GIS_DATA_WRONG_ENDIANESS = 3055; + exports2.ER_CHANGE_SOURCE_PASSWORD_LENGTH = 3056; + exports2.ER_USER_LOCK_WRONG_NAME = 3057; + exports2.ER_USER_LOCK_DEADLOCK = 3058; + exports2.ER_REPLACE_INACCESSIBLE_ROWS = 3059; + exports2.ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_GIS = 3060; + exports2.ER_ILLEGAL_USER_VAR = 3061; + exports2.ER_GTID_MODE_OFF = 3062; + exports2.ER_UNSUPPORTED_BY_REPLICATION_THREAD = 3063; + exports2.ER_INCORRECT_TYPE = 3064; + exports2.ER_FIELD_IN_ORDER_NOT_SELECT = 3065; + exports2.ER_AGGREGATE_IN_ORDER_NOT_SELECT = 3066; + exports2.ER_INVALID_RPL_WILD_TABLE_FILTER_PATTERN = 3067; + exports2.ER_NET_OK_PACKET_TOO_LARGE = 3068; + exports2.ER_INVALID_JSON_DATA = 3069; + exports2.ER_INVALID_GEOJSON_MISSING_MEMBER = 3070; + exports2.ER_INVALID_GEOJSON_WRONG_TYPE = 3071; + exports2.ER_INVALID_GEOJSON_UNSPECIFIED = 3072; + exports2.ER_DIMENSION_UNSUPPORTED = 3073; + exports2.ER_REPLICA_CHANNEL_DOES_NOT_EXIST = 3074; + exports2.ER_SLAVE_MULTIPLE_CHANNELS_HOST_PORT = 3075; + exports2.ER_REPLICA_CHANNEL_NAME_INVALID_OR_TOO_LONG = 3076; + exports2.ER_REPLICA_NEW_CHANNEL_WRONG_REPOSITORY = 3077; + exports2.ER_SLAVE_CHANNEL_DELETE = 3078; + exports2.ER_REPLICA_MULTIPLE_CHANNELS_CMD = 3079; + exports2.ER_REPLICA_MAX_CHANNELS_EXCEEDED = 3080; + exports2.ER_REPLICA_CHANNEL_MUST_STOP = 3081; + exports2.ER_REPLICA_CHANNEL_NOT_RUNNING = 3082; + exports2.ER_REPLICA_CHANNEL_WAS_RUNNING = 3083; + exports2.ER_REPLICA_CHANNEL_WAS_NOT_RUNNING = 3084; + exports2.ER_REPLICA_CHANNEL_SQL_THREAD_MUST_STOP = 3085; + exports2.ER_REPLICA_CHANNEL_SQL_SKIP_COUNTER = 3086; + exports2.ER_WRONG_FIELD_WITH_GROUP_V2 = 3087; + exports2.ER_MIX_OF_GROUP_FUNC_AND_FIELDS_V2 = 3088; + exports2.ER_WARN_DEPRECATED_SYSVAR_UPDATE = 3089; + exports2.ER_WARN_DEPRECATED_SQLMODE = 3090; + exports2.ER_CANNOT_LOG_PARTIAL_DROP_DATABASE_WITH_GTID = 3091; + exports2.ER_GROUP_REPLICATION_CONFIGURATION = 3092; + exports2.ER_GROUP_REPLICATION_RUNNING = 3093; + exports2.ER_GROUP_REPLICATION_APPLIER_INIT_ERROR = 3094; + exports2.ER_GROUP_REPLICATION_STOP_APPLIER_THREAD_TIMEOUT = 3095; + exports2.ER_GROUP_REPLICATION_COMMUNICATION_LAYER_SESSION_ERROR = 3096; + exports2.ER_GROUP_REPLICATION_COMMUNICATION_LAYER_JOIN_ERROR = 3097; + exports2.ER_BEFORE_DML_VALIDATION_ERROR = 3098; + exports2.ER_PREVENTS_VARIABLE_WITHOUT_RBR = 3099; + exports2.ER_RUN_HOOK_ERROR = 3100; + exports2.ER_TRANSACTION_ROLLBACK_DURING_COMMIT = 3101; + exports2.ER_GENERATED_COLUMN_FUNCTION_IS_NOT_ALLOWED = 3102; + exports2.ER_UNSUPPORTED_ALTER_INPLACE_ON_VIRTUAL_COLUMN = 3103; + exports2.ER_WRONG_FK_OPTION_FOR_GENERATED_COLUMN = 3104; + exports2.ER_NON_DEFAULT_VALUE_FOR_GENERATED_COLUMN = 3105; + exports2.ER_UNSUPPORTED_ACTION_ON_GENERATED_COLUMN = 3106; + exports2.ER_GENERATED_COLUMN_NON_PRIOR = 3107; + exports2.ER_DEPENDENT_BY_GENERATED_COLUMN = 3108; + exports2.ER_GENERATED_COLUMN_REF_AUTO_INC = 3109; + exports2.ER_FEATURE_NOT_AVAILABLE = 3110; + exports2.ER_CANT_SET_GTID_MODE = 3111; + exports2.ER_CANT_USE_AUTO_POSITION_WITH_GTID_MODE_OFF = 3112; + exports2.ER_CANT_REPLICATE_ANONYMOUS_WITH_AUTO_POSITION = 3113; + exports2.ER_CANT_REPLICATE_ANONYMOUS_WITH_GTID_MODE_ON = 3114; + exports2.ER_CANT_REPLICATE_GTID_WITH_GTID_MODE_OFF = 3115; + exports2.ER_CANT_ENFORCE_GTID_CONSISTENCY_WITH_ONGOING_GTID_VIOLATING_TX = 3116; + exports2.ER_ENFORCE_GTID_CONSISTENCY_WARN_WITH_ONGOING_GTID_VIOLATING_TX = 3117; + exports2.ER_ACCOUNT_HAS_BEEN_LOCKED = 3118; + exports2.ER_WRONG_TABLESPACE_NAME = 3119; + exports2.ER_TABLESPACE_IS_NOT_EMPTY = 3120; + exports2.ER_WRONG_FILE_NAME = 3121; + exports2.ER_BOOST_GEOMETRY_INCONSISTENT_TURNS_EXCEPTION = 3122; + exports2.ER_WARN_OPTIMIZER_HINT_SYNTAX_ERROR = 3123; + exports2.ER_WARN_BAD_MAX_EXECUTION_TIME = 3124; + exports2.ER_WARN_UNSUPPORTED_MAX_EXECUTION_TIME = 3125; + exports2.ER_WARN_CONFLICTING_HINT = 3126; + exports2.ER_WARN_UNKNOWN_QB_NAME = 3127; + exports2.ER_UNRESOLVED_HINT_NAME = 3128; + exports2.ER_WARN_ON_MODIFYING_GTID_EXECUTED_TABLE = 3129; + exports2.ER_PLUGGABLE_PROTOCOL_COMMAND_NOT_SUPPORTED = 3130; + exports2.ER_LOCKING_SERVICE_WRONG_NAME = 3131; + exports2.ER_LOCKING_SERVICE_DEADLOCK = 3132; + exports2.ER_LOCKING_SERVICE_TIMEOUT = 3133; + exports2.ER_GIS_MAX_POINTS_IN_GEOMETRY_OVERFLOWED = 3134; + exports2.ER_SQL_MODE_MERGED = 3135; + exports2.ER_VTOKEN_PLUGIN_TOKEN_MISMATCH = 3136; + exports2.ER_VTOKEN_PLUGIN_TOKEN_NOT_FOUND = 3137; + exports2.ER_CANT_SET_VARIABLE_WHEN_OWNING_GTID = 3138; + exports2.ER_REPLICA_CHANNEL_OPERATION_NOT_ALLOWED = 3139; + exports2.ER_INVALID_JSON_TEXT = 3140; + exports2.ER_INVALID_JSON_TEXT_IN_PARAM = 3141; + exports2.ER_INVALID_JSON_BINARY_DATA = 3142; + exports2.ER_INVALID_JSON_PATH = 3143; + exports2.ER_INVALID_JSON_CHARSET = 3144; + exports2.ER_INVALID_JSON_CHARSET_IN_FUNCTION = 3145; + exports2.ER_INVALID_TYPE_FOR_JSON = 3146; + exports2.ER_INVALID_CAST_TO_JSON = 3147; + exports2.ER_INVALID_JSON_PATH_CHARSET = 3148; + exports2.ER_INVALID_JSON_PATH_WILDCARD = 3149; + exports2.ER_JSON_VALUE_TOO_BIG = 3150; + exports2.ER_JSON_KEY_TOO_BIG = 3151; + exports2.ER_JSON_USED_AS_KEY = 3152; + exports2.ER_JSON_VACUOUS_PATH = 3153; + exports2.ER_JSON_BAD_ONE_OR_ALL_ARG = 3154; + exports2.ER_NUMERIC_JSON_VALUE_OUT_OF_RANGE = 3155; + exports2.ER_INVALID_JSON_VALUE_FOR_CAST = 3156; + exports2.ER_JSON_DOCUMENT_TOO_DEEP = 3157; + exports2.ER_JSON_DOCUMENT_NULL_KEY = 3158; + exports2.ER_SECURE_TRANSPORT_REQUIRED = 3159; + exports2.ER_NO_SECURE_TRANSPORTS_CONFIGURED = 3160; + exports2.ER_DISABLED_STORAGE_ENGINE = 3161; + exports2.ER_USER_DOES_NOT_EXIST = 3162; + exports2.ER_USER_ALREADY_EXISTS = 3163; + exports2.ER_AUDIT_API_ABORT = 3164; + exports2.ER_INVALID_JSON_PATH_ARRAY_CELL = 3165; + exports2.ER_BUFPOOL_RESIZE_INPROGRESS = 3166; + exports2.ER_FEATURE_DISABLED_SEE_DOC = 3167; + exports2.ER_SERVER_ISNT_AVAILABLE = 3168; + exports2.ER_SESSION_WAS_KILLED = 3169; + exports2.ER_CAPACITY_EXCEEDED = 3170; + exports2.ER_CAPACITY_EXCEEDED_IN_RANGE_OPTIMIZER = 3171; + exports2.ER_TABLE_NEEDS_UPG_PART = 3172; + exports2.ER_CANT_WAIT_FOR_EXECUTED_GTID_SET_WHILE_OWNING_A_GTID = 3173; + exports2.ER_CANNOT_ADD_FOREIGN_BASE_COL_VIRTUAL = 3174; + exports2.ER_CANNOT_CREATE_VIRTUAL_INDEX_CONSTRAINT = 3175; + exports2.ER_ERROR_ON_MODIFYING_GTID_EXECUTED_TABLE = 3176; + exports2.ER_LOCK_REFUSED_BY_ENGINE = 3177; + exports2.ER_UNSUPPORTED_ALTER_ONLINE_ON_VIRTUAL_COLUMN = 3178; + exports2.ER_MASTER_KEY_ROTATION_NOT_SUPPORTED_BY_SE = 3179; + exports2.ER_MASTER_KEY_ROTATION_ERROR_BY_SE = 3180; + exports2.ER_MASTER_KEY_ROTATION_BINLOG_FAILED = 3181; + exports2.ER_MASTER_KEY_ROTATION_SE_UNAVAILABLE = 3182; + exports2.ER_TABLESPACE_CANNOT_ENCRYPT = 3183; + exports2.ER_INVALID_ENCRYPTION_OPTION = 3184; + exports2.ER_CANNOT_FIND_KEY_IN_KEYRING = 3185; + exports2.ER_CAPACITY_EXCEEDED_IN_PARSER = 3186; + exports2.ER_UNSUPPORTED_ALTER_ENCRYPTION_INPLACE = 3187; + exports2.ER_KEYRING_UDF_KEYRING_SERVICE_ERROR = 3188; + exports2.ER_USER_COLUMN_OLD_LENGTH = 3189; + exports2.ER_CANT_RESET_SOURCE = 3190; + exports2.ER_GROUP_REPLICATION_MAX_GROUP_SIZE = 3191; + exports2.ER_CANNOT_ADD_FOREIGN_BASE_COL_STORED = 3192; + exports2.ER_TABLE_REFERENCED = 3193; + exports2.ER_PARTITION_ENGINE_DEPRECATED_FOR_TABLE = 3194; + exports2.ER_WARN_USING_GEOMFROMWKB_TO_SET_SRID_ZERO = 3195; + exports2.ER_WARN_USING_GEOMFROMWKB_TO_SET_SRID = 3196; + exports2.ER_XA_RETRY = 3197; + exports2.ER_KEYRING_AWS_UDF_AWS_KMS_ERROR = 3198; + exports2.ER_BINLOG_UNSAFE_XA = 3199; + exports2.ER_UDF_ERROR = 3200; + exports2.ER_KEYRING_MIGRATION_FAILURE = 3201; + exports2.ER_KEYRING_ACCESS_DENIED_ERROR = 3202; + exports2.ER_KEYRING_MIGRATION_STATUS = 3203; + exports2.ER_PLUGIN_FAILED_TO_OPEN_TABLES = 3204; + exports2.ER_PLUGIN_FAILED_TO_OPEN_TABLE = 3205; + exports2.ER_AUDIT_LOG_NO_KEYRING_PLUGIN_INSTALLED = 3206; + exports2.ER_AUDIT_LOG_ENCRYPTION_PASSWORD_HAS_NOT_BEEN_SET = 3207; + exports2.ER_AUDIT_LOG_COULD_NOT_CREATE_AES_KEY = 3208; + exports2.ER_AUDIT_LOG_ENCRYPTION_PASSWORD_CANNOT_BE_FETCHED = 3209; + exports2.ER_AUDIT_LOG_JSON_FILTERING_NOT_ENABLED = 3210; + exports2.ER_AUDIT_LOG_UDF_INSUFFICIENT_PRIVILEGE = 3211; + exports2.ER_AUDIT_LOG_SUPER_PRIVILEGE_REQUIRED = 3212; + exports2.ER_COULD_NOT_REINITIALIZE_AUDIT_LOG_FILTERS = 3213; + exports2.ER_AUDIT_LOG_UDF_INVALID_ARGUMENT_TYPE = 3214; + exports2.ER_AUDIT_LOG_UDF_INVALID_ARGUMENT_COUNT = 3215; + exports2.ER_AUDIT_LOG_HAS_NOT_BEEN_INSTALLED = 3216; + exports2.ER_AUDIT_LOG_UDF_READ_INVALID_MAX_ARRAY_LENGTH_ARG_TYPE = 3217; + exports2.ER_AUDIT_LOG_UDF_READ_INVALID_MAX_ARRAY_LENGTH_ARG_VALUE = 3218; + exports2.ER_AUDIT_LOG_JSON_FILTER_PARSING_ERROR = 3219; + exports2.ER_AUDIT_LOG_JSON_FILTER_NAME_CANNOT_BE_EMPTY = 3220; + exports2.ER_AUDIT_LOG_JSON_USER_NAME_CANNOT_BE_EMPTY = 3221; + exports2.ER_AUDIT_LOG_JSON_FILTER_DOES_NOT_EXISTS = 3222; + exports2.ER_AUDIT_LOG_USER_FIRST_CHARACTER_MUST_BE_ALPHANUMERIC = 3223; + exports2.ER_AUDIT_LOG_USER_NAME_INVALID_CHARACTER = 3224; + exports2.ER_AUDIT_LOG_HOST_NAME_INVALID_CHARACTER = 3225; + exports2.WARN_DEPRECATED_MAXDB_SQL_MODE_FOR_TIMESTAMP = 3226; + exports2.ER_XA_REPLICATION_FILTERS = 3227; + exports2.ER_CANT_OPEN_ERROR_LOG = 3228; + exports2.ER_GROUPING_ON_TIMESTAMP_IN_DST = 3229; + exports2.ER_CANT_START_SERVER_NAMED_PIPE = 3230; + exports2.ER_WRITE_SET_EXCEEDS_LIMIT = 3231; + exports2.ER_DEPRECATED_TLS_VERSION_SESSION_57 = 3232; + exports2.ER_WARN_DEPRECATED_TLS_VERSION_57 = 3233; + exports2.ER_WARN_WRONG_NATIVE_TABLE_STRUCTURE = 3234; + exports2.ER_AES_INVALID_KDF_NAME = 3235; + exports2.ER_AES_INVALID_KDF_ITERATIONS = 3236; + exports2.WARN_AES_KEY_SIZE = 3237; + exports2.ER_AES_INVALID_KDF_OPTION_SIZE = 3238; + exports2.ER_UNSUPPORT_COMPRESSED_TEMPORARY_TABLE = 3500; + exports2.ER_ACL_OPERATION_FAILED = 3501; + exports2.ER_UNSUPPORTED_INDEX_ALGORITHM = 3502; + exports2.ER_NO_SUCH_DB = 3503; + exports2.ER_TOO_BIG_ENUM = 3504; + exports2.ER_TOO_LONG_SET_ENUM_VALUE = 3505; + exports2.ER_INVALID_DD_OBJECT = 3506; + exports2.ER_UPDATING_DD_TABLE = 3507; + exports2.ER_INVALID_DD_OBJECT_ID = 3508; + exports2.ER_INVALID_DD_OBJECT_NAME = 3509; + exports2.ER_TABLESPACE_MISSING_WITH_NAME = 3510; + exports2.ER_TOO_LONG_ROUTINE_COMMENT = 3511; + exports2.ER_SP_LOAD_FAILED = 3512; + exports2.ER_INVALID_BITWISE_OPERANDS_SIZE = 3513; + exports2.ER_INVALID_BITWISE_AGGREGATE_OPERANDS_SIZE = 3514; + exports2.ER_WARN_UNSUPPORTED_HINT = 3515; + exports2.ER_UNEXPECTED_GEOMETRY_TYPE = 3516; + exports2.ER_SRS_PARSE_ERROR = 3517; + exports2.ER_SRS_PROJ_PARAMETER_MISSING = 3518; + exports2.ER_WARN_SRS_NOT_FOUND = 3519; + exports2.ER_SRS_NOT_CARTESIAN = 3520; + exports2.ER_SRS_NOT_CARTESIAN_UNDEFINED = 3521; + exports2.ER_PK_INDEX_CANT_BE_INVISIBLE = 3522; + exports2.ER_UNKNOWN_AUTHID = 3523; + exports2.ER_FAILED_ROLE_GRANT = 3524; + exports2.ER_OPEN_ROLE_TABLES = 3525; + exports2.ER_FAILED_DEFAULT_ROLES = 3526; + exports2.ER_COMPONENTS_NO_SCHEME = 3527; + exports2.ER_COMPONENTS_NO_SCHEME_SERVICE = 3528; + exports2.ER_COMPONENTS_CANT_LOAD = 3529; + exports2.ER_ROLE_NOT_GRANTED = 3530; + exports2.ER_FAILED_REVOKE_ROLE = 3531; + exports2.ER_RENAME_ROLE = 3532; + exports2.ER_COMPONENTS_CANT_ACQUIRE_SERVICE_IMPLEMENTATION = 3533; + exports2.ER_COMPONENTS_CANT_SATISFY_DEPENDENCY = 3534; + exports2.ER_COMPONENTS_LOAD_CANT_REGISTER_SERVICE_IMPLEMENTATION = 3535; + exports2.ER_COMPONENTS_LOAD_CANT_INITIALIZE = 3536; + exports2.ER_COMPONENTS_UNLOAD_NOT_LOADED = 3537; + exports2.ER_COMPONENTS_UNLOAD_CANT_DEINITIALIZE = 3538; + exports2.ER_COMPONENTS_CANT_RELEASE_SERVICE = 3539; + exports2.ER_COMPONENTS_UNLOAD_CANT_UNREGISTER_SERVICE = 3540; + exports2.ER_COMPONENTS_CANT_UNLOAD = 3541; + exports2.ER_WARN_UNLOAD_THE_NOT_PERSISTED = 3542; + exports2.ER_COMPONENT_TABLE_INCORRECT = 3543; + exports2.ER_COMPONENT_MANIPULATE_ROW_FAILED = 3544; + exports2.ER_COMPONENTS_UNLOAD_DUPLICATE_IN_GROUP = 3545; + exports2.ER_CANT_SET_GTID_PURGED_DUE_SETS_CONSTRAINTS = 3546; + exports2.ER_CANNOT_LOCK_USER_MANAGEMENT_CACHES = 3547; + exports2.ER_SRS_NOT_FOUND = 3548; + exports2.ER_VARIABLE_NOT_PERSISTED = 3549; + exports2.ER_IS_QUERY_INVALID_CLAUSE = 3550; + exports2.ER_UNABLE_TO_STORE_STATISTICS = 3551; + exports2.ER_NO_SYSTEM_SCHEMA_ACCESS = 3552; + exports2.ER_NO_SYSTEM_TABLESPACE_ACCESS = 3553; + exports2.ER_NO_SYSTEM_TABLE_ACCESS = 3554; + exports2.ER_NO_SYSTEM_TABLE_ACCESS_FOR_DICTIONARY_TABLE = 3555; + exports2.ER_NO_SYSTEM_TABLE_ACCESS_FOR_SYSTEM_TABLE = 3556; + exports2.ER_NO_SYSTEM_TABLE_ACCESS_FOR_TABLE = 3557; + exports2.ER_INVALID_OPTION_KEY = 3558; + exports2.ER_INVALID_OPTION_VALUE = 3559; + exports2.ER_INVALID_OPTION_KEY_VALUE_PAIR = 3560; + exports2.ER_INVALID_OPTION_START_CHARACTER = 3561; + exports2.ER_INVALID_OPTION_END_CHARACTER = 3562; + exports2.ER_INVALID_OPTION_CHARACTERS = 3563; + exports2.ER_DUPLICATE_OPTION_KEY = 3564; + exports2.ER_WARN_SRS_NOT_FOUND_AXIS_ORDER = 3565; + exports2.ER_NO_ACCESS_TO_NATIVE_FCT = 3566; + exports2.ER_RESET_SOURCE_TO_VALUE_OUT_OF_RANGE = 3567; + exports2.ER_UNRESOLVED_TABLE_LOCK = 3568; + exports2.ER_DUPLICATE_TABLE_LOCK = 3569; + exports2.ER_BINLOG_UNSAFE_SKIP_LOCKED = 3570; + exports2.ER_BINLOG_UNSAFE_NOWAIT = 3571; + exports2.ER_LOCK_NOWAIT = 3572; + exports2.ER_CTE_RECURSIVE_REQUIRES_UNION = 3573; + exports2.ER_CTE_RECURSIVE_REQUIRES_NONRECURSIVE_FIRST = 3574; + exports2.ER_CTE_RECURSIVE_FORBIDS_AGGREGATION = 3575; + exports2.ER_CTE_RECURSIVE_FORBIDDEN_JOIN_ORDER = 3576; + exports2.ER_CTE_RECURSIVE_REQUIRES_SINGLE_REFERENCE = 3577; + exports2.ER_SWITCH_TMP_ENGINE = 3578; + exports2.ER_WINDOW_NO_SUCH_WINDOW = 3579; + exports2.ER_WINDOW_CIRCULARITY_IN_WINDOW_GRAPH = 3580; + exports2.ER_WINDOW_NO_CHILD_PARTITIONING = 3581; + exports2.ER_WINDOW_NO_INHERIT_FRAME = 3582; + exports2.ER_WINDOW_NO_REDEFINE_ORDER_BY = 3583; + exports2.ER_WINDOW_FRAME_START_ILLEGAL = 3584; + exports2.ER_WINDOW_FRAME_END_ILLEGAL = 3585; + exports2.ER_WINDOW_FRAME_ILLEGAL = 3586; + exports2.ER_WINDOW_RANGE_FRAME_ORDER_TYPE = 3587; + exports2.ER_WINDOW_RANGE_FRAME_TEMPORAL_TYPE = 3588; + exports2.ER_WINDOW_RANGE_FRAME_NUMERIC_TYPE = 3589; + exports2.ER_WINDOW_RANGE_BOUND_NOT_CONSTANT = 3590; + exports2.ER_WINDOW_DUPLICATE_NAME = 3591; + exports2.ER_WINDOW_ILLEGAL_ORDER_BY = 3592; + exports2.ER_WINDOW_INVALID_WINDOW_FUNC_USE = 3593; + exports2.ER_WINDOW_INVALID_WINDOW_FUNC_ALIAS_USE = 3594; + exports2.ER_WINDOW_NESTED_WINDOW_FUNC_USE_IN_WINDOW_SPEC = 3595; + exports2.ER_WINDOW_ROWS_INTERVAL_USE = 3596; + exports2.ER_WINDOW_NO_GROUP_ORDER = 3597; + exports2.ER_WINDOW_EXPLAIN_JSON = 3598; + exports2.ER_WINDOW_FUNCTION_IGNORES_FRAME = 3599; + exports2.ER_WL9236_NOW = 3600; + exports2.ER_INVALID_NO_OF_ARGS = 3601; + exports2.ER_FIELD_IN_GROUPING_NOT_GROUP_BY = 3602; + exports2.ER_TOO_LONG_TABLESPACE_COMMENT = 3603; + exports2.ER_ENGINE_CANT_DROP_TABLE = 3604; + exports2.ER_ENGINE_CANT_DROP_MISSING_TABLE = 3605; + exports2.ER_TABLESPACE_DUP_FILENAME = 3606; + exports2.ER_DB_DROP_RMDIR2 = 3607; + exports2.ER_IMP_NO_FILES_MATCHED = 3608; + exports2.ER_IMP_SCHEMA_DOES_NOT_EXIST = 3609; + exports2.ER_IMP_TABLE_ALREADY_EXISTS = 3610; + exports2.ER_IMP_INCOMPATIBLE_MYSQLD_VERSION = 3611; + exports2.ER_IMP_INCOMPATIBLE_DD_VERSION = 3612; + exports2.ER_IMP_INCOMPATIBLE_SDI_VERSION = 3613; + exports2.ER_WARN_INVALID_HINT = 3614; + exports2.ER_VAR_DOES_NOT_EXIST = 3615; + exports2.ER_LONGITUDE_OUT_OF_RANGE = 3616; + exports2.ER_LATITUDE_OUT_OF_RANGE = 3617; + exports2.ER_NOT_IMPLEMENTED_FOR_GEOGRAPHIC_SRS = 3618; + exports2.ER_ILLEGAL_PRIVILEGE_LEVEL = 3619; + exports2.ER_NO_SYSTEM_VIEW_ACCESS = 3620; + exports2.ER_COMPONENT_FILTER_FLABBERGASTED = 3621; + exports2.ER_PART_EXPR_TOO_LONG = 3622; + exports2.ER_UDF_DROP_DYNAMICALLY_REGISTERED = 3623; + exports2.ER_UNABLE_TO_STORE_COLUMN_STATISTICS = 3624; + exports2.ER_UNABLE_TO_UPDATE_COLUMN_STATISTICS = 3625; + exports2.ER_UNABLE_TO_DROP_COLUMN_STATISTICS = 3626; + exports2.ER_UNABLE_TO_BUILD_HISTOGRAM = 3627; + exports2.ER_MANDATORY_ROLE = 3628; + exports2.ER_MISSING_TABLESPACE_FILE = 3629; + exports2.ER_PERSIST_ONLY_ACCESS_DENIED_ERROR = 3630; + exports2.ER_CMD_NEED_SUPER = 3631; + exports2.ER_PATH_IN_DATADIR = 3632; + exports2.ER_CLONE_DDL_IN_PROGRESS = 3633; + exports2.ER_CLONE_TOO_MANY_CONCURRENT_CLONES = 3634; + exports2.ER_APPLIER_LOG_EVENT_VALIDATION_ERROR = 3635; + exports2.ER_CTE_MAX_RECURSION_DEPTH = 3636; + exports2.ER_NOT_HINT_UPDATABLE_VARIABLE = 3637; + exports2.ER_CREDENTIALS_CONTRADICT_TO_HISTORY = 3638; + exports2.ER_WARNING_PASSWORD_HISTORY_CLAUSES_VOID = 3639; + exports2.ER_CLIENT_DOES_NOT_SUPPORT = 3640; + exports2.ER_I_S_SKIPPED_TABLESPACE = 3641; + exports2.ER_TABLESPACE_ENGINE_MISMATCH = 3642; + exports2.ER_WRONG_SRID_FOR_COLUMN = 3643; + exports2.ER_CANNOT_ALTER_SRID_DUE_TO_INDEX = 3644; + exports2.ER_WARN_BINLOG_PARTIAL_UPDATES_DISABLED = 3645; + exports2.ER_WARN_BINLOG_V1_ROW_EVENTS_DISABLED = 3646; + exports2.ER_WARN_BINLOG_PARTIAL_UPDATES_SUGGESTS_PARTIAL_IMAGES = 3647; + exports2.ER_COULD_NOT_APPLY_JSON_DIFF = 3648; + exports2.ER_CORRUPTED_JSON_DIFF = 3649; + exports2.ER_RESOURCE_GROUP_EXISTS = 3650; + exports2.ER_RESOURCE_GROUP_NOT_EXISTS = 3651; + exports2.ER_INVALID_VCPU_ID = 3652; + exports2.ER_INVALID_VCPU_RANGE = 3653; + exports2.ER_INVALID_THREAD_PRIORITY = 3654; + exports2.ER_DISALLOWED_OPERATION = 3655; + exports2.ER_RESOURCE_GROUP_BUSY = 3656; + exports2.ER_RESOURCE_GROUP_DISABLED = 3657; + exports2.ER_FEATURE_UNSUPPORTED = 3658; + exports2.ER_ATTRIBUTE_IGNORED = 3659; + exports2.ER_INVALID_THREAD_ID = 3660; + exports2.ER_RESOURCE_GROUP_BIND_FAILED = 3661; + exports2.ER_INVALID_USE_OF_FORCE_OPTION = 3662; + exports2.ER_GROUP_REPLICATION_COMMAND_FAILURE = 3663; + exports2.ER_SDI_OPERATION_FAILED = 3664; + exports2.ER_MISSING_JSON_TABLE_VALUE = 3665; + exports2.ER_WRONG_JSON_TABLE_VALUE = 3666; + exports2.ER_TF_MUST_HAVE_ALIAS = 3667; + exports2.ER_TF_FORBIDDEN_JOIN_TYPE = 3668; + exports2.ER_JT_VALUE_OUT_OF_RANGE = 3669; + exports2.ER_JT_MAX_NESTED_PATH = 3670; + exports2.ER_PASSWORD_EXPIRATION_NOT_SUPPORTED_BY_AUTH_METHOD = 3671; + exports2.ER_INVALID_GEOJSON_CRS_NOT_TOP_LEVEL = 3672; + exports2.ER_BAD_NULL_ERROR_NOT_IGNORED = 3673; + exports2.WARN_USELESS_SPATIAL_INDEX = 3674; + exports2.ER_DISK_FULL_NOWAIT = 3675; + exports2.ER_PARSE_ERROR_IN_DIGEST_FN = 3676; + exports2.ER_UNDISCLOSED_PARSE_ERROR_IN_DIGEST_FN = 3677; + exports2.ER_SCHEMA_DIR_EXISTS = 3678; + exports2.ER_SCHEMA_DIR_MISSING = 3679; + exports2.ER_SCHEMA_DIR_CREATE_FAILED = 3680; + exports2.ER_SCHEMA_DIR_UNKNOWN = 3681; + exports2.ER_ONLY_IMPLEMENTED_FOR_SRID_0_AND_4326 = 3682; + exports2.ER_BINLOG_EXPIRE_LOG_DAYS_AND_SECS_USED_TOGETHER = 3683; + exports2.ER_REGEXP_BUFFER_OVERFLOW = 3684; + exports2.ER_REGEXP_ILLEGAL_ARGUMENT = 3685; + exports2.ER_REGEXP_INDEX_OUTOFBOUNDS_ERROR = 3686; + exports2.ER_REGEXP_INTERNAL_ERROR = 3687; + exports2.ER_REGEXP_RULE_SYNTAX = 3688; + exports2.ER_REGEXP_BAD_ESCAPE_SEQUENCE = 3689; + exports2.ER_REGEXP_UNIMPLEMENTED = 3690; + exports2.ER_REGEXP_MISMATCHED_PAREN = 3691; + exports2.ER_REGEXP_BAD_INTERVAL = 3692; + exports2.ER_REGEXP_MAX_LT_MIN = 3693; + exports2.ER_REGEXP_INVALID_BACK_REF = 3694; + exports2.ER_REGEXP_LOOK_BEHIND_LIMIT = 3695; + exports2.ER_REGEXP_MISSING_CLOSE_BRACKET = 3696; + exports2.ER_REGEXP_INVALID_RANGE = 3697; + exports2.ER_REGEXP_STACK_OVERFLOW = 3698; + exports2.ER_REGEXP_TIME_OUT = 3699; + exports2.ER_REGEXP_PATTERN_TOO_BIG = 3700; + exports2.ER_CANT_SET_ERROR_LOG_SERVICE = 3701; + exports2.ER_EMPTY_PIPELINE_FOR_ERROR_LOG_SERVICE = 3702; + exports2.ER_COMPONENT_FILTER_DIAGNOSTICS = 3703; + exports2.ER_NOT_IMPLEMENTED_FOR_CARTESIAN_SRS = 3704; + exports2.ER_NOT_IMPLEMENTED_FOR_PROJECTED_SRS = 3705; + exports2.ER_NONPOSITIVE_RADIUS = 3706; + exports2.ER_RESTART_SERVER_FAILED = 3707; + exports2.ER_SRS_MISSING_MANDATORY_ATTRIBUTE = 3708; + exports2.ER_SRS_MULTIPLE_ATTRIBUTE_DEFINITIONS = 3709; + exports2.ER_SRS_NAME_CANT_BE_EMPTY_OR_WHITESPACE = 3710; + exports2.ER_SRS_ORGANIZATION_CANT_BE_EMPTY_OR_WHITESPACE = 3711; + exports2.ER_SRS_ID_ALREADY_EXISTS = 3712; + exports2.ER_WARN_SRS_ID_ALREADY_EXISTS = 3713; + exports2.ER_CANT_MODIFY_SRID_0 = 3714; + exports2.ER_WARN_RESERVED_SRID_RANGE = 3715; + exports2.ER_CANT_MODIFY_SRS_USED_BY_COLUMN = 3716; + exports2.ER_SRS_INVALID_CHARACTER_IN_ATTRIBUTE = 3717; + exports2.ER_SRS_ATTRIBUTE_STRING_TOO_LONG = 3718; + exports2.ER_DEPRECATED_UTF8_ALIAS = 3719; + exports2.ER_DEPRECATED_NATIONAL = 3720; + exports2.ER_INVALID_DEFAULT_UTF8MB4_COLLATION = 3721; + exports2.ER_UNABLE_TO_COLLECT_LOG_STATUS = 3722; + exports2.ER_RESERVED_TABLESPACE_NAME = 3723; + exports2.ER_UNABLE_TO_SET_OPTION = 3724; + exports2.ER_REPLICA_POSSIBLY_DIVERGED_AFTER_DDL = 3725; + exports2.ER_SRS_NOT_GEOGRAPHIC = 3726; + exports2.ER_POLYGON_TOO_LARGE = 3727; + exports2.ER_SPATIAL_UNIQUE_INDEX = 3728; + exports2.ER_INDEX_TYPE_NOT_SUPPORTED_FOR_SPATIAL_INDEX = 3729; + exports2.ER_FK_CANNOT_DROP_PARENT = 3730; + exports2.ER_GEOMETRY_PARAM_LONGITUDE_OUT_OF_RANGE = 3731; + exports2.ER_GEOMETRY_PARAM_LATITUDE_OUT_OF_RANGE = 3732; + exports2.ER_FK_CANNOT_USE_VIRTUAL_COLUMN = 3733; + exports2.ER_FK_NO_COLUMN_PARENT = 3734; + exports2.ER_CANT_SET_ERROR_SUPPRESSION_LIST = 3735; + exports2.ER_SRS_GEOGCS_INVALID_AXES = 3736; + exports2.ER_SRS_INVALID_SEMI_MAJOR_AXIS = 3737; + exports2.ER_SRS_INVALID_INVERSE_FLATTENING = 3738; + exports2.ER_SRS_INVALID_ANGULAR_UNIT = 3739; + exports2.ER_SRS_INVALID_PRIME_MERIDIAN = 3740; + exports2.ER_TRANSFORM_SOURCE_SRS_NOT_SUPPORTED = 3741; + exports2.ER_TRANSFORM_TARGET_SRS_NOT_SUPPORTED = 3742; + exports2.ER_TRANSFORM_SOURCE_SRS_MISSING_TOWGS84 = 3743; + exports2.ER_TRANSFORM_TARGET_SRS_MISSING_TOWGS84 = 3744; + exports2.ER_TEMP_TABLE_PREVENTS_SWITCH_SESSION_BINLOG_FORMAT = 3745; + exports2.ER_TEMP_TABLE_PREVENTS_SWITCH_GLOBAL_BINLOG_FORMAT = 3746; + exports2.ER_RUNNING_APPLIER_PREVENTS_SWITCH_GLOBAL_BINLOG_FORMAT = 3747; + exports2.ER_CLIENT_GTID_UNSAFE_CREATE_DROP_TEMP_TABLE_IN_TRX_IN_SBR = 3748; + exports2.ER_XA_CANT_CREATE_MDL_BACKUP = 3749; + exports2.ER_TABLE_WITHOUT_PK = 3750; + exports2.ER_WARN_DATA_TRUNCATED_FUNCTIONAL_INDEX = 3751; + exports2.ER_WARN_DATA_OUT_OF_RANGE_FUNCTIONAL_INDEX = 3752; + exports2.ER_FUNCTIONAL_INDEX_ON_JSON_OR_GEOMETRY_FUNCTION = 3753; + exports2.ER_FUNCTIONAL_INDEX_REF_AUTO_INCREMENT = 3754; + exports2.ER_CANNOT_DROP_COLUMN_FUNCTIONAL_INDEX = 3755; + exports2.ER_FUNCTIONAL_INDEX_PRIMARY_KEY = 3756; + exports2.ER_FUNCTIONAL_INDEX_ON_LOB = 3757; + exports2.ER_FUNCTIONAL_INDEX_FUNCTION_IS_NOT_ALLOWED = 3758; + exports2.ER_FULLTEXT_FUNCTIONAL_INDEX = 3759; + exports2.ER_SPATIAL_FUNCTIONAL_INDEX = 3760; + exports2.ER_WRONG_KEY_COLUMN_FUNCTIONAL_INDEX = 3761; + exports2.ER_FUNCTIONAL_INDEX_ON_FIELD = 3762; + exports2.ER_GENERATED_COLUMN_NAMED_FUNCTION_IS_NOT_ALLOWED = 3763; + exports2.ER_GENERATED_COLUMN_ROW_VALUE = 3764; + exports2.ER_GENERATED_COLUMN_VARIABLES = 3765; + exports2.ER_DEPENDENT_BY_DEFAULT_GENERATED_VALUE = 3766; + exports2.ER_DEFAULT_VAL_GENERATED_NON_PRIOR = 3767; + exports2.ER_DEFAULT_VAL_GENERATED_REF_AUTO_INC = 3768; + exports2.ER_DEFAULT_VAL_GENERATED_FUNCTION_IS_NOT_ALLOWED = 3769; + exports2.ER_DEFAULT_VAL_GENERATED_NAMED_FUNCTION_IS_NOT_ALLOWED = 3770; + exports2.ER_DEFAULT_VAL_GENERATED_ROW_VALUE = 3771; + exports2.ER_DEFAULT_VAL_GENERATED_VARIABLES = 3772; + exports2.ER_DEFAULT_AS_VAL_GENERATED = 3773; + exports2.ER_UNSUPPORTED_ACTION_ON_DEFAULT_VAL_GENERATED = 3774; + exports2.ER_GTID_UNSAFE_ALTER_ADD_COL_WITH_DEFAULT_EXPRESSION = 3775; + exports2.ER_FK_CANNOT_CHANGE_ENGINE = 3776; + exports2.ER_WARN_DEPRECATED_USER_SET_EXPR = 3777; + exports2.ER_WARN_DEPRECATED_UTF8MB3_COLLATION = 3778; + exports2.ER_WARN_DEPRECATED_NESTED_COMMENT_SYNTAX = 3779; + exports2.ER_FK_INCOMPATIBLE_COLUMNS = 3780; + exports2.ER_GR_HOLD_WAIT_TIMEOUT = 3781; + exports2.ER_GR_HOLD_KILLED = 3782; + exports2.ER_GR_HOLD_MEMBER_STATUS_ERROR = 3783; + exports2.ER_RPL_ENCRYPTION_FAILED_TO_FETCH_KEY = 3784; + exports2.ER_RPL_ENCRYPTION_KEY_NOT_FOUND = 3785; + exports2.ER_RPL_ENCRYPTION_KEYRING_INVALID_KEY = 3786; + exports2.ER_RPL_ENCRYPTION_HEADER_ERROR = 3787; + exports2.ER_RPL_ENCRYPTION_FAILED_TO_ROTATE_LOGS = 3788; + exports2.ER_RPL_ENCRYPTION_KEY_EXISTS_UNEXPECTED = 3789; + exports2.ER_RPL_ENCRYPTION_FAILED_TO_GENERATE_KEY = 3790; + exports2.ER_RPL_ENCRYPTION_FAILED_TO_STORE_KEY = 3791; + exports2.ER_RPL_ENCRYPTION_FAILED_TO_REMOVE_KEY = 3792; + exports2.ER_RPL_ENCRYPTION_UNABLE_TO_CHANGE_OPTION = 3793; + exports2.ER_RPL_ENCRYPTION_MASTER_KEY_RECOVERY_FAILED = 3794; + exports2.ER_SLOW_LOG_MODE_IGNORED_WHEN_NOT_LOGGING_TO_FILE = 3795; + exports2.ER_GRP_TRX_CONSISTENCY_NOT_ALLOWED = 3796; + exports2.ER_GRP_TRX_CONSISTENCY_BEFORE = 3797; + exports2.ER_GRP_TRX_CONSISTENCY_AFTER_ON_TRX_BEGIN = 3798; + exports2.ER_GRP_TRX_CONSISTENCY_BEGIN_NOT_ALLOWED = 3799; + exports2.ER_FUNCTIONAL_INDEX_ROW_VALUE_IS_NOT_ALLOWED = 3800; + exports2.ER_RPL_ENCRYPTION_FAILED_TO_ENCRYPT = 3801; + exports2.ER_PAGE_TRACKING_NOT_STARTED = 3802; + exports2.ER_PAGE_TRACKING_RANGE_NOT_TRACKED = 3803; + exports2.ER_PAGE_TRACKING_CANNOT_PURGE = 3804; + exports2.ER_RPL_ENCRYPTION_CANNOT_ROTATE_BINLOG_MASTER_KEY = 3805; + exports2.ER_BINLOG_MASTER_KEY_RECOVERY_OUT_OF_COMBINATION = 3806; + exports2.ER_BINLOG_MASTER_KEY_ROTATION_FAIL_TO_OPERATE_KEY = 3807; + exports2.ER_BINLOG_MASTER_KEY_ROTATION_FAIL_TO_ROTATE_LOGS = 3808; + exports2.ER_BINLOG_MASTER_KEY_ROTATION_FAIL_TO_REENCRYPT_LOG = 3809; + exports2.ER_BINLOG_MASTER_KEY_ROTATION_FAIL_TO_CLEANUP_UNUSED_KEYS = 3810; + exports2.ER_BINLOG_MASTER_KEY_ROTATION_FAIL_TO_CLEANUP_AUX_KEY = 3811; + exports2.ER_NON_BOOLEAN_EXPR_FOR_CHECK_CONSTRAINT = 3812; + exports2.ER_COLUMN_CHECK_CONSTRAINT_REFERENCES_OTHER_COLUMN = 3813; + exports2.ER_CHECK_CONSTRAINT_NAMED_FUNCTION_IS_NOT_ALLOWED = 3814; + exports2.ER_CHECK_CONSTRAINT_FUNCTION_IS_NOT_ALLOWED = 3815; + exports2.ER_CHECK_CONSTRAINT_VARIABLES = 3816; + exports2.ER_CHECK_CONSTRAINT_ROW_VALUE = 3817; + exports2.ER_CHECK_CONSTRAINT_REFERS_AUTO_INCREMENT_COLUMN = 3818; + exports2.ER_CHECK_CONSTRAINT_VIOLATED = 3819; + exports2.ER_CHECK_CONSTRAINT_REFERS_UNKNOWN_COLUMN = 3820; + exports2.ER_CHECK_CONSTRAINT_NOT_FOUND = 3821; + exports2.ER_CHECK_CONSTRAINT_DUP_NAME = 3822; + exports2.ER_CHECK_CONSTRAINT_CLAUSE_USING_FK_REFER_ACTION_COLUMN = 3823; + exports2.WARN_UNENCRYPTED_TABLE_IN_ENCRYPTED_DB = 3824; + exports2.ER_INVALID_ENCRYPTION_REQUEST = 3825; + exports2.ER_CANNOT_SET_TABLE_ENCRYPTION = 3826; + exports2.ER_CANNOT_SET_DATABASE_ENCRYPTION = 3827; + exports2.ER_CANNOT_SET_TABLESPACE_ENCRYPTION = 3828; + exports2.ER_TABLESPACE_CANNOT_BE_ENCRYPTED = 3829; + exports2.ER_TABLESPACE_CANNOT_BE_DECRYPTED = 3830; + exports2.ER_TABLESPACE_TYPE_UNKNOWN = 3831; + exports2.ER_TARGET_TABLESPACE_UNENCRYPTED = 3832; + exports2.ER_CANNOT_USE_ENCRYPTION_CLAUSE = 3833; + exports2.ER_INVALID_MULTIPLE_CLAUSES = 3834; + exports2.ER_UNSUPPORTED_USE_OF_GRANT_AS = 3835; + exports2.ER_UKNOWN_AUTH_ID_OR_ACCESS_DENIED_FOR_GRANT_AS = 3836; + exports2.ER_DEPENDENT_BY_FUNCTIONAL_INDEX = 3837; + exports2.ER_PLUGIN_NOT_EARLY = 3838; + exports2.ER_INNODB_REDO_LOG_ARCHIVE_START_SUBDIR_PATH = 3839; + exports2.ER_INNODB_REDO_LOG_ARCHIVE_START_TIMEOUT = 3840; + exports2.ER_INNODB_REDO_LOG_ARCHIVE_DIRS_INVALID = 3841; + exports2.ER_INNODB_REDO_LOG_ARCHIVE_LABEL_NOT_FOUND = 3842; + exports2.ER_INNODB_REDO_LOG_ARCHIVE_DIR_EMPTY = 3843; + exports2.ER_INNODB_REDO_LOG_ARCHIVE_NO_SUCH_DIR = 3844; + exports2.ER_INNODB_REDO_LOG_ARCHIVE_DIR_CLASH = 3845; + exports2.ER_INNODB_REDO_LOG_ARCHIVE_DIR_PERMISSIONS = 3846; + exports2.ER_INNODB_REDO_LOG_ARCHIVE_FILE_CREATE = 3847; + exports2.ER_INNODB_REDO_LOG_ARCHIVE_ACTIVE = 3848; + exports2.ER_INNODB_REDO_LOG_ARCHIVE_INACTIVE = 3849; + exports2.ER_INNODB_REDO_LOG_ARCHIVE_FAILED = 3850; + exports2.ER_INNODB_REDO_LOG_ARCHIVE_SESSION = 3851; + exports2.ER_STD_REGEX_ERROR = 3852; + exports2.ER_INVALID_JSON_TYPE = 3853; + exports2.ER_CANNOT_CONVERT_STRING = 3854; + exports2.ER_DEPENDENT_BY_PARTITION_FUNC = 3855; + exports2.ER_WARN_DEPRECATED_FLOAT_AUTO_INCREMENT = 3856; + exports2.ER_RPL_CANT_STOP_REPLICA_WHILE_LOCKED_BACKUP = 3857; + exports2.ER_WARN_DEPRECATED_FLOAT_DIGITS = 3858; + exports2.ER_WARN_DEPRECATED_FLOAT_UNSIGNED = 3859; + exports2.ER_WARN_DEPRECATED_INTEGER_DISPLAY_WIDTH = 3860; + exports2.ER_WARN_DEPRECATED_ZEROFILL = 3861; + exports2.ER_CLONE_DONOR = 3862; + exports2.ER_CLONE_PROTOCOL = 3863; + exports2.ER_CLONE_DONOR_VERSION = 3864; + exports2.ER_CLONE_OS = 3865; + exports2.ER_CLONE_PLATFORM = 3866; + exports2.ER_CLONE_CHARSET = 3867; + exports2.ER_CLONE_CONFIG = 3868; + exports2.ER_CLONE_SYS_CONFIG = 3869; + exports2.ER_CLONE_PLUGIN_MATCH = 3870; + exports2.ER_CLONE_LOOPBACK = 3871; + exports2.ER_CLONE_ENCRYPTION = 3872; + exports2.ER_CLONE_DISK_SPACE = 3873; + exports2.ER_CLONE_IN_PROGRESS = 3874; + exports2.ER_CLONE_DISALLOWED = 3875; + exports2.ER_CANNOT_GRANT_ROLES_TO_ANONYMOUS_USER = 3876; + exports2.ER_SECONDARY_ENGINE_PLUGIN = 3877; + exports2.ER_SECOND_PASSWORD_CANNOT_BE_EMPTY = 3878; + exports2.ER_DB_ACCESS_DENIED = 3879; + exports2.ER_DA_AUTH_ID_WITH_SYSTEM_USER_PRIV_IN_MANDATORY_ROLES = 3880; + exports2.ER_DA_RPL_GTID_TABLE_CANNOT_OPEN = 3881; + exports2.ER_GEOMETRY_IN_UNKNOWN_LENGTH_UNIT = 3882; + exports2.ER_DA_PLUGIN_INSTALL_ERROR = 3883; + exports2.ER_NO_SESSION_TEMP = 3884; + exports2.ER_DA_UNKNOWN_ERROR_NUMBER = 3885; + exports2.ER_COLUMN_CHANGE_SIZE = 3886; + exports2.ER_REGEXP_INVALID_CAPTURE_GROUP_NAME = 3887; + exports2.ER_DA_SSL_LIBRARY_ERROR = 3888; + exports2.ER_SECONDARY_ENGINE = 3889; + exports2.ER_SECONDARY_ENGINE_DDL = 3890; + exports2.ER_INCORRECT_CURRENT_PASSWORD = 3891; + exports2.ER_MISSING_CURRENT_PASSWORD = 3892; + exports2.ER_CURRENT_PASSWORD_NOT_REQUIRED = 3893; + exports2.ER_PASSWORD_CANNOT_BE_RETAINED_ON_PLUGIN_CHANGE = 3894; + exports2.ER_CURRENT_PASSWORD_CANNOT_BE_RETAINED = 3895; + exports2.ER_PARTIAL_REVOKES_EXIST = 3896; + exports2.ER_CANNOT_GRANT_SYSTEM_PRIV_TO_MANDATORY_ROLE = 3897; + exports2.ER_XA_REPLICATION_FILTERS = 3898; + exports2.ER_UNSUPPORTED_SQL_MODE = 3899; + exports2.ER_REGEXP_INVALID_FLAG = 3900; + exports2.ER_PARTIAL_REVOKE_AND_DB_GRANT_BOTH_EXISTS = 3901; + exports2.ER_UNIT_NOT_FOUND = 3902; + exports2.ER_INVALID_JSON_VALUE_FOR_FUNC_INDEX = 3903; + exports2.ER_JSON_VALUE_OUT_OF_RANGE_FOR_FUNC_INDEX = 3904; + exports2.ER_EXCEEDED_MV_KEYS_NUM = 3905; + exports2.ER_EXCEEDED_MV_KEYS_SPACE = 3906; + exports2.ER_FUNCTIONAL_INDEX_DATA_IS_TOO_LONG = 3907; + exports2.ER_WRONG_MVI_VALUE = 3908; + exports2.ER_WARN_FUNC_INDEX_NOT_APPLICABLE = 3909; + exports2.ER_GRP_RPL_UDF_ERROR = 3910; + exports2.ER_UPDATE_GTID_PURGED_WITH_GR = 3911; + exports2.ER_GROUPING_ON_TIMESTAMP_IN_DST = 3912; + exports2.ER_TABLE_NAME_CAUSES_TOO_LONG_PATH = 3913; + exports2.ER_AUDIT_LOG_INSUFFICIENT_PRIVILEGE = 3914; + exports2.ER_AUDIT_LOG_PASSWORD_HAS_BEEN_COPIED = 3915; + exports2.ER_DA_GRP_RPL_STARTED_AUTO_REJOIN = 3916; + exports2.ER_SYSVAR_CHANGE_DURING_QUERY = 3917; + exports2.ER_GLOBSTAT_CHANGE_DURING_QUERY = 3918; + exports2.ER_GRP_RPL_MESSAGE_SERVICE_INIT_FAILURE = 3919; + exports2.ER_CHANGE_SOURCE_WRONG_COMPRESSION_ALGORITHM_CLIENT = 3920; + exports2.ER_CHANGE_SOURCE_WRONG_COMPRESSION_LEVEL_CLIENT = 3921; + exports2.ER_WRONG_COMPRESSION_ALGORITHM_CLIENT = 3922; + exports2.ER_WRONG_COMPRESSION_LEVEL_CLIENT = 3923; + exports2.ER_CHANGE_SOURCE_WRONG_COMPRESSION_ALGORITHM_LIST_CLIENT = 3924; + exports2.ER_CLIENT_PRIVILEGE_CHECKS_USER_CANNOT_BE_ANONYMOUS = 3925; + exports2.ER_CLIENT_PRIVILEGE_CHECKS_USER_DOES_NOT_EXIST = 3926; + exports2.ER_CLIENT_PRIVILEGE_CHECKS_USER_CORRUPT = 3927; + exports2.ER_CLIENT_PRIVILEGE_CHECKS_USER_NEEDS_RPL_APPLIER_PRIV = 3928; + exports2.ER_WARN_DA_PRIVILEGE_NOT_REGISTERED = 3929; + exports2.ER_CLIENT_KEYRING_UDF_KEY_INVALID = 3930; + exports2.ER_CLIENT_KEYRING_UDF_KEY_TYPE_INVALID = 3931; + exports2.ER_CLIENT_KEYRING_UDF_KEY_TOO_LONG = 3932; + exports2.ER_CLIENT_KEYRING_UDF_KEY_TYPE_TOO_LONG = 3933; + exports2.ER_JSON_SCHEMA_VALIDATION_ERROR_WITH_DETAILED_REPORT = 3934; + exports2.ER_DA_UDF_INVALID_CHARSET_SPECIFIED = 3935; + exports2.ER_DA_UDF_INVALID_CHARSET = 3936; + exports2.ER_DA_UDF_INVALID_COLLATION = 3937; + exports2.ER_DA_UDF_INVALID_EXTENSION_ARGUMENT_TYPE = 3938; + exports2.ER_MULTIPLE_CONSTRAINTS_WITH_SAME_NAME = 3939; + exports2.ER_CONSTRAINT_NOT_FOUND = 3940; + exports2.ER_ALTER_CONSTRAINT_ENFORCEMENT_NOT_SUPPORTED = 3941; + exports2.ER_TABLE_VALUE_CONSTRUCTOR_MUST_HAVE_COLUMNS = 3942; + exports2.ER_TABLE_VALUE_CONSTRUCTOR_CANNOT_HAVE_DEFAULT = 3943; + exports2.ER_CLIENT_QUERY_FAILURE_INVALID_NON_ROW_FORMAT = 3944; + exports2.ER_REQUIRE_ROW_FORMAT_INVALID_VALUE = 3945; + exports2.ER_FAILED_TO_DETERMINE_IF_ROLE_IS_MANDATORY = 3946; + exports2.ER_FAILED_TO_FETCH_MANDATORY_ROLE_LIST = 3947; + exports2.ER_CLIENT_LOCAL_FILES_DISABLED = 3948; + exports2.ER_IMP_INCOMPATIBLE_CFG_VERSION = 3949; + exports2.ER_DA_OOM = 3950; + exports2.ER_DA_UDF_INVALID_ARGUMENT_TO_SET_CHARSET = 3951; + exports2.ER_DA_UDF_INVALID_RETURN_TYPE_TO_SET_CHARSET = 3952; + exports2.ER_MULTIPLE_INTO_CLAUSES = 3953; + exports2.ER_MISPLACED_INTO = 3954; + exports2.ER_USER_ACCESS_DENIED_FOR_USER_ACCOUNT_BLOCKED_BY_PASSWORD_LOCK = 3955; + exports2.ER_WARN_DEPRECATED_YEAR_UNSIGNED = 3956; + exports2.ER_CLONE_NETWORK_PACKET = 3957; + exports2.ER_SDI_OPERATION_FAILED_MISSING_RECORD = 3958; + exports2.ER_DEPENDENT_BY_CHECK_CONSTRAINT = 3959; + exports2.ER_GRP_OPERATION_NOT_ALLOWED_GR_MUST_STOP = 3960; + exports2.ER_WARN_DEPRECATED_JSON_TABLE_ON_ERROR_ON_EMPTY = 3961; + exports2.ER_WARN_DEPRECATED_INNER_INTO = 3962; + exports2.ER_WARN_DEPRECATED_VALUES_FUNCTION_ALWAYS_NULL = 3963; + exports2.ER_WARN_DEPRECATED_SQL_CALC_FOUND_ROWS = 3964; + exports2.ER_WARN_DEPRECATED_FOUND_ROWS = 3965; + exports2.ER_MISSING_JSON_VALUE = 3966; + exports2.ER_MULTIPLE_JSON_VALUES = 3967; + exports2.ER_HOSTNAME_TOO_LONG = 3968; + exports2.ER_WARN_CLIENT_DEPRECATED_PARTITION_PREFIX_KEY = 3969; + exports2.ER_GROUP_REPLICATION_USER_EMPTY_MSG = 3970; + exports2.ER_GROUP_REPLICATION_USER_MANDATORY_MSG = 3971; + exports2.ER_GROUP_REPLICATION_PASSWORD_LENGTH = 3972; + exports2.ER_SUBQUERY_TRANSFORM_REJECTED = 3973; + exports2.ER_DA_GRP_RPL_RECOVERY_ENDPOINT_FORMAT = 3974; + exports2.ER_DA_GRP_RPL_RECOVERY_ENDPOINT_INVALID = 3975; + exports2.ER_WRONG_VALUE_FOR_VAR_PLUS_ACTIONABLE_PART = 3976; + exports2.ER_STATEMENT_NOT_ALLOWED_AFTER_START_TRANSACTION = 3977; + exports2.ER_FOREIGN_KEY_WITH_ATOMIC_CREATE_SELECT = 3978; + exports2.ER_NOT_ALLOWED_WITH_START_TRANSACTION = 3979; + exports2.ER_INVALID_JSON_ATTRIBUTE = 3980; + exports2.ER_ENGINE_ATTRIBUTE_NOT_SUPPORTED = 3981; + exports2.ER_INVALID_USER_ATTRIBUTE_JSON = 3982; + exports2.ER_INNODB_REDO_DISABLED = 3983; + exports2.ER_INNODB_REDO_ARCHIVING_ENABLED = 3984; + exports2.ER_MDL_OUT_OF_RESOURCES = 3985; + exports2.ER_IMPLICIT_COMPARISON_FOR_JSON = 3986; + exports2.ER_FUNCTION_DOES_NOT_SUPPORT_CHARACTER_SET = 3987; + exports2.ER_IMPOSSIBLE_STRING_CONVERSION = 3988; + exports2.ER_SCHEMA_READ_ONLY = 3989; + exports2.ER_RPL_ASYNC_RECONNECT_GTID_MODE_OFF = 3990; + exports2.ER_RPL_ASYNC_RECONNECT_AUTO_POSITION_OFF = 3991; + exports2.ER_DISABLE_GTID_MODE_REQUIRES_ASYNC_RECONNECT_OFF = 3992; + exports2.ER_DISABLE_AUTO_POSITION_REQUIRES_ASYNC_RECONNECT_OFF = 3993; + exports2.ER_INVALID_PARAMETER_USE = 3994; + exports2.ER_CHARACTER_SET_MISMATCH = 3995; + exports2.ER_WARN_VAR_VALUE_CHANGE_NOT_SUPPORTED = 3996; + exports2.ER_INVALID_TIME_ZONE_INTERVAL = 3997; + exports2.ER_INVALID_CAST = 3998; + exports2.ER_HYPERGRAPH_NOT_SUPPORTED_YET = 3999; + exports2.ER_WARN_HYPERGRAPH_EXPERIMENTAL = 4e3; + exports2.ER_DA_NO_ERROR_LOG_PARSER_CONFIGURED = 4001; + exports2.ER_DA_ERROR_LOG_TABLE_DISABLED = 4002; + exports2.ER_DA_ERROR_LOG_MULTIPLE_FILTERS = 4003; + exports2.ER_DA_CANT_OPEN_ERROR_LOG = 4004; + exports2.ER_USER_REFERENCED_AS_DEFINER = 4005; + exports2.ER_CANNOT_USER_REFERENCED_AS_DEFINER = 4006; + exports2.ER_REGEX_NUMBER_TOO_BIG = 4007; + exports2.ER_SPVAR_NONINTEGER_TYPE = 4008; + exports2.WARN_UNSUPPORTED_ACL_TABLES_READ = 4009; + exports2.ER_BINLOG_UNSAFE_ACL_TABLE_READ_IN_DML_DDL = 4010; + exports2.ER_STOP_REPLICA_MONITOR_IO_THREAD_TIMEOUT = 4011; + exports2.ER_STARTING_REPLICA_MONITOR_IO_THREAD = 4012; + exports2.ER_CANT_USE_ANONYMOUS_TO_GTID_WITH_GTID_MODE_NOT_ON = 4013; + exports2.ER_CANT_COMBINE_ANONYMOUS_TO_GTID_AND_AUTOPOSITION = 4014; + exports2.ER_ASSIGN_GTIDS_TO_ANONYMOUS_TRANSACTIONS_REQUIRES_GTID_MODE_ON = 4015; + exports2.ER_SQL_REPLICA_SKIP_COUNTER_USED_WITH_GTID_MODE_ON = 4016; + exports2.ER_USING_ASSIGN_GTIDS_TO_ANONYMOUS_TRANSACTIONS_AS_LOCAL_OR_UUID = 4017; + exports2.ER_CANT_SET_ANONYMOUS_TO_GTID_AND_WAIT_UNTIL_SQL_THD_AFTER_GTIDS = 4018; + exports2.ER_CANT_SET_SQL_AFTER_OR_BEFORE_GTIDS_WITH_ANONYMOUS_TO_GTID = 4019; + exports2.ER_ANONYMOUS_TO_GTID_UUID_SAME_AS_GROUP_NAME = 4020; + exports2.ER_CANT_USE_SAME_UUID_AS_GROUP_NAME = 4021; + exports2.ER_GRP_RPL_RECOVERY_CHANNEL_STILL_RUNNING = 4022; + exports2.ER_INNODB_INVALID_AUTOEXTEND_SIZE_VALUE = 4023; + exports2.ER_INNODB_INCOMPATIBLE_WITH_TABLESPACE = 4024; + exports2.ER_INNODB_AUTOEXTEND_SIZE_OUT_OF_RANGE = 4025; + exports2.ER_CANNOT_USE_AUTOEXTEND_SIZE_CLAUSE = 4026; + exports2.ER_ROLE_GRANTED_TO_ITSELF = 4027; + exports2.ER_TABLE_MUST_HAVE_A_VISIBLE_COLUMN = 4028; + exports2.ER_INNODB_COMPRESSION_FAILURE = 4029; + exports2.ER_WARN_ASYNC_CONN_FAILOVER_NETWORK_NAMESPACE = 4030; + exports2.ER_CLIENT_INTERACTION_TIMEOUT = 4031; + exports2.ER_INVALID_CAST_TO_GEOMETRY = 4032; + exports2.ER_INVALID_CAST_POLYGON_RING_DIRECTION = 4033; + exports2.ER_GIS_DIFFERENT_SRIDS_AGGREGATION = 4034; + exports2.ER_RELOAD_KEYRING_FAILURE = 4035; + exports2.ER_SDI_GET_KEYS_INVALID_TABLESPACE = 4036; + exports2.ER_CHANGE_RPL_SRC_WRONG_COMPRESSION_ALGORITHM_SIZE = 4037; + exports2.ER_WARN_DEPRECATED_TLS_VERSION_FOR_CHANNEL_CLI = 4038; + exports2.ER_CANT_USE_SAME_UUID_AS_VIEW_CHANGE_UUID = 4039; + exports2.ER_ANONYMOUS_TO_GTID_UUID_SAME_AS_VIEW_CHANGE_UUID = 4040; + exports2.ER_GRP_RPL_VIEW_CHANGE_UUID_FAIL_GET_VARIABLE = 4041; + exports2.ER_WARN_ADUIT_LOG_MAX_SIZE_AND_PRUNE_SECONDS = 4042; + exports2.ER_WARN_ADUIT_LOG_MAX_SIZE_CLOSE_TO_ROTATE_ON_SIZE = 4043; + exports2.ER_KERBEROS_CREATE_USER = 4044; + exports2.ER_INSTALL_PLUGIN_CONFLICT_CLIENT = 4045; + exports2.ER_DA_ERROR_LOG_COMPONENT_FLUSH_FAILED = 4046; + exports2.ER_WARN_SQL_AFTER_MTS_GAPS_GAP_NOT_CALCULATED = 4047; + exports2.ER_INVALID_ASSIGNMENT_TARGET = 4048; + exports2.ER_OPERATION_NOT_ALLOWED_ON_GR_SECONDARY = 4049; + exports2.ER_GRP_RPL_FAILOVER_CHANNEL_STATUS_PROPAGATION = 4050; + exports2.ER_WARN_AUDIT_LOG_FORMAT_UNIX_TIMESTAMP_ONLY_WHEN_JSON = 4051; + exports2.ER_INVALID_MFA_PLUGIN_SPECIFIED = 4052; + exports2.ER_IDENTIFIED_BY_UNSUPPORTED = 4053; + exports2.ER_INVALID_PLUGIN_FOR_REGISTRATION = 4054; + exports2.ER_PLUGIN_REQUIRES_REGISTRATION = 4055; + exports2.ER_MFA_METHOD_EXISTS = 4056; + exports2.ER_MFA_METHOD_NOT_EXISTS = 4057; + exports2.ER_AUTHENTICATION_POLICY_MISMATCH = 4058; + exports2.ER_PLUGIN_REGISTRATION_DONE = 4059; + exports2.ER_INVALID_USER_FOR_REGISTRATION = 4060; + exports2.ER_USER_REGISTRATION_FAILED = 4061; + exports2.ER_MFA_METHODS_INVALID_ORDER = 4062; + exports2.ER_MFA_METHODS_IDENTICAL = 4063; + exports2.ER_INVALID_MFA_OPERATIONS_FOR_PASSWORDLESS_USER = 4064; + exports2.ER_CHANGE_REPLICATION_SOURCE_NO_OPTIONS_FOR_GTID_ONLY = 4065; + exports2.ER_CHANGE_REP_SOURCE_CANT_DISABLE_REQ_ROW_FORMAT_WITH_GTID_ONLY = 4066; + exports2.ER_CHANGE_REP_SOURCE_CANT_DISABLE_AUTO_POSITION_WITH_GTID_ONLY = 4067; + exports2.ER_CHANGE_REP_SOURCE_CANT_DISABLE_GTID_ONLY_WITHOUT_POSITIONS = 4068; + exports2.ER_CHANGE_REP_SOURCE_CANT_DISABLE_AUTO_POS_WITHOUT_POSITIONS = 4069; + exports2.ER_CHANGE_REP_SOURCE_GR_CHANNEL_WITH_GTID_MODE_NOT_ON = 4070; + exports2.ER_CANT_USE_GTID_ONLY_WITH_GTID_MODE_NOT_ON = 4071; + exports2.ER_WARN_C_DISABLE_GTID_ONLY_WITH_SOURCE_AUTO_POS_INVALID_POS = 4072; + exports2.ER_DA_SSL_FIPS_MODE_ERROR = 4073; + exports2.ER_VALUE_OUT_OF_RANGE = 4074; + exports2.ER_FULLTEXT_WITH_ROLLUP = 4075; + exports2.ER_REGEXP_MISSING_RESOURCE = 4076; + exports2.ER_WARN_REGEXP_USING_DEFAULT = 4077; + exports2.ER_REGEXP_MISSING_FILE = 4078; + exports2.ER_WARN_DEPRECATED_COLLATION = 4079; + exports2.ER_CONCURRENT_PROCEDURE_USAGE = 4080; + exports2.ER_DA_GLOBAL_CONN_LIMIT = 4081; + exports2.ER_DA_CONN_LIMIT = 4082; + exports2.ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_COLUMN_TYPE_INSTANT = 4083; + exports2.ER_WARN_SF_UDF_NAME_COLLISION = 4084; + exports2.ER_CANNOT_PURGE_BINLOG_WITH_BACKUP_LOCK = 4085; + exports2.ER_TOO_MANY_WINDOWS = 4086; + exports2.ER_MYSQLBACKUP_CLIENT_MSG = 4087; + exports2.ER_COMMENT_CONTAINS_INVALID_STRING = 4088; + exports2.ER_DEFINITION_CONTAINS_INVALID_STRING = 4089; + exports2.ER_CANT_EXECUTE_COMMAND_WITH_ASSIGNED_GTID_NEXT = 4090; + exports2.ER_XA_TEMP_TABLE = 4091; + exports2.ER_INNODB_MAX_ROW_VERSION = 4092; + exports2.ER_INNODB_INSTANT_ADD_NOT_SUPPORTED_MAX_SIZE = 4093; + exports2.ER_OPERATION_NOT_ALLOWED_WHILE_PRIMARY_CHANGE_IS_RUNNING = 4094; + exports2.ER_WARN_DEPRECATED_DATETIME_DELIMITER = 4095; + exports2.ER_WARN_DEPRECATED_SUPERFLUOUS_DELIMITER = 4096; + exports2.ER_CANNOT_PERSIST_SENSITIVE_VARIABLES = 4097; + exports2.ER_WARN_CANNOT_SECURELY_PERSIST_SENSITIVE_VARIABLES = 4098; + exports2.ER_WARN_TRG_ALREADY_EXISTS = 4099; + exports2.ER_IF_NOT_EXISTS_UNSUPPORTED_TRG_EXISTS_ON_DIFFERENT_TABLE = 4100; + exports2.ER_IF_NOT_EXISTS_UNSUPPORTED_UDF_NATIVE_FCT_NAME_COLLISION = 4101; + exports2.ER_SET_PASSWORD_AUTH_PLUGIN_ERROR = 4102; + exports2.ER_REDUCED_DBLWR_FILE_CORRUPTED = 4103; + exports2.ER_REDUCED_DBLWR_PAGE_FOUND = 4104; + exports2.ER_SRS_INVALID_LATITUDE_OF_ORIGIN = 4105; + exports2.ER_SRS_INVALID_LONGITUDE_OF_ORIGIN = 4106; + exports2.ER_SRS_UNUSED_PROJ_PARAMETER_PRESENT = 4107; + exports2.ER_GIPK_COLUMN_EXISTS = 4108; + exports2.ER_GIPK_FAILED_AUTOINC_COLUMN_EXISTS = 4109; + exports2.ER_GIPK_COLUMN_ALTER_NOT_ALLOWED = 4110; + exports2.ER_DROP_PK_COLUMN_TO_DROP_GIPK = 4111; + exports2.ER_CREATE_SELECT_WITH_GIPK_DISALLOWED_IN_SBR = 4112; + exports2.ER_DA_EXPIRE_LOGS_DAYS_IGNORED = 4113; + exports2.ER_CTE_RECURSIVE_NOT_UNION = 4114; + exports2.ER_COMMAND_BACKEND_FAILED_TO_FETCH_SECURITY_CTX = 4115; + exports2.ER_COMMAND_SERVICE_BACKEND_FAILED = 4116; + exports2.ER_CLIENT_FILE_PRIVILEGE_FOR_REPLICATION_CHECKS = 4117; + exports2.ER_GROUP_REPLICATION_FORCE_MEMBERS_COMMAND_FAILURE = 4118; + exports2.ER_WARN_DEPRECATED_IDENT = 4119; + exports2.ER_INTERSECT_ALL_MAX_DUPLICATES_EXCEEDED = 4120; + exports2.ER_TP_QUERY_THRS_PER_GRP_EXCEEDS_TXN_THR_LIMIT = 4121; + exports2.ER_BAD_TIMESTAMP_FORMAT = 4122; + exports2.ER_SHAPE_PRIDICTION_UDF = 4123; + exports2.ER_SRS_INVALID_HEIGHT = 4124; + exports2.ER_SRS_INVALID_SCALING = 4125; + exports2.ER_SRS_INVALID_ZONE_WIDTH = 4126; + exports2.ER_SRS_INVALID_LATITUDE_POLAR_STERE_VAR_A = 4127; + exports2.ER_WARN_DEPRECATED_CLIENT_NO_SCHEMA_OPTION = 4128; + exports2.ER_TABLE_NOT_EMPTY = 4129; + exports2.ER_TABLE_NO_PRIMARY_KEY = 4130; + exports2.ER_TABLE_IN_SHARED_TABLESPACE = 4131; + exports2.ER_INDEX_OTHER_THAN_PK = 4132; + exports2.ER_LOAD_BULK_DATA_UNSORTED = 4133; + exports2.ER_BULK_EXECUTOR_ERROR = 4134; + exports2.ER_BULK_READER_LIBCURL_INIT_FAILED = 4135; + exports2.ER_BULK_READER_LIBCURL_ERROR = 4136; + exports2.ER_BULK_READER_SERVER_ERROR = 4137; + exports2.ER_BULK_READER_COMMUNICATION_ERROR = 4138; + exports2.ER_BULK_LOAD_DATA_FAILED = 4139; + exports2.ER_BULK_LOADER_COLUMN_TOO_BIG_FOR_LEFTOVER_BUFFER = 4140; + exports2.ER_BULK_LOADER_COMPONENT_ERROR = 4141; + exports2.ER_BULK_LOADER_FILE_CONTAINS_LESS_LINES_THAN_IGNORE_CLAUSE = 4142; + exports2.ER_BULK_PARSER_MISSING_ENCLOSED_BY = 4143; + exports2.ER_BULK_PARSER_ROW_BUFFER_MAX_TOTAL_COLS_EXCEEDED = 4144; + exports2.ER_BULK_PARSER_COPY_BUFFER_SIZE_EXCEEDED = 4145; + exports2.ER_BULK_PARSER_UNEXPECTED_END_OF_INPUT = 4146; + exports2.ER_BULK_PARSER_UNEXPECTED_ROW_TERMINATOR = 4147; + exports2.ER_BULK_PARSER_UNEXPECTED_CHAR_AFTER_ENDING_ENCLOSED_BY = 4148; + exports2.ER_BULK_PARSER_UNEXPECTED_CHAR_AFTER_NULL_ESCAPE = 4149; + exports2.ER_BULK_PARSER_UNEXPECTED_CHAR_AFTER_COLUMN_TERMINATOR = 4150; + exports2.ER_BULK_PARSER_INCOMPLETE_ESCAPE_SEQUENCE = 4151; + exports2.ER_LOAD_BULK_DATA_FAILED = 4152; + exports2.ER_LOAD_BULK_DATA_WRONG_VALUE_FOR_FIELD = 4153; + exports2.ER_LOAD_BULK_DATA_WARN_NULL_TO_NOTNULL = 4154; + exports2.ER_REQUIRE_TABLE_PRIMARY_KEY_CHECK_GENERATE_WITH_GR = 4155; + exports2.ER_CANT_CHANGE_SYS_VAR_IN_READ_ONLY_MODE = 4156; + exports2.ER_INNODB_INSTANT_ADD_DROP_NOT_SUPPORTED_MAX_SIZE = 4157; + exports2.ER_INNODB_INSTANT_ADD_NOT_SUPPORTED_MAX_FIELDS = 4158; + exports2.ER_CANT_SET_PERSISTED = 4159; + exports2.ER_INSTALL_COMPONENT_SET_NULL_VALUE = 4160; + exports2.ER_INSTALL_COMPONENT_SET_UNUSED_VALUE = 4161; + exports2.ER_WARN_DEPRECATED_USER_DEFINED_COLLATIONS = 4162; + exports2[1] = "EE_CANTCREATEFILE"; + exports2[2] = "EE_READ"; + exports2[3] = "EE_WRITE"; + exports2[4] = "EE_BADCLOSE"; + exports2[5] = "EE_OUTOFMEMORY"; + exports2[6] = "EE_DELETE"; + exports2[7] = "EE_LINK"; + exports2[9] = "EE_EOFERR"; + exports2[10] = "EE_CANTLOCK"; + exports2[11] = "EE_CANTUNLOCK"; + exports2[12] = "EE_DIR"; + exports2[13] = "EE_STAT"; + exports2[14] = "EE_CANT_CHSIZE"; + exports2[15] = "EE_CANT_OPEN_STREAM"; + exports2[16] = "EE_GETWD"; + exports2[17] = "EE_SETWD"; + exports2[18] = "EE_LINK_WARNING"; + exports2[19] = "EE_OPEN_WARNING"; + exports2[20] = "EE_DISK_FULL"; + exports2[21] = "EE_CANT_MKDIR"; + exports2[22] = "EE_UNKNOWN_CHARSET"; + exports2[23] = "EE_OUT_OF_FILERESOURCES"; + exports2[24] = "EE_CANT_READLINK"; + exports2[25] = "EE_CANT_SYMLINK"; + exports2[26] = "EE_REALPATH"; + exports2[27] = "EE_SYNC"; + exports2[28] = "EE_UNKNOWN_COLLATION"; + exports2[29] = "EE_FILENOTFOUND"; + exports2[30] = "EE_FILE_NOT_CLOSED"; + exports2[31] = "EE_CHANGE_OWNERSHIP"; + exports2[32] = "EE_CHANGE_PERMISSIONS"; + exports2[33] = "EE_CANT_SEEK"; + exports2[34] = "EE_CAPACITY_EXCEEDED"; + exports2[35] = "EE_DISK_FULL_WITH_RETRY_MSG"; + exports2[36] = "EE_FAILED_TO_CREATE_TIMER"; + exports2[37] = "EE_FAILED_TO_DELETE_TIMER"; + exports2[38] = "EE_FAILED_TO_CREATE_TIMER_QUEUE"; + exports2[39] = "EE_FAILED_TO_START_TIMER_NOTIFY_THREAD"; + exports2[40] = "EE_FAILED_TO_CREATE_TIMER_NOTIFY_THREAD_INTERRUPT_EVENT"; + exports2[41] = "EE_EXITING_TIMER_NOTIFY_THREAD"; + exports2[42] = "EE_WIN_LIBRARY_LOAD_FAILED"; + exports2[43] = "EE_WIN_RUN_TIME_ERROR_CHECK"; + exports2[44] = "EE_FAILED_TO_DETERMINE_LARGE_PAGE_SIZE"; + exports2[45] = "EE_FAILED_TO_KILL_ALL_THREADS"; + exports2[46] = "EE_FAILED_TO_CREATE_IO_COMPLETION_PORT"; + exports2[47] = "EE_FAILED_TO_OPEN_DEFAULTS_FILE"; + exports2[48] = "EE_FAILED_TO_HANDLE_DEFAULTS_FILE"; + exports2[49] = "EE_WRONG_DIRECTIVE_IN_CONFIG_FILE"; + exports2[50] = "EE_SKIPPING_DIRECTIVE_DUE_TO_MAX_INCLUDE_RECURSION"; + exports2[51] = "EE_INCORRECT_GRP_DEFINITION_IN_CONFIG_FILE"; + exports2[52] = "EE_OPTION_WITHOUT_GRP_IN_CONFIG_FILE"; + exports2[53] = "EE_CONFIG_FILE_PERMISSION_ERROR"; + exports2[54] = "EE_IGNORE_WORLD_WRITABLE_CONFIG_FILE"; + exports2[55] = "EE_USING_DISABLED_OPTION"; + exports2[56] = "EE_USING_DISABLED_SHORT_OPTION"; + exports2[57] = "EE_USING_PASSWORD_ON_CLI_IS_INSECURE"; + exports2[58] = "EE_UNKNOWN_SUFFIX_FOR_VARIABLE"; + exports2[59] = "EE_SSL_ERROR_FROM_FILE"; + exports2[60] = "EE_SSL_ERROR"; + exports2[61] = "EE_NET_SEND_ERROR_IN_BOOTSTRAP"; + exports2[62] = "EE_PACKETS_OUT_OF_ORDER"; + exports2[63] = "EE_UNKNOWN_PROTOCOL_OPTION"; + exports2[64] = "EE_FAILED_TO_LOCATE_SERVER_PUBLIC_KEY"; + exports2[65] = "EE_PUBLIC_KEY_NOT_IN_PEM_FORMAT"; + exports2[66] = "EE_DEBUG_INFO"; + exports2[67] = "EE_UNKNOWN_VARIABLE"; + exports2[68] = "EE_UNKNOWN_OPTION"; + exports2[69] = "EE_UNKNOWN_SHORT_OPTION"; + exports2[70] = "EE_OPTION_WITHOUT_ARGUMENT"; + exports2[71] = "EE_OPTION_REQUIRES_ARGUMENT"; + exports2[72] = "EE_SHORT_OPTION_REQUIRES_ARGUMENT"; + exports2[73] = "EE_OPTION_IGNORED_DUE_TO_INVALID_VALUE"; + exports2[74] = "EE_OPTION_WITH_EMPTY_VALUE"; + exports2[75] = "EE_FAILED_TO_ASSIGN_MAX_VALUE_TO_OPTION"; + exports2[76] = "EE_INCORRECT_BOOLEAN_VALUE_FOR_OPTION"; + exports2[77] = "EE_FAILED_TO_SET_OPTION_VALUE"; + exports2[78] = "EE_INCORRECT_INT_VALUE_FOR_OPTION"; + exports2[79] = "EE_INCORRECT_UINT_VALUE_FOR_OPTION"; + exports2[80] = "EE_ADJUSTED_SIGNED_VALUE_FOR_OPTION"; + exports2[81] = "EE_ADJUSTED_UNSIGNED_VALUE_FOR_OPTION"; + exports2[82] = "EE_ADJUSTED_ULONGLONG_VALUE_FOR_OPTION"; + exports2[83] = "EE_ADJUSTED_DOUBLE_VALUE_FOR_OPTION"; + exports2[84] = "EE_INVALID_DECIMAL_VALUE_FOR_OPTION"; + exports2[85] = "EE_COLLATION_PARSER_ERROR"; + exports2[86] = "EE_FAILED_TO_RESET_BEFORE_PRIMARY_IGNORABLE_CHAR"; + exports2[87] = "EE_FAILED_TO_RESET_BEFORE_TERTIARY_IGNORABLE_CHAR"; + exports2[88] = "EE_SHIFT_CHAR_OUT_OF_RANGE"; + exports2[89] = "EE_RESET_CHAR_OUT_OF_RANGE"; + exports2[90] = "EE_UNKNOWN_LDML_TAG"; + exports2[91] = "EE_FAILED_TO_RESET_BEFORE_SECONDARY_IGNORABLE_CHAR"; + exports2[92] = "EE_FAILED_PROCESSING_DIRECTIVE"; + exports2[93] = "EE_PTHREAD_KILL_FAILED"; + exports2[120] = "HA_ERR_KEY_NOT_FOUND"; + exports2[121] = "HA_ERR_FOUND_DUPP_KEY"; + exports2[122] = "HA_ERR_INTERNAL_ERROR"; + exports2[123] = "HA_ERR_RECORD_CHANGED"; + exports2[124] = "HA_ERR_WRONG_INDEX"; + exports2[125] = "HA_ERR_ROLLED_BACK"; + exports2[126] = "HA_ERR_CRASHED"; + exports2[127] = "HA_ERR_WRONG_IN_RECORD"; + exports2[128] = "HA_ERR_OUT_OF_MEM"; + exports2[130] = "HA_ERR_NOT_A_TABLE"; + exports2[131] = "HA_ERR_WRONG_COMMAND"; + exports2[132] = "HA_ERR_OLD_FILE"; + exports2[133] = "HA_ERR_NO_ACTIVE_RECORD"; + exports2[134] = "HA_ERR_RECORD_DELETED"; + exports2[135] = "HA_ERR_RECORD_FILE_FULL"; + exports2[136] = "HA_ERR_INDEX_FILE_FULL"; + exports2[137] = "HA_ERR_END_OF_FILE"; + exports2[138] = "HA_ERR_UNSUPPORTED"; + exports2[139] = "HA_ERR_TOO_BIG_ROW"; + exports2[140] = "HA_WRONG_CREATE_OPTION"; + exports2[141] = "HA_ERR_FOUND_DUPP_UNIQUE"; + exports2[142] = "HA_ERR_UNKNOWN_CHARSET"; + exports2[143] = "HA_ERR_WRONG_MRG_TABLE_DEF"; + exports2[144] = "HA_ERR_CRASHED_ON_REPAIR"; + exports2[145] = "HA_ERR_CRASHED_ON_USAGE"; + exports2[146] = "HA_ERR_LOCK_WAIT_TIMEOUT"; + exports2[147] = "HA_ERR_LOCK_TABLE_FULL"; + exports2[148] = "HA_ERR_READ_ONLY_TRANSACTION"; + exports2[149] = "HA_ERR_LOCK_DEADLOCK"; + exports2[150] = "HA_ERR_CANNOT_ADD_FOREIGN"; + exports2[151] = "HA_ERR_NO_REFERENCED_ROW"; + exports2[152] = "HA_ERR_ROW_IS_REFERENCED"; + exports2[153] = "HA_ERR_NO_SAVEPOINT"; + exports2[154] = "HA_ERR_NON_UNIQUE_BLOCK_SIZE"; + exports2[155] = "HA_ERR_NO_SUCH_TABLE"; + exports2[156] = "HA_ERR_TABLE_EXIST"; + exports2[157] = "HA_ERR_NO_CONNECTION"; + exports2[158] = "HA_ERR_NULL_IN_SPATIAL"; + exports2[159] = "HA_ERR_TABLE_DEF_CHANGED"; + exports2[160] = "HA_ERR_NO_PARTITION_FOUND"; + exports2[161] = "HA_ERR_RBR_LOGGING_FAILED"; + exports2[162] = "HA_ERR_DROP_INDEX_FK"; + exports2[163] = "HA_ERR_FOREIGN_DUPLICATE_KEY"; + exports2[164] = "HA_ERR_TABLE_NEEDS_UPGRADE"; + exports2[165] = "HA_ERR_TABLE_READONLY"; + exports2[166] = "HA_ERR_AUTOINC_READ_FAILED"; + exports2[167] = "HA_ERR_AUTOINC_ERANGE"; + exports2[168] = "HA_ERR_GENERIC"; + exports2[169] = "HA_ERR_RECORD_IS_THE_SAME"; + exports2[170] = "HA_ERR_LOGGING_IMPOSSIBLE"; + exports2[171] = "HA_ERR_CORRUPT_EVENT"; + exports2[172] = "HA_ERR_NEW_FILE"; + exports2[173] = "HA_ERR_ROWS_EVENT_APPLY"; + exports2[174] = "HA_ERR_INITIALIZATION"; + exports2[175] = "HA_ERR_FILE_TOO_SHORT"; + exports2[176] = "HA_ERR_WRONG_CRC"; + exports2[177] = "HA_ERR_TOO_MANY_CONCURRENT_TRXS"; + exports2[178] = "HA_ERR_NOT_IN_LOCK_PARTITIONS"; + exports2[179] = "HA_ERR_INDEX_COL_TOO_LONG"; + exports2[180] = "HA_ERR_INDEX_CORRUPT"; + exports2[181] = "HA_ERR_UNDO_REC_TOO_BIG"; + exports2[182] = "HA_FTS_INVALID_DOCID"; + exports2[183] = "HA_ERR_TABLE_IN_FK_CHECK"; + exports2[184] = "HA_ERR_TABLESPACE_EXISTS"; + exports2[185] = "HA_ERR_TOO_MANY_FIELDS"; + exports2[186] = "HA_ERR_ROW_IN_WRONG_PARTITION"; + exports2[187] = "HA_ERR_INNODB_READ_ONLY"; + exports2[188] = "HA_ERR_FTS_EXCEED_RESULT_CACHE_LIMIT"; + exports2[189] = "HA_ERR_TEMP_FILE_WRITE_FAILURE"; + exports2[190] = "HA_ERR_INNODB_FORCED_RECOVERY"; + exports2[191] = "HA_ERR_FTS_TOO_MANY_WORDS_IN_PHRASE"; + exports2[192] = "HA_ERR_FK_DEPTH_EXCEEDED"; + exports2[193] = "HA_MISSING_CREATE_OPTION"; + exports2[194] = "HA_ERR_SE_OUT_OF_MEMORY"; + exports2[195] = "HA_ERR_TABLE_CORRUPT"; + exports2[196] = "HA_ERR_QUERY_INTERRUPTED"; + exports2[197] = "HA_ERR_TABLESPACE_MISSING"; + exports2[198] = "HA_ERR_TABLESPACE_IS_NOT_EMPTY"; + exports2[199] = "HA_ERR_WRONG_FILE_NAME"; + exports2[200] = "HA_ERR_NOT_ALLOWED_COMMAND"; + exports2[201] = "HA_ERR_COMPUTE_FAILED"; + exports2[202] = "HA_ERR_ROW_FORMAT_CHANGED"; + exports2[203] = "HA_ERR_NO_WAIT_LOCK"; + exports2[204] = "HA_ERR_DISK_FULL_NOWAIT"; + exports2[205] = "HA_ERR_NO_SESSION_TEMP"; + exports2[206] = "HA_ERR_WRONG_TABLE_NAME"; + exports2[207] = "HA_ERR_TOO_LONG_PATH"; + exports2[208] = "HA_ERR_SAMPLING_INIT_FAILED"; + exports2[209] = "HA_ERR_FTS_TOO_MANY_NESTED_EXP"; + exports2[1e3] = "ER_HASHCHK"; + exports2[1001] = "ER_NISAMCHK"; + exports2[1002] = "ER_NO"; + exports2[1003] = "ER_YES"; + exports2[1004] = "ER_CANT_CREATE_FILE"; + exports2[1005] = "ER_CANT_CREATE_TABLE"; + exports2[1006] = "ER_CANT_CREATE_DB"; + exports2[1007] = "ER_DB_CREATE_EXISTS"; + exports2[1008] = "ER_DB_DROP_EXISTS"; + exports2[1009] = "ER_DB_DROP_DELETE"; + exports2[1010] = "ER_DB_DROP_RMDIR"; + exports2[1011] = "ER_CANT_DELETE_FILE"; + exports2[1012] = "ER_CANT_FIND_SYSTEM_REC"; + exports2[1013] = "ER_CANT_GET_STAT"; + exports2[1014] = "ER_CANT_GET_WD"; + exports2[1015] = "ER_CANT_LOCK"; + exports2[1016] = "ER_CANT_OPEN_FILE"; + exports2[1017] = "ER_FILE_NOT_FOUND"; + exports2[1018] = "ER_CANT_READ_DIR"; + exports2[1019] = "ER_CANT_SET_WD"; + exports2[1020] = "ER_CHECKREAD"; + exports2[1021] = "ER_DISK_FULL"; + exports2[1022] = "ER_DUP_KEY"; + exports2[1023] = "ER_ERROR_ON_CLOSE"; + exports2[1024] = "ER_ERROR_ON_READ"; + exports2[1025] = "ER_ERROR_ON_RENAME"; + exports2[1026] = "ER_ERROR_ON_WRITE"; + exports2[1027] = "ER_FILE_USED"; + exports2[1028] = "ER_FILSORT_ABORT"; + exports2[1029] = "ER_FORM_NOT_FOUND"; + exports2[1030] = "ER_GET_ERRNO"; + exports2[1031] = "ER_ILLEGAL_HA"; + exports2[1032] = "ER_KEY_NOT_FOUND"; + exports2[1033] = "ER_NOT_FORM_FILE"; + exports2[1034] = "ER_NOT_KEYFILE"; + exports2[1035] = "ER_OLD_KEYFILE"; + exports2[1036] = "ER_OPEN_AS_READONLY"; + exports2[1037] = "ER_OUTOFMEMORY"; + exports2[1038] = "ER_OUT_OF_SORTMEMORY"; + exports2[1039] = "ER_UNEXPECTED_EOF"; + exports2[1040] = "ER_CON_COUNT_ERROR"; + exports2[1041] = "ER_OUT_OF_RESOURCES"; + exports2[1042] = "ER_BAD_HOST_ERROR"; + exports2[1043] = "ER_HANDSHAKE_ERROR"; + exports2[1044] = "ER_DBACCESS_DENIED_ERROR"; + exports2[1045] = "ER_ACCESS_DENIED_ERROR"; + exports2[1046] = "ER_NO_DB_ERROR"; + exports2[1047] = "ER_UNKNOWN_COM_ERROR"; + exports2[1048] = "ER_BAD_NULL_ERROR"; + exports2[1049] = "ER_BAD_DB_ERROR"; + exports2[1050] = "ER_TABLE_EXISTS_ERROR"; + exports2[1051] = "ER_BAD_TABLE_ERROR"; + exports2[1052] = "ER_NON_UNIQ_ERROR"; + exports2[1053] = "ER_SERVER_SHUTDOWN"; + exports2[1054] = "ER_BAD_FIELD_ERROR"; + exports2[1055] = "ER_WRONG_FIELD_WITH_GROUP"; + exports2[1056] = "ER_WRONG_GROUP_FIELD"; + exports2[1057] = "ER_WRONG_SUM_SELECT"; + exports2[1058] = "ER_WRONG_VALUE_COUNT"; + exports2[1059] = "ER_TOO_LONG_IDENT"; + exports2[1060] = "ER_DUP_FIELDNAME"; + exports2[1061] = "ER_DUP_KEYNAME"; + exports2[1062] = "ER_DUP_ENTRY"; + exports2[1063] = "ER_WRONG_FIELD_SPEC"; + exports2[1064] = "ER_PARSE_ERROR"; + exports2[1065] = "ER_EMPTY_QUERY"; + exports2[1066] = "ER_NONUNIQ_TABLE"; + exports2[1067] = "ER_INVALID_DEFAULT"; + exports2[1068] = "ER_MULTIPLE_PRI_KEY"; + exports2[1069] = "ER_TOO_MANY_KEYS"; + exports2[1070] = "ER_TOO_MANY_KEY_PARTS"; + exports2[1071] = "ER_TOO_LONG_KEY"; + exports2[1072] = "ER_KEY_COLUMN_DOES_NOT_EXITS"; + exports2[1073] = "ER_BLOB_USED_AS_KEY"; + exports2[1074] = "ER_TOO_BIG_FIELDLENGTH"; + exports2[1075] = "ER_WRONG_AUTO_KEY"; + exports2[1076] = "ER_READY"; + exports2[1077] = "ER_NORMAL_SHUTDOWN"; + exports2[1078] = "ER_GOT_SIGNAL"; + exports2[1079] = "ER_SHUTDOWN_COMPLETE"; + exports2[1080] = "ER_FORCING_CLOSE"; + exports2[1081] = "ER_IPSOCK_ERROR"; + exports2[1082] = "ER_NO_SUCH_INDEX"; + exports2[1083] = "ER_WRONG_FIELD_TERMINATORS"; + exports2[1084] = "ER_BLOBS_AND_NO_TERMINATED"; + exports2[1085] = "ER_TEXTFILE_NOT_READABLE"; + exports2[1086] = "ER_FILE_EXISTS_ERROR"; + exports2[1087] = "ER_LOAD_INFO"; + exports2[1088] = "ER_ALTER_INFO"; + exports2[1089] = "ER_WRONG_SUB_KEY"; + exports2[1090] = "ER_CANT_REMOVE_ALL_FIELDS"; + exports2[1091] = "ER_CANT_DROP_FIELD_OR_KEY"; + exports2[1092] = "ER_INSERT_INFO"; + exports2[1093] = "ER_UPDATE_TABLE_USED"; + exports2[1094] = "ER_NO_SUCH_THREAD"; + exports2[1095] = "ER_KILL_DENIED_ERROR"; + exports2[1096] = "ER_NO_TABLES_USED"; + exports2[1097] = "ER_TOO_BIG_SET"; + exports2[1098] = "ER_NO_UNIQUE_LOGFILE"; + exports2[1099] = "ER_TABLE_NOT_LOCKED_FOR_WRITE"; + exports2[1100] = "ER_TABLE_NOT_LOCKED"; + exports2[1101] = "ER_BLOB_CANT_HAVE_DEFAULT"; + exports2[1102] = "ER_WRONG_DB_NAME"; + exports2[1103] = "ER_WRONG_TABLE_NAME"; + exports2[1104] = "ER_TOO_BIG_SELECT"; + exports2[1105] = "ER_UNKNOWN_ERROR"; + exports2[1106] = "ER_UNKNOWN_PROCEDURE"; + exports2[1107] = "ER_WRONG_PARAMCOUNT_TO_PROCEDURE"; + exports2[1108] = "ER_WRONG_PARAMETERS_TO_PROCEDURE"; + exports2[1109] = "ER_UNKNOWN_TABLE"; + exports2[1110] = "ER_FIELD_SPECIFIED_TWICE"; + exports2[1111] = "ER_INVALID_GROUP_FUNC_USE"; + exports2[1112] = "ER_UNSUPPORTED_EXTENSION"; + exports2[1113] = "ER_TABLE_MUST_HAVE_COLUMNS"; + exports2[1114] = "ER_RECORD_FILE_FULL"; + exports2[1115] = "ER_UNKNOWN_CHARACTER_SET"; + exports2[1116] = "ER_TOO_MANY_TABLES"; + exports2[1117] = "ER_TOO_MANY_FIELDS"; + exports2[1118] = "ER_TOO_BIG_ROWSIZE"; + exports2[1119] = "ER_STACK_OVERRUN"; + exports2[1120] = "ER_WRONG_OUTER_JOIN"; + exports2[1121] = "ER_NULL_COLUMN_IN_INDEX"; + exports2[1122] = "ER_CANT_FIND_UDF"; + exports2[1123] = "ER_CANT_INITIALIZE_UDF"; + exports2[1124] = "ER_UDF_NO_PATHS"; + exports2[1125] = "ER_UDF_EXISTS"; + exports2[1126] = "ER_CANT_OPEN_LIBRARY"; + exports2[1127] = "ER_CANT_FIND_DL_ENTRY"; + exports2[1128] = "ER_FUNCTION_NOT_DEFINED"; + exports2[1129] = "ER_HOST_IS_BLOCKED"; + exports2[1130] = "ER_HOST_NOT_PRIVILEGED"; + exports2[1131] = "ER_PASSWORD_ANONYMOUS_USER"; + exports2[1132] = "ER_PASSWORD_NOT_ALLOWED"; + exports2[1133] = "ER_PASSWORD_NO_MATCH"; + exports2[1134] = "ER_UPDATE_INFO"; + exports2[1135] = "ER_CANT_CREATE_THREAD"; + exports2[1136] = "ER_WRONG_VALUE_COUNT_ON_ROW"; + exports2[1137] = "ER_CANT_REOPEN_TABLE"; + exports2[1138] = "ER_INVALID_USE_OF_NULL"; + exports2[1139] = "ER_REGEXP_ERROR"; + exports2[1140] = "ER_MIX_OF_GROUP_FUNC_AND_FIELDS"; + exports2[1141] = "ER_NONEXISTING_GRANT"; + exports2[1142] = "ER_TABLEACCESS_DENIED_ERROR"; + exports2[1143] = "ER_COLUMNACCESS_DENIED_ERROR"; + exports2[1144] = "ER_ILLEGAL_GRANT_FOR_TABLE"; + exports2[1145] = "ER_GRANT_WRONG_HOST_OR_USER"; + exports2[1146] = "ER_NO_SUCH_TABLE"; + exports2[1147] = "ER_NONEXISTING_TABLE_GRANT"; + exports2[1148] = "ER_NOT_ALLOWED_COMMAND"; + exports2[1149] = "ER_SYNTAX_ERROR"; + exports2[1150] = "ER_UNUSED1"; + exports2[1151] = "ER_UNUSED2"; + exports2[1152] = "ER_ABORTING_CONNECTION"; + exports2[1153] = "ER_NET_PACKET_TOO_LARGE"; + exports2[1154] = "ER_NET_READ_ERROR_FROM_PIPE"; + exports2[1155] = "ER_NET_FCNTL_ERROR"; + exports2[1156] = "ER_NET_PACKETS_OUT_OF_ORDER"; + exports2[1157] = "ER_NET_UNCOMPRESS_ERROR"; + exports2[1158] = "ER_NET_READ_ERROR"; + exports2[1159] = "ER_NET_READ_INTERRUPTED"; + exports2[1160] = "ER_NET_ERROR_ON_WRITE"; + exports2[1161] = "ER_NET_WRITE_INTERRUPTED"; + exports2[1162] = "ER_TOO_LONG_STRING"; + exports2[1163] = "ER_TABLE_CANT_HANDLE_BLOB"; + exports2[1164] = "ER_TABLE_CANT_HANDLE_AUTO_INCREMENT"; + exports2[1165] = "ER_UNUSED3"; + exports2[1166] = "ER_WRONG_COLUMN_NAME"; + exports2[1167] = "ER_WRONG_KEY_COLUMN"; + exports2[1168] = "ER_WRONG_MRG_TABLE"; + exports2[1169] = "ER_DUP_UNIQUE"; + exports2[1170] = "ER_BLOB_KEY_WITHOUT_LENGTH"; + exports2[1171] = "ER_PRIMARY_CANT_HAVE_NULL"; + exports2[1172] = "ER_TOO_MANY_ROWS"; + exports2[1173] = "ER_REQUIRES_PRIMARY_KEY"; + exports2[1174] = "ER_NO_RAID_COMPILED"; + exports2[1175] = "ER_UPDATE_WITHOUT_KEY_IN_SAFE_MODE"; + exports2[1176] = "ER_KEY_DOES_NOT_EXITS"; + exports2[1177] = "ER_CHECK_NO_SUCH_TABLE"; + exports2[1178] = "ER_CHECK_NOT_IMPLEMENTED"; + exports2[1179] = "ER_CANT_DO_THIS_DURING_AN_TRANSACTION"; + exports2[1180] = "ER_ERROR_DURING_COMMIT"; + exports2[1181] = "ER_ERROR_DURING_ROLLBACK"; + exports2[1182] = "ER_ERROR_DURING_FLUSH_LOGS"; + exports2[1183] = "ER_ERROR_DURING_CHECKPOINT"; + exports2[1184] = "ER_NEW_ABORTING_CONNECTION"; + exports2[1185] = "ER_DUMP_NOT_IMPLEMENTED"; + exports2[1186] = "ER_FLUSH_MASTER_BINLOG_CLOSED"; + exports2[1187] = "ER_INDEX_REBUILD"; + exports2[1188] = "ER_SOURCE"; + exports2[1189] = "ER_SOURCE_NET_READ"; + exports2[1190] = "ER_SOURCE_NET_WRITE"; + exports2[1191] = "ER_FT_MATCHING_KEY_NOT_FOUND"; + exports2[1192] = "ER_LOCK_OR_ACTIVE_TRANSACTION"; + exports2[1193] = "ER_UNKNOWN_SYSTEM_VARIABLE"; + exports2[1194] = "ER_CRASHED_ON_USAGE"; + exports2[1195] = "ER_CRASHED_ON_REPAIR"; + exports2[1196] = "ER_WARNING_NOT_COMPLETE_ROLLBACK"; + exports2[1197] = "ER_TRANS_CACHE_FULL"; + exports2[1198] = "ER_SLAVE_MUST_STOP"; + exports2[1199] = "ER_REPLICA_NOT_RUNNING"; + exports2[1200] = "ER_BAD_REPLICA"; + exports2[1201] = "ER_CONNECTION_METADATA"; + exports2[1202] = "ER_REPLICA_THREAD"; + exports2[1203] = "ER_TOO_MANY_USER_CONNECTIONS"; + exports2[1204] = "ER_SET_CONSTANTS_ONLY"; + exports2[1205] = "ER_LOCK_WAIT_TIMEOUT"; + exports2[1206] = "ER_LOCK_TABLE_FULL"; + exports2[1207] = "ER_READ_ONLY_TRANSACTION"; + exports2[1208] = "ER_DROP_DB_WITH_READ_LOCK"; + exports2[1209] = "ER_CREATE_DB_WITH_READ_LOCK"; + exports2[1210] = "ER_WRONG_ARGUMENTS"; + exports2[1211] = "ER_NO_PERMISSION_TO_CREATE_USER"; + exports2[1212] = "ER_UNION_TABLES_IN_DIFFERENT_DIR"; + exports2[1213] = "ER_LOCK_DEADLOCK"; + exports2[1214] = "ER_TABLE_CANT_HANDLE_FT"; + exports2[1215] = "ER_CANNOT_ADD_FOREIGN"; + exports2[1216] = "ER_NO_REFERENCED_ROW"; + exports2[1217] = "ER_ROW_IS_REFERENCED"; + exports2[1218] = "ER_CONNECT_TO_SOURCE"; + exports2[1219] = "ER_QUERY_ON_MASTER"; + exports2[1220] = "ER_ERROR_WHEN_EXECUTING_COMMAND"; + exports2[1221] = "ER_WRONG_USAGE"; + exports2[1222] = "ER_WRONG_NUMBER_OF_COLUMNS_IN_SELECT"; + exports2[1223] = "ER_CANT_UPDATE_WITH_READLOCK"; + exports2[1224] = "ER_MIXING_NOT_ALLOWED"; + exports2[1225] = "ER_DUP_ARGUMENT"; + exports2[1226] = "ER_USER_LIMIT_REACHED"; + exports2[1227] = "ER_SPECIFIC_ACCESS_DENIED_ERROR"; + exports2[1228] = "ER_LOCAL_VARIABLE"; + exports2[1229] = "ER_GLOBAL_VARIABLE"; + exports2[1230] = "ER_NO_DEFAULT"; + exports2[1231] = "ER_WRONG_VALUE_FOR_VAR"; + exports2[1232] = "ER_WRONG_TYPE_FOR_VAR"; + exports2[1233] = "ER_VAR_CANT_BE_READ"; + exports2[1234] = "ER_CANT_USE_OPTION_HERE"; + exports2[1235] = "ER_NOT_SUPPORTED_YET"; + exports2[1236] = "ER_SOURCE_FATAL_ERROR_READING_BINLOG"; + exports2[1237] = "ER_REPLICA_IGNORED_TABLE"; + exports2[1238] = "ER_INCORRECT_GLOBAL_LOCAL_VAR"; + exports2[1239] = "ER_WRONG_FK_DEF"; + exports2[1240] = "ER_KEY_REF_DO_NOT_MATCH_TABLE_REF"; + exports2[1241] = "ER_OPERAND_COLUMNS"; + exports2[1242] = "ER_SUBQUERY_NO_1_ROW"; + exports2[1243] = "ER_UNKNOWN_STMT_HANDLER"; + exports2[1244] = "ER_CORRUPT_HELP_DB"; + exports2[1245] = "ER_CYCLIC_REFERENCE"; + exports2[1246] = "ER_AUTO_CONVERT"; + exports2[1247] = "ER_ILLEGAL_REFERENCE"; + exports2[1248] = "ER_DERIVED_MUST_HAVE_ALIAS"; + exports2[1249] = "ER_SELECT_REDUCED"; + exports2[1250] = "ER_TABLENAME_NOT_ALLOWED_HERE"; + exports2[1251] = "ER_NOT_SUPPORTED_AUTH_MODE"; + exports2[1252] = "ER_SPATIAL_CANT_HAVE_NULL"; + exports2[1253] = "ER_COLLATION_CHARSET_MISMATCH"; + exports2[1254] = "ER_SLAVE_WAS_RUNNING"; + exports2[1255] = "ER_SLAVE_WAS_NOT_RUNNING"; + exports2[1256] = "ER_TOO_BIG_FOR_UNCOMPRESS"; + exports2[1257] = "ER_ZLIB_Z_MEM_ERROR"; + exports2[1258] = "ER_ZLIB_Z_BUF_ERROR"; + exports2[1259] = "ER_ZLIB_Z_DATA_ERROR"; + exports2[1260] = "ER_CUT_VALUE_GROUP_CONCAT"; + exports2[1261] = "ER_WARN_TOO_FEW_RECORDS"; + exports2[1262] = "ER_WARN_TOO_MANY_RECORDS"; + exports2[1263] = "ER_WARN_NULL_TO_NOTNULL"; + exports2[1264] = "ER_WARN_DATA_OUT_OF_RANGE"; + exports2[1265] = "WARN_DATA_TRUNCATED"; + exports2[1266] = "ER_WARN_USING_OTHER_HANDLER"; + exports2[1267] = "ER_CANT_AGGREGATE_2COLLATIONS"; + exports2[1268] = "ER_DROP_USER"; + exports2[1269] = "ER_REVOKE_GRANTS"; + exports2[1270] = "ER_CANT_AGGREGATE_3COLLATIONS"; + exports2[1271] = "ER_CANT_AGGREGATE_NCOLLATIONS"; + exports2[1272] = "ER_VARIABLE_IS_NOT_STRUCT"; + exports2[1273] = "ER_UNKNOWN_COLLATION"; + exports2[1274] = "ER_REPLICA_IGNORED_SSL_PARAMS"; + exports2[1275] = "ER_SERVER_IS_IN_SECURE_AUTH_MODE"; + exports2[1276] = "ER_WARN_FIELD_RESOLVED"; + exports2[1277] = "ER_BAD_REPLICA_UNTIL_COND"; + exports2[1278] = "ER_MISSING_SKIP_REPLICA"; + exports2[1279] = "ER_UNTIL_COND_IGNORED"; + exports2[1280] = "ER_WRONG_NAME_FOR_INDEX"; + exports2[1281] = "ER_WRONG_NAME_FOR_CATALOG"; + exports2[1282] = "ER_WARN_QC_RESIZE"; + exports2[1283] = "ER_BAD_FT_COLUMN"; + exports2[1284] = "ER_UNKNOWN_KEY_CACHE"; + exports2[1285] = "ER_WARN_HOSTNAME_WONT_WORK"; + exports2[1286] = "ER_UNKNOWN_STORAGE_ENGINE"; + exports2[1287] = "ER_WARN_DEPRECATED_SYNTAX"; + exports2[1288] = "ER_NON_UPDATABLE_TABLE"; + exports2[1289] = "ER_FEATURE_DISABLED"; + exports2[1290] = "ER_OPTION_PREVENTS_STATEMENT"; + exports2[1291] = "ER_DUPLICATED_VALUE_IN_TYPE"; + exports2[1292] = "ER_TRUNCATED_WRONG_VALUE"; + exports2[1293] = "ER_TOO_MUCH_AUTO_TIMESTAMP_COLS"; + exports2[1294] = "ER_INVALID_ON_UPDATE"; + exports2[1295] = "ER_UNSUPPORTED_PS"; + exports2[1296] = "ER_GET_ERRMSG"; + exports2[1297] = "ER_GET_TEMPORARY_ERRMSG"; + exports2[1298] = "ER_UNKNOWN_TIME_ZONE"; + exports2[1299] = "ER_WARN_INVALID_TIMESTAMP"; + exports2[1300] = "ER_INVALID_CHARACTER_STRING"; + exports2[1301] = "ER_WARN_ALLOWED_PACKET_OVERFLOWED"; + exports2[1302] = "ER_CONFLICTING_DECLARATIONS"; + exports2[1303] = "ER_SP_NO_RECURSIVE_CREATE"; + exports2[1304] = "ER_SP_ALREADY_EXISTS"; + exports2[1305] = "ER_SP_DOES_NOT_EXIST"; + exports2[1306] = "ER_SP_DROP_FAILED"; + exports2[1307] = "ER_SP_STORE_FAILED"; + exports2[1308] = "ER_SP_LILABEL_MISMATCH"; + exports2[1309] = "ER_SP_LABEL_REDEFINE"; + exports2[1310] = "ER_SP_LABEL_MISMATCH"; + exports2[1311] = "ER_SP_UNINIT_VAR"; + exports2[1312] = "ER_SP_BADSELECT"; + exports2[1313] = "ER_SP_BADRETURN"; + exports2[1314] = "ER_SP_BADSTATEMENT"; + exports2[1315] = "ER_UPDATE_LOG_DEPRECATED_IGNORED"; + exports2[1316] = "ER_UPDATE_LOG_DEPRECATED_TRANSLATED"; + exports2[1317] = "ER_QUERY_INTERRUPTED"; + exports2[1318] = "ER_SP_WRONG_NO_OF_ARGS"; + exports2[1319] = "ER_SP_COND_MISMATCH"; + exports2[1320] = "ER_SP_NORETURN"; + exports2[1321] = "ER_SP_NORETURNEND"; + exports2[1322] = "ER_SP_BAD_CURSOR_QUERY"; + exports2[1323] = "ER_SP_BAD_CURSOR_SELECT"; + exports2[1324] = "ER_SP_CURSOR_MISMATCH"; + exports2[1325] = "ER_SP_CURSOR_ALREADY_OPEN"; + exports2[1326] = "ER_SP_CURSOR_NOT_OPEN"; + exports2[1327] = "ER_SP_UNDECLARED_VAR"; + exports2[1328] = "ER_SP_WRONG_NO_OF_FETCH_ARGS"; + exports2[1329] = "ER_SP_FETCH_NO_DATA"; + exports2[1330] = "ER_SP_DUP_PARAM"; + exports2[1331] = "ER_SP_DUP_VAR"; + exports2[1332] = "ER_SP_DUP_COND"; + exports2[1333] = "ER_SP_DUP_CURS"; + exports2[1334] = "ER_SP_CANT_ALTER"; + exports2[1335] = "ER_SP_SUBSELECT_NYI"; + exports2[1336] = "ER_STMT_NOT_ALLOWED_IN_SF_OR_TRG"; + exports2[1337] = "ER_SP_VARCOND_AFTER_CURSHNDLR"; + exports2[1338] = "ER_SP_CURSOR_AFTER_HANDLER"; + exports2[1339] = "ER_SP_CASE_NOT_FOUND"; + exports2[1340] = "ER_FPARSER_TOO_BIG_FILE"; + exports2[1341] = "ER_FPARSER_BAD_HEADER"; + exports2[1342] = "ER_FPARSER_EOF_IN_COMMENT"; + exports2[1343] = "ER_FPARSER_ERROR_IN_PARAMETER"; + exports2[1344] = "ER_FPARSER_EOF_IN_UNKNOWN_PARAMETER"; + exports2[1345] = "ER_VIEW_NO_EXPLAIN"; + exports2[1346] = "ER_FRM_UNKNOWN_TYPE"; + exports2[1347] = "ER_WRONG_OBJECT"; + exports2[1348] = "ER_NONUPDATEABLE_COLUMN"; + exports2[1349] = "ER_VIEW_SELECT_DERIVED"; + exports2[1350] = "ER_VIEW_SELECT_CLAUSE"; + exports2[1351] = "ER_VIEW_SELECT_VARIABLE"; + exports2[1352] = "ER_VIEW_SELECT_TMPTABLE"; + exports2[1353] = "ER_VIEW_WRONG_LIST"; + exports2[1354] = "ER_WARN_VIEW_MERGE"; + exports2[1355] = "ER_WARN_VIEW_WITHOUT_KEY"; + exports2[1356] = "ER_VIEW_INVALID"; + exports2[1357] = "ER_SP_NO_DROP_SP"; + exports2[1358] = "ER_SP_GOTO_IN_HNDLR"; + exports2[1359] = "ER_TRG_ALREADY_EXISTS"; + exports2[1360] = "ER_TRG_DOES_NOT_EXIST"; + exports2[1361] = "ER_TRG_ON_VIEW_OR_TEMP_TABLE"; + exports2[1362] = "ER_TRG_CANT_CHANGE_ROW"; + exports2[1363] = "ER_TRG_NO_SUCH_ROW_IN_TRG"; + exports2[1364] = "ER_NO_DEFAULT_FOR_FIELD"; + exports2[1365] = "ER_DIVISION_BY_ZERO"; + exports2[1366] = "ER_TRUNCATED_WRONG_VALUE_FOR_FIELD"; + exports2[1367] = "ER_ILLEGAL_VALUE_FOR_TYPE"; + exports2[1368] = "ER_VIEW_NONUPD_CHECK"; + exports2[1369] = "ER_VIEW_CHECK_FAILED"; + exports2[1370] = "ER_PROCACCESS_DENIED_ERROR"; + exports2[1371] = "ER_RELAY_LOG_FAIL"; + exports2[1372] = "ER_PASSWD_LENGTH"; + exports2[1373] = "ER_UNKNOWN_TARGET_BINLOG"; + exports2[1374] = "ER_IO_ERR_LOG_INDEX_READ"; + exports2[1375] = "ER_BINLOG_PURGE_PROHIBITED"; + exports2[1376] = "ER_FSEEK_FAIL"; + exports2[1377] = "ER_BINLOG_PURGE_FATAL_ERR"; + exports2[1378] = "ER_LOG_IN_USE"; + exports2[1379] = "ER_LOG_PURGE_UNKNOWN_ERR"; + exports2[1380] = "ER_RELAY_LOG_INIT"; + exports2[1381] = "ER_NO_BINARY_LOGGING"; + exports2[1382] = "ER_RESERVED_SYNTAX"; + exports2[1383] = "ER_WSAS_FAILED"; + exports2[1384] = "ER_DIFF_GROUPS_PROC"; + exports2[1385] = "ER_NO_GROUP_FOR_PROC"; + exports2[1386] = "ER_ORDER_WITH_PROC"; + exports2[1387] = "ER_LOGGING_PROHIBIT_CHANGING_OF"; + exports2[1388] = "ER_NO_FILE_MAPPING"; + exports2[1389] = "ER_WRONG_MAGIC"; + exports2[1390] = "ER_PS_MANY_PARAM"; + exports2[1391] = "ER_KEY_PART_0"; + exports2[1392] = "ER_VIEW_CHECKSUM"; + exports2[1393] = "ER_VIEW_MULTIUPDATE"; + exports2[1394] = "ER_VIEW_NO_INSERT_FIELD_LIST"; + exports2[1395] = "ER_VIEW_DELETE_MERGE_VIEW"; + exports2[1396] = "ER_CANNOT_USER"; + exports2[1397] = "ER_XAER_NOTA"; + exports2[1398] = "ER_XAER_INVAL"; + exports2[1399] = "ER_XAER_RMFAIL"; + exports2[1400] = "ER_XAER_OUTSIDE"; + exports2[1401] = "ER_XAER_RMERR"; + exports2[1402] = "ER_XA_RBROLLBACK"; + exports2[1403] = "ER_NONEXISTING_PROC_GRANT"; + exports2[1404] = "ER_PROC_AUTO_GRANT_FAIL"; + exports2[1405] = "ER_PROC_AUTO_REVOKE_FAIL"; + exports2[1406] = "ER_DATA_TOO_LONG"; + exports2[1407] = "ER_SP_BAD_SQLSTATE"; + exports2[1408] = "ER_STARTUP"; + exports2[1409] = "ER_LOAD_FROM_FIXED_SIZE_ROWS_TO_VAR"; + exports2[1410] = "ER_CANT_CREATE_USER_WITH_GRANT"; + exports2[1411] = "ER_WRONG_VALUE_FOR_TYPE"; + exports2[1412] = "ER_TABLE_DEF_CHANGED"; + exports2[1413] = "ER_SP_DUP_HANDLER"; + exports2[1414] = "ER_SP_NOT_VAR_ARG"; + exports2[1415] = "ER_SP_NO_RETSET"; + exports2[1416] = "ER_CANT_CREATE_GEOMETRY_OBJECT"; + exports2[1417] = "ER_FAILED_ROUTINE_BREAK_BINLOG"; + exports2[1418] = "ER_BINLOG_UNSAFE_ROUTINE"; + exports2[1419] = "ER_BINLOG_CREATE_ROUTINE_NEED_SUPER"; + exports2[1420] = "ER_EXEC_STMT_WITH_OPEN_CURSOR"; + exports2[1421] = "ER_STMT_HAS_NO_OPEN_CURSOR"; + exports2[1422] = "ER_COMMIT_NOT_ALLOWED_IN_SF_OR_TRG"; + exports2[1423] = "ER_NO_DEFAULT_FOR_VIEW_FIELD"; + exports2[1424] = "ER_SP_NO_RECURSION"; + exports2[1425] = "ER_TOO_BIG_SCALE"; + exports2[1426] = "ER_TOO_BIG_PRECISION"; + exports2[1427] = "ER_M_BIGGER_THAN_D"; + exports2[1428] = "ER_WRONG_LOCK_OF_SYSTEM_TABLE"; + exports2[1429] = "ER_CONNECT_TO_FOREIGN_DATA_SOURCE"; + exports2[1430] = "ER_QUERY_ON_FOREIGN_DATA_SOURCE"; + exports2[1431] = "ER_FOREIGN_DATA_SOURCE_DOESNT_EXIST"; + exports2[1432] = "ER_FOREIGN_DATA_STRING_INVALID_CANT_CREATE"; + exports2[1433] = "ER_FOREIGN_DATA_STRING_INVALID"; + exports2[1434] = "ER_CANT_CREATE_FEDERATED_TABLE"; + exports2[1435] = "ER_TRG_IN_WRONG_SCHEMA"; + exports2[1436] = "ER_STACK_OVERRUN_NEED_MORE"; + exports2[1437] = "ER_TOO_LONG_BODY"; + exports2[1438] = "ER_WARN_CANT_DROP_DEFAULT_KEYCACHE"; + exports2[1439] = "ER_TOO_BIG_DISPLAYWIDTH"; + exports2[1440] = "ER_XAER_DUPID"; + exports2[1441] = "ER_DATETIME_FUNCTION_OVERFLOW"; + exports2[1442] = "ER_CANT_UPDATE_USED_TABLE_IN_SF_OR_TRG"; + exports2[1443] = "ER_VIEW_PREVENT_UPDATE"; + exports2[1444] = "ER_PS_NO_RECURSION"; + exports2[1445] = "ER_SP_CANT_SET_AUTOCOMMIT"; + exports2[1446] = "ER_MALFORMED_DEFINER"; + exports2[1447] = "ER_VIEW_FRM_NO_USER"; + exports2[1448] = "ER_VIEW_OTHER_USER"; + exports2[1449] = "ER_NO_SUCH_USER"; + exports2[1450] = "ER_FORBID_SCHEMA_CHANGE"; + exports2[1451] = "ER_ROW_IS_REFERENCED_2"; + exports2[1452] = "ER_NO_REFERENCED_ROW_2"; + exports2[1453] = "ER_SP_BAD_VAR_SHADOW"; + exports2[1454] = "ER_TRG_NO_DEFINER"; + exports2[1455] = "ER_OLD_FILE_FORMAT"; + exports2[1456] = "ER_SP_RECURSION_LIMIT"; + exports2[1457] = "ER_SP_PROC_TABLE_CORRUPT"; + exports2[1458] = "ER_SP_WRONG_NAME"; + exports2[1459] = "ER_TABLE_NEEDS_UPGRADE"; + exports2[1460] = "ER_SP_NO_AGGREGATE"; + exports2[1461] = "ER_MAX_PREPARED_STMT_COUNT_REACHED"; + exports2[1462] = "ER_VIEW_RECURSIVE"; + exports2[1463] = "ER_NON_GROUPING_FIELD_USED"; + exports2[1464] = "ER_TABLE_CANT_HANDLE_SPKEYS"; + exports2[1465] = "ER_NO_TRIGGERS_ON_SYSTEM_SCHEMA"; + exports2[1466] = "ER_REMOVED_SPACES"; + exports2[1467] = "ER_AUTOINC_READ_FAILED"; + exports2[1468] = "ER_USERNAME"; + exports2[1469] = "ER_HOSTNAME"; + exports2[1470] = "ER_WRONG_STRING_LENGTH"; + exports2[1471] = "ER_NON_INSERTABLE_TABLE"; + exports2[1472] = "ER_ADMIN_WRONG_MRG_TABLE"; + exports2[1473] = "ER_TOO_HIGH_LEVEL_OF_NESTING_FOR_SELECT"; + exports2[1474] = "ER_NAME_BECOMES_EMPTY"; + exports2[1475] = "ER_AMBIGUOUS_FIELD_TERM"; + exports2[1476] = "ER_FOREIGN_SERVER_EXISTS"; + exports2[1477] = "ER_FOREIGN_SERVER_DOESNT_EXIST"; + exports2[1478] = "ER_ILLEGAL_HA_CREATE_OPTION"; + exports2[1479] = "ER_PARTITION_REQUIRES_VALUES_ERROR"; + exports2[1480] = "ER_PARTITION_WRONG_VALUES_ERROR"; + exports2[1481] = "ER_PARTITION_MAXVALUE_ERROR"; + exports2[1482] = "ER_PARTITION_SUBPARTITION_ERROR"; + exports2[1483] = "ER_PARTITION_SUBPART_MIX_ERROR"; + exports2[1484] = "ER_PARTITION_WRONG_NO_PART_ERROR"; + exports2[1485] = "ER_PARTITION_WRONG_NO_SUBPART_ERROR"; + exports2[1486] = "ER_WRONG_EXPR_IN_PARTITION_FUNC_ERROR"; + exports2[1487] = "ER_NO_CONST_EXPR_IN_RANGE_OR_LIST_ERROR"; + exports2[1488] = "ER_FIELD_NOT_FOUND_PART_ERROR"; + exports2[1489] = "ER_LIST_OF_FIELDS_ONLY_IN_HASH_ERROR"; + exports2[1490] = "ER_INCONSISTENT_PARTITION_INFO_ERROR"; + exports2[1491] = "ER_PARTITION_FUNC_NOT_ALLOWED_ERROR"; + exports2[1492] = "ER_PARTITIONS_MUST_BE_DEFINED_ERROR"; + exports2[1493] = "ER_RANGE_NOT_INCREASING_ERROR"; + exports2[1494] = "ER_INCONSISTENT_TYPE_OF_FUNCTIONS_ERROR"; + exports2[1495] = "ER_MULTIPLE_DEF_CONST_IN_LIST_PART_ERROR"; + exports2[1496] = "ER_PARTITION_ENTRY_ERROR"; + exports2[1497] = "ER_MIX_HANDLER_ERROR"; + exports2[1498] = "ER_PARTITION_NOT_DEFINED_ERROR"; + exports2[1499] = "ER_TOO_MANY_PARTITIONS_ERROR"; + exports2[1500] = "ER_SUBPARTITION_ERROR"; + exports2[1501] = "ER_CANT_CREATE_HANDLER_FILE"; + exports2[1502] = "ER_BLOB_FIELD_IN_PART_FUNC_ERROR"; + exports2[1503] = "ER_UNIQUE_KEY_NEED_ALL_FIELDS_IN_PF"; + exports2[1504] = "ER_NO_PARTS_ERROR"; + exports2[1505] = "ER_PARTITION_MGMT_ON_NONPARTITIONED"; + exports2[1506] = "ER_FOREIGN_KEY_ON_PARTITIONED"; + exports2[1507] = "ER_DROP_PARTITION_NON_EXISTENT"; + exports2[1508] = "ER_DROP_LAST_PARTITION"; + exports2[1509] = "ER_COALESCE_ONLY_ON_HASH_PARTITION"; + exports2[1510] = "ER_REORG_HASH_ONLY_ON_SAME_NO"; + exports2[1511] = "ER_REORG_NO_PARAM_ERROR"; + exports2[1512] = "ER_ONLY_ON_RANGE_LIST_PARTITION"; + exports2[1513] = "ER_ADD_PARTITION_SUBPART_ERROR"; + exports2[1514] = "ER_ADD_PARTITION_NO_NEW_PARTITION"; + exports2[1515] = "ER_COALESCE_PARTITION_NO_PARTITION"; + exports2[1516] = "ER_REORG_PARTITION_NOT_EXIST"; + exports2[1517] = "ER_SAME_NAME_PARTITION"; + exports2[1518] = "ER_NO_BINLOG_ERROR"; + exports2[1519] = "ER_CONSECUTIVE_REORG_PARTITIONS"; + exports2[1520] = "ER_REORG_OUTSIDE_RANGE"; + exports2[1521] = "ER_PARTITION_FUNCTION_FAILURE"; + exports2[1522] = "ER_PART_STATE_ERROR"; + exports2[1523] = "ER_LIMITED_PART_RANGE"; + exports2[1524] = "ER_PLUGIN_IS_NOT_LOADED"; + exports2[1525] = "ER_WRONG_VALUE"; + exports2[1526] = "ER_NO_PARTITION_FOR_GIVEN_VALUE"; + exports2[1527] = "ER_FILEGROUP_OPTION_ONLY_ONCE"; + exports2[1528] = "ER_CREATE_FILEGROUP_FAILED"; + exports2[1529] = "ER_DROP_FILEGROUP_FAILED"; + exports2[1530] = "ER_TABLESPACE_AUTO_EXTEND_ERROR"; + exports2[1531] = "ER_WRONG_SIZE_NUMBER"; + exports2[1532] = "ER_SIZE_OVERFLOW_ERROR"; + exports2[1533] = "ER_ALTER_FILEGROUP_FAILED"; + exports2[1534] = "ER_BINLOG_ROW_LOGGING_FAILED"; + exports2[1535] = "ER_BINLOG_ROW_WRONG_TABLE_DEF"; + exports2[1536] = "ER_BINLOG_ROW_RBR_TO_SBR"; + exports2[1537] = "ER_EVENT_ALREADY_EXISTS"; + exports2[1538] = "ER_EVENT_STORE_FAILED"; + exports2[1539] = "ER_EVENT_DOES_NOT_EXIST"; + exports2[1540] = "ER_EVENT_CANT_ALTER"; + exports2[1541] = "ER_EVENT_DROP_FAILED"; + exports2[1542] = "ER_EVENT_INTERVAL_NOT_POSITIVE_OR_TOO_BIG"; + exports2[1543] = "ER_EVENT_ENDS_BEFORE_STARTS"; + exports2[1544] = "ER_EVENT_EXEC_TIME_IN_THE_PAST"; + exports2[1545] = "ER_EVENT_OPEN_TABLE_FAILED"; + exports2[1546] = "ER_EVENT_NEITHER_M_EXPR_NOR_M_AT"; + exports2[1547] = "ER_COL_COUNT_DOESNT_MATCH_CORRUPTED"; + exports2[1548] = "ER_CANNOT_LOAD_FROM_TABLE"; + exports2[1549] = "ER_EVENT_CANNOT_DELETE"; + exports2[1550] = "ER_EVENT_COMPILE_ERROR"; + exports2[1551] = "ER_EVENT_SAME_NAME"; + exports2[1552] = "ER_EVENT_DATA_TOO_LONG"; + exports2[1553] = "ER_DROP_INDEX_FK"; + exports2[1554] = "ER_WARN_DEPRECATED_SYNTAX_WITH_VER"; + exports2[1555] = "ER_CANT_WRITE_LOCK_LOG_TABLE"; + exports2[1556] = "ER_CANT_LOCK_LOG_TABLE"; + exports2[1557] = "ER_FOREIGN_DUPLICATE_KEY"; + exports2[1558] = "ER_COL_COUNT_DOESNT_MATCH_PLEASE_UPDATE"; + exports2[1559] = "ER_TEMP_TABLE_PREVENTS_SWITCH_OUT_OF_RBR"; + exports2[1560] = "ER_STORED_FUNCTION_PREVENTS_SWITCH_BINLOG_FORMAT"; + exports2[1561] = "ER_NDB_CANT_SWITCH_BINLOG_FORMAT"; + exports2[1562] = "ER_PARTITION_NO_TEMPORARY"; + exports2[1563] = "ER_PARTITION_CONST_DOMAIN_ERROR"; + exports2[1564] = "ER_PARTITION_FUNCTION_IS_NOT_ALLOWED"; + exports2[1565] = "ER_DDL_LOG_ERROR"; + exports2[1566] = "ER_NULL_IN_VALUES_LESS_THAN"; + exports2[1567] = "ER_WRONG_PARTITION_NAME"; + exports2[1568] = "ER_CANT_CHANGE_TX_CHARACTERISTICS"; + exports2[1569] = "ER_DUP_ENTRY_AUTOINCREMENT_CASE"; + exports2[1570] = "ER_EVENT_MODIFY_QUEUE_ERROR"; + exports2[1571] = "ER_EVENT_SET_VAR_ERROR"; + exports2[1572] = "ER_PARTITION_MERGE_ERROR"; + exports2[1573] = "ER_CANT_ACTIVATE_LOG"; + exports2[1574] = "ER_RBR_NOT_AVAILABLE"; + exports2[1575] = "ER_BASE64_DECODE_ERROR"; + exports2[1576] = "ER_EVENT_RECURSION_FORBIDDEN"; + exports2[1577] = "ER_EVENTS_DB_ERROR"; + exports2[1578] = "ER_ONLY_INTEGERS_ALLOWED"; + exports2[1579] = "ER_UNSUPORTED_LOG_ENGINE"; + exports2[1580] = "ER_BAD_LOG_STATEMENT"; + exports2[1581] = "ER_CANT_RENAME_LOG_TABLE"; + exports2[1582] = "ER_WRONG_PARAMCOUNT_TO_NATIVE_FCT"; + exports2[1583] = "ER_WRONG_PARAMETERS_TO_NATIVE_FCT"; + exports2[1584] = "ER_WRONG_PARAMETERS_TO_STORED_FCT"; + exports2[1585] = "ER_NATIVE_FCT_NAME_COLLISION"; + exports2[1586] = "ER_DUP_ENTRY_WITH_KEY_NAME"; + exports2[1587] = "ER_BINLOG_PURGE_EMFILE"; + exports2[1588] = "ER_EVENT_CANNOT_CREATE_IN_THE_PAST"; + exports2[1589] = "ER_EVENT_CANNOT_ALTER_IN_THE_PAST"; + exports2[1590] = "ER_SLAVE_INCIDENT"; + exports2[1591] = "ER_NO_PARTITION_FOR_GIVEN_VALUE_SILENT"; + exports2[1592] = "ER_BINLOG_UNSAFE_STATEMENT"; + exports2[1593] = "ER_BINLOG_FATAL_ERROR"; + exports2[1594] = "ER_SLAVE_RELAY_LOG_READ_FAILURE"; + exports2[1595] = "ER_SLAVE_RELAY_LOG_WRITE_FAILURE"; + exports2[1596] = "ER_SLAVE_CREATE_EVENT_FAILURE"; + exports2[1597] = "ER_SLAVE_MASTER_COM_FAILURE"; + exports2[1598] = "ER_BINLOG_LOGGING_IMPOSSIBLE"; + exports2[1599] = "ER_VIEW_NO_CREATION_CTX"; + exports2[1600] = "ER_VIEW_INVALID_CREATION_CTX"; + exports2[1601] = "ER_SR_INVALID_CREATION_CTX"; + exports2[1602] = "ER_TRG_CORRUPTED_FILE"; + exports2[1603] = "ER_TRG_NO_CREATION_CTX"; + exports2[1604] = "ER_TRG_INVALID_CREATION_CTX"; + exports2[1605] = "ER_EVENT_INVALID_CREATION_CTX"; + exports2[1606] = "ER_TRG_CANT_OPEN_TABLE"; + exports2[1607] = "ER_CANT_CREATE_SROUTINE"; + exports2[1608] = "ER_NEVER_USED"; + exports2[1609] = "ER_NO_FORMAT_DESCRIPTION_EVENT_BEFORE_BINLOG_STATEMENT"; + exports2[1610] = "ER_REPLICA_CORRUPT_EVENT"; + exports2[1611] = "ER_LOAD_DATA_INVALID_COLUMN"; + exports2[1612] = "ER_LOG_PURGE_NO_FILE"; + exports2[1613] = "ER_XA_RBTIMEOUT"; + exports2[1614] = "ER_XA_RBDEADLOCK"; + exports2[1615] = "ER_NEED_REPREPARE"; + exports2[1616] = "ER_DELAYED_NOT_SUPPORTED"; + exports2[1617] = "WARN_NO_CONNECTION_METADATA"; + exports2[1618] = "WARN_OPTION_IGNORED"; + exports2[1619] = "ER_PLUGIN_DELETE_BUILTIN"; + exports2[1620] = "WARN_PLUGIN_BUSY"; + exports2[1621] = "ER_VARIABLE_IS_READONLY"; + exports2[1622] = "ER_WARN_ENGINE_TRANSACTION_ROLLBACK"; + exports2[1623] = "ER_SLAVE_HEARTBEAT_FAILURE"; + exports2[1624] = "ER_REPLICA_HEARTBEAT_VALUE_OUT_OF_RANGE"; + exports2[1625] = "ER_NDB_REPLICATION_SCHEMA_ERROR"; + exports2[1626] = "ER_CONFLICT_FN_PARSE_ERROR"; + exports2[1627] = "ER_EXCEPTIONS_WRITE_ERROR"; + exports2[1628] = "ER_TOO_LONG_TABLE_COMMENT"; + exports2[1629] = "ER_TOO_LONG_FIELD_COMMENT"; + exports2[1630] = "ER_FUNC_INEXISTENT_NAME_COLLISION"; + exports2[1631] = "ER_DATABASE_NAME"; + exports2[1632] = "ER_TABLE_NAME"; + exports2[1633] = "ER_PARTITION_NAME"; + exports2[1634] = "ER_SUBPARTITION_NAME"; + exports2[1635] = "ER_TEMPORARY_NAME"; + exports2[1636] = "ER_RENAMED_NAME"; + exports2[1637] = "ER_TOO_MANY_CONCURRENT_TRXS"; + exports2[1638] = "WARN_NON_ASCII_SEPARATOR_NOT_IMPLEMENTED"; + exports2[1639] = "ER_DEBUG_SYNC_TIMEOUT"; + exports2[1640] = "ER_DEBUG_SYNC_HIT_LIMIT"; + exports2[1641] = "ER_DUP_SIGNAL_SET"; + exports2[1642] = "ER_SIGNAL_WARN"; + exports2[1643] = "ER_SIGNAL_NOT_FOUND"; + exports2[1644] = "ER_SIGNAL_EXCEPTION"; + exports2[1645] = "ER_RESIGNAL_WITHOUT_ACTIVE_HANDLER"; + exports2[1646] = "ER_SIGNAL_BAD_CONDITION_TYPE"; + exports2[1647] = "WARN_COND_ITEM_TRUNCATED"; + exports2[1648] = "ER_COND_ITEM_TOO_LONG"; + exports2[1649] = "ER_UNKNOWN_LOCALE"; + exports2[1650] = "ER_REPLICA_IGNORE_SERVER_IDS"; + exports2[1651] = "ER_QUERY_CACHE_DISABLED"; + exports2[1652] = "ER_SAME_NAME_PARTITION_FIELD"; + exports2[1653] = "ER_PARTITION_COLUMN_LIST_ERROR"; + exports2[1654] = "ER_WRONG_TYPE_COLUMN_VALUE_ERROR"; + exports2[1655] = "ER_TOO_MANY_PARTITION_FUNC_FIELDS_ERROR"; + exports2[1656] = "ER_MAXVALUE_IN_VALUES_IN"; + exports2[1657] = "ER_TOO_MANY_VALUES_ERROR"; + exports2[1658] = "ER_ROW_SINGLE_PARTITION_FIELD_ERROR"; + exports2[1659] = "ER_FIELD_TYPE_NOT_ALLOWED_AS_PARTITION_FIELD"; + exports2[1660] = "ER_PARTITION_FIELDS_TOO_LONG"; + exports2[1661] = "ER_BINLOG_ROW_ENGINE_AND_STMT_ENGINE"; + exports2[1662] = "ER_BINLOG_ROW_MODE_AND_STMT_ENGINE"; + exports2[1663] = "ER_BINLOG_UNSAFE_AND_STMT_ENGINE"; + exports2[1664] = "ER_BINLOG_ROW_INJECTION_AND_STMT_ENGINE"; + exports2[1665] = "ER_BINLOG_STMT_MODE_AND_ROW_ENGINE"; + exports2[1666] = "ER_BINLOG_ROW_INJECTION_AND_STMT_MODE"; + exports2[1667] = "ER_BINLOG_MULTIPLE_ENGINES_AND_SELF_LOGGING_ENGINE"; + exports2[1668] = "ER_BINLOG_UNSAFE_LIMIT"; + exports2[1669] = "ER_UNUSED4"; + exports2[1670] = "ER_BINLOG_UNSAFE_SYSTEM_TABLE"; + exports2[1671] = "ER_BINLOG_UNSAFE_AUTOINC_COLUMNS"; + exports2[1672] = "ER_BINLOG_UNSAFE_UDF"; + exports2[1673] = "ER_BINLOG_UNSAFE_SYSTEM_VARIABLE"; + exports2[1674] = "ER_BINLOG_UNSAFE_SYSTEM_FUNCTION"; + exports2[1675] = "ER_BINLOG_UNSAFE_NONTRANS_AFTER_TRANS"; + exports2[1676] = "ER_MESSAGE_AND_STATEMENT"; + exports2[1677] = "ER_SLAVE_CONVERSION_FAILED"; + exports2[1678] = "ER_REPLICA_CANT_CREATE_CONVERSION"; + exports2[1679] = "ER_INSIDE_TRANSACTION_PREVENTS_SWITCH_BINLOG_FORMAT"; + exports2[1680] = "ER_PATH_LENGTH"; + exports2[1681] = "ER_WARN_DEPRECATED_SYNTAX_NO_REPLACEMENT"; + exports2[1682] = "ER_WRONG_NATIVE_TABLE_STRUCTURE"; + exports2[1683] = "ER_WRONG_PERFSCHEMA_USAGE"; + exports2[1684] = "ER_WARN_I_S_SKIPPED_TABLE"; + exports2[1685] = "ER_INSIDE_TRANSACTION_PREVENTS_SWITCH_BINLOG_DIRECT"; + exports2[1686] = "ER_STORED_FUNCTION_PREVENTS_SWITCH_BINLOG_DIRECT"; + exports2[1687] = "ER_SPATIAL_MUST_HAVE_GEOM_COL"; + exports2[1688] = "ER_TOO_LONG_INDEX_COMMENT"; + exports2[1689] = "ER_LOCK_ABORTED"; + exports2[1690] = "ER_DATA_OUT_OF_RANGE"; + exports2[1691] = "ER_WRONG_SPVAR_TYPE_IN_LIMIT"; + exports2[1692] = "ER_BINLOG_UNSAFE_MULTIPLE_ENGINES_AND_SELF_LOGGING_ENGINE"; + exports2[1693] = "ER_BINLOG_UNSAFE_MIXED_STATEMENT"; + exports2[1694] = "ER_INSIDE_TRANSACTION_PREVENTS_SWITCH_SQL_LOG_BIN"; + exports2[1695] = "ER_STORED_FUNCTION_PREVENTS_SWITCH_SQL_LOG_BIN"; + exports2[1696] = "ER_FAILED_READ_FROM_PAR_FILE"; + exports2[1697] = "ER_VALUES_IS_NOT_INT_TYPE_ERROR"; + exports2[1698] = "ER_ACCESS_DENIED_NO_PASSWORD_ERROR"; + exports2[1699] = "ER_SET_PASSWORD_AUTH_PLUGIN"; + exports2[1700] = "ER_GRANT_PLUGIN_USER_EXISTS"; + exports2[1701] = "ER_TRUNCATE_ILLEGAL_FK"; + exports2[1702] = "ER_PLUGIN_IS_PERMANENT"; + exports2[1703] = "ER_REPLICA_HEARTBEAT_VALUE_OUT_OF_RANGE_MIN"; + exports2[1704] = "ER_REPLICA_HEARTBEAT_VALUE_OUT_OF_RANGE_MAX"; + exports2[1705] = "ER_STMT_CACHE_FULL"; + exports2[1706] = "ER_MULTI_UPDATE_KEY_CONFLICT"; + exports2[1707] = "ER_TABLE_NEEDS_REBUILD"; + exports2[1708] = "WARN_OPTION_BELOW_LIMIT"; + exports2[1709] = "ER_INDEX_COLUMN_TOO_LONG"; + exports2[1710] = "ER_ERROR_IN_TRIGGER_BODY"; + exports2[1711] = "ER_ERROR_IN_UNKNOWN_TRIGGER_BODY"; + exports2[1712] = "ER_INDEX_CORRUPT"; + exports2[1713] = "ER_UNDO_RECORD_TOO_BIG"; + exports2[1714] = "ER_BINLOG_UNSAFE_INSERT_IGNORE_SELECT"; + exports2[1715] = "ER_BINLOG_UNSAFE_INSERT_SELECT_UPDATE"; + exports2[1716] = "ER_BINLOG_UNSAFE_REPLACE_SELECT"; + exports2[1717] = "ER_BINLOG_UNSAFE_CREATE_IGNORE_SELECT"; + exports2[1718] = "ER_BINLOG_UNSAFE_CREATE_REPLACE_SELECT"; + exports2[1719] = "ER_BINLOG_UNSAFE_UPDATE_IGNORE"; + exports2[1720] = "ER_PLUGIN_NO_UNINSTALL"; + exports2[1721] = "ER_PLUGIN_NO_INSTALL"; + exports2[1722] = "ER_BINLOG_UNSAFE_WRITE_AUTOINC_SELECT"; + exports2[1723] = "ER_BINLOG_UNSAFE_CREATE_SELECT_AUTOINC"; + exports2[1724] = "ER_BINLOG_UNSAFE_INSERT_TWO_KEYS"; + exports2[1725] = "ER_TABLE_IN_FK_CHECK"; + exports2[1726] = "ER_UNSUPPORTED_ENGINE"; + exports2[1727] = "ER_BINLOG_UNSAFE_AUTOINC_NOT_FIRST"; + exports2[1728] = "ER_CANNOT_LOAD_FROM_TABLE_V2"; + exports2[1729] = "ER_SOURCE_DELAY_VALUE_OUT_OF_RANGE"; + exports2[1730] = "ER_ONLY_FD_AND_RBR_EVENTS_ALLOWED_IN_BINLOG_STATEMENT"; + exports2[1731] = "ER_PARTITION_EXCHANGE_DIFFERENT_OPTION"; + exports2[1732] = "ER_PARTITION_EXCHANGE_PART_TABLE"; + exports2[1733] = "ER_PARTITION_EXCHANGE_TEMP_TABLE"; + exports2[1734] = "ER_PARTITION_INSTEAD_OF_SUBPARTITION"; + exports2[1735] = "ER_UNKNOWN_PARTITION"; + exports2[1736] = "ER_TABLES_DIFFERENT_METADATA"; + exports2[1737] = "ER_ROW_DOES_NOT_MATCH_PARTITION"; + exports2[1738] = "ER_BINLOG_CACHE_SIZE_GREATER_THAN_MAX"; + exports2[1739] = "ER_WARN_INDEX_NOT_APPLICABLE"; + exports2[1740] = "ER_PARTITION_EXCHANGE_FOREIGN_KEY"; + exports2[1741] = "ER_NO_SUCH_KEY_VALUE"; + exports2[1742] = "ER_RPL_INFO_DATA_TOO_LONG"; + exports2[1743] = "ER_NETWORK_READ_EVENT_CHECKSUM_FAILURE"; + exports2[1744] = "ER_BINLOG_READ_EVENT_CHECKSUM_FAILURE"; + exports2[1745] = "ER_BINLOG_STMT_CACHE_SIZE_GREATER_THAN_MAX"; + exports2[1746] = "ER_CANT_UPDATE_TABLE_IN_CREATE_TABLE_SELECT"; + exports2[1747] = "ER_PARTITION_CLAUSE_ON_NONPARTITIONED"; + exports2[1748] = "ER_ROW_DOES_NOT_MATCH_GIVEN_PARTITION_SET"; + exports2[1749] = "ER_NO_SUCH_PARTITION"; + exports2[1750] = "ER_CHANGE_RPL_INFO_REPOSITORY_FAILURE"; + exports2[1751] = "ER_WARNING_NOT_COMPLETE_ROLLBACK_WITH_CREATED_TEMP_TABLE"; + exports2[1752] = "ER_WARNING_NOT_COMPLETE_ROLLBACK_WITH_DROPPED_TEMP_TABLE"; + exports2[1753] = "ER_MTA_FEATURE_IS_NOT_SUPPORTED"; + exports2[1754] = "ER_MTA_UPDATED_DBS_GREATER_MAX"; + exports2[1755] = "ER_MTA_CANT_PARALLEL"; + exports2[1756] = "ER_MTA_INCONSISTENT_DATA"; + exports2[1757] = "ER_FULLTEXT_NOT_SUPPORTED_WITH_PARTITIONING"; + exports2[1758] = "ER_DA_INVALID_CONDITION_NUMBER"; + exports2[1759] = "ER_INSECURE_PLAIN_TEXT"; + exports2[1760] = "ER_INSECURE_CHANGE_SOURCE"; + exports2[1761] = "ER_FOREIGN_DUPLICATE_KEY_WITH_CHILD_INFO"; + exports2[1762] = "ER_FOREIGN_DUPLICATE_KEY_WITHOUT_CHILD_INFO"; + exports2[1763] = "ER_SQLTHREAD_WITH_SECURE_REPLICA"; + exports2[1764] = "ER_TABLE_HAS_NO_FT"; + exports2[1765] = "ER_VARIABLE_NOT_SETTABLE_IN_SF_OR_TRIGGER"; + exports2[1766] = "ER_VARIABLE_NOT_SETTABLE_IN_TRANSACTION"; + exports2[1767] = "ER_GTID_NEXT_IS_NOT_IN_GTID_NEXT_LIST"; + exports2[1768] = "ER_CANT_CHANGE_GTID_NEXT_IN_TRANSACTION"; + exports2[1769] = "ER_SET_STATEMENT_CANNOT_INVOKE_FUNCTION"; + exports2[1770] = "ER_GTID_NEXT_CANT_BE_AUTOMATIC_IF_GTID_NEXT_LIST_IS_NON_NULL"; + exports2[1771] = "ER_SKIPPING_LOGGED_TRANSACTION"; + exports2[1772] = "ER_MALFORMED_GTID_SET_SPECIFICATION"; + exports2[1773] = "ER_MALFORMED_GTID_SET_ENCODING"; + exports2[1774] = "ER_MALFORMED_GTID_SPECIFICATION"; + exports2[1775] = "ER_GNO_EXHAUSTED"; + exports2[1776] = "ER_BAD_REPLICA_AUTO_POSITION"; + exports2[1777] = "ER_AUTO_POSITION_REQUIRES_GTID_MODE_NOT_OFF"; + exports2[1778] = "ER_CANT_DO_IMPLICIT_COMMIT_IN_TRX_WHEN_GTID_NEXT_IS_SET"; + exports2[1779] = "ER_GTID_MODE_ON_REQUIRES_ENFORCE_GTID_CONSISTENCY_ON"; + exports2[1780] = "ER_GTID_MODE_REQUIRES_BINLOG"; + exports2[1781] = "ER_CANT_SET_GTID_NEXT_TO_GTID_WHEN_GTID_MODE_IS_OFF"; + exports2[1782] = "ER_CANT_SET_GTID_NEXT_TO_ANONYMOUS_WHEN_GTID_MODE_IS_ON"; + exports2[1783] = "ER_CANT_SET_GTID_NEXT_LIST_TO_NON_NULL_WHEN_GTID_MODE_IS_OFF"; + exports2[1784] = "ER_FOUND_GTID_EVENT_WHEN_GTID_MODE_IS_OFF"; + exports2[1785] = "ER_GTID_UNSAFE_NON_TRANSACTIONAL_TABLE"; + exports2[1786] = "ER_GTID_UNSAFE_CREATE_SELECT"; + exports2[1787] = "ER_GTID_UNSAFE_CREATE_DROP_TEMP_TABLE_IN_TRANSACTION"; + exports2[1788] = "ER_GTID_MODE_CAN_ONLY_CHANGE_ONE_STEP_AT_A_TIME"; + exports2[1789] = "ER_SOURCE_HAS_PURGED_REQUIRED_GTIDS"; + exports2[1790] = "ER_CANT_SET_GTID_NEXT_WHEN_OWNING_GTID"; + exports2[1791] = "ER_UNKNOWN_EXPLAIN_FORMAT"; + exports2[1792] = "ER_CANT_EXECUTE_IN_READ_ONLY_TRANSACTION"; + exports2[1793] = "ER_TOO_LONG_TABLE_PARTITION_COMMENT"; + exports2[1794] = "ER_REPLICA_CONFIGURATION"; + exports2[1795] = "ER_INNODB_FT_LIMIT"; + exports2[1796] = "ER_INNODB_NO_FT_TEMP_TABLE"; + exports2[1797] = "ER_INNODB_FT_WRONG_DOCID_COLUMN"; + exports2[1798] = "ER_INNODB_FT_WRONG_DOCID_INDEX"; + exports2[1799] = "ER_INNODB_ONLINE_LOG_TOO_BIG"; + exports2[1800] = "ER_UNKNOWN_ALTER_ALGORITHM"; + exports2[1801] = "ER_UNKNOWN_ALTER_LOCK"; + exports2[1802] = "ER_MTA_CHANGE_SOURCE_CANT_RUN_WITH_GAPS"; + exports2[1803] = "ER_MTA_RECOVERY_FAILURE"; + exports2[1804] = "ER_MTA_RESET_WORKERS"; + exports2[1805] = "ER_COL_COUNT_DOESNT_MATCH_CORRUPTED_V2"; + exports2[1806] = "ER_REPLICA_SILENT_RETRY_TRANSACTION"; + exports2[1807] = "ER_DISCARD_FK_CHECKS_RUNNING"; + exports2[1808] = "ER_TABLE_SCHEMA_MISMATCH"; + exports2[1809] = "ER_TABLE_IN_SYSTEM_TABLESPACE"; + exports2[1810] = "ER_IO_READ_ERROR"; + exports2[1811] = "ER_IO_WRITE_ERROR"; + exports2[1812] = "ER_TABLESPACE_MISSING"; + exports2[1813] = "ER_TABLESPACE_EXISTS"; + exports2[1814] = "ER_TABLESPACE_DISCARDED"; + exports2[1815] = "ER_INTERNAL_ERROR"; + exports2[1816] = "ER_INNODB_IMPORT_ERROR"; + exports2[1817] = "ER_INNODB_INDEX_CORRUPT"; + exports2[1818] = "ER_INVALID_YEAR_COLUMN_LENGTH"; + exports2[1819] = "ER_NOT_VALID_PASSWORD"; + exports2[1820] = "ER_MUST_CHANGE_PASSWORD"; + exports2[1821] = "ER_FK_NO_INDEX_CHILD"; + exports2[1822] = "ER_FK_NO_INDEX_PARENT"; + exports2[1823] = "ER_FK_FAIL_ADD_SYSTEM"; + exports2[1824] = "ER_FK_CANNOT_OPEN_PARENT"; + exports2[1825] = "ER_FK_INCORRECT_OPTION"; + exports2[1826] = "ER_FK_DUP_NAME"; + exports2[1827] = "ER_PASSWORD_FORMAT"; + exports2[1828] = "ER_FK_COLUMN_CANNOT_DROP"; + exports2[1829] = "ER_FK_COLUMN_CANNOT_DROP_CHILD"; + exports2[1830] = "ER_FK_COLUMN_NOT_NULL"; + exports2[1831] = "ER_DUP_INDEX"; + exports2[1832] = "ER_FK_COLUMN_CANNOT_CHANGE"; + exports2[1833] = "ER_FK_COLUMN_CANNOT_CHANGE_CHILD"; + exports2[1834] = "ER_UNUSED5"; + exports2[1835] = "ER_MALFORMED_PACKET"; + exports2[1836] = "ER_READ_ONLY_MODE"; + exports2[1837] = "ER_GTID_NEXT_TYPE_UNDEFINED_GTID"; + exports2[1838] = "ER_VARIABLE_NOT_SETTABLE_IN_SP"; + exports2[1839] = "ER_CANT_SET_GTID_PURGED_WHEN_GTID_MODE_IS_OFF"; + exports2[1840] = "ER_CANT_SET_GTID_PURGED_WHEN_GTID_EXECUTED_IS_NOT_EMPTY"; + exports2[1841] = "ER_CANT_SET_GTID_PURGED_WHEN_OWNED_GTIDS_IS_NOT_EMPTY"; + exports2[1842] = "ER_GTID_PURGED_WAS_CHANGED"; + exports2[1843] = "ER_GTID_EXECUTED_WAS_CHANGED"; + exports2[1844] = "ER_BINLOG_STMT_MODE_AND_NO_REPL_TABLES"; + exports2[1845] = "ER_ALTER_OPERATION_NOT_SUPPORTED"; + exports2[1846] = "ER_ALTER_OPERATION_NOT_SUPPORTED_REASON"; + exports2[1847] = "ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_COPY"; + exports2[1848] = "ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_PARTITION"; + exports2[1849] = "ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_FK_RENAME"; + exports2[1850] = "ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_COLUMN_TYPE"; + exports2[1851] = "ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_FK_CHECK"; + exports2[1852] = "ER_UNUSED6"; + exports2[1853] = "ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_NOPK"; + exports2[1854] = "ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_AUTOINC"; + exports2[1855] = "ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_HIDDEN_FTS"; + exports2[1856] = "ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_CHANGE_FTS"; + exports2[1857] = "ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_FTS"; + exports2[1858] = "ER_SQL_REPLICA_SKIP_COUNTER_NOT_SETTABLE_IN_GTID_MODE"; + exports2[1859] = "ER_DUP_UNKNOWN_IN_INDEX"; + exports2[1860] = "ER_IDENT_CAUSES_TOO_LONG_PATH"; + exports2[1861] = "ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_NOT_NULL"; + exports2[1862] = "ER_MUST_CHANGE_PASSWORD_LOGIN"; + exports2[1863] = "ER_ROW_IN_WRONG_PARTITION"; + exports2[1864] = "ER_MTA_EVENT_BIGGER_PENDING_JOBS_SIZE_MAX"; + exports2[1865] = "ER_INNODB_NO_FT_USES_PARSER"; + exports2[1866] = "ER_BINLOG_LOGICAL_CORRUPTION"; + exports2[1867] = "ER_WARN_PURGE_LOG_IN_USE"; + exports2[1868] = "ER_WARN_PURGE_LOG_IS_ACTIVE"; + exports2[1869] = "ER_AUTO_INCREMENT_CONFLICT"; + exports2[1870] = "WARN_ON_BLOCKHOLE_IN_RBR"; + exports2[1871] = "ER_REPLICA_CM_INIT_REPOSITORY"; + exports2[1872] = "ER_REPLICA_AM_INIT_REPOSITORY"; + exports2[1873] = "ER_ACCESS_DENIED_CHANGE_USER_ERROR"; + exports2[1874] = "ER_INNODB_READ_ONLY"; + exports2[1875] = "ER_STOP_REPLICA_SQL_THREAD_TIMEOUT"; + exports2[1876] = "ER_STOP_REPLICA_IO_THREAD_TIMEOUT"; + exports2[1877] = "ER_TABLE_CORRUPT"; + exports2[1878] = "ER_TEMP_FILE_WRITE_FAILURE"; + exports2[1879] = "ER_INNODB_FT_AUX_NOT_HEX_ID"; + exports2[1880] = "ER_OLD_TEMPORALS_UPGRADED"; + exports2[1881] = "ER_INNODB_FORCED_RECOVERY"; + exports2[1882] = "ER_AES_INVALID_IV"; + exports2[1883] = "ER_PLUGIN_CANNOT_BE_UNINSTALLED"; + exports2[1884] = "ER_GTID_UNSAFE_BINLOG_SPLITTABLE_STATEMENT_AND_ASSIGNED_GTID"; + exports2[1885] = "ER_REPLICA_HAS_MORE_GTIDS_THAN_SOURCE"; + exports2[1886] = "ER_MISSING_KEY"; + exports2[1887] = "WARN_NAMED_PIPE_ACCESS_EVERYONE"; + exports2[3e3] = "ER_FILE_CORRUPT"; + exports2[3001] = "ER_ERROR_ON_SOURCE"; + exports2[3002] = "ER_INCONSISTENT_ERROR"; + exports2[3003] = "ER_STORAGE_ENGINE_NOT_LOADED"; + exports2[3004] = "ER_GET_STACKED_DA_WITHOUT_ACTIVE_HANDLER"; + exports2[3005] = "ER_WARN_LEGACY_SYNTAX_CONVERTED"; + exports2[3006] = "ER_BINLOG_UNSAFE_FULLTEXT_PLUGIN"; + exports2[3007] = "ER_CANNOT_DISCARD_TEMPORARY_TABLE"; + exports2[3008] = "ER_FK_DEPTH_EXCEEDED"; + exports2[3009] = "ER_COL_COUNT_DOESNT_MATCH_PLEASE_UPDATE_V2"; + exports2[3010] = "ER_WARN_TRIGGER_DOESNT_HAVE_CREATED"; + exports2[3011] = "ER_REFERENCED_TRG_DOES_NOT_EXIST"; + exports2[3012] = "ER_EXPLAIN_NOT_SUPPORTED"; + exports2[3013] = "ER_INVALID_FIELD_SIZE"; + exports2[3014] = "ER_MISSING_HA_CREATE_OPTION"; + exports2[3015] = "ER_ENGINE_OUT_OF_MEMORY"; + exports2[3016] = "ER_PASSWORD_EXPIRE_ANONYMOUS_USER"; + exports2[3017] = "ER_REPLICA_SQL_THREAD_MUST_STOP"; + exports2[3018] = "ER_NO_FT_MATERIALIZED_SUBQUERY"; + exports2[3019] = "ER_INNODB_UNDO_LOG_FULL"; + exports2[3020] = "ER_INVALID_ARGUMENT_FOR_LOGARITHM"; + exports2[3021] = "ER_REPLICA_CHANNEL_IO_THREAD_MUST_STOP"; + exports2[3022] = "ER_WARN_OPEN_TEMP_TABLES_MUST_BE_ZERO"; + exports2[3023] = "ER_WARN_ONLY_SOURCE_LOG_FILE_NO_POS"; + exports2[3024] = "ER_QUERY_TIMEOUT"; + exports2[3025] = "ER_NON_RO_SELECT_DISABLE_TIMER"; + exports2[3026] = "ER_DUP_LIST_ENTRY"; + exports2[3027] = "ER_SQL_MODE_NO_EFFECT"; + exports2[3028] = "ER_AGGREGATE_ORDER_FOR_UNION"; + exports2[3029] = "ER_AGGREGATE_ORDER_NON_AGG_QUERY"; + exports2[3030] = "ER_REPLICA_WORKER_STOPPED_PREVIOUS_THD_ERROR"; + exports2[3031] = "ER_DONT_SUPPORT_REPLICA_PRESERVE_COMMIT_ORDER"; + exports2[3032] = "ER_SERVER_OFFLINE_MODE"; + exports2[3033] = "ER_GIS_DIFFERENT_SRIDS"; + exports2[3034] = "ER_GIS_UNSUPPORTED_ARGUMENT"; + exports2[3035] = "ER_GIS_UNKNOWN_ERROR"; + exports2[3036] = "ER_GIS_UNKNOWN_EXCEPTION"; + exports2[3037] = "ER_GIS_INVALID_DATA"; + exports2[3038] = "ER_BOOST_GEOMETRY_EMPTY_INPUT_EXCEPTION"; + exports2[3039] = "ER_BOOST_GEOMETRY_CENTROID_EXCEPTION"; + exports2[3040] = "ER_BOOST_GEOMETRY_OVERLAY_INVALID_INPUT_EXCEPTION"; + exports2[3041] = "ER_BOOST_GEOMETRY_TURN_INFO_EXCEPTION"; + exports2[3042] = "ER_BOOST_GEOMETRY_SELF_INTERSECTION_POINT_EXCEPTION"; + exports2[3043] = "ER_BOOST_GEOMETRY_UNKNOWN_EXCEPTION"; + exports2[3044] = "ER_STD_BAD_ALLOC_ERROR"; + exports2[3045] = "ER_STD_DOMAIN_ERROR"; + exports2[3046] = "ER_STD_LENGTH_ERROR"; + exports2[3047] = "ER_STD_INVALID_ARGUMENT"; + exports2[3048] = "ER_STD_OUT_OF_RANGE_ERROR"; + exports2[3049] = "ER_STD_OVERFLOW_ERROR"; + exports2[3050] = "ER_STD_RANGE_ERROR"; + exports2[3051] = "ER_STD_UNDERFLOW_ERROR"; + exports2[3052] = "ER_STD_LOGIC_ERROR"; + exports2[3053] = "ER_STD_RUNTIME_ERROR"; + exports2[3054] = "ER_STD_UNKNOWN_EXCEPTION"; + exports2[3055] = "ER_GIS_DATA_WRONG_ENDIANESS"; + exports2[3056] = "ER_CHANGE_SOURCE_PASSWORD_LENGTH"; + exports2[3057] = "ER_USER_LOCK_WRONG_NAME"; + exports2[3058] = "ER_USER_LOCK_DEADLOCK"; + exports2[3059] = "ER_REPLACE_INACCESSIBLE_ROWS"; + exports2[3060] = "ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_GIS"; + exports2[3061] = "ER_ILLEGAL_USER_VAR"; + exports2[3062] = "ER_GTID_MODE_OFF"; + exports2[3063] = "ER_UNSUPPORTED_BY_REPLICATION_THREAD"; + exports2[3064] = "ER_INCORRECT_TYPE"; + exports2[3065] = "ER_FIELD_IN_ORDER_NOT_SELECT"; + exports2[3066] = "ER_AGGREGATE_IN_ORDER_NOT_SELECT"; + exports2[3067] = "ER_INVALID_RPL_WILD_TABLE_FILTER_PATTERN"; + exports2[3068] = "ER_NET_OK_PACKET_TOO_LARGE"; + exports2[3069] = "ER_INVALID_JSON_DATA"; + exports2[3070] = "ER_INVALID_GEOJSON_MISSING_MEMBER"; + exports2[3071] = "ER_INVALID_GEOJSON_WRONG_TYPE"; + exports2[3072] = "ER_INVALID_GEOJSON_UNSPECIFIED"; + exports2[3073] = "ER_DIMENSION_UNSUPPORTED"; + exports2[3074] = "ER_REPLICA_CHANNEL_DOES_NOT_EXIST"; + exports2[3075] = "ER_SLAVE_MULTIPLE_CHANNELS_HOST_PORT"; + exports2[3076] = "ER_REPLICA_CHANNEL_NAME_INVALID_OR_TOO_LONG"; + exports2[3077] = "ER_REPLICA_NEW_CHANNEL_WRONG_REPOSITORY"; + exports2[3078] = "ER_SLAVE_CHANNEL_DELETE"; + exports2[3079] = "ER_REPLICA_MULTIPLE_CHANNELS_CMD"; + exports2[3080] = "ER_REPLICA_MAX_CHANNELS_EXCEEDED"; + exports2[3081] = "ER_REPLICA_CHANNEL_MUST_STOP"; + exports2[3082] = "ER_REPLICA_CHANNEL_NOT_RUNNING"; + exports2[3083] = "ER_REPLICA_CHANNEL_WAS_RUNNING"; + exports2[3084] = "ER_REPLICA_CHANNEL_WAS_NOT_RUNNING"; + exports2[3085] = "ER_REPLICA_CHANNEL_SQL_THREAD_MUST_STOP"; + exports2[3086] = "ER_REPLICA_CHANNEL_SQL_SKIP_COUNTER"; + exports2[3087] = "ER_WRONG_FIELD_WITH_GROUP_V2"; + exports2[3088] = "ER_MIX_OF_GROUP_FUNC_AND_FIELDS_V2"; + exports2[3089] = "ER_WARN_DEPRECATED_SYSVAR_UPDATE"; + exports2[3090] = "ER_WARN_DEPRECATED_SQLMODE"; + exports2[3091] = "ER_CANNOT_LOG_PARTIAL_DROP_DATABASE_WITH_GTID"; + exports2[3092] = "ER_GROUP_REPLICATION_CONFIGURATION"; + exports2[3093] = "ER_GROUP_REPLICATION_RUNNING"; + exports2[3094] = "ER_GROUP_REPLICATION_APPLIER_INIT_ERROR"; + exports2[3095] = "ER_GROUP_REPLICATION_STOP_APPLIER_THREAD_TIMEOUT"; + exports2[3096] = "ER_GROUP_REPLICATION_COMMUNICATION_LAYER_SESSION_ERROR"; + exports2[3097] = "ER_GROUP_REPLICATION_COMMUNICATION_LAYER_JOIN_ERROR"; + exports2[3098] = "ER_BEFORE_DML_VALIDATION_ERROR"; + exports2[3099] = "ER_PREVENTS_VARIABLE_WITHOUT_RBR"; + exports2[3100] = "ER_RUN_HOOK_ERROR"; + exports2[3101] = "ER_TRANSACTION_ROLLBACK_DURING_COMMIT"; + exports2[3102] = "ER_GENERATED_COLUMN_FUNCTION_IS_NOT_ALLOWED"; + exports2[3103] = "ER_UNSUPPORTED_ALTER_INPLACE_ON_VIRTUAL_COLUMN"; + exports2[3104] = "ER_WRONG_FK_OPTION_FOR_GENERATED_COLUMN"; + exports2[3105] = "ER_NON_DEFAULT_VALUE_FOR_GENERATED_COLUMN"; + exports2[3106] = "ER_UNSUPPORTED_ACTION_ON_GENERATED_COLUMN"; + exports2[3107] = "ER_GENERATED_COLUMN_NON_PRIOR"; + exports2[3108] = "ER_DEPENDENT_BY_GENERATED_COLUMN"; + exports2[3109] = "ER_GENERATED_COLUMN_REF_AUTO_INC"; + exports2[3110] = "ER_FEATURE_NOT_AVAILABLE"; + exports2[3111] = "ER_CANT_SET_GTID_MODE"; + exports2[3112] = "ER_CANT_USE_AUTO_POSITION_WITH_GTID_MODE_OFF"; + exports2[3113] = "ER_CANT_REPLICATE_ANONYMOUS_WITH_AUTO_POSITION"; + exports2[3114] = "ER_CANT_REPLICATE_ANONYMOUS_WITH_GTID_MODE_ON"; + exports2[3115] = "ER_CANT_REPLICATE_GTID_WITH_GTID_MODE_OFF"; + exports2[3116] = "ER_CANT_ENFORCE_GTID_CONSISTENCY_WITH_ONGOING_GTID_VIOLATING_TX"; + exports2[3117] = "ER_ENFORCE_GTID_CONSISTENCY_WARN_WITH_ONGOING_GTID_VIOLATING_TX"; + exports2[3118] = "ER_ACCOUNT_HAS_BEEN_LOCKED"; + exports2[3119] = "ER_WRONG_TABLESPACE_NAME"; + exports2[3120] = "ER_TABLESPACE_IS_NOT_EMPTY"; + exports2[3121] = "ER_WRONG_FILE_NAME"; + exports2[3122] = "ER_BOOST_GEOMETRY_INCONSISTENT_TURNS_EXCEPTION"; + exports2[3123] = "ER_WARN_OPTIMIZER_HINT_SYNTAX_ERROR"; + exports2[3124] = "ER_WARN_BAD_MAX_EXECUTION_TIME"; + exports2[3125] = "ER_WARN_UNSUPPORTED_MAX_EXECUTION_TIME"; + exports2[3126] = "ER_WARN_CONFLICTING_HINT"; + exports2[3127] = "ER_WARN_UNKNOWN_QB_NAME"; + exports2[3128] = "ER_UNRESOLVED_HINT_NAME"; + exports2[3129] = "ER_WARN_ON_MODIFYING_GTID_EXECUTED_TABLE"; + exports2[3130] = "ER_PLUGGABLE_PROTOCOL_COMMAND_NOT_SUPPORTED"; + exports2[3131] = "ER_LOCKING_SERVICE_WRONG_NAME"; + exports2[3132] = "ER_LOCKING_SERVICE_DEADLOCK"; + exports2[3133] = "ER_LOCKING_SERVICE_TIMEOUT"; + exports2[3134] = "ER_GIS_MAX_POINTS_IN_GEOMETRY_OVERFLOWED"; + exports2[3135] = "ER_SQL_MODE_MERGED"; + exports2[3136] = "ER_VTOKEN_PLUGIN_TOKEN_MISMATCH"; + exports2[3137] = "ER_VTOKEN_PLUGIN_TOKEN_NOT_FOUND"; + exports2[3138] = "ER_CANT_SET_VARIABLE_WHEN_OWNING_GTID"; + exports2[3139] = "ER_REPLICA_CHANNEL_OPERATION_NOT_ALLOWED"; + exports2[3140] = "ER_INVALID_JSON_TEXT"; + exports2[3141] = "ER_INVALID_JSON_TEXT_IN_PARAM"; + exports2[3142] = "ER_INVALID_JSON_BINARY_DATA"; + exports2[3143] = "ER_INVALID_JSON_PATH"; + exports2[3144] = "ER_INVALID_JSON_CHARSET"; + exports2[3145] = "ER_INVALID_JSON_CHARSET_IN_FUNCTION"; + exports2[3146] = "ER_INVALID_TYPE_FOR_JSON"; + exports2[3147] = "ER_INVALID_CAST_TO_JSON"; + exports2[3148] = "ER_INVALID_JSON_PATH_CHARSET"; + exports2[3149] = "ER_INVALID_JSON_PATH_WILDCARD"; + exports2[3150] = "ER_JSON_VALUE_TOO_BIG"; + exports2[3151] = "ER_JSON_KEY_TOO_BIG"; + exports2[3152] = "ER_JSON_USED_AS_KEY"; + exports2[3153] = "ER_JSON_VACUOUS_PATH"; + exports2[3154] = "ER_JSON_BAD_ONE_OR_ALL_ARG"; + exports2[3155] = "ER_NUMERIC_JSON_VALUE_OUT_OF_RANGE"; + exports2[3156] = "ER_INVALID_JSON_VALUE_FOR_CAST"; + exports2[3157] = "ER_JSON_DOCUMENT_TOO_DEEP"; + exports2[3158] = "ER_JSON_DOCUMENT_NULL_KEY"; + exports2[3159] = "ER_SECURE_TRANSPORT_REQUIRED"; + exports2[3160] = "ER_NO_SECURE_TRANSPORTS_CONFIGURED"; + exports2[3161] = "ER_DISABLED_STORAGE_ENGINE"; + exports2[3162] = "ER_USER_DOES_NOT_EXIST"; + exports2[3163] = "ER_USER_ALREADY_EXISTS"; + exports2[3164] = "ER_AUDIT_API_ABORT"; + exports2[3165] = "ER_INVALID_JSON_PATH_ARRAY_CELL"; + exports2[3166] = "ER_BUFPOOL_RESIZE_INPROGRESS"; + exports2[3167] = "ER_FEATURE_DISABLED_SEE_DOC"; + exports2[3168] = "ER_SERVER_ISNT_AVAILABLE"; + exports2[3169] = "ER_SESSION_WAS_KILLED"; + exports2[3170] = "ER_CAPACITY_EXCEEDED"; + exports2[3171] = "ER_CAPACITY_EXCEEDED_IN_RANGE_OPTIMIZER"; + exports2[3172] = "ER_TABLE_NEEDS_UPG_PART"; + exports2[3173] = "ER_CANT_WAIT_FOR_EXECUTED_GTID_SET_WHILE_OWNING_A_GTID"; + exports2[3174] = "ER_CANNOT_ADD_FOREIGN_BASE_COL_VIRTUAL"; + exports2[3175] = "ER_CANNOT_CREATE_VIRTUAL_INDEX_CONSTRAINT"; + exports2[3176] = "ER_ERROR_ON_MODIFYING_GTID_EXECUTED_TABLE"; + exports2[3177] = "ER_LOCK_REFUSED_BY_ENGINE"; + exports2[3178] = "ER_UNSUPPORTED_ALTER_ONLINE_ON_VIRTUAL_COLUMN"; + exports2[3179] = "ER_MASTER_KEY_ROTATION_NOT_SUPPORTED_BY_SE"; + exports2[3180] = "ER_MASTER_KEY_ROTATION_ERROR_BY_SE"; + exports2[3181] = "ER_MASTER_KEY_ROTATION_BINLOG_FAILED"; + exports2[3182] = "ER_MASTER_KEY_ROTATION_SE_UNAVAILABLE"; + exports2[3183] = "ER_TABLESPACE_CANNOT_ENCRYPT"; + exports2[3184] = "ER_INVALID_ENCRYPTION_OPTION"; + exports2[3185] = "ER_CANNOT_FIND_KEY_IN_KEYRING"; + exports2[3186] = "ER_CAPACITY_EXCEEDED_IN_PARSER"; + exports2[3187] = "ER_UNSUPPORTED_ALTER_ENCRYPTION_INPLACE"; + exports2[3188] = "ER_KEYRING_UDF_KEYRING_SERVICE_ERROR"; + exports2[3189] = "ER_USER_COLUMN_OLD_LENGTH"; + exports2[3190] = "ER_CANT_RESET_SOURCE"; + exports2[3191] = "ER_GROUP_REPLICATION_MAX_GROUP_SIZE"; + exports2[3192] = "ER_CANNOT_ADD_FOREIGN_BASE_COL_STORED"; + exports2[3193] = "ER_TABLE_REFERENCED"; + exports2[3194] = "ER_PARTITION_ENGINE_DEPRECATED_FOR_TABLE"; + exports2[3195] = "ER_WARN_USING_GEOMFROMWKB_TO_SET_SRID_ZERO"; + exports2[3196] = "ER_WARN_USING_GEOMFROMWKB_TO_SET_SRID"; + exports2[3197] = "ER_XA_RETRY"; + exports2[3198] = "ER_KEYRING_AWS_UDF_AWS_KMS_ERROR"; + exports2[3199] = "ER_BINLOG_UNSAFE_XA"; + exports2[3200] = "ER_UDF_ERROR"; + exports2[3201] = "ER_KEYRING_MIGRATION_FAILURE"; + exports2[3202] = "ER_KEYRING_ACCESS_DENIED_ERROR"; + exports2[3203] = "ER_KEYRING_MIGRATION_STATUS"; + exports2[3204] = "ER_PLUGIN_FAILED_TO_OPEN_TABLES"; + exports2[3205] = "ER_PLUGIN_FAILED_TO_OPEN_TABLE"; + exports2[3206] = "ER_AUDIT_LOG_NO_KEYRING_PLUGIN_INSTALLED"; + exports2[3207] = "ER_AUDIT_LOG_ENCRYPTION_PASSWORD_HAS_NOT_BEEN_SET"; + exports2[3208] = "ER_AUDIT_LOG_COULD_NOT_CREATE_AES_KEY"; + exports2[3209] = "ER_AUDIT_LOG_ENCRYPTION_PASSWORD_CANNOT_BE_FETCHED"; + exports2[3210] = "ER_AUDIT_LOG_JSON_FILTERING_NOT_ENABLED"; + exports2[3211] = "ER_AUDIT_LOG_UDF_INSUFFICIENT_PRIVILEGE"; + exports2[3212] = "ER_AUDIT_LOG_SUPER_PRIVILEGE_REQUIRED"; + exports2[3213] = "ER_COULD_NOT_REINITIALIZE_AUDIT_LOG_FILTERS"; + exports2[3214] = "ER_AUDIT_LOG_UDF_INVALID_ARGUMENT_TYPE"; + exports2[3215] = "ER_AUDIT_LOG_UDF_INVALID_ARGUMENT_COUNT"; + exports2[3216] = "ER_AUDIT_LOG_HAS_NOT_BEEN_INSTALLED"; + exports2[3217] = "ER_AUDIT_LOG_UDF_READ_INVALID_MAX_ARRAY_LENGTH_ARG_TYPE"; + exports2[3218] = "ER_AUDIT_LOG_UDF_READ_INVALID_MAX_ARRAY_LENGTH_ARG_VALUE"; + exports2[3219] = "ER_AUDIT_LOG_JSON_FILTER_PARSING_ERROR"; + exports2[3220] = "ER_AUDIT_LOG_JSON_FILTER_NAME_CANNOT_BE_EMPTY"; + exports2[3221] = "ER_AUDIT_LOG_JSON_USER_NAME_CANNOT_BE_EMPTY"; + exports2[3222] = "ER_AUDIT_LOG_JSON_FILTER_DOES_NOT_EXISTS"; + exports2[3223] = "ER_AUDIT_LOG_USER_FIRST_CHARACTER_MUST_BE_ALPHANUMERIC"; + exports2[3224] = "ER_AUDIT_LOG_USER_NAME_INVALID_CHARACTER"; + exports2[3225] = "ER_AUDIT_LOG_HOST_NAME_INVALID_CHARACTER"; + exports2[3226] = "WARN_DEPRECATED_MAXDB_SQL_MODE_FOR_TIMESTAMP"; + exports2[3227] = "ER_XA_REPLICATION_FILTERS"; + exports2[3228] = "ER_CANT_OPEN_ERROR_LOG"; + exports2[3229] = "ER_GROUPING_ON_TIMESTAMP_IN_DST"; + exports2[3230] = "ER_CANT_START_SERVER_NAMED_PIPE"; + exports2[3231] = "ER_WRITE_SET_EXCEEDS_LIMIT"; + exports2[3232] = "ER_DEPRECATED_TLS_VERSION_SESSION_57"; + exports2[3233] = "ER_WARN_DEPRECATED_TLS_VERSION_57"; + exports2[3234] = "ER_WARN_WRONG_NATIVE_TABLE_STRUCTURE"; + exports2[3235] = "ER_AES_INVALID_KDF_NAME"; + exports2[3236] = "ER_AES_INVALID_KDF_ITERATIONS"; + exports2[3237] = "WARN_AES_KEY_SIZE"; + exports2[3238] = "ER_AES_INVALID_KDF_OPTION_SIZE"; + exports2[3500] = "ER_UNSUPPORT_COMPRESSED_TEMPORARY_TABLE"; + exports2[3501] = "ER_ACL_OPERATION_FAILED"; + exports2[3502] = "ER_UNSUPPORTED_INDEX_ALGORITHM"; + exports2[3503] = "ER_NO_SUCH_DB"; + exports2[3504] = "ER_TOO_BIG_ENUM"; + exports2[3505] = "ER_TOO_LONG_SET_ENUM_VALUE"; + exports2[3506] = "ER_INVALID_DD_OBJECT"; + exports2[3507] = "ER_UPDATING_DD_TABLE"; + exports2[3508] = "ER_INVALID_DD_OBJECT_ID"; + exports2[3509] = "ER_INVALID_DD_OBJECT_NAME"; + exports2[3510] = "ER_TABLESPACE_MISSING_WITH_NAME"; + exports2[3511] = "ER_TOO_LONG_ROUTINE_COMMENT"; + exports2[3512] = "ER_SP_LOAD_FAILED"; + exports2[3513] = "ER_INVALID_BITWISE_OPERANDS_SIZE"; + exports2[3514] = "ER_INVALID_BITWISE_AGGREGATE_OPERANDS_SIZE"; + exports2[3515] = "ER_WARN_UNSUPPORTED_HINT"; + exports2[3516] = "ER_UNEXPECTED_GEOMETRY_TYPE"; + exports2[3517] = "ER_SRS_PARSE_ERROR"; + exports2[3518] = "ER_SRS_PROJ_PARAMETER_MISSING"; + exports2[3519] = "ER_WARN_SRS_NOT_FOUND"; + exports2[3520] = "ER_SRS_NOT_CARTESIAN"; + exports2[3521] = "ER_SRS_NOT_CARTESIAN_UNDEFINED"; + exports2[3522] = "ER_PK_INDEX_CANT_BE_INVISIBLE"; + exports2[3523] = "ER_UNKNOWN_AUTHID"; + exports2[3524] = "ER_FAILED_ROLE_GRANT"; + exports2[3525] = "ER_OPEN_ROLE_TABLES"; + exports2[3526] = "ER_FAILED_DEFAULT_ROLES"; + exports2[3527] = "ER_COMPONENTS_NO_SCHEME"; + exports2[3528] = "ER_COMPONENTS_NO_SCHEME_SERVICE"; + exports2[3529] = "ER_COMPONENTS_CANT_LOAD"; + exports2[3530] = "ER_ROLE_NOT_GRANTED"; + exports2[3531] = "ER_FAILED_REVOKE_ROLE"; + exports2[3532] = "ER_RENAME_ROLE"; + exports2[3533] = "ER_COMPONENTS_CANT_ACQUIRE_SERVICE_IMPLEMENTATION"; + exports2[3534] = "ER_COMPONENTS_CANT_SATISFY_DEPENDENCY"; + exports2[3535] = "ER_COMPONENTS_LOAD_CANT_REGISTER_SERVICE_IMPLEMENTATION"; + exports2[3536] = "ER_COMPONENTS_LOAD_CANT_INITIALIZE"; + exports2[3537] = "ER_COMPONENTS_UNLOAD_NOT_LOADED"; + exports2[3538] = "ER_COMPONENTS_UNLOAD_CANT_DEINITIALIZE"; + exports2[3539] = "ER_COMPONENTS_CANT_RELEASE_SERVICE"; + exports2[3540] = "ER_COMPONENTS_UNLOAD_CANT_UNREGISTER_SERVICE"; + exports2[3541] = "ER_COMPONENTS_CANT_UNLOAD"; + exports2[3542] = "ER_WARN_UNLOAD_THE_NOT_PERSISTED"; + exports2[3543] = "ER_COMPONENT_TABLE_INCORRECT"; + exports2[3544] = "ER_COMPONENT_MANIPULATE_ROW_FAILED"; + exports2[3545] = "ER_COMPONENTS_UNLOAD_DUPLICATE_IN_GROUP"; + exports2[3546] = "ER_CANT_SET_GTID_PURGED_DUE_SETS_CONSTRAINTS"; + exports2[3547] = "ER_CANNOT_LOCK_USER_MANAGEMENT_CACHES"; + exports2[3548] = "ER_SRS_NOT_FOUND"; + exports2[3549] = "ER_VARIABLE_NOT_PERSISTED"; + exports2[3550] = "ER_IS_QUERY_INVALID_CLAUSE"; + exports2[3551] = "ER_UNABLE_TO_STORE_STATISTICS"; + exports2[3552] = "ER_NO_SYSTEM_SCHEMA_ACCESS"; + exports2[3553] = "ER_NO_SYSTEM_TABLESPACE_ACCESS"; + exports2[3554] = "ER_NO_SYSTEM_TABLE_ACCESS"; + exports2[3555] = "ER_NO_SYSTEM_TABLE_ACCESS_FOR_DICTIONARY_TABLE"; + exports2[3556] = "ER_NO_SYSTEM_TABLE_ACCESS_FOR_SYSTEM_TABLE"; + exports2[3557] = "ER_NO_SYSTEM_TABLE_ACCESS_FOR_TABLE"; + exports2[3558] = "ER_INVALID_OPTION_KEY"; + exports2[3559] = "ER_INVALID_OPTION_VALUE"; + exports2[3560] = "ER_INVALID_OPTION_KEY_VALUE_PAIR"; + exports2[3561] = "ER_INVALID_OPTION_START_CHARACTER"; + exports2[3562] = "ER_INVALID_OPTION_END_CHARACTER"; + exports2[3563] = "ER_INVALID_OPTION_CHARACTERS"; + exports2[3564] = "ER_DUPLICATE_OPTION_KEY"; + exports2[3565] = "ER_WARN_SRS_NOT_FOUND_AXIS_ORDER"; + exports2[3566] = "ER_NO_ACCESS_TO_NATIVE_FCT"; + exports2[3567] = "ER_RESET_SOURCE_TO_VALUE_OUT_OF_RANGE"; + exports2[3568] = "ER_UNRESOLVED_TABLE_LOCK"; + exports2[3569] = "ER_DUPLICATE_TABLE_LOCK"; + exports2[3570] = "ER_BINLOG_UNSAFE_SKIP_LOCKED"; + exports2[3571] = "ER_BINLOG_UNSAFE_NOWAIT"; + exports2[3572] = "ER_LOCK_NOWAIT"; + exports2[3573] = "ER_CTE_RECURSIVE_REQUIRES_UNION"; + exports2[3574] = "ER_CTE_RECURSIVE_REQUIRES_NONRECURSIVE_FIRST"; + exports2[3575] = "ER_CTE_RECURSIVE_FORBIDS_AGGREGATION"; + exports2[3576] = "ER_CTE_RECURSIVE_FORBIDDEN_JOIN_ORDER"; + exports2[3577] = "ER_CTE_RECURSIVE_REQUIRES_SINGLE_REFERENCE"; + exports2[3578] = "ER_SWITCH_TMP_ENGINE"; + exports2[3579] = "ER_WINDOW_NO_SUCH_WINDOW"; + exports2[3580] = "ER_WINDOW_CIRCULARITY_IN_WINDOW_GRAPH"; + exports2[3581] = "ER_WINDOW_NO_CHILD_PARTITIONING"; + exports2[3582] = "ER_WINDOW_NO_INHERIT_FRAME"; + exports2[3583] = "ER_WINDOW_NO_REDEFINE_ORDER_BY"; + exports2[3584] = "ER_WINDOW_FRAME_START_ILLEGAL"; + exports2[3585] = "ER_WINDOW_FRAME_END_ILLEGAL"; + exports2[3586] = "ER_WINDOW_FRAME_ILLEGAL"; + exports2[3587] = "ER_WINDOW_RANGE_FRAME_ORDER_TYPE"; + exports2[3588] = "ER_WINDOW_RANGE_FRAME_TEMPORAL_TYPE"; + exports2[3589] = "ER_WINDOW_RANGE_FRAME_NUMERIC_TYPE"; + exports2[3590] = "ER_WINDOW_RANGE_BOUND_NOT_CONSTANT"; + exports2[3591] = "ER_WINDOW_DUPLICATE_NAME"; + exports2[3592] = "ER_WINDOW_ILLEGAL_ORDER_BY"; + exports2[3593] = "ER_WINDOW_INVALID_WINDOW_FUNC_USE"; + exports2[3594] = "ER_WINDOW_INVALID_WINDOW_FUNC_ALIAS_USE"; + exports2[3595] = "ER_WINDOW_NESTED_WINDOW_FUNC_USE_IN_WINDOW_SPEC"; + exports2[3596] = "ER_WINDOW_ROWS_INTERVAL_USE"; + exports2[3597] = "ER_WINDOW_NO_GROUP_ORDER"; + exports2[3598] = "ER_WINDOW_EXPLAIN_JSON"; + exports2[3599] = "ER_WINDOW_FUNCTION_IGNORES_FRAME"; + exports2[3600] = "ER_WL9236_NOW"; + exports2[3601] = "ER_INVALID_NO_OF_ARGS"; + exports2[3602] = "ER_FIELD_IN_GROUPING_NOT_GROUP_BY"; + exports2[3603] = "ER_TOO_LONG_TABLESPACE_COMMENT"; + exports2[3604] = "ER_ENGINE_CANT_DROP_TABLE"; + exports2[3605] = "ER_ENGINE_CANT_DROP_MISSING_TABLE"; + exports2[3606] = "ER_TABLESPACE_DUP_FILENAME"; + exports2[3607] = "ER_DB_DROP_RMDIR2"; + exports2[3608] = "ER_IMP_NO_FILES_MATCHED"; + exports2[3609] = "ER_IMP_SCHEMA_DOES_NOT_EXIST"; + exports2[3610] = "ER_IMP_TABLE_ALREADY_EXISTS"; + exports2[3611] = "ER_IMP_INCOMPATIBLE_MYSQLD_VERSION"; + exports2[3612] = "ER_IMP_INCOMPATIBLE_DD_VERSION"; + exports2[3613] = "ER_IMP_INCOMPATIBLE_SDI_VERSION"; + exports2[3614] = "ER_WARN_INVALID_HINT"; + exports2[3615] = "ER_VAR_DOES_NOT_EXIST"; + exports2[3616] = "ER_LONGITUDE_OUT_OF_RANGE"; + exports2[3617] = "ER_LATITUDE_OUT_OF_RANGE"; + exports2[3618] = "ER_NOT_IMPLEMENTED_FOR_GEOGRAPHIC_SRS"; + exports2[3619] = "ER_ILLEGAL_PRIVILEGE_LEVEL"; + exports2[3620] = "ER_NO_SYSTEM_VIEW_ACCESS"; + exports2[3621] = "ER_COMPONENT_FILTER_FLABBERGASTED"; + exports2[3622] = "ER_PART_EXPR_TOO_LONG"; + exports2[3623] = "ER_UDF_DROP_DYNAMICALLY_REGISTERED"; + exports2[3624] = "ER_UNABLE_TO_STORE_COLUMN_STATISTICS"; + exports2[3625] = "ER_UNABLE_TO_UPDATE_COLUMN_STATISTICS"; + exports2[3626] = "ER_UNABLE_TO_DROP_COLUMN_STATISTICS"; + exports2[3627] = "ER_UNABLE_TO_BUILD_HISTOGRAM"; + exports2[3628] = "ER_MANDATORY_ROLE"; + exports2[3629] = "ER_MISSING_TABLESPACE_FILE"; + exports2[3630] = "ER_PERSIST_ONLY_ACCESS_DENIED_ERROR"; + exports2[3631] = "ER_CMD_NEED_SUPER"; + exports2[3632] = "ER_PATH_IN_DATADIR"; + exports2[3633] = "ER_CLONE_DDL_IN_PROGRESS"; + exports2[3634] = "ER_CLONE_TOO_MANY_CONCURRENT_CLONES"; + exports2[3635] = "ER_APPLIER_LOG_EVENT_VALIDATION_ERROR"; + exports2[3636] = "ER_CTE_MAX_RECURSION_DEPTH"; + exports2[3637] = "ER_NOT_HINT_UPDATABLE_VARIABLE"; + exports2[3638] = "ER_CREDENTIALS_CONTRADICT_TO_HISTORY"; + exports2[3639] = "ER_WARNING_PASSWORD_HISTORY_CLAUSES_VOID"; + exports2[3640] = "ER_CLIENT_DOES_NOT_SUPPORT"; + exports2[3641] = "ER_I_S_SKIPPED_TABLESPACE"; + exports2[3642] = "ER_TABLESPACE_ENGINE_MISMATCH"; + exports2[3643] = "ER_WRONG_SRID_FOR_COLUMN"; + exports2[3644] = "ER_CANNOT_ALTER_SRID_DUE_TO_INDEX"; + exports2[3645] = "ER_WARN_BINLOG_PARTIAL_UPDATES_DISABLED"; + exports2[3646] = "ER_WARN_BINLOG_V1_ROW_EVENTS_DISABLED"; + exports2[3647] = "ER_WARN_BINLOG_PARTIAL_UPDATES_SUGGESTS_PARTIAL_IMAGES"; + exports2[3648] = "ER_COULD_NOT_APPLY_JSON_DIFF"; + exports2[3649] = "ER_CORRUPTED_JSON_DIFF"; + exports2[3650] = "ER_RESOURCE_GROUP_EXISTS"; + exports2[3651] = "ER_RESOURCE_GROUP_NOT_EXISTS"; + exports2[3652] = "ER_INVALID_VCPU_ID"; + exports2[3653] = "ER_INVALID_VCPU_RANGE"; + exports2[3654] = "ER_INVALID_THREAD_PRIORITY"; + exports2[3655] = "ER_DISALLOWED_OPERATION"; + exports2[3656] = "ER_RESOURCE_GROUP_BUSY"; + exports2[3657] = "ER_RESOURCE_GROUP_DISABLED"; + exports2[3658] = "ER_FEATURE_UNSUPPORTED"; + exports2[3659] = "ER_ATTRIBUTE_IGNORED"; + exports2[3660] = "ER_INVALID_THREAD_ID"; + exports2[3661] = "ER_RESOURCE_GROUP_BIND_FAILED"; + exports2[3662] = "ER_INVALID_USE_OF_FORCE_OPTION"; + exports2[3663] = "ER_GROUP_REPLICATION_COMMAND_FAILURE"; + exports2[3664] = "ER_SDI_OPERATION_FAILED"; + exports2[3665] = "ER_MISSING_JSON_TABLE_VALUE"; + exports2[3666] = "ER_WRONG_JSON_TABLE_VALUE"; + exports2[3667] = "ER_TF_MUST_HAVE_ALIAS"; + exports2[3668] = "ER_TF_FORBIDDEN_JOIN_TYPE"; + exports2[3669] = "ER_JT_VALUE_OUT_OF_RANGE"; + exports2[3670] = "ER_JT_MAX_NESTED_PATH"; + exports2[3671] = "ER_PASSWORD_EXPIRATION_NOT_SUPPORTED_BY_AUTH_METHOD"; + exports2[3672] = "ER_INVALID_GEOJSON_CRS_NOT_TOP_LEVEL"; + exports2[3673] = "ER_BAD_NULL_ERROR_NOT_IGNORED"; + exports2[3674] = "WARN_USELESS_SPATIAL_INDEX"; + exports2[3675] = "ER_DISK_FULL_NOWAIT"; + exports2[3676] = "ER_PARSE_ERROR_IN_DIGEST_FN"; + exports2[3677] = "ER_UNDISCLOSED_PARSE_ERROR_IN_DIGEST_FN"; + exports2[3678] = "ER_SCHEMA_DIR_EXISTS"; + exports2[3679] = "ER_SCHEMA_DIR_MISSING"; + exports2[3680] = "ER_SCHEMA_DIR_CREATE_FAILED"; + exports2[3681] = "ER_SCHEMA_DIR_UNKNOWN"; + exports2[3682] = "ER_ONLY_IMPLEMENTED_FOR_SRID_0_AND_4326"; + exports2[3683] = "ER_BINLOG_EXPIRE_LOG_DAYS_AND_SECS_USED_TOGETHER"; + exports2[3684] = "ER_REGEXP_BUFFER_OVERFLOW"; + exports2[3685] = "ER_REGEXP_ILLEGAL_ARGUMENT"; + exports2[3686] = "ER_REGEXP_INDEX_OUTOFBOUNDS_ERROR"; + exports2[3687] = "ER_REGEXP_INTERNAL_ERROR"; + exports2[3688] = "ER_REGEXP_RULE_SYNTAX"; + exports2[3689] = "ER_REGEXP_BAD_ESCAPE_SEQUENCE"; + exports2[3690] = "ER_REGEXP_UNIMPLEMENTED"; + exports2[3691] = "ER_REGEXP_MISMATCHED_PAREN"; + exports2[3692] = "ER_REGEXP_BAD_INTERVAL"; + exports2[3693] = "ER_REGEXP_MAX_LT_MIN"; + exports2[3694] = "ER_REGEXP_INVALID_BACK_REF"; + exports2[3695] = "ER_REGEXP_LOOK_BEHIND_LIMIT"; + exports2[3696] = "ER_REGEXP_MISSING_CLOSE_BRACKET"; + exports2[3697] = "ER_REGEXP_INVALID_RANGE"; + exports2[3698] = "ER_REGEXP_STACK_OVERFLOW"; + exports2[3699] = "ER_REGEXP_TIME_OUT"; + exports2[3700] = "ER_REGEXP_PATTERN_TOO_BIG"; + exports2[3701] = "ER_CANT_SET_ERROR_LOG_SERVICE"; + exports2[3702] = "ER_EMPTY_PIPELINE_FOR_ERROR_LOG_SERVICE"; + exports2[3703] = "ER_COMPONENT_FILTER_DIAGNOSTICS"; + exports2[3704] = "ER_NOT_IMPLEMENTED_FOR_CARTESIAN_SRS"; + exports2[3705] = "ER_NOT_IMPLEMENTED_FOR_PROJECTED_SRS"; + exports2[3706] = "ER_NONPOSITIVE_RADIUS"; + exports2[3707] = "ER_RESTART_SERVER_FAILED"; + exports2[3708] = "ER_SRS_MISSING_MANDATORY_ATTRIBUTE"; + exports2[3709] = "ER_SRS_MULTIPLE_ATTRIBUTE_DEFINITIONS"; + exports2[3710] = "ER_SRS_NAME_CANT_BE_EMPTY_OR_WHITESPACE"; + exports2[3711] = "ER_SRS_ORGANIZATION_CANT_BE_EMPTY_OR_WHITESPACE"; + exports2[3712] = "ER_SRS_ID_ALREADY_EXISTS"; + exports2[3713] = "ER_WARN_SRS_ID_ALREADY_EXISTS"; + exports2[3714] = "ER_CANT_MODIFY_SRID_0"; + exports2[3715] = "ER_WARN_RESERVED_SRID_RANGE"; + exports2[3716] = "ER_CANT_MODIFY_SRS_USED_BY_COLUMN"; + exports2[3717] = "ER_SRS_INVALID_CHARACTER_IN_ATTRIBUTE"; + exports2[3718] = "ER_SRS_ATTRIBUTE_STRING_TOO_LONG"; + exports2[3719] = "ER_DEPRECATED_UTF8_ALIAS"; + exports2[3720] = "ER_DEPRECATED_NATIONAL"; + exports2[3721] = "ER_INVALID_DEFAULT_UTF8MB4_COLLATION"; + exports2[3722] = "ER_UNABLE_TO_COLLECT_LOG_STATUS"; + exports2[3723] = "ER_RESERVED_TABLESPACE_NAME"; + exports2[3724] = "ER_UNABLE_TO_SET_OPTION"; + exports2[3725] = "ER_REPLICA_POSSIBLY_DIVERGED_AFTER_DDL"; + exports2[3726] = "ER_SRS_NOT_GEOGRAPHIC"; + exports2[3727] = "ER_POLYGON_TOO_LARGE"; + exports2[3728] = "ER_SPATIAL_UNIQUE_INDEX"; + exports2[3729] = "ER_INDEX_TYPE_NOT_SUPPORTED_FOR_SPATIAL_INDEX"; + exports2[3730] = "ER_FK_CANNOT_DROP_PARENT"; + exports2[3731] = "ER_GEOMETRY_PARAM_LONGITUDE_OUT_OF_RANGE"; + exports2[3732] = "ER_GEOMETRY_PARAM_LATITUDE_OUT_OF_RANGE"; + exports2[3733] = "ER_FK_CANNOT_USE_VIRTUAL_COLUMN"; + exports2[3734] = "ER_FK_NO_COLUMN_PARENT"; + exports2[3735] = "ER_CANT_SET_ERROR_SUPPRESSION_LIST"; + exports2[3736] = "ER_SRS_GEOGCS_INVALID_AXES"; + exports2[3737] = "ER_SRS_INVALID_SEMI_MAJOR_AXIS"; + exports2[3738] = "ER_SRS_INVALID_INVERSE_FLATTENING"; + exports2[3739] = "ER_SRS_INVALID_ANGULAR_UNIT"; + exports2[3740] = "ER_SRS_INVALID_PRIME_MERIDIAN"; + exports2[3741] = "ER_TRANSFORM_SOURCE_SRS_NOT_SUPPORTED"; + exports2[3742] = "ER_TRANSFORM_TARGET_SRS_NOT_SUPPORTED"; + exports2[3743] = "ER_TRANSFORM_SOURCE_SRS_MISSING_TOWGS84"; + exports2[3744] = "ER_TRANSFORM_TARGET_SRS_MISSING_TOWGS84"; + exports2[3745] = "ER_TEMP_TABLE_PREVENTS_SWITCH_SESSION_BINLOG_FORMAT"; + exports2[3746] = "ER_TEMP_TABLE_PREVENTS_SWITCH_GLOBAL_BINLOG_FORMAT"; + exports2[3747] = "ER_RUNNING_APPLIER_PREVENTS_SWITCH_GLOBAL_BINLOG_FORMAT"; + exports2[3748] = "ER_CLIENT_GTID_UNSAFE_CREATE_DROP_TEMP_TABLE_IN_TRX_IN_SBR"; + exports2[3749] = "ER_XA_CANT_CREATE_MDL_BACKUP"; + exports2[3750] = "ER_TABLE_WITHOUT_PK"; + exports2[3751] = "ER_WARN_DATA_TRUNCATED_FUNCTIONAL_INDEX"; + exports2[3752] = "ER_WARN_DATA_OUT_OF_RANGE_FUNCTIONAL_INDEX"; + exports2[3753] = "ER_FUNCTIONAL_INDEX_ON_JSON_OR_GEOMETRY_FUNCTION"; + exports2[3754] = "ER_FUNCTIONAL_INDEX_REF_AUTO_INCREMENT"; + exports2[3755] = "ER_CANNOT_DROP_COLUMN_FUNCTIONAL_INDEX"; + exports2[3756] = "ER_FUNCTIONAL_INDEX_PRIMARY_KEY"; + exports2[3757] = "ER_FUNCTIONAL_INDEX_ON_LOB"; + exports2[3758] = "ER_FUNCTIONAL_INDEX_FUNCTION_IS_NOT_ALLOWED"; + exports2[3759] = "ER_FULLTEXT_FUNCTIONAL_INDEX"; + exports2[3760] = "ER_SPATIAL_FUNCTIONAL_INDEX"; + exports2[3761] = "ER_WRONG_KEY_COLUMN_FUNCTIONAL_INDEX"; + exports2[3762] = "ER_FUNCTIONAL_INDEX_ON_FIELD"; + exports2[3763] = "ER_GENERATED_COLUMN_NAMED_FUNCTION_IS_NOT_ALLOWED"; + exports2[3764] = "ER_GENERATED_COLUMN_ROW_VALUE"; + exports2[3765] = "ER_GENERATED_COLUMN_VARIABLES"; + exports2[3766] = "ER_DEPENDENT_BY_DEFAULT_GENERATED_VALUE"; + exports2[3767] = "ER_DEFAULT_VAL_GENERATED_NON_PRIOR"; + exports2[3768] = "ER_DEFAULT_VAL_GENERATED_REF_AUTO_INC"; + exports2[3769] = "ER_DEFAULT_VAL_GENERATED_FUNCTION_IS_NOT_ALLOWED"; + exports2[3770] = "ER_DEFAULT_VAL_GENERATED_NAMED_FUNCTION_IS_NOT_ALLOWED"; + exports2[3771] = "ER_DEFAULT_VAL_GENERATED_ROW_VALUE"; + exports2[3772] = "ER_DEFAULT_VAL_GENERATED_VARIABLES"; + exports2[3773] = "ER_DEFAULT_AS_VAL_GENERATED"; + exports2[3774] = "ER_UNSUPPORTED_ACTION_ON_DEFAULT_VAL_GENERATED"; + exports2[3775] = "ER_GTID_UNSAFE_ALTER_ADD_COL_WITH_DEFAULT_EXPRESSION"; + exports2[3776] = "ER_FK_CANNOT_CHANGE_ENGINE"; + exports2[3777] = "ER_WARN_DEPRECATED_USER_SET_EXPR"; + exports2[3778] = "ER_WARN_DEPRECATED_UTF8MB3_COLLATION"; + exports2[3779] = "ER_WARN_DEPRECATED_NESTED_COMMENT_SYNTAX"; + exports2[3780] = "ER_FK_INCOMPATIBLE_COLUMNS"; + exports2[3781] = "ER_GR_HOLD_WAIT_TIMEOUT"; + exports2[3782] = "ER_GR_HOLD_KILLED"; + exports2[3783] = "ER_GR_HOLD_MEMBER_STATUS_ERROR"; + exports2[3784] = "ER_RPL_ENCRYPTION_FAILED_TO_FETCH_KEY"; + exports2[3785] = "ER_RPL_ENCRYPTION_KEY_NOT_FOUND"; + exports2[3786] = "ER_RPL_ENCRYPTION_KEYRING_INVALID_KEY"; + exports2[3787] = "ER_RPL_ENCRYPTION_HEADER_ERROR"; + exports2[3788] = "ER_RPL_ENCRYPTION_FAILED_TO_ROTATE_LOGS"; + exports2[3789] = "ER_RPL_ENCRYPTION_KEY_EXISTS_UNEXPECTED"; + exports2[3790] = "ER_RPL_ENCRYPTION_FAILED_TO_GENERATE_KEY"; + exports2[3791] = "ER_RPL_ENCRYPTION_FAILED_TO_STORE_KEY"; + exports2[3792] = "ER_RPL_ENCRYPTION_FAILED_TO_REMOVE_KEY"; + exports2[3793] = "ER_RPL_ENCRYPTION_UNABLE_TO_CHANGE_OPTION"; + exports2[3794] = "ER_RPL_ENCRYPTION_MASTER_KEY_RECOVERY_FAILED"; + exports2[3795] = "ER_SLOW_LOG_MODE_IGNORED_WHEN_NOT_LOGGING_TO_FILE"; + exports2[3796] = "ER_GRP_TRX_CONSISTENCY_NOT_ALLOWED"; + exports2[3797] = "ER_GRP_TRX_CONSISTENCY_BEFORE"; + exports2[3798] = "ER_GRP_TRX_CONSISTENCY_AFTER_ON_TRX_BEGIN"; + exports2[3799] = "ER_GRP_TRX_CONSISTENCY_BEGIN_NOT_ALLOWED"; + exports2[3800] = "ER_FUNCTIONAL_INDEX_ROW_VALUE_IS_NOT_ALLOWED"; + exports2[3801] = "ER_RPL_ENCRYPTION_FAILED_TO_ENCRYPT"; + exports2[3802] = "ER_PAGE_TRACKING_NOT_STARTED"; + exports2[3803] = "ER_PAGE_TRACKING_RANGE_NOT_TRACKED"; + exports2[3804] = "ER_PAGE_TRACKING_CANNOT_PURGE"; + exports2[3805] = "ER_RPL_ENCRYPTION_CANNOT_ROTATE_BINLOG_MASTER_KEY"; + exports2[3806] = "ER_BINLOG_MASTER_KEY_RECOVERY_OUT_OF_COMBINATION"; + exports2[3807] = "ER_BINLOG_MASTER_KEY_ROTATION_FAIL_TO_OPERATE_KEY"; + exports2[3808] = "ER_BINLOG_MASTER_KEY_ROTATION_FAIL_TO_ROTATE_LOGS"; + exports2[3809] = "ER_BINLOG_MASTER_KEY_ROTATION_FAIL_TO_REENCRYPT_LOG"; + exports2[3810] = "ER_BINLOG_MASTER_KEY_ROTATION_FAIL_TO_CLEANUP_UNUSED_KEYS"; + exports2[3811] = "ER_BINLOG_MASTER_KEY_ROTATION_FAIL_TO_CLEANUP_AUX_KEY"; + exports2[3812] = "ER_NON_BOOLEAN_EXPR_FOR_CHECK_CONSTRAINT"; + exports2[3813] = "ER_COLUMN_CHECK_CONSTRAINT_REFERENCES_OTHER_COLUMN"; + exports2[3814] = "ER_CHECK_CONSTRAINT_NAMED_FUNCTION_IS_NOT_ALLOWED"; + exports2[3815] = "ER_CHECK_CONSTRAINT_FUNCTION_IS_NOT_ALLOWED"; + exports2[3816] = "ER_CHECK_CONSTRAINT_VARIABLES"; + exports2[3817] = "ER_CHECK_CONSTRAINT_ROW_VALUE"; + exports2[3818] = "ER_CHECK_CONSTRAINT_REFERS_AUTO_INCREMENT_COLUMN"; + exports2[3819] = "ER_CHECK_CONSTRAINT_VIOLATED"; + exports2[3820] = "ER_CHECK_CONSTRAINT_REFERS_UNKNOWN_COLUMN"; + exports2[3821] = "ER_CHECK_CONSTRAINT_NOT_FOUND"; + exports2[3822] = "ER_CHECK_CONSTRAINT_DUP_NAME"; + exports2[3823] = "ER_CHECK_CONSTRAINT_CLAUSE_USING_FK_REFER_ACTION_COLUMN"; + exports2[3824] = "WARN_UNENCRYPTED_TABLE_IN_ENCRYPTED_DB"; + exports2[3825] = "ER_INVALID_ENCRYPTION_REQUEST"; + exports2[3826] = "ER_CANNOT_SET_TABLE_ENCRYPTION"; + exports2[3827] = "ER_CANNOT_SET_DATABASE_ENCRYPTION"; + exports2[3828] = "ER_CANNOT_SET_TABLESPACE_ENCRYPTION"; + exports2[3829] = "ER_TABLESPACE_CANNOT_BE_ENCRYPTED"; + exports2[3830] = "ER_TABLESPACE_CANNOT_BE_DECRYPTED"; + exports2[3831] = "ER_TABLESPACE_TYPE_UNKNOWN"; + exports2[3832] = "ER_TARGET_TABLESPACE_UNENCRYPTED"; + exports2[3833] = "ER_CANNOT_USE_ENCRYPTION_CLAUSE"; + exports2[3834] = "ER_INVALID_MULTIPLE_CLAUSES"; + exports2[3835] = "ER_UNSUPPORTED_USE_OF_GRANT_AS"; + exports2[3836] = "ER_UKNOWN_AUTH_ID_OR_ACCESS_DENIED_FOR_GRANT_AS"; + exports2[3837] = "ER_DEPENDENT_BY_FUNCTIONAL_INDEX"; + exports2[3838] = "ER_PLUGIN_NOT_EARLY"; + exports2[3839] = "ER_INNODB_REDO_LOG_ARCHIVE_START_SUBDIR_PATH"; + exports2[3840] = "ER_INNODB_REDO_LOG_ARCHIVE_START_TIMEOUT"; + exports2[3841] = "ER_INNODB_REDO_LOG_ARCHIVE_DIRS_INVALID"; + exports2[3842] = "ER_INNODB_REDO_LOG_ARCHIVE_LABEL_NOT_FOUND"; + exports2[3843] = "ER_INNODB_REDO_LOG_ARCHIVE_DIR_EMPTY"; + exports2[3844] = "ER_INNODB_REDO_LOG_ARCHIVE_NO_SUCH_DIR"; + exports2[3845] = "ER_INNODB_REDO_LOG_ARCHIVE_DIR_CLASH"; + exports2[3846] = "ER_INNODB_REDO_LOG_ARCHIVE_DIR_PERMISSIONS"; + exports2[3847] = "ER_INNODB_REDO_LOG_ARCHIVE_FILE_CREATE"; + exports2[3848] = "ER_INNODB_REDO_LOG_ARCHIVE_ACTIVE"; + exports2[3849] = "ER_INNODB_REDO_LOG_ARCHIVE_INACTIVE"; + exports2[3850] = "ER_INNODB_REDO_LOG_ARCHIVE_FAILED"; + exports2[3851] = "ER_INNODB_REDO_LOG_ARCHIVE_SESSION"; + exports2[3852] = "ER_STD_REGEX_ERROR"; + exports2[3853] = "ER_INVALID_JSON_TYPE"; + exports2[3854] = "ER_CANNOT_CONVERT_STRING"; + exports2[3855] = "ER_DEPENDENT_BY_PARTITION_FUNC"; + exports2[3856] = "ER_WARN_DEPRECATED_FLOAT_AUTO_INCREMENT"; + exports2[3857] = "ER_RPL_CANT_STOP_REPLICA_WHILE_LOCKED_BACKUP"; + exports2[3858] = "ER_WARN_DEPRECATED_FLOAT_DIGITS"; + exports2[3859] = "ER_WARN_DEPRECATED_FLOAT_UNSIGNED"; + exports2[3860] = "ER_WARN_DEPRECATED_INTEGER_DISPLAY_WIDTH"; + exports2[3861] = "ER_WARN_DEPRECATED_ZEROFILL"; + exports2[3862] = "ER_CLONE_DONOR"; + exports2[3863] = "ER_CLONE_PROTOCOL"; + exports2[3864] = "ER_CLONE_DONOR_VERSION"; + exports2[3865] = "ER_CLONE_OS"; + exports2[3866] = "ER_CLONE_PLATFORM"; + exports2[3867] = "ER_CLONE_CHARSET"; + exports2[3868] = "ER_CLONE_CONFIG"; + exports2[3869] = "ER_CLONE_SYS_CONFIG"; + exports2[3870] = "ER_CLONE_PLUGIN_MATCH"; + exports2[3871] = "ER_CLONE_LOOPBACK"; + exports2[3872] = "ER_CLONE_ENCRYPTION"; + exports2[3873] = "ER_CLONE_DISK_SPACE"; + exports2[3874] = "ER_CLONE_IN_PROGRESS"; + exports2[3875] = "ER_CLONE_DISALLOWED"; + exports2[3876] = "ER_CANNOT_GRANT_ROLES_TO_ANONYMOUS_USER"; + exports2[3877] = "ER_SECONDARY_ENGINE_PLUGIN"; + exports2[3878] = "ER_SECOND_PASSWORD_CANNOT_BE_EMPTY"; + exports2[3879] = "ER_DB_ACCESS_DENIED"; + exports2[3880] = "ER_DA_AUTH_ID_WITH_SYSTEM_USER_PRIV_IN_MANDATORY_ROLES"; + exports2[3881] = "ER_DA_RPL_GTID_TABLE_CANNOT_OPEN"; + exports2[3882] = "ER_GEOMETRY_IN_UNKNOWN_LENGTH_UNIT"; + exports2[3883] = "ER_DA_PLUGIN_INSTALL_ERROR"; + exports2[3884] = "ER_NO_SESSION_TEMP"; + exports2[3885] = "ER_DA_UNKNOWN_ERROR_NUMBER"; + exports2[3886] = "ER_COLUMN_CHANGE_SIZE"; + exports2[3887] = "ER_REGEXP_INVALID_CAPTURE_GROUP_NAME"; + exports2[3888] = "ER_DA_SSL_LIBRARY_ERROR"; + exports2[3889] = "ER_SECONDARY_ENGINE"; + exports2[3890] = "ER_SECONDARY_ENGINE_DDL"; + exports2[3891] = "ER_INCORRECT_CURRENT_PASSWORD"; + exports2[3892] = "ER_MISSING_CURRENT_PASSWORD"; + exports2[3893] = "ER_CURRENT_PASSWORD_NOT_REQUIRED"; + exports2[3894] = "ER_PASSWORD_CANNOT_BE_RETAINED_ON_PLUGIN_CHANGE"; + exports2[3895] = "ER_CURRENT_PASSWORD_CANNOT_BE_RETAINED"; + exports2[3896] = "ER_PARTIAL_REVOKES_EXIST"; + exports2[3897] = "ER_CANNOT_GRANT_SYSTEM_PRIV_TO_MANDATORY_ROLE"; + exports2[3898] = "ER_XA_REPLICATION_FILTERS"; + exports2[3899] = "ER_UNSUPPORTED_SQL_MODE"; + exports2[3900] = "ER_REGEXP_INVALID_FLAG"; + exports2[3901] = "ER_PARTIAL_REVOKE_AND_DB_GRANT_BOTH_EXISTS"; + exports2[3902] = "ER_UNIT_NOT_FOUND"; + exports2[3903] = "ER_INVALID_JSON_VALUE_FOR_FUNC_INDEX"; + exports2[3904] = "ER_JSON_VALUE_OUT_OF_RANGE_FOR_FUNC_INDEX"; + exports2[3905] = "ER_EXCEEDED_MV_KEYS_NUM"; + exports2[3906] = "ER_EXCEEDED_MV_KEYS_SPACE"; + exports2[3907] = "ER_FUNCTIONAL_INDEX_DATA_IS_TOO_LONG"; + exports2[3908] = "ER_WRONG_MVI_VALUE"; + exports2[3909] = "ER_WARN_FUNC_INDEX_NOT_APPLICABLE"; + exports2[3910] = "ER_GRP_RPL_UDF_ERROR"; + exports2[3911] = "ER_UPDATE_GTID_PURGED_WITH_GR"; + exports2[3912] = "ER_GROUPING_ON_TIMESTAMP_IN_DST"; + exports2[3913] = "ER_TABLE_NAME_CAUSES_TOO_LONG_PATH"; + exports2[3914] = "ER_AUDIT_LOG_INSUFFICIENT_PRIVILEGE"; + exports2[3915] = "ER_AUDIT_LOG_PASSWORD_HAS_BEEN_COPIED"; + exports2[3916] = "ER_DA_GRP_RPL_STARTED_AUTO_REJOIN"; + exports2[3917] = "ER_SYSVAR_CHANGE_DURING_QUERY"; + exports2[3918] = "ER_GLOBSTAT_CHANGE_DURING_QUERY"; + exports2[3919] = "ER_GRP_RPL_MESSAGE_SERVICE_INIT_FAILURE"; + exports2[3920] = "ER_CHANGE_SOURCE_WRONG_COMPRESSION_ALGORITHM_CLIENT"; + exports2[3921] = "ER_CHANGE_SOURCE_WRONG_COMPRESSION_LEVEL_CLIENT"; + exports2[3922] = "ER_WRONG_COMPRESSION_ALGORITHM_CLIENT"; + exports2[3923] = "ER_WRONG_COMPRESSION_LEVEL_CLIENT"; + exports2[3924] = "ER_CHANGE_SOURCE_WRONG_COMPRESSION_ALGORITHM_LIST_CLIENT"; + exports2[3925] = "ER_CLIENT_PRIVILEGE_CHECKS_USER_CANNOT_BE_ANONYMOUS"; + exports2[3926] = "ER_CLIENT_PRIVILEGE_CHECKS_USER_DOES_NOT_EXIST"; + exports2[3927] = "ER_CLIENT_PRIVILEGE_CHECKS_USER_CORRUPT"; + exports2[3928] = "ER_CLIENT_PRIVILEGE_CHECKS_USER_NEEDS_RPL_APPLIER_PRIV"; + exports2[3929] = "ER_WARN_DA_PRIVILEGE_NOT_REGISTERED"; + exports2[3930] = "ER_CLIENT_KEYRING_UDF_KEY_INVALID"; + exports2[3931] = "ER_CLIENT_KEYRING_UDF_KEY_TYPE_INVALID"; + exports2[3932] = "ER_CLIENT_KEYRING_UDF_KEY_TOO_LONG"; + exports2[3933] = "ER_CLIENT_KEYRING_UDF_KEY_TYPE_TOO_LONG"; + exports2[3934] = "ER_JSON_SCHEMA_VALIDATION_ERROR_WITH_DETAILED_REPORT"; + exports2[3935] = "ER_DA_UDF_INVALID_CHARSET_SPECIFIED"; + exports2[3936] = "ER_DA_UDF_INVALID_CHARSET"; + exports2[3937] = "ER_DA_UDF_INVALID_COLLATION"; + exports2[3938] = "ER_DA_UDF_INVALID_EXTENSION_ARGUMENT_TYPE"; + exports2[3939] = "ER_MULTIPLE_CONSTRAINTS_WITH_SAME_NAME"; + exports2[3940] = "ER_CONSTRAINT_NOT_FOUND"; + exports2[3941] = "ER_ALTER_CONSTRAINT_ENFORCEMENT_NOT_SUPPORTED"; + exports2[3942] = "ER_TABLE_VALUE_CONSTRUCTOR_MUST_HAVE_COLUMNS"; + exports2[3943] = "ER_TABLE_VALUE_CONSTRUCTOR_CANNOT_HAVE_DEFAULT"; + exports2[3944] = "ER_CLIENT_QUERY_FAILURE_INVALID_NON_ROW_FORMAT"; + exports2[3945] = "ER_REQUIRE_ROW_FORMAT_INVALID_VALUE"; + exports2[3946] = "ER_FAILED_TO_DETERMINE_IF_ROLE_IS_MANDATORY"; + exports2[3947] = "ER_FAILED_TO_FETCH_MANDATORY_ROLE_LIST"; + exports2[3948] = "ER_CLIENT_LOCAL_FILES_DISABLED"; + exports2[3949] = "ER_IMP_INCOMPATIBLE_CFG_VERSION"; + exports2[3950] = "ER_DA_OOM"; + exports2[3951] = "ER_DA_UDF_INVALID_ARGUMENT_TO_SET_CHARSET"; + exports2[3952] = "ER_DA_UDF_INVALID_RETURN_TYPE_TO_SET_CHARSET"; + exports2[3953] = "ER_MULTIPLE_INTO_CLAUSES"; + exports2[3954] = "ER_MISPLACED_INTO"; + exports2[3955] = "ER_USER_ACCESS_DENIED_FOR_USER_ACCOUNT_BLOCKED_BY_PASSWORD_LOCK"; + exports2[3956] = "ER_WARN_DEPRECATED_YEAR_UNSIGNED"; + exports2[3957] = "ER_CLONE_NETWORK_PACKET"; + exports2[3958] = "ER_SDI_OPERATION_FAILED_MISSING_RECORD"; + exports2[3959] = "ER_DEPENDENT_BY_CHECK_CONSTRAINT"; + exports2[3960] = "ER_GRP_OPERATION_NOT_ALLOWED_GR_MUST_STOP"; + exports2[3961] = "ER_WARN_DEPRECATED_JSON_TABLE_ON_ERROR_ON_EMPTY"; + exports2[3962] = "ER_WARN_DEPRECATED_INNER_INTO"; + exports2[3963] = "ER_WARN_DEPRECATED_VALUES_FUNCTION_ALWAYS_NULL"; + exports2[3964] = "ER_WARN_DEPRECATED_SQL_CALC_FOUND_ROWS"; + exports2[3965] = "ER_WARN_DEPRECATED_FOUND_ROWS"; + exports2[3966] = "ER_MISSING_JSON_VALUE"; + exports2[3967] = "ER_MULTIPLE_JSON_VALUES"; + exports2[3968] = "ER_HOSTNAME_TOO_LONG"; + exports2[3969] = "ER_WARN_CLIENT_DEPRECATED_PARTITION_PREFIX_KEY"; + exports2[3970] = "ER_GROUP_REPLICATION_USER_EMPTY_MSG"; + exports2[3971] = "ER_GROUP_REPLICATION_USER_MANDATORY_MSG"; + exports2[3972] = "ER_GROUP_REPLICATION_PASSWORD_LENGTH"; + exports2[3973] = "ER_SUBQUERY_TRANSFORM_REJECTED"; + exports2[3974] = "ER_DA_GRP_RPL_RECOVERY_ENDPOINT_FORMAT"; + exports2[3975] = "ER_DA_GRP_RPL_RECOVERY_ENDPOINT_INVALID"; + exports2[3976] = "ER_WRONG_VALUE_FOR_VAR_PLUS_ACTIONABLE_PART"; + exports2[3977] = "ER_STATEMENT_NOT_ALLOWED_AFTER_START_TRANSACTION"; + exports2[3978] = "ER_FOREIGN_KEY_WITH_ATOMIC_CREATE_SELECT"; + exports2[3979] = "ER_NOT_ALLOWED_WITH_START_TRANSACTION"; + exports2[3980] = "ER_INVALID_JSON_ATTRIBUTE"; + exports2[3981] = "ER_ENGINE_ATTRIBUTE_NOT_SUPPORTED"; + exports2[3982] = "ER_INVALID_USER_ATTRIBUTE_JSON"; + exports2[3983] = "ER_INNODB_REDO_DISABLED"; + exports2[3984] = "ER_INNODB_REDO_ARCHIVING_ENABLED"; + exports2[3985] = "ER_MDL_OUT_OF_RESOURCES"; + exports2[3986] = "ER_IMPLICIT_COMPARISON_FOR_JSON"; + exports2[3987] = "ER_FUNCTION_DOES_NOT_SUPPORT_CHARACTER_SET"; + exports2[3988] = "ER_IMPOSSIBLE_STRING_CONVERSION"; + exports2[3989] = "ER_SCHEMA_READ_ONLY"; + exports2[3990] = "ER_RPL_ASYNC_RECONNECT_GTID_MODE_OFF"; + exports2[3991] = "ER_RPL_ASYNC_RECONNECT_AUTO_POSITION_OFF"; + exports2[3992] = "ER_DISABLE_GTID_MODE_REQUIRES_ASYNC_RECONNECT_OFF"; + exports2[3993] = "ER_DISABLE_AUTO_POSITION_REQUIRES_ASYNC_RECONNECT_OFF"; + exports2[3994] = "ER_INVALID_PARAMETER_USE"; + exports2[3995] = "ER_CHARACTER_SET_MISMATCH"; + exports2[3996] = "ER_WARN_VAR_VALUE_CHANGE_NOT_SUPPORTED"; + exports2[3997] = "ER_INVALID_TIME_ZONE_INTERVAL"; + exports2[3998] = "ER_INVALID_CAST"; + exports2[3999] = "ER_HYPERGRAPH_NOT_SUPPORTED_YET"; + exports2[4e3] = "ER_WARN_HYPERGRAPH_EXPERIMENTAL"; + exports2[4001] = "ER_DA_NO_ERROR_LOG_PARSER_CONFIGURED"; + exports2[4002] = "ER_DA_ERROR_LOG_TABLE_DISABLED"; + exports2[4003] = "ER_DA_ERROR_LOG_MULTIPLE_FILTERS"; + exports2[4004] = "ER_DA_CANT_OPEN_ERROR_LOG"; + exports2[4005] = "ER_USER_REFERENCED_AS_DEFINER"; + exports2[4006] = "ER_CANNOT_USER_REFERENCED_AS_DEFINER"; + exports2[4007] = "ER_REGEX_NUMBER_TOO_BIG"; + exports2[4008] = "ER_SPVAR_NONINTEGER_TYPE"; + exports2[4009] = "WARN_UNSUPPORTED_ACL_TABLES_READ"; + exports2[4010] = "ER_BINLOG_UNSAFE_ACL_TABLE_READ_IN_DML_DDL"; + exports2[4011] = "ER_STOP_REPLICA_MONITOR_IO_THREAD_TIMEOUT"; + exports2[4012] = "ER_STARTING_REPLICA_MONITOR_IO_THREAD"; + exports2[4013] = "ER_CANT_USE_ANONYMOUS_TO_GTID_WITH_GTID_MODE_NOT_ON"; + exports2[4014] = "ER_CANT_COMBINE_ANONYMOUS_TO_GTID_AND_AUTOPOSITION"; + exports2[4015] = "ER_ASSIGN_GTIDS_TO_ANONYMOUS_TRANSACTIONS_REQUIRES_GTID_MODE_ON"; + exports2[4016] = "ER_SQL_REPLICA_SKIP_COUNTER_USED_WITH_GTID_MODE_ON"; + exports2[4017] = "ER_USING_ASSIGN_GTIDS_TO_ANONYMOUS_TRANSACTIONS_AS_LOCAL_OR_UUID"; + exports2[4018] = "ER_CANT_SET_ANONYMOUS_TO_GTID_AND_WAIT_UNTIL_SQL_THD_AFTER_GTIDS"; + exports2[4019] = "ER_CANT_SET_SQL_AFTER_OR_BEFORE_GTIDS_WITH_ANONYMOUS_TO_GTID"; + exports2[4020] = "ER_ANONYMOUS_TO_GTID_UUID_SAME_AS_GROUP_NAME"; + exports2[4021] = "ER_CANT_USE_SAME_UUID_AS_GROUP_NAME"; + exports2[4022] = "ER_GRP_RPL_RECOVERY_CHANNEL_STILL_RUNNING"; + exports2[4023] = "ER_INNODB_INVALID_AUTOEXTEND_SIZE_VALUE"; + exports2[4024] = "ER_INNODB_INCOMPATIBLE_WITH_TABLESPACE"; + exports2[4025] = "ER_INNODB_AUTOEXTEND_SIZE_OUT_OF_RANGE"; + exports2[4026] = "ER_CANNOT_USE_AUTOEXTEND_SIZE_CLAUSE"; + exports2[4027] = "ER_ROLE_GRANTED_TO_ITSELF"; + exports2[4028] = "ER_TABLE_MUST_HAVE_A_VISIBLE_COLUMN"; + exports2[4029] = "ER_INNODB_COMPRESSION_FAILURE"; + exports2[4030] = "ER_WARN_ASYNC_CONN_FAILOVER_NETWORK_NAMESPACE"; + exports2[4031] = "ER_CLIENT_INTERACTION_TIMEOUT"; + exports2[4032] = "ER_INVALID_CAST_TO_GEOMETRY"; + exports2[4033] = "ER_INVALID_CAST_POLYGON_RING_DIRECTION"; + exports2[4034] = "ER_GIS_DIFFERENT_SRIDS_AGGREGATION"; + exports2[4035] = "ER_RELOAD_KEYRING_FAILURE"; + exports2[4036] = "ER_SDI_GET_KEYS_INVALID_TABLESPACE"; + exports2[4037] = "ER_CHANGE_RPL_SRC_WRONG_COMPRESSION_ALGORITHM_SIZE"; + exports2[4038] = "ER_WARN_DEPRECATED_TLS_VERSION_FOR_CHANNEL_CLI"; + exports2[4039] = "ER_CANT_USE_SAME_UUID_AS_VIEW_CHANGE_UUID"; + exports2[4040] = "ER_ANONYMOUS_TO_GTID_UUID_SAME_AS_VIEW_CHANGE_UUID"; + exports2[4041] = "ER_GRP_RPL_VIEW_CHANGE_UUID_FAIL_GET_VARIABLE"; + exports2[4042] = "ER_WARN_ADUIT_LOG_MAX_SIZE_AND_PRUNE_SECONDS"; + exports2[4043] = "ER_WARN_ADUIT_LOG_MAX_SIZE_CLOSE_TO_ROTATE_ON_SIZE"; + exports2[4044] = "ER_KERBEROS_CREATE_USER"; + exports2[4045] = "ER_INSTALL_PLUGIN_CONFLICT_CLIENT"; + exports2[4046] = "ER_DA_ERROR_LOG_COMPONENT_FLUSH_FAILED"; + exports2[4047] = "ER_WARN_SQL_AFTER_MTS_GAPS_GAP_NOT_CALCULATED"; + exports2[4048] = "ER_INVALID_ASSIGNMENT_TARGET"; + exports2[4049] = "ER_OPERATION_NOT_ALLOWED_ON_GR_SECONDARY"; + exports2[4050] = "ER_GRP_RPL_FAILOVER_CHANNEL_STATUS_PROPAGATION"; + exports2[4051] = "ER_WARN_AUDIT_LOG_FORMAT_UNIX_TIMESTAMP_ONLY_WHEN_JSON"; + exports2[4052] = "ER_INVALID_MFA_PLUGIN_SPECIFIED"; + exports2[4053] = "ER_IDENTIFIED_BY_UNSUPPORTED"; + exports2[4054] = "ER_INVALID_PLUGIN_FOR_REGISTRATION"; + exports2[4055] = "ER_PLUGIN_REQUIRES_REGISTRATION"; + exports2[4056] = "ER_MFA_METHOD_EXISTS"; + exports2[4057] = "ER_MFA_METHOD_NOT_EXISTS"; + exports2[4058] = "ER_AUTHENTICATION_POLICY_MISMATCH"; + exports2[4059] = "ER_PLUGIN_REGISTRATION_DONE"; + exports2[4060] = "ER_INVALID_USER_FOR_REGISTRATION"; + exports2[4061] = "ER_USER_REGISTRATION_FAILED"; + exports2[4062] = "ER_MFA_METHODS_INVALID_ORDER"; + exports2[4063] = "ER_MFA_METHODS_IDENTICAL"; + exports2[4064] = "ER_INVALID_MFA_OPERATIONS_FOR_PASSWORDLESS_USER"; + exports2[4065] = "ER_CHANGE_REPLICATION_SOURCE_NO_OPTIONS_FOR_GTID_ONLY"; + exports2[4066] = "ER_CHANGE_REP_SOURCE_CANT_DISABLE_REQ_ROW_FORMAT_WITH_GTID_ONLY"; + exports2[4067] = "ER_CHANGE_REP_SOURCE_CANT_DISABLE_AUTO_POSITION_WITH_GTID_ONLY"; + exports2[4068] = "ER_CHANGE_REP_SOURCE_CANT_DISABLE_GTID_ONLY_WITHOUT_POSITIONS"; + exports2[4069] = "ER_CHANGE_REP_SOURCE_CANT_DISABLE_AUTO_POS_WITHOUT_POSITIONS"; + exports2[4070] = "ER_CHANGE_REP_SOURCE_GR_CHANNEL_WITH_GTID_MODE_NOT_ON"; + exports2[4071] = "ER_CANT_USE_GTID_ONLY_WITH_GTID_MODE_NOT_ON"; + exports2[4072] = "ER_WARN_C_DISABLE_GTID_ONLY_WITH_SOURCE_AUTO_POS_INVALID_POS"; + exports2[4073] = "ER_DA_SSL_FIPS_MODE_ERROR"; + exports2[4074] = "ER_VALUE_OUT_OF_RANGE"; + exports2[4075] = "ER_FULLTEXT_WITH_ROLLUP"; + exports2[4076] = "ER_REGEXP_MISSING_RESOURCE"; + exports2[4077] = "ER_WARN_REGEXP_USING_DEFAULT"; + exports2[4078] = "ER_REGEXP_MISSING_FILE"; + exports2[4079] = "ER_WARN_DEPRECATED_COLLATION"; + exports2[4080] = "ER_CONCURRENT_PROCEDURE_USAGE"; + exports2[4081] = "ER_DA_GLOBAL_CONN_LIMIT"; + exports2[4082] = "ER_DA_CONN_LIMIT"; + exports2[4083] = "ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_COLUMN_TYPE_INSTANT"; + exports2[4084] = "ER_WARN_SF_UDF_NAME_COLLISION"; + exports2[4085] = "ER_CANNOT_PURGE_BINLOG_WITH_BACKUP_LOCK"; + exports2[4086] = "ER_TOO_MANY_WINDOWS"; + exports2[4087] = "ER_MYSQLBACKUP_CLIENT_MSG"; + exports2[4088] = "ER_COMMENT_CONTAINS_INVALID_STRING"; + exports2[4089] = "ER_DEFINITION_CONTAINS_INVALID_STRING"; + exports2[4090] = "ER_CANT_EXECUTE_COMMAND_WITH_ASSIGNED_GTID_NEXT"; + exports2[4091] = "ER_XA_TEMP_TABLE"; + exports2[4092] = "ER_INNODB_MAX_ROW_VERSION"; + exports2[4093] = "ER_INNODB_INSTANT_ADD_NOT_SUPPORTED_MAX_SIZE"; + exports2[4094] = "ER_OPERATION_NOT_ALLOWED_WHILE_PRIMARY_CHANGE_IS_RUNNING"; + exports2[4095] = "ER_WARN_DEPRECATED_DATETIME_DELIMITER"; + exports2[4096] = "ER_WARN_DEPRECATED_SUPERFLUOUS_DELIMITER"; + exports2[4097] = "ER_CANNOT_PERSIST_SENSITIVE_VARIABLES"; + exports2[4098] = "ER_WARN_CANNOT_SECURELY_PERSIST_SENSITIVE_VARIABLES"; + exports2[4099] = "ER_WARN_TRG_ALREADY_EXISTS"; + exports2[4100] = "ER_IF_NOT_EXISTS_UNSUPPORTED_TRG_EXISTS_ON_DIFFERENT_TABLE"; + exports2[4101] = "ER_IF_NOT_EXISTS_UNSUPPORTED_UDF_NATIVE_FCT_NAME_COLLISION"; + exports2[4102] = "ER_SET_PASSWORD_AUTH_PLUGIN_ERROR"; + exports2[4103] = "ER_REDUCED_DBLWR_FILE_CORRUPTED"; + exports2[4104] = "ER_REDUCED_DBLWR_PAGE_FOUND"; + exports2[4105] = "ER_SRS_INVALID_LATITUDE_OF_ORIGIN"; + exports2[4106] = "ER_SRS_INVALID_LONGITUDE_OF_ORIGIN"; + exports2[4107] = "ER_SRS_UNUSED_PROJ_PARAMETER_PRESENT"; + exports2[4108] = "ER_GIPK_COLUMN_EXISTS"; + exports2[4109] = "ER_GIPK_FAILED_AUTOINC_COLUMN_EXISTS"; + exports2[4110] = "ER_GIPK_COLUMN_ALTER_NOT_ALLOWED"; + exports2[4111] = "ER_DROP_PK_COLUMN_TO_DROP_GIPK"; + exports2[4112] = "ER_CREATE_SELECT_WITH_GIPK_DISALLOWED_IN_SBR"; + exports2[4113] = "ER_DA_EXPIRE_LOGS_DAYS_IGNORED"; + exports2[4114] = "ER_CTE_RECURSIVE_NOT_UNION"; + exports2[4115] = "ER_COMMAND_BACKEND_FAILED_TO_FETCH_SECURITY_CTX"; + exports2[4116] = "ER_COMMAND_SERVICE_BACKEND_FAILED"; + exports2[4117] = "ER_CLIENT_FILE_PRIVILEGE_FOR_REPLICATION_CHECKS"; + exports2[4118] = "ER_GROUP_REPLICATION_FORCE_MEMBERS_COMMAND_FAILURE"; + exports2[4119] = "ER_WARN_DEPRECATED_IDENT"; + exports2[4120] = "ER_INTERSECT_ALL_MAX_DUPLICATES_EXCEEDED"; + exports2[4121] = "ER_TP_QUERY_THRS_PER_GRP_EXCEEDS_TXN_THR_LIMIT"; + exports2[4122] = "ER_BAD_TIMESTAMP_FORMAT"; + exports2[4123] = "ER_SHAPE_PRIDICTION_UDF"; + exports2[4124] = "ER_SRS_INVALID_HEIGHT"; + exports2[4125] = "ER_SRS_INVALID_SCALING"; + exports2[4126] = "ER_SRS_INVALID_ZONE_WIDTH"; + exports2[4127] = "ER_SRS_INVALID_LATITUDE_POLAR_STERE_VAR_A"; + exports2[4128] = "ER_WARN_DEPRECATED_CLIENT_NO_SCHEMA_OPTION"; + exports2[4129] = "ER_TABLE_NOT_EMPTY"; + exports2[4130] = "ER_TABLE_NO_PRIMARY_KEY"; + exports2[4131] = "ER_TABLE_IN_SHARED_TABLESPACE"; + exports2[4132] = "ER_INDEX_OTHER_THAN_PK"; + exports2[4133] = "ER_LOAD_BULK_DATA_UNSORTED"; + exports2[4134] = "ER_BULK_EXECUTOR_ERROR"; + exports2[4135] = "ER_BULK_READER_LIBCURL_INIT_FAILED"; + exports2[4136] = "ER_BULK_READER_LIBCURL_ERROR"; + exports2[4137] = "ER_BULK_READER_SERVER_ERROR"; + exports2[4138] = "ER_BULK_READER_COMMUNICATION_ERROR"; + exports2[4139] = "ER_BULK_LOAD_DATA_FAILED"; + exports2[4140] = "ER_BULK_LOADER_COLUMN_TOO_BIG_FOR_LEFTOVER_BUFFER"; + exports2[4141] = "ER_BULK_LOADER_COMPONENT_ERROR"; + exports2[4142] = "ER_BULK_LOADER_FILE_CONTAINS_LESS_LINES_THAN_IGNORE_CLAUSE"; + exports2[4143] = "ER_BULK_PARSER_MISSING_ENCLOSED_BY"; + exports2[4144] = "ER_BULK_PARSER_ROW_BUFFER_MAX_TOTAL_COLS_EXCEEDED"; + exports2[4145] = "ER_BULK_PARSER_COPY_BUFFER_SIZE_EXCEEDED"; + exports2[4146] = "ER_BULK_PARSER_UNEXPECTED_END_OF_INPUT"; + exports2[4147] = "ER_BULK_PARSER_UNEXPECTED_ROW_TERMINATOR"; + exports2[4148] = "ER_BULK_PARSER_UNEXPECTED_CHAR_AFTER_ENDING_ENCLOSED_BY"; + exports2[4149] = "ER_BULK_PARSER_UNEXPECTED_CHAR_AFTER_NULL_ESCAPE"; + exports2[4150] = "ER_BULK_PARSER_UNEXPECTED_CHAR_AFTER_COLUMN_TERMINATOR"; + exports2[4151] = "ER_BULK_PARSER_INCOMPLETE_ESCAPE_SEQUENCE"; + exports2[4152] = "ER_LOAD_BULK_DATA_FAILED"; + exports2[4153] = "ER_LOAD_BULK_DATA_WRONG_VALUE_FOR_FIELD"; + exports2[4154] = "ER_LOAD_BULK_DATA_WARN_NULL_TO_NOTNULL"; + exports2[4155] = "ER_REQUIRE_TABLE_PRIMARY_KEY_CHECK_GENERATE_WITH_GR"; + exports2[4156] = "ER_CANT_CHANGE_SYS_VAR_IN_READ_ONLY_MODE"; + exports2[4157] = "ER_INNODB_INSTANT_ADD_DROP_NOT_SUPPORTED_MAX_SIZE"; + exports2[4158] = "ER_INNODB_INSTANT_ADD_NOT_SUPPORTED_MAX_FIELDS"; + exports2[4159] = "ER_CANT_SET_PERSISTED"; + exports2[4160] = "ER_INSTALL_COMPONENT_SET_NULL_VALUE"; + exports2[4161] = "ER_INSTALL_COMPONENT_SET_UNUSED_VALUE"; + exports2[4162] = "ER_WARN_DEPRECATED_USER_DEFINED_COLLATIONS"; } }); // node_modules/.pnpm/long@5.2.3/node_modules/long/umd/index.js var require_umd = __commonJS({ - "node_modules/.pnpm/long@5.2.3/node_modules/long/umd/index.js"(exports, module2) { - var Long = function(exports2) { + "node_modules/.pnpm/long@5.2.3/node_modules/long/umd/index.js"(exports2, module2) { + var Long = function(exports3) { "use strict"; - Object.defineProperty(exports2, "__esModule", { + Object.defineProperty(exports3, "__esModule", { value: true }); - exports2.default = void 0; + exports3.default = void 0; + /** + * @license + * Copyright 2009 The Closure Library Authors + * Copyright 2020 Daniel Wirtz / The long.js Authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * SPDX-License-Identifier: Apache-2.0 + */ var wasm = null; try { wasm = new WebAssembly.Instance(new WebAssembly.Module(new Uint8Array([0, 97, 115, 109, 1, 0, 0, 0, 1, 13, 2, 96, 0, 1, 127, 96, 4, 127, 127, 127, 127, 1, 127, 3, 7, 6, 0, 1, 1, 1, 1, 1, 6, 6, 1, 127, 1, 65, 0, 11, 7, 50, 6, 3, 109, 117, 108, 0, 1, 5, 100, 105, 118, 95, 115, 0, 2, 5, 100, 105, 118, 95, 117, 0, 3, 5, 114, 101, 109, 95, 115, 0, 4, 5, 114, 101, 109, 95, 117, 0, 5, 8, 103, 101, 116, 95, 104, 105, 103, 104, 0, 0, 10, 191, 1, 6, 4, 0, 35, 0, 11, 36, 1, 1, 126, 32, 0, 173, 32, 1, 173, 66, 32, 134, 132, 32, 2, 173, 32, 3, 173, 66, 32, 134, 132, 126, 34, 4, 66, 32, 135, 167, 36, 0, 32, 4, 167, 11, 36, 1, 1, 126, 32, 0, 173, 32, 1, 173, 66, 32, 134, 132, 32, 2, 173, 32, 3, 173, 66, 32, 134, 132, 127, 34, 4, 66, 32, 135, 167, 36, 0, 32, 4, 167, 11, 36, 1, 1, 126, 32, 0, 173, 32, 1, 173, 66, 32, 134, 132, 32, 2, 173, 32, 3, 173, 66, 32, 134, 132, 128, 34, 4, 66, 32, 135, 167, 36, 0, 32, 4, 167, 11, 36, 1, 1, 126, 32, 0, 173, 32, 1, 173, 66, 32, 134, 132, 32, 2, 173, 32, 3, 173, 66, 32, 134, 132, 129, 34, 4, 66, 32, 135, 167, 36, 0, 32, 4, 167, 11, 36, 1, 1, 126, 32, 0, 173, 32, 1, 173, 66, 32, 134, 132, 32, 2, 173, 32, 3, 173, 66, 32, 134, 132, 130, 34, 4, 66, 32, 135, 167, 36, 0, 32, 4, 167, 11])), {}).exports; @@ -6762,6 +7093,7 @@ var require_umd = __commonJS({ this.high = high | 0; this.unsigned = !!unsigned; } + __name(Long2, "Long"); Long2.prototype.__isLong__; Object.defineProperty(Long2.prototype, "__isLong__", { value: true @@ -6769,10 +7101,12 @@ var require_umd = __commonJS({ function isLong(obj) { return (obj && obj["__isLong__"]) === true; } + __name(isLong, "isLong"); function ctz32(value) { var c = Math.clz32(value & -value); return value ? 31 - c : c; } + __name(ctz32, "ctz32"); Long2.isLong = isLong; var INT_CACHE = {}; var UINT_CACHE = {}; @@ -6802,6 +7136,7 @@ var require_umd = __commonJS({ return obj; } } + __name(fromInt, "fromInt"); Long2.fromInt = fromInt; function fromNumber(value, unsigned) { if (isNaN(value)) @@ -6821,10 +7156,12 @@ var require_umd = __commonJS({ return fromNumber(-value, unsigned).neg(); return fromBits(value % TWO_PWR_32_DBL | 0, value / TWO_PWR_32_DBL | 0, unsigned); } + __name(fromNumber, "fromNumber"); Long2.fromNumber = fromNumber; function fromBits(lowBits, highBits, unsigned) { return new Long2(lowBits, highBits, unsigned); } + __name(fromBits, "fromBits"); Long2.fromBits = fromBits; var pow_dbl = Math.pow; function fromString(str, unsigned, radix) { @@ -6862,6 +7199,7 @@ var require_umd = __commonJS({ result.unsigned = unsigned; return result; } + __name(fromString, "fromString"); Long2.fromString = fromString; function fromValue(val, unsigned) { if (typeof val === "number") @@ -6870,6 +7208,7 @@ var require_umd = __commonJS({ return fromString(val, unsigned); return fromBits(val.low, val.high, typeof unsigned === "boolean" ? unsigned : val.unsigned); } + __name(fromValue, "fromValue"); Long2.fromValue = fromValue; var TWO_PWR_16_DBL = 1 << 16; var TWO_PWR_24_DBL = 1 << 24; @@ -6894,15 +7233,15 @@ var require_umd = __commonJS({ var MIN_VALUE = fromBits(0, 2147483648 | 0, false); Long2.MIN_VALUE = MIN_VALUE; var LongPrototype = Long2.prototype; - LongPrototype.toInt = function toInt() { + LongPrototype.toInt = /* @__PURE__ */ __name(function toInt() { return this.unsigned ? this.low >>> 0 : this.low; - }; - LongPrototype.toNumber = function toNumber() { + }, "toInt"); + LongPrototype.toNumber = /* @__PURE__ */ __name(function toNumber() { if (this.unsigned) return (this.high >>> 0) * TWO_PWR_32_DBL + (this.low >>> 0); return this.high * TWO_PWR_32_DBL + (this.low >>> 0); - }; - LongPrototype.toString = function toString(radix) { + }, "toNumber"); + LongPrototype.toString = /* @__PURE__ */ __name(function toString(radix) { radix = radix || 10; if (radix < 2 || 36 < radix) throw RangeError("radix"); @@ -6928,20 +7267,20 @@ var require_umd = __commonJS({ result = "" + digits + result; } } - }; - LongPrototype.getHighBits = function getHighBits() { + }, "toString"); + LongPrototype.getHighBits = /* @__PURE__ */ __name(function getHighBits() { return this.high; - }; - LongPrototype.getHighBitsUnsigned = function getHighBitsUnsigned() { + }, "getHighBits"); + LongPrototype.getHighBitsUnsigned = /* @__PURE__ */ __name(function getHighBitsUnsigned() { return this.high >>> 0; - }; - LongPrototype.getLowBits = function getLowBits() { + }, "getHighBitsUnsigned"); + LongPrototype.getLowBits = /* @__PURE__ */ __name(function getLowBits() { return this.low; - }; - LongPrototype.getLowBitsUnsigned = function getLowBitsUnsigned() { + }, "getLowBits"); + LongPrototype.getLowBitsUnsigned = /* @__PURE__ */ __name(function getLowBitsUnsigned() { return this.low >>> 0; - }; - LongPrototype.getNumBitsAbs = function getNumBitsAbs() { + }, "getLowBitsUnsigned"); + LongPrototype.getNumBitsAbs = /* @__PURE__ */ __name(function getNumBitsAbs() { if (this.isNegative()) return this.eq(MIN_VALUE) ? 64 : this.neg().getNumBitsAbs(); var val = this.high != 0 ? this.high : this.low; @@ -6949,65 +7288,70 @@ var require_umd = __commonJS({ if ((val & 1 << bit) != 0) break; return this.high != 0 ? bit + 33 : bit + 1; - }; - LongPrototype.isZero = function isZero() { + }, "getNumBitsAbs"); + LongPrototype.isZero = /* @__PURE__ */ __name(function isZero() { return this.high === 0 && this.low === 0; - }; + }, "isZero"); LongPrototype.eqz = LongPrototype.isZero; - LongPrototype.isNegative = function isNegative() { + LongPrototype.isNegative = /* @__PURE__ */ __name(function isNegative() { return !this.unsigned && this.high < 0; - }; - LongPrototype.isPositive = function isPositive() { + }, "isNegative"); + LongPrototype.isPositive = /* @__PURE__ */ __name(function isPositive() { return this.unsigned || this.high >= 0; - }; - LongPrototype.isOdd = function isOdd() { + }, "isPositive"); + LongPrototype.isOdd = /* @__PURE__ */ __name(function isOdd() { return (this.low & 1) === 1; - }; - LongPrototype.isEven = function isEven() { + }, "isOdd"); + LongPrototype.isEven = /* @__PURE__ */ __name(function isEven() { return (this.low & 1) === 0; - }; - LongPrototype.equals = function equals(other) { + }, "isEven"); + LongPrototype.equals = /* @__PURE__ */ __name(function equals(other) { if (!isLong(other)) other = fromValue(other); if (this.unsigned !== other.unsigned && this.high >>> 31 === 1 && other.high >>> 31 === 1) return false; return this.high === other.high && this.low === other.low; - }; + }, "equals"); LongPrototype.eq = LongPrototype.equals; - LongPrototype.notEquals = function notEquals(other) { + LongPrototype.notEquals = /* @__PURE__ */ __name(function notEquals(other) { return !this.eq( + /* validates */ other ); - }; + }, "notEquals"); LongPrototype.neq = LongPrototype.notEquals; LongPrototype.ne = LongPrototype.notEquals; - LongPrototype.lessThan = function lessThan(other) { + LongPrototype.lessThan = /* @__PURE__ */ __name(function lessThan(other) { return this.comp( + /* validates */ other ) < 0; - }; + }, "lessThan"); LongPrototype.lt = LongPrototype.lessThan; - LongPrototype.lessThanOrEqual = function lessThanOrEqual(other) { + LongPrototype.lessThanOrEqual = /* @__PURE__ */ __name(function lessThanOrEqual(other) { return this.comp( + /* validates */ other ) <= 0; - }; + }, "lessThanOrEqual"); LongPrototype.lte = LongPrototype.lessThanOrEqual; LongPrototype.le = LongPrototype.lessThanOrEqual; - LongPrototype.greaterThan = function greaterThan(other) { + LongPrototype.greaterThan = /* @__PURE__ */ __name(function greaterThan(other) { return this.comp( + /* validates */ other ) > 0; - }; + }, "greaterThan"); LongPrototype.gt = LongPrototype.greaterThan; - LongPrototype.greaterThanOrEqual = function greaterThanOrEqual(other) { + LongPrototype.greaterThanOrEqual = /* @__PURE__ */ __name(function greaterThanOrEqual(other) { return this.comp( + /* validates */ other ) >= 0; - }; + }, "greaterThanOrEqual"); LongPrototype.gte = LongPrototype.greaterThanOrEqual; LongPrototype.ge = LongPrototype.greaterThanOrEqual; - LongPrototype.compare = function compare(other) { + LongPrototype.compare = /* @__PURE__ */ __name(function compare(other) { if (!isLong(other)) other = fromValue(other); if (this.eq(other)) @@ -7020,15 +7364,15 @@ var require_umd = __commonJS({ if (!this.unsigned) return this.sub(other).isNegative() ? -1 : 1; return other.high >>> 0 > this.high >>> 0 || other.high === this.high && other.low >>> 0 > this.low >>> 0 ? -1 : 1; - }; + }, "compare"); LongPrototype.comp = LongPrototype.compare; - LongPrototype.negate = function negate() { + LongPrototype.negate = /* @__PURE__ */ __name(function negate() { if (!this.unsigned && this.eq(MIN_VALUE)) return MIN_VALUE; return this.not().add(ONE); - }; + }, "negate"); LongPrototype.neg = LongPrototype.negate; - LongPrototype.add = function add(addend) { + LongPrototype.add = /* @__PURE__ */ __name(function add(addend) { if (!isLong(addend)) addend = fromValue(addend); var a48 = this.high >>> 16; @@ -7052,14 +7396,14 @@ var require_umd = __commonJS({ c48 += a48 + b48; c48 &= 65535; return fromBits(c16 << 16 | c00, c48 << 16 | c32, this.unsigned); - }; - LongPrototype.subtract = function subtract(subtrahend) { + }, "add"); + LongPrototype.subtract = /* @__PURE__ */ __name(function subtract(subtrahend) { if (!isLong(subtrahend)) subtrahend = fromValue(subtrahend); return this.add(subtrahend.neg()); - }; + }, "subtract"); LongPrototype.sub = LongPrototype.subtract; - LongPrototype.multiply = function multiply(multiplier) { + LongPrototype.multiply = /* @__PURE__ */ __name(function multiply(multiplier) { if (this.isZero()) return this; if (!isLong(multiplier)) @@ -7113,9 +7457,9 @@ var require_umd = __commonJS({ c48 += a48 * b00 + a32 * b16 + a16 * b32 + a00 * b48; c48 &= 65535; return fromBits(c16 << 16 | c00, c48 << 16 | c32, this.unsigned); - }; + }, "multiply"); LongPrototype.mul = LongPrototype.multiply; - LongPrototype.divide = function divide(divisor) { + LongPrototype.divide = /* @__PURE__ */ __name(function divide(divisor) { if (!isLong(divisor)) divisor = fromValue(divisor); if (divisor.isZero()) @@ -7180,9 +7524,9 @@ var require_umd = __commonJS({ rem = rem.sub(approxRem); } return res; - }; + }, "divide"); LongPrototype.div = LongPrototype.divide; - LongPrototype.modulo = function modulo(divisor) { + LongPrototype.modulo = /* @__PURE__ */ __name(function modulo(divisor) { if (!isLong(divisor)) divisor = fromValue(divisor); if (wasm) { @@ -7190,36 +7534,36 @@ var require_umd = __commonJS({ return fromBits(low, wasm["get_high"](), this.unsigned); } return this.sub(this.div(divisor).mul(divisor)); - }; + }, "modulo"); LongPrototype.mod = LongPrototype.modulo; LongPrototype.rem = LongPrototype.modulo; - LongPrototype.not = function not() { + LongPrototype.not = /* @__PURE__ */ __name(function not() { return fromBits(~this.low, ~this.high, this.unsigned); - }; - LongPrototype.countLeadingZeros = function countLeadingZeros() { + }, "not"); + LongPrototype.countLeadingZeros = /* @__PURE__ */ __name(function countLeadingZeros() { return this.high ? Math.clz32(this.high) : Math.clz32(this.low) + 32; - }; + }, "countLeadingZeros"); LongPrototype.clz = LongPrototype.countLeadingZeros; - LongPrototype.countTrailingZeros = function countTrailingZeros() { + LongPrototype.countTrailingZeros = /* @__PURE__ */ __name(function countTrailingZeros() { return this.low ? ctz32(this.low) : ctz32(this.high) + 32; - }; + }, "countTrailingZeros"); LongPrototype.ctz = LongPrototype.countTrailingZeros; - LongPrototype.and = function and(other) { + LongPrototype.and = /* @__PURE__ */ __name(function and(other) { if (!isLong(other)) other = fromValue(other); return fromBits(this.low & other.low, this.high & other.high, this.unsigned); - }; - LongPrototype.or = function or(other) { + }, "and"); + LongPrototype.or = /* @__PURE__ */ __name(function or(other) { if (!isLong(other)) other = fromValue(other); return fromBits(this.low | other.low, this.high | other.high, this.unsigned); - }; - LongPrototype.xor = function xor(other) { + }, "or"); + LongPrototype.xor = /* @__PURE__ */ __name(function xor(other) { if (!isLong(other)) other = fromValue(other); return fromBits(this.low ^ other.low, this.high ^ other.high, this.unsigned); - }; - LongPrototype.shiftLeft = function shiftLeft(numBits) { + }, "xor"); + LongPrototype.shiftLeft = /* @__PURE__ */ __name(function shiftLeft(numBits) { if (isLong(numBits)) numBits = numBits.toInt(); if ((numBits &= 63) === 0) @@ -7228,9 +7572,9 @@ var require_umd = __commonJS({ return fromBits(this.low << numBits, this.high << numBits | this.low >>> 32 - numBits, this.unsigned); else return fromBits(0, this.low << numBits - 32, this.unsigned); - }; + }, "shiftLeft"); LongPrototype.shl = LongPrototype.shiftLeft; - LongPrototype.shiftRight = function shiftRight(numBits) { + LongPrototype.shiftRight = /* @__PURE__ */ __name(function shiftRight(numBits) { if (isLong(numBits)) numBits = numBits.toInt(); if ((numBits &= 63) === 0) @@ -7239,9 +7583,9 @@ var require_umd = __commonJS({ return fromBits(this.low >>> numBits | this.high << 32 - numBits, this.high >> numBits, this.unsigned); else return fromBits(this.high >> numBits - 32, this.high >= 0 ? 0 : -1, this.unsigned); - }; + }, "shiftRight"); LongPrototype.shr = LongPrototype.shiftRight; - LongPrototype.shiftRightUnsigned = function shiftRightUnsigned(numBits) { + LongPrototype.shiftRightUnsigned = /* @__PURE__ */ __name(function shiftRightUnsigned(numBits) { if (isLong(numBits)) numBits = numBits.toInt(); if ((numBits &= 63) === 0) @@ -7251,10 +7595,10 @@ var require_umd = __commonJS({ if (numBits === 32) return fromBits(this.high, 0, this.unsigned); return fromBits(this.high >>> numBits - 32, 0, this.unsigned); - }; + }, "shiftRightUnsigned"); LongPrototype.shru = LongPrototype.shiftRightUnsigned; LongPrototype.shr_u = LongPrototype.shiftRightUnsigned; - LongPrototype.rotateLeft = function rotateLeft(numBits) { + LongPrototype.rotateLeft = /* @__PURE__ */ __name(function rotateLeft(numBits) { var b; if (isLong(numBits)) numBits = numBits.toInt(); @@ -7269,9 +7613,9 @@ var require_umd = __commonJS({ numBits -= 32; b = 32 - numBits; return fromBits(this.high << numBits | this.low >>> b, this.low << numBits | this.high >>> b, this.unsigned); - }; + }, "rotateLeft"); LongPrototype.rotl = LongPrototype.rotateLeft; - LongPrototype.rotateRight = function rotateRight(numBits) { + LongPrototype.rotateRight = /* @__PURE__ */ __name(function rotateRight(numBits) { var b; if (isLong(numBits)) numBits = numBits.toInt(); @@ -7286,54 +7630,54 @@ var require_umd = __commonJS({ numBits -= 32; b = 32 - numBits; return fromBits(this.low << b | this.high >>> numBits, this.high << b | this.low >>> numBits, this.unsigned); - }; + }, "rotateRight"); LongPrototype.rotr = LongPrototype.rotateRight; - LongPrototype.toSigned = function toSigned() { + LongPrototype.toSigned = /* @__PURE__ */ __name(function toSigned() { if (!this.unsigned) return this; return fromBits(this.low, this.high, false); - }; - LongPrototype.toUnsigned = function toUnsigned() { + }, "toSigned"); + LongPrototype.toUnsigned = /* @__PURE__ */ __name(function toUnsigned() { if (this.unsigned) return this; return fromBits(this.low, this.high, true); - }; - LongPrototype.toBytes = function toBytes(le) { + }, "toUnsigned"); + LongPrototype.toBytes = /* @__PURE__ */ __name(function toBytes(le) { return le ? this.toBytesLE() : this.toBytesBE(); - }; - LongPrototype.toBytesLE = function toBytesLE() { + }, "toBytes"); + LongPrototype.toBytesLE = /* @__PURE__ */ __name(function toBytesLE() { var hi = this.high, lo = this.low; return [lo & 255, lo >>> 8 & 255, lo >>> 16 & 255, lo >>> 24, hi & 255, hi >>> 8 & 255, hi >>> 16 & 255, hi >>> 24]; - }; - LongPrototype.toBytesBE = function toBytesBE() { + }, "toBytesLE"); + LongPrototype.toBytesBE = /* @__PURE__ */ __name(function toBytesBE() { var hi = this.high, lo = this.low; return [hi >>> 24, hi >>> 16 & 255, hi >>> 8 & 255, hi & 255, lo >>> 24, lo >>> 16 & 255, lo >>> 8 & 255, lo & 255]; - }; - Long2.fromBytes = function fromBytes(bytes, unsigned, le) { + }, "toBytesBE"); + Long2.fromBytes = /* @__PURE__ */ __name(function fromBytes(bytes, unsigned, le) { return le ? Long2.fromBytesLE(bytes, unsigned) : Long2.fromBytesBE(bytes, unsigned); - }; - Long2.fromBytesLE = function fromBytesLE(bytes, unsigned) { + }, "fromBytes"); + Long2.fromBytesLE = /* @__PURE__ */ __name(function fromBytesLE(bytes, unsigned) { return new Long2(bytes[0] | bytes[1] << 8 | bytes[2] << 16 | bytes[3] << 24, bytes[4] | bytes[5] << 8 | bytes[6] << 16 | bytes[7] << 24, unsigned); - }; - Long2.fromBytesBE = function fromBytesBE(bytes, unsigned) { + }, "fromBytesLE"); + Long2.fromBytesBE = /* @__PURE__ */ __name(function fromBytesBE(bytes, unsigned) { return new Long2(bytes[4] << 24 | bytes[5] << 16 | bytes[6] << 8 | bytes[7], bytes[0] << 24 | bytes[1] << 16 | bytes[2] << 8 | bytes[3], unsigned); - }; + }, "fromBytesBE"); var _default = Long2; - exports2.default = _default; - return "default" in exports2 ? exports2.default : exports2; + exports3.default = _default; + return "default" in exports3 ? exports3.default : exports3; }({}); if (typeof define === "function" && define.amd) define([], function() { return Long; }); - else if (typeof module2 === "object" && typeof exports === "object") + else if (typeof module2 === "object" && typeof exports2 === "object") module2.exports = Long; } }); // node_modules/.pnpm/safer-buffer@2.1.2/node_modules/safer-buffer/safer.js var require_safer = __commonJS({ - "node_modules/.pnpm/safer-buffer@2.1.2/node_modules/safer-buffer/safer.js"(exports, module2) { + "node_modules/.pnpm/safer-buffer@2.1.2/node_modules/safer-buffer/safer.js"(exports2, module2) { "use strict"; var buffer = require("buffer"); var Buffer4 = buffer.Buffer; @@ -7405,14 +7749,15 @@ var require_safer = __commonJS({ // node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/lib/bom-handling.js var require_bom_handling = __commonJS({ - "node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/lib/bom-handling.js"(exports) { + "node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/lib/bom-handling.js"(exports2) { "use strict"; var BOMChar = "\uFEFF"; - exports.PrependBOM = PrependBOMWrapper; + exports2.PrependBOM = PrependBOMWrapper; function PrependBOMWrapper(encoder, options) { this.encoder = encoder; this.addBOM = true; } + __name(PrependBOMWrapper, "PrependBOMWrapper"); PrependBOMWrapper.prototype.write = function(str) { if (this.addBOM) { str = BOMChar + str; @@ -7423,12 +7768,13 @@ var require_bom_handling = __commonJS({ PrependBOMWrapper.prototype.end = function() { return this.encoder.end(); }; - exports.StripBOM = StripBOMWrapper; + exports2.StripBOM = StripBOMWrapper; function StripBOMWrapper(decoder, options) { this.decoder = decoder; this.pass = false; this.options = options || {}; } + __name(StripBOMWrapper, "StripBOMWrapper"); StripBOMWrapper.prototype.write = function(buf) { var res = this.decoder.write(buf); if (this.pass || !res) @@ -7449,10 +7795,11 @@ var require_bom_handling = __commonJS({ // node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/internal.js var require_internal = __commonJS({ - "node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/internal.js"(exports, module2) { + "node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/internal.js"(exports2, module2) { "use strict"; var Buffer4 = require_safer().Buffer; module2.exports = { + // Encodings utf8: { type: "_internal", bomAware: true }, cesu8: { type: "_internal", bomAware: true }, unicode11utf8: "utf8", @@ -7461,6 +7808,7 @@ var require_internal = __commonJS({ binary: { type: "_internal" }, base64: { type: "_internal" }, hex: { type: "_internal" }, + // Codec. _internal: InternalCodec }; function InternalCodec(codecOptions, iconv) { @@ -7477,6 +7825,7 @@ var require_internal = __commonJS({ } } } + __name(InternalCodec, "InternalCodec"); InternalCodec.prototype.encoder = InternalEncoder; InternalCodec.prototype.decoder = InternalDecoder; var StringDecoder = require("string_decoder").StringDecoder; @@ -7486,6 +7835,7 @@ var require_internal = __commonJS({ function InternalDecoder(options, codec) { this.decoder = new StringDecoder(codec.enc); } + __name(InternalDecoder, "InternalDecoder"); InternalDecoder.prototype.write = function(buf) { if (!Buffer4.isBuffer(buf)) { buf = Buffer4.from(buf); @@ -7498,6 +7848,7 @@ var require_internal = __commonJS({ function InternalEncoder(options, codec) { this.enc = codec.enc; } + __name(InternalEncoder, "InternalEncoder"); InternalEncoder.prototype.write = function(str) { return Buffer4.from(str, this.enc); }; @@ -7506,6 +7857,7 @@ var require_internal = __commonJS({ function InternalEncoderBase64(options, codec) { this.prevStr = ""; } + __name(InternalEncoderBase64, "InternalEncoderBase64"); InternalEncoderBase64.prototype.write = function(str) { str = this.prevStr + str; var completeQuads = str.length - str.length % 4; @@ -7518,6 +7870,7 @@ var require_internal = __commonJS({ }; function InternalEncoderCesu8(options, codec) { } + __name(InternalEncoderCesu8, "InternalEncoderCesu8"); InternalEncoderCesu8.prototype.write = function(str) { var buf = Buffer4.alloc(str.length * 3), bufIdx = 0; for (var i2 = 0; i2 < str.length; i2++) { @@ -7543,6 +7896,7 @@ var require_internal = __commonJS({ this.accBytes = 0; this.defaultCharUnicode = codec.defaultCharUnicode; } + __name(InternalDecoderCesu8, "InternalDecoderCesu8"); InternalDecoderCesu8.prototype.write = function(buf) { var acc = this.acc, contBytes = this.contBytes, accBytes = this.accBytes, res = ""; for (var i2 = 0; i2 < buf.length; i2++) { @@ -7599,25 +7953,27 @@ var require_internal = __commonJS({ // node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/utf32.js var require_utf32 = __commonJS({ - "node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/utf32.js"(exports) { + "node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/utf32.js"(exports2) { "use strict"; var Buffer4 = require_safer().Buffer; - exports._utf32 = Utf32Codec; + exports2._utf32 = Utf32Codec; function Utf32Codec(codecOptions, iconv) { this.iconv = iconv; this.bomAware = true; this.isLE = codecOptions.isLE; } - exports.utf32le = { type: "_utf32", isLE: true }; - exports.utf32be = { type: "_utf32", isLE: false }; - exports.ucs4le = "utf32le"; - exports.ucs4be = "utf32be"; + __name(Utf32Codec, "Utf32Codec"); + exports2.utf32le = { type: "_utf32", isLE: true }; + exports2.utf32be = { type: "_utf32", isLE: false }; + exports2.ucs4le = "utf32le"; + exports2.ucs4be = "utf32be"; Utf32Codec.prototype.encoder = Utf32Encoder; Utf32Codec.prototype.decoder = Utf32Decoder; function Utf32Encoder(options, codec) { this.isLE = codec.isLE; this.highSurrogate = 0; } + __name(Utf32Encoder, "Utf32Encoder"); Utf32Encoder.prototype.write = function(str) { var src = Buffer4.from(str, "ucs2"); var dst = Buffer4.alloc(src.length * 2); @@ -7667,6 +8023,7 @@ var require_utf32 = __commonJS({ this.badChar = codec.iconv.defaultCharUnicode.charCodeAt(0); this.overflow = []; } + __name(Utf32Decoder, "Utf32Decoder"); Utf32Decoder.prototype.write = function(src) { if (src.length === 0) return ""; @@ -7718,14 +8075,16 @@ var require_utf32 = __commonJS({ dst[offset++] = codepoint >> 8; return offset; } + __name(_writeCodepoint, "_writeCodepoint"); Utf32Decoder.prototype.end = function() { this.overflow.length = 0; }; - exports.utf32 = Utf32AutoCodec; - exports.ucs4 = "utf32"; + exports2.utf32 = Utf32AutoCodec; + exports2.ucs4 = "utf32"; function Utf32AutoCodec(options, iconv) { this.iconv = iconv; } + __name(Utf32AutoCodec, "Utf32AutoCodec"); Utf32AutoCodec.prototype.encoder = Utf32AutoEncoder; Utf32AutoCodec.prototype.decoder = Utf32AutoDecoder; function Utf32AutoEncoder(options, codec) { @@ -7734,6 +8093,7 @@ var require_utf32 = __commonJS({ options.addBOM = true; this.encoder = codec.iconv.getEncoder(options.defaultEncoding || "utf-32le", options); } + __name(Utf32AutoEncoder, "Utf32AutoEncoder"); Utf32AutoEncoder.prototype.write = function(str) { return this.encoder.write(str); }; @@ -7747,6 +8107,7 @@ var require_utf32 = __commonJS({ this.options = options || {}; this.iconv = codec.iconv; } + __name(Utf32AutoDecoder, "Utf32AutoDecoder"); Utf32AutoDecoder.prototype.write = function(buf) { if (!this.decoder) { this.initialBufs.push(buf); @@ -7819,22 +8180,25 @@ var require_utf32 = __commonJS({ return "utf-32le"; return defaultEncoding || "utf-32le"; } + __name(detectEncoding, "detectEncoding"); } }); // node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/utf16.js var require_utf16 = __commonJS({ - "node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/utf16.js"(exports) { + "node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/utf16.js"(exports2) { "use strict"; var Buffer4 = require_safer().Buffer; - exports.utf16be = Utf16BECodec; + exports2.utf16be = Utf16BECodec; function Utf16BECodec() { } + __name(Utf16BECodec, "Utf16BECodec"); Utf16BECodec.prototype.encoder = Utf16BEEncoder; Utf16BECodec.prototype.decoder = Utf16BEDecoder; Utf16BECodec.prototype.bomAware = true; function Utf16BEEncoder() { } + __name(Utf16BEEncoder, "Utf16BEEncoder"); Utf16BEEncoder.prototype.write = function(str) { var buf = Buffer4.from(str, "ucs2"); for (var i2 = 0; i2 < buf.length; i2 += 2) { @@ -7849,6 +8213,7 @@ var require_utf16 = __commonJS({ function Utf16BEDecoder() { this.overflowByte = -1; } + __name(Utf16BEDecoder, "Utf16BEDecoder"); Utf16BEDecoder.prototype.write = function(buf) { if (buf.length == 0) return ""; @@ -7869,10 +8234,11 @@ var require_utf16 = __commonJS({ Utf16BEDecoder.prototype.end = function() { this.overflowByte = -1; }; - exports.utf16 = Utf16Codec; + exports2.utf16 = Utf16Codec; function Utf16Codec(codecOptions, iconv) { this.iconv = iconv; } + __name(Utf16Codec, "Utf16Codec"); Utf16Codec.prototype.encoder = Utf16Encoder; Utf16Codec.prototype.decoder = Utf16Decoder; function Utf16Encoder(options, codec) { @@ -7881,6 +8247,7 @@ var require_utf16 = __commonJS({ options.addBOM = true; this.encoder = codec.iconv.getEncoder("utf-16le", options); } + __name(Utf16Encoder, "Utf16Encoder"); Utf16Encoder.prototype.write = function(str) { return this.encoder.write(str); }; @@ -7894,6 +8261,7 @@ var require_utf16 = __commonJS({ this.options = options || {}; this.iconv = codec.iconv; } + __name(Utf16Decoder, "Utf16Decoder"); Utf16Decoder.prototype.write = function(buf) { if (!this.decoder) { this.initialBufs.push(buf); @@ -7959,19 +8327,21 @@ var require_utf16 = __commonJS({ return "utf-16le"; return defaultEncoding || "utf-16le"; } + __name(detectEncoding, "detectEncoding"); } }); // node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/utf7.js var require_utf7 = __commonJS({ - "node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/utf7.js"(exports) { + "node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/utf7.js"(exports2) { "use strict"; var Buffer4 = require_safer().Buffer; - exports.utf7 = Utf7Codec; - exports.unicode11utf7 = "utf7"; + exports2.utf7 = Utf7Codec; + exports2.unicode11utf7 = "utf7"; function Utf7Codec(codecOptions, iconv) { this.iconv = iconv; } + __name(Utf7Codec, "Utf7Codec"); Utf7Codec.prototype.encoder = Utf7Encoder; Utf7Codec.prototype.decoder = Utf7Decoder; Utf7Codec.prototype.bomAware = true; @@ -7979,6 +8349,7 @@ var require_utf7 = __commonJS({ function Utf7Encoder(options, codec) { this.iconv = codec.iconv; } + __name(Utf7Encoder, "Utf7Encoder"); Utf7Encoder.prototype.write = function(str) { return Buffer4.from(str.replace(nonDirectChars, function(chunk) { return "+" + (chunk === "+" ? "" : this.iconv.encode(chunk, "utf16-be").toString("base64").replace(/=+$/, "")) + "-"; @@ -7991,6 +8362,7 @@ var require_utf7 = __commonJS({ this.inBase64 = false; this.base64Accum = ""; } + __name(Utf7Decoder, "Utf7Decoder"); var base64Regex = /[A-Za-z0-9\/+]/; var base64Chars = []; for (i2 = 0; i2 < 256; i2++) @@ -8045,10 +8417,11 @@ var require_utf7 = __commonJS({ this.base64Accum = ""; return res; }; - exports.utf7imap = Utf7IMAPCodec; + exports2.utf7imap = Utf7IMAPCodec; function Utf7IMAPCodec(codecOptions, iconv) { this.iconv = iconv; } + __name(Utf7IMAPCodec, "Utf7IMAPCodec"); Utf7IMAPCodec.prototype.encoder = Utf7IMAPEncoder; Utf7IMAPCodec.prototype.decoder = Utf7IMAPDecoder; Utf7IMAPCodec.prototype.bomAware = true; @@ -8058,6 +8431,7 @@ var require_utf7 = __commonJS({ this.base64Accum = Buffer4.alloc(6); this.base64AccumIdx = 0; } + __name(Utf7IMAPEncoder, "Utf7IMAPEncoder"); Utf7IMAPEncoder.prototype.write = function(str) { var inBase64 = this.inBase64, base64Accum = this.base64Accum, base64AccumIdx = this.base64AccumIdx, buf = Buffer4.alloc(str.length * 5 + 10), bufIdx = 0; for (var i3 = 0; i3 < str.length; i3++) { @@ -8112,6 +8486,7 @@ var require_utf7 = __commonJS({ this.inBase64 = false; this.base64Accum = ""; } + __name(Utf7IMAPDecoder, "Utf7IMAPDecoder"); var base64IMAPChars = base64Chars.slice(); base64IMAPChars[",".charCodeAt(0)] = true; Utf7IMAPDecoder.prototype.write = function(buf) { @@ -8165,10 +8540,10 @@ var require_utf7 = __commonJS({ // node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/sbcs-codec.js var require_sbcs_codec = __commonJS({ - "node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/sbcs-codec.js"(exports) { + "node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/sbcs-codec.js"(exports2) { "use strict"; var Buffer4 = require_safer().Buffer; - exports._sbcs = SBCSCodec; + exports2._sbcs = SBCSCodec; function SBCSCodec(codecOptions, iconv) { if (!codecOptions) throw new Error("SBCS codec is called without the data."); @@ -8186,11 +8561,13 @@ var require_sbcs_codec = __commonJS({ encodeBuf[codecOptions.chars.charCodeAt(i2)] = i2; this.encodeBuf = encodeBuf; } + __name(SBCSCodec, "SBCSCodec"); SBCSCodec.prototype.encoder = SBCSEncoder; SBCSCodec.prototype.decoder = SBCSDecoder; function SBCSEncoder(options, codec) { this.encodeBuf = codec.encodeBuf; } + __name(SBCSEncoder, "SBCSEncoder"); SBCSEncoder.prototype.write = function(str) { var buf = Buffer4.alloc(str.length); for (var i2 = 0; i2 < str.length; i2++) @@ -8202,6 +8579,7 @@ var require_sbcs_codec = __commonJS({ function SBCSDecoder(options, codec) { this.decodeBuf = codec.decodeBuf; } + __name(SBCSDecoder, "SBCSDecoder"); SBCSDecoder.prototype.write = function(buf) { var decodeBuf = this.decodeBuf; var newBuf = Buffer4.alloc(buf.length * 2); @@ -8221,9 +8599,10 @@ var require_sbcs_codec = __commonJS({ // node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/sbcs-data.js var require_sbcs_data = __commonJS({ - "node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/sbcs-data.js"(exports, module2) { + "node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/sbcs-data.js"(exports2, module2) { "use strict"; module2.exports = { + // Not supported by iconv, not sure why. "10029": "maccenteuro", "maccenteuro": { "type": "_sbcs", @@ -8243,6 +8622,7 @@ var require_sbcs_data = __commonJS({ "type": "_sbcs", "chars": "\x80\x81\xE9\xE2\x84\xE0\x86\xE7\xEA\xEB\xE8\xEF\xEE\x8D\x8E\x8F\x90\u0651\u0652\xF4\xA4\u0640\xFB\xF9\u0621\u0622\u0623\u0624\xA3\u0625\u0626\u0627\u0628\u0629\u062A\u062B\u062C\u062D\u062E\u062F\u0630\u0631\u0632\u0633\u0634\u0635\xAB\xBB\u2591\u2592\u2593\u2502\u2524\u2561\u2562\u2556\u2555\u2563\u2551\u2557\u255D\u255C\u255B\u2510\u2514\u2534\u252C\u251C\u2500\u253C\u255E\u255F\u255A\u2554\u2569\u2566\u2560\u2550\u256C\u2567\u2568\u2564\u2565\u2559\u2558\u2552\u2553\u256B\u256A\u2518\u250C\u2588\u2584\u258C\u2590\u2580\u0636\u0637\u0638\u0639\u063A\u0641\xB5\u0642\u0643\u0644\u0645\u0646\u0647\u0648\u0649\u064A\u2261\u064B\u064C\u064D\u064E\u064F\u0650\u2248\xB0\u2219\xB7\u221A\u207F\xB2\u25A0\xA0" }, + // Aliases of generated encodings. "ascii8bit": "ascii", "usascii": "ascii", "ansix34": "ascii", @@ -8372,7 +8752,7 @@ var require_sbcs_data = __commonJS({ // node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/sbcs-data-generated.js var require_sbcs_data_generated = __commonJS({ - "node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/sbcs-data-generated.js"(exports, module2) { + "node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/sbcs-data-generated.js"(exports2, module2) { "use strict"; module2.exports = { "437": "cp437", @@ -8827,10 +9207,10 @@ var require_sbcs_data_generated = __commonJS({ // node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/dbcs-codec.js var require_dbcs_codec = __commonJS({ - "node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/dbcs-codec.js"(exports) { + "node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/dbcs-codec.js"(exports2) { "use strict"; var Buffer4 = require_safer().Buffer; - exports._dbcs = DBCSCodec; + exports2._dbcs = DBCSCodec; var UNASSIGNED = -1; var GB18030_CODE = -2; var SEQ_START = -10; @@ -8910,6 +9290,7 @@ var require_dbcs_codec = __commonJS({ if (this.defCharSB === UNASSIGNED) this.defCharSB = "?".charCodeAt(0); } + __name(DBCSCodec, "DBCSCodec"); DBCSCodec.prototype.encoder = DBCSEncoder; DBCSCodec.prototype.decoder = DBCSDecoder; DBCSCodec.prototype._getDecodeTrieNode = function(addr) { @@ -9043,6 +9424,7 @@ var require_dbcs_codec = __commonJS({ this.defaultCharSingleByte = codec.defCharSB; this.gb18030 = codec.gb18030; } + __name(DBCSEncoder, "DBCSEncoder"); DBCSEncoder.prototype.write = function(str) { var newBuf = Buffer4.alloc(str.length * (this.gb18030 ? 4 : 3)), leadSurrogate = this.leadSurrogate, seqObj = this.seqObj, nextChar = -1, i3 = 0, j = 0; while (true) { @@ -9170,6 +9552,7 @@ var require_dbcs_codec = __commonJS({ this.defaultCharUnicode = codec.defaultCharUnicode; this.gb18030 = codec.gb18030; } + __name(DBCSDecoder, "DBCSDecoder"); DBCSDecoder.prototype.write = function(buf) { var newBuf = Buffer4.alloc(buf.length * 2), nodeIdx = this.nodeIdx, prevBytes = this.prevBytes, prevOffset = this.prevBytes.length, seqStart = -this.prevBytes.length, uCode; for (var i3 = 0, j = 0; i3 < buf.length; i3++) { @@ -9243,12 +9626,13 @@ var require_dbcs_codec = __commonJS({ } return l; } + __name(findIdx, "findIdx"); } }); // node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/tables/shiftjis.json var require_shiftjis = __commonJS({ - "node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/tables/shiftjis.json"(exports, module2) { + "node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/tables/shiftjis.json"(exports2, module2) { module2.exports = [ ["0", "\0", 128], ["a1", "\uFF61", 62], @@ -9379,7 +9763,7 @@ var require_shiftjis = __commonJS({ // node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/tables/eucjp.json var require_eucjp = __commonJS({ - "node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/tables/eucjp.json"(exports, module2) { + "node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/tables/eucjp.json"(exports2, module2) { module2.exports = [ ["0", "\0", 127], ["8ea1", "\uFF61", 62], @@ -9567,7 +9951,7 @@ var require_eucjp = __commonJS({ // node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/tables/cp936.json var require_cp936 = __commonJS({ - "node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/tables/cp936.json"(exports, module2) { + "node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/tables/cp936.json"(exports2, module2) { module2.exports = [ ["0", "\0", 127, "\u20AC"], ["8140", "\u4E02\u4E04\u4E05\u4E06\u4E0F\u4E12\u4E17\u4E1F\u4E20\u4E21\u4E23\u4E26\u4E29\u4E2E\u4E2F\u4E31\u4E33\u4E35\u4E37\u4E3C\u4E40\u4E41\u4E42\u4E44\u4E46\u4E4A\u4E51\u4E55\u4E57\u4E5A\u4E5B\u4E62\u4E63\u4E64\u4E65\u4E67\u4E68\u4E6A", 5, "\u4E72\u4E74", 9, "\u4E7F", 6, "\u4E87\u4E8A"], @@ -9837,7 +10221,7 @@ var require_cp936 = __commonJS({ // node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/tables/gbk-added.json var require_gbk_added = __commonJS({ - "node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/tables/gbk-added.json"(exports, module2) { + "node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/tables/gbk-added.json"(exports2, module2) { module2.exports = [ ["a140", "\uE4C6", 62], ["a180", "\uE505", 32], @@ -9899,14 +10283,14 @@ var require_gbk_added = __commonJS({ // node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json var require_gb18030_ranges = __commonJS({ - "node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json"(exports, module2) { + "node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json"(exports2, module2) { module2.exports = { uChars: [128, 165, 169, 178, 184, 216, 226, 235, 238, 244, 248, 251, 253, 258, 276, 284, 300, 325, 329, 334, 364, 463, 465, 467, 469, 471, 473, 475, 477, 506, 594, 610, 712, 716, 730, 930, 938, 962, 970, 1026, 1104, 1106, 8209, 8215, 8218, 8222, 8231, 8241, 8244, 8246, 8252, 8365, 8452, 8454, 8458, 8471, 8482, 8556, 8570, 8596, 8602, 8713, 8720, 8722, 8726, 8731, 8737, 8740, 8742, 8748, 8751, 8760, 8766, 8777, 8781, 8787, 8802, 8808, 8816, 8854, 8858, 8870, 8896, 8979, 9322, 9372, 9548, 9588, 9616, 9622, 9634, 9652, 9662, 9672, 9676, 9680, 9702, 9735, 9738, 9793, 9795, 11906, 11909, 11913, 11917, 11928, 11944, 11947, 11951, 11956, 11960, 11964, 11979, 12284, 12292, 12312, 12319, 12330, 12351, 12436, 12447, 12535, 12543, 12586, 12842, 12850, 12964, 13200, 13215, 13218, 13253, 13263, 13267, 13270, 13384, 13428, 13727, 13839, 13851, 14617, 14703, 14801, 14816, 14964, 15183, 15471, 15585, 16471, 16736, 17208, 17325, 17330, 17374, 17623, 17997, 18018, 18212, 18218, 18301, 18318, 18760, 18811, 18814, 18820, 18823, 18844, 18848, 18872, 19576, 19620, 19738, 19887, 40870, 59244, 59336, 59367, 59413, 59417, 59423, 59431, 59437, 59443, 59452, 59460, 59478, 59493, 63789, 63866, 63894, 63976, 63986, 64016, 64018, 64021, 64025, 64034, 64037, 64042, 65074, 65093, 65107, 65112, 65127, 65132, 65375, 65510, 65536], gbChars: [0, 36, 38, 45, 50, 81, 89, 95, 96, 100, 103, 104, 105, 109, 126, 133, 148, 172, 175, 179, 208, 306, 307, 308, 309, 310, 311, 312, 313, 341, 428, 443, 544, 545, 558, 741, 742, 749, 750, 805, 819, 820, 7922, 7924, 7925, 7927, 7934, 7943, 7944, 7945, 7950, 8062, 8148, 8149, 8152, 8164, 8174, 8236, 8240, 8262, 8264, 8374, 8380, 8381, 8384, 8388, 8390, 8392, 8393, 8394, 8396, 8401, 8406, 8416, 8419, 8424, 8437, 8439, 8445, 8482, 8485, 8496, 8521, 8603, 8936, 8946, 9046, 9050, 9063, 9066, 9076, 9092, 9100, 9108, 9111, 9113, 9131, 9162, 9164, 9218, 9219, 11329, 11331, 11334, 11336, 11346, 11361, 11363, 11366, 11370, 11372, 11375, 11389, 11682, 11686, 11687, 11692, 11694, 11714, 11716, 11723, 11725, 11730, 11736, 11982, 11989, 12102, 12336, 12348, 12350, 12384, 12393, 12395, 12397, 12510, 12553, 12851, 12962, 12973, 13738, 13823, 13919, 13933, 14080, 14298, 14585, 14698, 15583, 15847, 16318, 16434, 16438, 16481, 16729, 17102, 17122, 17315, 17320, 17402, 17418, 17859, 17909, 17911, 17915, 17916, 17936, 17939, 17961, 18664, 18703, 18814, 18962, 19043, 33469, 33470, 33471, 33484, 33485, 33490, 33497, 33501, 33505, 33513, 33520, 33536, 33550, 37845, 37921, 37948, 38029, 38038, 38064, 38065, 38066, 38069, 38075, 38076, 38078, 39108, 39109, 39113, 39114, 39115, 39116, 39265, 39394, 189e3] }; } }); // node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/tables/cp949.json var require_cp949 = __commonJS({ - "node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/tables/cp949.json"(exports, module2) { + "node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/tables/cp949.json"(exports2, module2) { module2.exports = [ ["0", "\0", 127], ["8141", "\uAC02\uAC03\uAC05\uAC06\uAC0B", 4, "\uAC18\uAC1E\uAC1F\uAC21\uAC22\uAC23\uAC25", 6, "\uAC2E\uAC32\uAC33\uAC34"], @@ -10185,7 +10569,7 @@ var require_cp949 = __commonJS({ // node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/tables/cp950.json var require_cp950 = __commonJS({ - "node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/tables/cp950.json"(exports, module2) { + "node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/tables/cp950.json"(exports2, module2) { module2.exports = [ ["0", "\0", 127], ["a140", "\u3000\uFF0C\u3001\u3002\uFF0E\u2027\uFF1B\uFF1A\uFF1F\uFF01\uFE30\u2026\u2025\uFE50\uFE51\uFE52\xB7\uFE54\uFE55\uFE56\uFE57\uFF5C\u2013\uFE31\u2014\uFE33\u2574\uFE34\uFE4F\uFF08\uFF09\uFE35\uFE36\uFF5B\uFF5D\uFE37\uFE38\u3014\u3015\uFE39\uFE3A\u3010\u3011\uFE3B\uFE3C\u300A\u300B\uFE3D\uFE3E\u3008\u3009\uFE3F\uFE40\u300C\u300D\uFE41\uFE42\u300E\u300F\uFE43\uFE44\uFE59\uFE5A"], @@ -10368,7 +10752,7 @@ var require_cp950 = __commonJS({ // node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/tables/big5-added.json var require_big5_added = __commonJS({ - "node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/tables/big5-added.json"(exports, module2) { + "node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/tables/big5-added.json"(exports2, module2) { module2.exports = [ ["8740", "\u43F0\u4C32\u4603\u45A6\u4578\u{27267}\u4D77\u45B3\u{27CB1}\u4CE2\u{27CC5}\u3B95\u4736\u4744\u4C47\u4C40\u{242BF}\u{23617}\u{27352}\u{26E8B}\u{270D2}\u4C57\u{2A351}\u474F\u45DA\u4C85\u{27C6C}\u4D07\u4AA4\u46A1\u{26B23}\u7225\u{25A54}\u{21A63}\u{23E06}\u{23F61}\u664D\u56FB"], ["8767", "\u7D95\u591D\u{28BB9}\u3DF4\u9734\u{27BEF}\u5BDB\u{21D5E}\u5AA4\u3625\u{29EB0}\u5AD1\u5BB7\u5CFC\u676E\u8593\u{29945}\u7461\u749D\u3875\u{21D53}\u{2369E}\u{26021}\u3EEC"], @@ -10496,9 +10880,39 @@ var require_big5_added = __commonJS({ // node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/dbcs-data.js var require_dbcs_data = __commonJS({ - "node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/dbcs-data.js"(exports, module2) { + "node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/dbcs-data.js"(exports2, module2) { "use strict"; module2.exports = { + // == Japanese/ShiftJIS ==================================================== + // All japanese encodings are based on JIS X set of standards: + // JIS X 0201 - Single-byte encoding of ASCII + ¥ + Kana chars at 0xA1-0xDF. + // JIS X 0208 - Main set of 6879 characters, placed in 94x94 plane, to be encoded by 2 bytes. + // Has several variations in 1978, 1983, 1990 and 1997. + // JIS X 0212 - Supplementary plane of 6067 chars in 94x94 plane. 1990. Effectively dead. + // JIS X 0213 - Extension and modern replacement of 0208 and 0212. Total chars: 11233. + // 2 planes, first is superset of 0208, second - revised 0212. + // Introduced in 2000, revised 2004. Some characters are in Unicode Plane 2 (0x2xxxx) + // Byte encodings are: + // * Shift_JIS: Compatible with 0201, uses not defined chars in top half as lead bytes for double-byte + // encoding of 0208. Lead byte ranges: 0x81-0x9F, 0xE0-0xEF; Trail byte ranges: 0x40-0x7E, 0x80-0x9E, 0x9F-0xFC. + // Windows CP932 is a superset of Shift_JIS. Some companies added more chars, notably KDDI. + // * EUC-JP: Up to 3 bytes per character. Used mostly on *nixes. + // 0x00-0x7F - lower part of 0201 + // 0x8E, 0xA1-0xDF - upper part of 0201 + // (0xA1-0xFE)x2 - 0208 plane (94x94). + // 0x8F, (0xA1-0xFE)x2 - 0212 plane (94x94). + // * JIS X 208: 7-bit, direct encoding of 0208. Byte ranges: 0x21-0x7E (94 values). Uncommon. + // Used as-is in ISO2022 family. + // * ISO2022-JP: Stateful encoding, with escape sequences to switch between ASCII, + // 0201-1976 Roman, 0208-1978, 0208-1983. + // * ISO2022-JP-1: Adds esc seq for 0212-1990. + // * ISO2022-JP-2: Adds esc seq for GB2313-1980, KSX1001-1992, ISO8859-1, ISO8859-7. + // * ISO2022-JP-3: Adds esc seq for 0201-1976 Kana set, 0213-2000 Planes 1, 2. + // * ISO2022-JP-2004: Adds 0213-2004 Plane 1. + // + // After JIS X 0213 appeared, Shift_JIS-2004, EUC-JISX0213 and ISO2022-JP-2004 followed, with just changing the planes. + // + // Overall, it seems that it's a mess :( http://www8.plala.or.jp/tkubota1/unicode-symbols-map2.html "shiftjis": { type: "_dbcs", table: function() { @@ -10524,12 +10938,20 @@ var require_dbcs_data = __commonJS({ }, encodeAdd: { "\xA5": 92, "\u203E": 126 } }, + // TODO: KDDI extension to Shift_JIS + // TODO: IBM CCSID 942 = CP932, but F0-F9 custom chars and other char changes. + // TODO: IBM CCSID 943 = Shift_JIS = CP932 with original Shift_JIS lower 128 chars. + // == Chinese/GBK ========================================================== + // http://en.wikipedia.org/wiki/GBK + // We mostly implement W3C recommendation: https://www.w3.org/TR/encoding/#gbk-encoder + // Oldest GB2312 (1981, ~7600 chars) is a subset of CP936 "gb2312": "cp936", "gb231280": "cp936", "gb23121980": "cp936", "csgb2312": "cp936", "csiso58gb231280": "cp936", "euccn": "cp936", + // Microsoft's CP936 is a subset and approximation of GBK. "windows936": "cp936", "ms936": "cp936", "936": "cp936", @@ -10539,6 +10961,7 @@ var require_dbcs_data = __commonJS({ return require_cp936(); } }, + // GBK (~22000 chars) is an extension of CP936 that added user-mapped chars and some other. "gbk": { type: "_dbcs", table: function() { @@ -10547,6 +10970,11 @@ var require_dbcs_data = __commonJS({ }, "xgbk": "gbk", "isoir58": "gbk", + // GB18030 is an algorithmic extension of GBK. + // Main source: https://www.w3.org/TR/encoding/#gbk-encoder + // http://icu-project.org/docs/papers/gb18030.html + // http://source.icu-project.org/repos/icu/data/trunk/charset/data/xml/gb-18030-2000.xml + // http://www.khngai.com/chinese/charmap/tblgbk.php?page=0 "gb18030": { type: "_dbcs", table: function() { @@ -10559,6 +10987,8 @@ var require_dbcs_data = __commonJS({ encodeAdd: { "\u20AC": 41699 } }, "chinese": "gb18030", + // == Korean =============================================================== + // EUC-KR, KS_C_5601 and KS X 1001 are exactly the same. "windows949": "cp949", "ms949": "cp949", "949": "cp949", @@ -10576,6 +11006,28 @@ var require_dbcs_data = __commonJS({ "ksc56011987": "cp949", "ksc56011989": "cp949", "ksc5601": "cp949", + // == Big5/Taiwan/Hong Kong ================================================ + // There are lots of tables for Big5 and cp950. Please see the following links for history: + // http://moztw.org/docs/big5/ http://www.haible.de/bruno/charsets/conversion-tables/Big5.html + // Variations, in roughly number of defined chars: + // * Windows CP 950: Microsoft variant of Big5. Canonical: http://www.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/WINDOWS/CP950.TXT + // * Windows CP 951: Microsoft variant of Big5-HKSCS-2001. Seems to be never public. http://me.abelcheung.org/articles/research/what-is-cp951/ + // * Big5-2003 (Taiwan standard) almost superset of cp950. + // * Unicode-at-on (UAO) / Mozilla 1.8. Falling out of use on the Web. Not supported by other browsers. + // * Big5-HKSCS (-2001, -2004, -2008). Hong Kong standard. + // many unicode code points moved from PUA to Supplementary plane (U+2XXXX) over the years. + // Plus, it has 4 combining sequences. + // Seems that Mozilla refused to support it for 10 yrs. https://bugzilla.mozilla.org/show_bug.cgi?id=162431 https://bugzilla.mozilla.org/show_bug.cgi?id=310299 + // because big5-hkscs is the only encoding to include astral characters in non-algorithmic way. + // Implementations are not consistent within browsers; sometimes labeled as just big5. + // MS Internet Explorer switches from big5 to big5-hkscs when a patch applied. + // Great discussion & recap of what's going on https://bugzilla.mozilla.org/show_bug.cgi?id=912470#c31 + // In the encoder, it might make sense to support encoding old PUA mappings to Big5 bytes seq-s. + // Official spec: http://www.ogcio.gov.hk/en/business/tech_promotion/ccli/terms/doc/2003cmp_2008.txt + // http://www.ogcio.gov.hk/tc/business/tech_promotion/ccli/terms/doc/hkscs-2008-big5-iso.txt + // + // Current understanding of how to deal with Big5(-HKSCS) is in the Encoding Standard, http://encoding.spec.whatwg.org/#big5-encoder + // Unicode mapping (http://www.unicode.org/Public/MAPPINGS/OBSOLETE/EASTASIA/OTHER/BIG5.TXT) is said to be wrong. "windows950": "cp950", "ms950": "cp950", "950": "cp950", @@ -10585,6 +11037,7 @@ var require_dbcs_data = __commonJS({ return require_cp950(); } }, + // Big5 has many variations and is an extension of cp950. We use Encoding Standard's as a consensus. "big5": "big5hkscs", "big5hkscs": { type: "_dbcs", @@ -10592,6 +11045,9 @@ var require_dbcs_data = __commonJS({ return require_cp950().concat(require_big5_added()); }, encodeSkipVals: [ + // Although Encoding Standard says we should avoid encoding to HKSCS area (See Step 1 of + // https://encoding.spec.whatwg.org/#index-big5-pointer), we still do it to increase compatibility with ICU. + // But if a single unicode point can be encoded both as HKSCS and regular Big5, we prefer the latter. 36457, 36463, 36478, @@ -10653,6 +11109,7 @@ var require_dbcs_data = __commonJS({ 37576, 38468, 38637, + // Step 2 of https://encoding.spec.whatwg.org/#index-big5-pointer: Use last pointer for U+2550, U+255E, U+2561, U+256A, U+5341, or U+5345 41636, 41637, 41639, @@ -10670,7 +11127,7 @@ var require_dbcs_data = __commonJS({ // node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/index.js var require_encodings = __commonJS({ - "node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/index.js"(exports, module2) { + "node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/index.js"(exports2, module2) { "use strict"; var modules = [ require_internal(), @@ -10687,7 +11144,7 @@ var require_encodings = __commonJS({ module2 = modules[i2]; for (enc in module2) if (Object.prototype.hasOwnProperty.call(module2, enc)) - exports[enc] = module2[enc]; + exports2[enc] = module2[enc]; } var module2; var enc; @@ -10697,7 +11154,7 @@ var require_encodings = __commonJS({ // node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/lib/streams.js var require_streams = __commonJS({ - "node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/lib/streams.js"(exports, module2) { + "node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/lib/streams.js"(exports2, module2) { "use strict"; var Buffer4 = require_safer().Buffer; module2.exports = function(stream_module) { @@ -10708,6 +11165,7 @@ var require_streams = __commonJS({ options.decodeStrings = false; Transform.call(this, options); } + __name(IconvLiteEncoderStream, "IconvLiteEncoderStream"); IconvLiteEncoderStream.prototype = Object.create(Transform.prototype, { constructor: { value: IconvLiteEncoderStream } }); @@ -10750,6 +11208,7 @@ var require_streams = __commonJS({ options.encoding = this.encoding = "utf8"; Transform.call(this, options); } + __name(IconvLiteDecoderStream, "IconvLiteDecoderStream"); IconvLiteDecoderStream.prototype = Object.create(Transform.prototype, { constructor: { value: IconvLiteDecoderStream } }); @@ -10796,7 +11255,7 @@ var require_streams = __commonJS({ // node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/lib/index.js var require_lib = __commonJS({ - "node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/lib/index.js"(exports, module2) { + "node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/lib/index.js"(exports2, module2) { "use strict"; var Buffer4 = require_safer().Buffer; var bomHandling = require_bom_handling(); @@ -10804,14 +11263,14 @@ var require_lib = __commonJS({ iconv.encodings = null; iconv.defaultCharUnicode = "\uFFFD"; iconv.defaultCharSingleByte = "?"; - iconv.encode = function encode(str, encoding, options) { + iconv.encode = /* @__PURE__ */ __name(function encode(str, encoding, options) { str = "" + (str || ""); var encoder = iconv.getEncoder(encoding, options); var res = encoder.write(str); var trail = encoder.end(); return trail && trail.length > 0 ? Buffer4.concat([res, trail]) : res; - }; - iconv.decode = function decode(buf, encoding, options) { + }, "encode"); + iconv.decode = /* @__PURE__ */ __name(function decode(buf, encoding, options) { if (typeof buf === "string") { if (!iconv.skipDecodeWarning) { console.error("Iconv-lite warning: decode()-ing strings is deprecated. Refer to https://github.com/ashtuchkin/iconv-lite/wiki/Use-Buffers-when-decoding"); @@ -10823,19 +11282,19 @@ var require_lib = __commonJS({ var res = decoder.write(buf); var trail = decoder.end(); return trail ? res + trail : res; - }; - iconv.encodingExists = function encodingExists(enc) { + }, "decode"); + iconv.encodingExists = /* @__PURE__ */ __name(function encodingExists(enc) { try { iconv.getCodec(enc); return true; } catch (e2) { return false; } - }; + }, "encodingExists"); iconv.toEncoding = iconv.encode; iconv.fromEncoding = iconv.decode; iconv._codecDataCache = {}; - iconv.getCodec = function getCodec(encoding) { + iconv.getCodec = /* @__PURE__ */ __name(function getCodec(encoding) { if (!iconv.encodings) iconv.encodings = require_encodings(); var enc = iconv._canonicalizeEncoding(encoding); @@ -10866,36 +11325,36 @@ var require_lib = __commonJS({ throw new Error("Encoding not recognized: '" + encoding + "' (searched as: '" + enc + "')"); } } - }; + }, "getCodec"); iconv._canonicalizeEncoding = function(encoding) { return ("" + encoding).toLowerCase().replace(/:\d{4}$|[^0-9a-z]/g, ""); }; - iconv.getEncoder = function getEncoder(encoding, options) { + iconv.getEncoder = /* @__PURE__ */ __name(function getEncoder(encoding, options) { var codec = iconv.getCodec(encoding), encoder = new codec.encoder(options, codec); if (codec.bomAware && options && options.addBOM) encoder = new bomHandling.PrependBOM(encoder, options); return encoder; - }; - iconv.getDecoder = function getDecoder(encoding, options) { + }, "getEncoder"); + iconv.getDecoder = /* @__PURE__ */ __name(function getDecoder(encoding, options) { var codec = iconv.getCodec(encoding), decoder = new codec.decoder(options, codec); if (codec.bomAware && !(options && options.stripBOM === false)) decoder = new bomHandling.StripBOM(decoder, options); return decoder; - }; - iconv.enableStreamingAPI = function enableStreamingAPI(stream_module2) { + }, "getDecoder"); + iconv.enableStreamingAPI = /* @__PURE__ */ __name(function enableStreamingAPI(stream_module2) { if (iconv.supportsStreams) return; var streams = require_streams()(stream_module2); iconv.IconvLiteEncoderStream = streams.IconvLiteEncoderStream; iconv.IconvLiteDecoderStream = streams.IconvLiteDecoderStream; - iconv.encodeStream = function encodeStream(encoding, options) { + iconv.encodeStream = /* @__PURE__ */ __name(function encodeStream(encoding, options) { return new iconv.IconvLiteEncoderStream(iconv.getEncoder(encoding, options), options); - }; - iconv.decodeStream = function decodeStream(encoding, options) { + }, "encodeStream"); + iconv.decodeStream = /* @__PURE__ */ __name(function decodeStream(encoding, options) { return new iconv.IconvLiteDecoderStream(iconv.getDecoder(encoding, options), options); - }; + }, "decodeStream"); iconv.supportsStreams = true; - }; + }, "enableStreamingAPI"); var stream_module; try { stream_module = require("stream"); @@ -10916,10 +11375,10 @@ var require_lib = __commonJS({ // node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/parsers/string.js var require_string = __commonJS({ - "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/parsers/string.js"(exports) { + "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/parsers/string.js"(exports2) { "use strict"; var Iconv = require_lib(); - exports.decode = function(buffer, encoding, start, end, options) { + exports2.decode = function(buffer, encoding, start, end, options) { if (Buffer.isEncoding(encoding)) { return buffer.toString(encoding, start, end); } @@ -10928,7 +11387,7 @@ var require_string = __commonJS({ const trail = decoder.end(); return trail ? res + trail : res; }; - exports.encode = function(string, encoding, options) { + exports2.encode = function(string, encoding, options) { if (Buffer.isEncoding(encoding)) { return Buffer.from(string, encoding); } @@ -10942,13 +11401,13 @@ var require_string = __commonJS({ // node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/packets/packet.js var require_packet = __commonJS({ - "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/packets/packet.js"(exports, module2) { + "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/packets/packet.js"(exports2, module2) { "use strict"; var ErrorCodeToName = require_errors(); var NativeBuffer = require("buffer").Buffer; var Long = require_umd(); var StringParser = require_string(); - var INVALID_DATE = new Date(NaN); + var INVALID_DATE = /* @__PURE__ */ new Date(NaN); var pad = "000000000000"; function leftPad(num, value) { const s2 = value.toString(); @@ -10957,12 +11416,13 @@ var require_packet = __commonJS({ } return (pad + s2).slice(-num); } + __name(leftPad, "leftPad"); var minus = "-".charCodeAt(0); var plus = "+".charCodeAt(0); var dot = ".".charCodeAt(0); var exponent = "e".charCodeAt(0); var exponentCapital = "E".charCodeAt(0); - var Packet = class { + var _Packet = class _Packet { constructor(id, buffer, start, end) { this.sequenceId = id; this.numPackets = 1; @@ -10971,6 +11431,9 @@ var require_packet = __commonJS({ this.offset = start + 4; this.end = end; } + // ============================== + // readers + // ============================== reset() { this.offset = this.start + 4; } @@ -11130,6 +11593,7 @@ var require_packet = __commonJS({ this.offset += len; return this.buffer.slice(this.offset - len, this.offset); } + // DATE, DATETIME and TIMESTAMP readDateTime(timezone) { if (!timezone || timezone === "Z" || timezone === "local") { const length = this.readInt8(); @@ -11209,6 +11673,7 @@ var require_packet = __commonJS({ } return str; } + // TIME - value as a string, Can be negative readTimeString(convertTtoMs) { const length = this.readInt8(); if (length === 0) { @@ -11268,6 +11733,7 @@ var require_packet = __commonJS({ this.offset = end + 1; return StringParser.decode(this.buffer, encoding, start, end); } + // TODO reuse? readString(len, encoding) { if (typeof len === "string" && typeof encoding === "undefined") { encoding = len; @@ -11338,6 +11804,10 @@ var require_packet = __commonJS({ } return str; } + // note that if value of inputNumberAsString is bigger than MAX_SAFE_INTEGER + // ( or smaller than MIN_SAFE_INTEGER ) the parseIntNoBigCheck result might be + // different from what you would get from Number(inputNumberAsString) + // String(parseIntNoBigCheck) <> String(Number(inputNumberAsString)) <> inputNumberAsString parseIntNoBigCheck(len) { if (len === null) { return null; @@ -11362,6 +11832,7 @@ var require_packet = __commonJS({ } return result * sign; } + // copy-paste from https://github.com/mysqljs/mysql/blob/master/lib/protocol/Parser.js parseGeometryValue() { const buffer = this.readLengthCodedBuffer(); let offset = 4; @@ -11427,6 +11898,7 @@ var require_packet = __commonJS({ } return result; } + __name(parseGeometry, "parseGeometry"); return parseGeometry(); } parseDate(timezone) { @@ -11435,7 +11907,7 @@ var require_packet = __commonJS({ return null; } if (strLen !== 10) { - return new Date(NaN); + return /* @__PURE__ */ new Date(NaN); } const y = this.parseInt(4); this.offset++; @@ -11448,7 +11920,7 @@ var require_packet = __commonJS({ if (timezone === "Z") { return new Date(Date.UTC(y, m2 - 1, d)); } - return new Date( + return /* @__PURE__ */ new Date( `${leftPad(4, y)}-${leftPad(2, m2)}-${leftPad(2, d)}T00:00:00${timezone}` ); } @@ -11460,7 +11932,7 @@ var require_packet = __commonJS({ if (!timezone || timezone === "local") { return new Date(str); } - return new Date(`${str}${timezone}`); + return /* @__PURE__ */ new Date(`${str}${timezone}`); } parseFloat(len) { if (len === null) { @@ -11516,6 +11988,8 @@ var require_packet = __commonJS({ peekByte() { return this.buffer[this.offset]; } + // OxFE is often used as "Alt" flag - not ok, not error. + // For example, it's first byte of AuthSwitchRequest isAlt() { return this.peekByte() === 254; } @@ -11567,6 +12041,7 @@ var require_packet = __commonJS({ this.buffer[this.offset] = 251; this.offset++; } + // TODO: refactor following three? writeNullTerminatedString(s2, encoding) { const buf = StringParser.encode(s2, encoding); this.buffer.length && buf.copy(this.buffer, this.offset); @@ -11653,7 +12128,7 @@ var require_packet = __commonJS({ this.offset = offset; } clone() { - return new Packet(this.sequenceId, this.buffer, this.start, this.end); + return new _Packet(this.sequenceId, this.buffer, this.start, this.end); } type() { if (this.isEOF()) { @@ -11682,11 +12157,11 @@ var require_packet = __commonJS({ static lengthCodedStringLength(str, encoding) { const buf = StringParser.encode(str, encoding); const slen = buf.length; - return Packet.lengthCodedNumberLength(slen) + slen; + return _Packet.lengthCodedNumberLength(slen) + slen; } static MockBuffer() { - const noop2 = function() { - }; + const noop2 = /* @__PURE__ */ __name(function() { + }, "noop"); const res = Buffer.alloc(0); for (const op in NativeBuffer.prototype) { if (typeof res[op] === "function") { @@ -11696,13 +12171,15 @@ var require_packet = __commonJS({ return res; } }; + __name(_Packet, "Packet"); + var Packet = _Packet; module2.exports = Packet; } }); // node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/packet_parser.js var require_packet_parser = __commonJS({ - "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/packet_parser.js"(exports, module2) { + "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/packet_parser.js"(exports2, module2) { "use strict"; var Packet = require_packet(); var MAX_PACKET_LENGTH = 16777215; @@ -11715,7 +12192,8 @@ var require_packet_parser = __commonJS({ } return b0 + (b1 << 8) + (b2 << 16); } - var PacketParser = class { + __name(readPacketLength, "readPacketLength"); + var _PacketParser = class _PacketParser { constructor(onPacket, packetHeaderLength) { if (typeof packetHeaderLength === "undefined") { packetHeaderLength = 4; @@ -11728,7 +12206,7 @@ var require_packet_parser = __commonJS({ this.largePacketParts = []; this.firstPacketSequenceId = 0; this.onPacket = onPacket; - this.execute = PacketParser.prototype.executeStart; + this.execute = _PacketParser.prototype.executeStart; this._flushLargePacket = packetHeaderLength === 7 ? this._flushLargePacket7 : this._flushLargePacket4; } _flushLargePacket4() { @@ -11783,7 +12261,7 @@ var require_packet_parser = __commonJS({ } else { this.buffer = [chunk.slice(start + 3, end)]; this.bufferLength = end - start - 3; - this.execute = PacketParser.prototype.executePayload; + this.execute = _PacketParser.prototype.executePayload; return; } } @@ -11792,9 +12270,9 @@ var require_packet_parser = __commonJS({ this.length = chunk[start]; if (this.headerLen === 2) { this.length = chunk[start] + (chunk[start + 1] << 8); - this.execute = PacketParser.prototype.executeHeader3; + this.execute = _PacketParser.prototype.executeHeader3; } else { - this.execute = PacketParser.prototype.executeHeader2; + this.execute = _PacketParser.prototype.executeHeader2; } } } @@ -11836,7 +12314,7 @@ var require_packet_parser = __commonJS({ } this.buffer = []; this.bufferLength = 0; - this.execute = PacketParser.prototype.executeStart; + this.execute = _PacketParser.prototype.executeStart; start += remainingPayload; if (end - start > 0) { return this.execute(chunk.slice(start, end)); @@ -11851,28 +12329,30 @@ var require_packet_parser = __commonJS({ this.length += chunk[0] << 8; if (chunk.length > 1) { this.length += chunk[1] << 16; - this.execute = PacketParser.prototype.executePayload; + this.execute = _PacketParser.prototype.executePayload; return this.executePayload(chunk.slice(2)); } - this.execute = PacketParser.prototype.executeHeader3; + this.execute = _PacketParser.prototype.executeHeader3; return null; } executeHeader3(chunk) { this.length += chunk[0] << 16; - this.execute = PacketParser.prototype.executePayload; + this.execute = _PacketParser.prototype.executePayload; return this.executePayload(chunk.slice(1)); } }; + __name(_PacketParser, "PacketParser"); + var PacketParser = _PacketParser; module2.exports = PacketParser; } }); // node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/packets/auth_next_factor.js var require_auth_next_factor = __commonJS({ - "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/packets/auth_next_factor.js"(exports, module2) { + "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/packets/auth_next_factor.js"(exports2, module2) { "use strict"; var Packet = require_packet(); - var AuthNextFactor = class { + var _AuthNextFactor = class _AuthNextFactor { constructor(opts) { this.pluginName = opts.pluginName; this.pluginData = opts.pluginData; @@ -11891,22 +12371,24 @@ var require_auth_next_factor = __commonJS({ packet.readInt8(); const name = packet.readNullTerminatedString(encoding); const data = packet.readBuffer(); - return new AuthNextFactor({ + return new _AuthNextFactor({ pluginName: name, pluginData: data }); } }; + __name(_AuthNextFactor, "AuthNextFactor"); + var AuthNextFactor = _AuthNextFactor; module2.exports = AuthNextFactor; } }); // node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/packets/auth_switch_request.js var require_auth_switch_request = __commonJS({ - "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/packets/auth_switch_request.js"(exports, module2) { + "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/packets/auth_switch_request.js"(exports2, module2) { "use strict"; var Packet = require_packet(); - var AuthSwitchRequest = class { + var _AuthSwitchRequest = class _AuthSwitchRequest { constructor(opts) { this.pluginName = opts.pluginName; this.pluginData = opts.pluginData; @@ -11925,22 +12407,24 @@ var require_auth_switch_request = __commonJS({ packet.readInt8(); const name = packet.readNullTerminatedString("cesu8"); const data = packet.readBuffer(); - return new AuthSwitchRequest({ + return new _AuthSwitchRequest({ pluginName: name, pluginData: data }); } }; + __name(_AuthSwitchRequest, "AuthSwitchRequest"); + var AuthSwitchRequest = _AuthSwitchRequest; module2.exports = AuthSwitchRequest; } }); // node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/packets/auth_switch_request_more_data.js var require_auth_switch_request_more_data = __commonJS({ - "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/packets/auth_switch_request_more_data.js"(exports, module2) { + "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/packets/auth_switch_request_more_data.js"(exports2, module2) { "use strict"; var Packet = require_packet(); - var AuthSwitchRequestMoreData = class { + var _AuthSwitchRequestMoreData = class _AuthSwitchRequestMoreData { constructor(data) { this.data = data; } @@ -11956,22 +12440,24 @@ var require_auth_switch_request_more_data = __commonJS({ static fromPacket(packet) { packet.readInt8(); const data = packet.readBuffer(); - return new AuthSwitchRequestMoreData(data); + return new _AuthSwitchRequestMoreData(data); } static verifyMarker(packet) { return packet.peekByte() === 1; } }; + __name(_AuthSwitchRequestMoreData, "AuthSwitchRequestMoreData"); + var AuthSwitchRequestMoreData = _AuthSwitchRequestMoreData; module2.exports = AuthSwitchRequestMoreData; } }); // node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/packets/auth_switch_response.js var require_auth_switch_response = __commonJS({ - "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/packets/auth_switch_response.js"(exports, module2) { + "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/packets/auth_switch_response.js"(exports2, module2) { "use strict"; var Packet = require_packet(); - var AuthSwitchResponse = class { + var _AuthSwitchResponse = class _AuthSwitchResponse { constructor(data) { if (!Buffer.isBuffer(data)) { data = Buffer.from(data); @@ -11988,46 +12474,75 @@ var require_auth_switch_response = __commonJS({ } static fromPacket(packet) { const data = packet.readBuffer(); - return new AuthSwitchResponse(data); + return new _AuthSwitchResponse(data); } }; + __name(_AuthSwitchResponse, "AuthSwitchResponse"); + var AuthSwitchResponse = _AuthSwitchResponse; module2.exports = AuthSwitchResponse; } }); // node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/constants/types.js var require_types = __commonJS({ - "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/constants/types.js"(exports, module2) { + "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/constants/types.js"(exports2, module2) { "use strict"; module2.exports = { 0: "DECIMAL", + // aka DECIMAL 1: "TINY", + // aka TINYINT, 1 byte 2: "SHORT", + // aka SMALLINT, 2 bytes 3: "LONG", + // aka INT, 4 bytes 4: "FLOAT", + // aka FLOAT, 4-8 bytes 5: "DOUBLE", + // aka DOUBLE, 8 bytes 6: "NULL", + // NULL (used for prepared statements, I think) 7: "TIMESTAMP", + // aka TIMESTAMP 8: "LONGLONG", + // aka BIGINT, 8 bytes 9: "INT24", + // aka MEDIUMINT, 3 bytes 10: "DATE", + // aka DATE 11: "TIME", + // aka TIME 12: "DATETIME", + // aka DATETIME 13: "YEAR", + // aka YEAR, 1 byte (don't ask) 14: "NEWDATE", + // aka ? 15: "VARCHAR", + // aka VARCHAR (?) 16: "BIT", + // aka BIT, 1-8 byte 245: "JSON", 246: "NEWDECIMAL", + // aka DECIMAL 247: "ENUM", + // aka ENUM 248: "SET", + // aka SET 249: "TINY_BLOB", + // aka TINYBLOB, TINYTEXT 250: "MEDIUM_BLOB", + // aka MEDIUMBLOB, MEDIUMTEXT 251: "LONG_BLOB", + // aka LONGBLOG, LONGTEXT 252: "BLOB", + // aka BLOB, TEXT 253: "VAR_STRING", + // aka VARCHAR, VARBINARY 254: "STRING", + // aka CHAR, BINARY 255: "GEOMETRY" + // aka GEOMETRY }; module2.exports.DECIMAL = 0; module2.exports.TINY = 1; @@ -12062,12 +12577,12 @@ var require_types = __commonJS({ // node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/packets/binary_row.js var require_binary_row = __commonJS({ - "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/packets/binary_row.js"(exports, module2) { + "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/packets/binary_row.js"(exports2, module2) { "use strict"; var Types = require_types(); var Packet = require_packet(); var binaryReader = new Array(256); - var BinaryRow = class { + var _BinaryRow = class _BinaryRow { constructor(columns) { this.columns = columns || []; } @@ -12115,6 +12630,7 @@ var require_binary_row = __commonJS({ }); return packet; } + // TODO: complete list of types... static fromPacket(fields, packet) { const columns = new Array(fields.length); packet.readInt8(); @@ -12123,9 +12639,11 @@ var require_binary_row = __commonJS({ for (let i2 = 0; i2 < columns.length; ++i2) { columns[i2] = binaryReader[fields[i2].columnType].apply(packet); } - return new BinaryRow(columns); + return new _BinaryRow(columns); } }; + __name(_BinaryRow, "BinaryRow"); + var BinaryRow = _BinaryRow; binaryReader[Types.DECIMAL] = Packet.prototype.readLengthCodedString; binaryReader[1] = Packet.prototype.readInt8; binaryReader[2] = Packet.prototype.readInt16; @@ -12147,10 +12665,11 @@ var require_binary_row = __commonJS({ // node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/constants/commands.js var require_commands = __commonJS({ - "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/constants/commands.js"(exports, module2) { + "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/constants/commands.js"(exports2, module2) { "use strict"; module2.exports = { SLEEP: 0, + // deprecated QUIT: 1, INIT_DB: 2, QUERY: 3, @@ -12161,12 +12680,16 @@ var require_commands = __commonJS({ SHUTDOWN: 8, STATISTICS: 9, PROCESS_INFO: 10, + // deprecated CONNECT: 11, + // deprecated PROCESS_KILL: 12, DEBUG: 13, PING: 14, TIME: 15, + // deprecated DELAYED_INSERT: 16, + // deprecated CHANGE_USER: 17, BINLOG_DUMP: 18, TABLE_DUMP: 19, @@ -12180,19 +12703,21 @@ var require_commands = __commonJS({ SET_OPTION: 27, STMT_FETCH: 28, DAEMON: 29, + // deprecated BINLOG_DUMP_GTID: 30, UNKNOWN: 255 + // bad! }; } }); // node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/packets/binlog_dump.js var require_binlog_dump = __commonJS({ - "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/packets/binlog_dump.js"(exports, module2) { + "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/packets/binlog_dump.js"(exports2, module2) { "use strict"; var Packet = require_packet(); var CommandCodes = require_commands(); - var BinlogDump = class { + var _BinlogDump = class _BinlogDump { constructor(opts) { this.binlogPos = opts.binlogPos || 0; this.serverId = opts.serverId || 0; @@ -12212,48 +12737,50 @@ var require_binlog_dump = __commonJS({ return packet; } }; + __name(_BinlogDump, "BinlogDump"); + var BinlogDump = _BinlogDump; module2.exports = BinlogDump; } }); // node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/constants/client.js var require_client = __commonJS({ - "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/constants/client.js"(exports) { + "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/constants/client.js"(exports2) { "use strict"; - exports.LONG_PASSWORD = 1; - exports.FOUND_ROWS = 2; - exports.LONG_FLAG = 4; - exports.CONNECT_WITH_DB = 8; - exports.NO_SCHEMA = 16; - exports.COMPRESS = 32; - exports.ODBC = 64; - exports.LOCAL_FILES = 128; - exports.IGNORE_SPACE = 256; - exports.PROTOCOL_41 = 512; - exports.INTERACTIVE = 1024; - exports.SSL = 2048; - exports.IGNORE_SIGPIPE = 4096; - exports.TRANSACTIONS = 8192; - exports.RESERVED = 16384; - exports.SECURE_CONNECTION = 32768; - exports.MULTI_STATEMENTS = 65536; - exports.MULTI_RESULTS = 131072; - exports.PS_MULTI_RESULTS = 262144; - exports.PLUGIN_AUTH = 524288; - exports.CONNECT_ATTRS = 1048576; - exports.PLUGIN_AUTH_LENENC_CLIENT_DATA = 2097152; - exports.CAN_HANDLE_EXPIRED_PASSWORDS = 4194304; - exports.SESSION_TRACK = 8388608; - exports.DEPRECATE_EOF = 16777216; - exports.SSL_VERIFY_SERVER_CERT = 1073741824; - exports.REMEMBER_OPTIONS = 2147483648; - exports.MULTI_FACTOR_AUTHENTICATION = 268435456; + exports2.LONG_PASSWORD = 1; + exports2.FOUND_ROWS = 2; + exports2.LONG_FLAG = 4; + exports2.CONNECT_WITH_DB = 8; + exports2.NO_SCHEMA = 16; + exports2.COMPRESS = 32; + exports2.ODBC = 64; + exports2.LOCAL_FILES = 128; + exports2.IGNORE_SPACE = 256; + exports2.PROTOCOL_41 = 512; + exports2.INTERACTIVE = 1024; + exports2.SSL = 2048; + exports2.IGNORE_SIGPIPE = 4096; + exports2.TRANSACTIONS = 8192; + exports2.RESERVED = 16384; + exports2.SECURE_CONNECTION = 32768; + exports2.MULTI_STATEMENTS = 65536; + exports2.MULTI_RESULTS = 131072; + exports2.PS_MULTI_RESULTS = 262144; + exports2.PLUGIN_AUTH = 524288; + exports2.CONNECT_ATTRS = 1048576; + exports2.PLUGIN_AUTH_LENENC_CLIENT_DATA = 2097152; + exports2.CAN_HANDLE_EXPIRED_PASSWORDS = 4194304; + exports2.SESSION_TRACK = 8388608; + exports2.DEPRECATE_EOF = 16777216; + exports2.SSL_VERIFY_SERVER_CERT = 1073741824; + exports2.REMEMBER_OPTIONS = 2147483648; + exports2.MULTI_FACTOR_AUTHENTICATION = 268435456; } }); // node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/auth_41.js var require_auth_41 = __commonJS({ - "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/auth_41.js"(exports) { + "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/auth_41.js"(exports2) { "use strict"; var crypto = require("crypto"); function sha1(msg, msg1, msg2) { @@ -12267,6 +12794,7 @@ var require_auth_41 = __commonJS({ } return hash.digest(); } + __name(sha1, "sha1"); function xor(a, b) { const result = Buffer.allocUnsafe(a.length); for (let i2 = 0; i2 < a.length; i2++) { @@ -12274,28 +12802,30 @@ var require_auth_41 = __commonJS({ } return result; } - exports.xor = xor; + __name(xor, "xor"); + exports2.xor = xor; function token(password, scramble1, scramble2) { if (!password) { return Buffer.alloc(0); } const stage1 = sha1(password); - return exports.calculateTokenFromPasswordSha(stage1, scramble1, scramble2); + return exports2.calculateTokenFromPasswordSha(stage1, scramble1, scramble2); } - exports.calculateTokenFromPasswordSha = function(passwordSha, scramble1, scramble2) { + __name(token, "token"); + exports2.calculateTokenFromPasswordSha = function(passwordSha, scramble1, scramble2) { const authPluginData1 = scramble1.slice(0, 8); const authPluginData2 = scramble2.slice(0, 12); const stage2 = sha1(passwordSha); const stage3 = sha1(authPluginData1, authPluginData2, stage2); return xor(stage3, passwordSha); }; - exports.calculateToken = token; - exports.verifyToken = function(publicSeed1, publicSeed2, token2, doubleSha) { + exports2.calculateToken = token; + exports2.verifyToken = function(publicSeed1, publicSeed2, token2, doubleSha) { const hashStage1 = xor(token2, sha1(publicSeed1, publicSeed2, doubleSha)); const candidateHash2 = sha1(hashStage1); return candidateHash2.compare(doubleSha) === 0; }; - exports.doubleSha1 = function(password) { + exports2.doubleSha1 = function(password) { return sha1(sha1(password)); }; function xorRotating(a, seed) { @@ -12306,13 +12836,14 @@ var require_auth_41 = __commonJS({ } return result; } - exports.xorRotating = xorRotating; + __name(xorRotating, "xorRotating"); + exports2.xorRotating = xorRotating; } }); // node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/constants/charset_encodings.js var require_charset_encodings = __commonJS({ - "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/constants/charset_encodings.js"(exports, module2) { + "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/constants/charset_encodings.js"(exports2, module2) { "use strict"; module2.exports = [ "utf8", @@ -12630,14 +13161,14 @@ var require_charset_encodings = __commonJS({ // node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/packets/change_user.js var require_change_user = __commonJS({ - "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/packets/change_user.js"(exports, module2) { + "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/packets/change_user.js"(exports2, module2) { "use strict"; var CommandCode = require_commands(); var ClientConstants = require_client(); var Packet = require_packet(); var auth41 = require_auth_41(); var CharsetToEncoding = require_charset_encodings(); - var ChangeUser = class { + var _ChangeUser = class _ChangeUser { constructor(opts) { this.flags = opts.flags; this.user = opts.user || ""; @@ -12664,8 +13195,11 @@ var require_change_user = __commonJS({ this.authToken = authToken; this.charsetNumber = opts.charsetNumber; } + // TODO + // ChangeUser.fromPacket = function(packet) + // }; serializeToBuffer(buffer) { - const isSet = (flag) => this.flags & ClientConstants[flag]; + const isSet = /* @__PURE__ */ __name((flag) => this.flags & ClientConstants[flag], "isSet"); const packet = new Packet(0, buffer, 0, buffer.length); packet.offset = 4; const encoding = CharsetToEncoding[this.charsetNumber]; @@ -12716,20 +13250,23 @@ var require_change_user = __commonJS({ return this.serializeToBuffer(Buffer.allocUnsafe(p.offset)); } }; + __name(_ChangeUser, "ChangeUser"); + var ChangeUser = _ChangeUser; module2.exports = ChangeUser; } }); // node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/packets/close_statement.js var require_close_statement = __commonJS({ - "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/packets/close_statement.js"(exports, module2) { + "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/packets/close_statement.js"(exports2, module2) { "use strict"; var Packet = require_packet(); var CommandCodes = require_commands(); - var CloseStatement = class { + var _CloseStatement = class _CloseStatement { constructor(id) { this.id = id; } + // note: no response sent back toPacket() { const packet = new Packet(0, Buffer.allocUnsafe(9), 0, 9); packet.offset = 4; @@ -12738,41 +13275,43 @@ var require_close_statement = __commonJS({ return packet; } }; + __name(_CloseStatement, "CloseStatement"); + var CloseStatement = _CloseStatement; module2.exports = CloseStatement; } }); // node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/constants/field_flags.js var require_field_flags = __commonJS({ - "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/constants/field_flags.js"(exports) { + "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/constants/field_flags.js"(exports2) { "use strict"; - exports.NOT_NULL = 1; - exports.PRI_KEY = 2; - exports.UNIQUE_KEY = 4; - exports.MULTIPLE_KEY = 8; - exports.BLOB = 16; - exports.UNSIGNED = 32; - exports.ZEROFILL = 64; - exports.BINARY = 128; - exports.ENUM = 256; - exports.AUTO_INCREMENT = 512; - exports.TIMESTAMP = 1024; - exports.SET = 2048; - exports.NO_DEFAULT_VALUE = 4096; - exports.ON_UPDATE_NOW = 8192; - exports.NUM = 32768; + exports2.NOT_NULL = 1; + exports2.PRI_KEY = 2; + exports2.UNIQUE_KEY = 4; + exports2.MULTIPLE_KEY = 8; + exports2.BLOB = 16; + exports2.UNSIGNED = 32; + exports2.ZEROFILL = 64; + exports2.BINARY = 128; + exports2.ENUM = 256; + exports2.AUTO_INCREMENT = 512; + exports2.TIMESTAMP = 1024; + exports2.SET = 2048; + exports2.NO_DEFAULT_VALUE = 4096; + exports2.ON_UPDATE_NOW = 8192; + exports2.NUM = 32768; } }); // node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/packets/column_definition.js var require_column_definition = __commonJS({ - "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/packets/column_definition.js"(exports, module2) { + "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/packets/column_definition.js"(exports2, module2) { "use strict"; var Packet = require_packet(); var StringParser = require_string(); var CharsetToEncoding = require_charset_encodings(); var fields = ["catalog", "schema", "table", "orgTable", "name", "orgName"]; - var ColumnDefinition = class { + var _ColumnDefinition = class _ColumnDefinition { constructor(packet, clientEncoding) { this._buf = packet.buffer; this._clientEncoding = clientEncoding; @@ -12960,6 +13499,7 @@ var require_column_definition = __commonJS({ CharsetToEncoding[column.characterSet] ); } + __name(writeField, "writeField"); packet.offset = 4; fields.forEach(writeField); packet.writeInt8(12); @@ -12971,11 +13511,14 @@ var require_column_definition = __commonJS({ packet.writeInt16(0); return packet; } + // node-mysql compatibility: alias "db" to "schema" get db() { return this.schema; } }; - var addString = function(name) { + __name(_ColumnDefinition, "ColumnDefinition"); + var ColumnDefinition = _ColumnDefinition; + var addString = /* @__PURE__ */ __name(function(name) { Object.defineProperty(ColumnDefinition.prototype, name, { get: function() { const start = this[`_${name}Start`]; @@ -12995,7 +13538,7 @@ var require_column_definition = __commonJS({ return val; } }); - }; + }, "addString"); addString("catalog"); addString("schema"); addString("table"); @@ -13007,7 +13550,7 @@ var require_column_definition = __commonJS({ // node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/constants/cursor.js var require_cursor = __commonJS({ - "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/constants/cursor.js"(exports, module2) { + "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/constants/cursor.js"(exports2, module2) { "use strict"; module2.exports = { NO_CURSOR: 0, @@ -13020,7 +13563,7 @@ var require_cursor = __commonJS({ // node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/packets/execute.js var require_execute = __commonJS({ - "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/packets/execute.js"(exports, module2) { + "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/packets/execute.js"(exports2, module2) { "use strict"; var CursorType = require_cursor(); var CommandCodes = require_commands(); @@ -13030,12 +13573,13 @@ var require_execute = __commonJS({ function isJSON(value) { return Array.isArray(value) || value.constructor === Object || typeof value.toJSON === "function" && !Buffer.isBuffer(value); } + __name(isJSON, "isJSON"); function toParameter(value, encoding, timezone) { let type = Types.VAR_STRING; let length; - let writer = function(value2) { + let writer = /* @__PURE__ */ __name(function(value2) { return Packet.prototype.writeLengthCodedString.call(this, value2, encoding); - }; + }, "writer"); if (value !== null) { switch (typeof value) { case "undefined": @@ -13057,9 +13601,9 @@ var require_execute = __commonJS({ if (Object.prototype.toString.call(value) === "[object Date]") { type = Types.DATETIME; length = 12; - writer = function(value2) { + writer = /* @__PURE__ */ __name(function(value2) { return Packet.prototype.writeDate.call(this, value2, timezone); - }; + }, "writer"); } else if (isJSON(value)) { value = JSON.stringify(value); type = Types.JSON; @@ -13080,7 +13624,8 @@ var require_execute = __commonJS({ } return { value, type, length, writer }; } - var Execute = class { + __name(toParameter, "toParameter"); + var _Execute = class _Execute { constructor(id, parameters, charsetNumber, timezone) { this.id = id; this.parameters = parameters; @@ -13180,17 +13725,19 @@ var require_execute = __commonJS({ return packet; } }; + __name(_Execute, "Execute"); + var Execute = _Execute; module2.exports = Execute; } }); // node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/packets/handshake.js var require_handshake = __commonJS({ - "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/packets/handshake.js"(exports, module2) { + "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/packets/handshake.js"(exports2, module2) { "use strict"; var Packet = require_packet(); var ClientConstants = require_client(); - var Handshake = class { + var _Handshake = class _Handshake { constructor(args) { this.protocolVersion = args.protocolVersion; this.serverVersion = args.serverVersion; @@ -13279,22 +13826,24 @@ var require_handshake = __commonJS({ if (args.capabilityFlags & ClientConstants.PLUGIN_AUTH) { args.autPluginName = packet.readNullTerminatedString("ascii"); } - return new Handshake(args); + return new _Handshake(args); } }; + __name(_Handshake, "Handshake"); + var Handshake = _Handshake; module2.exports = Handshake; } }); // node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/packets/handshake_response.js var require_handshake_response = __commonJS({ - "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/packets/handshake_response.js"(exports, module2) { + "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/packets/handshake_response.js"(exports2, module2) { "use strict"; var ClientConstants = require_client(); var CharsetToEncoding = require_charset_encodings(); var Packet = require_packet(); var auth41 = require_auth_41(); - var HandshakeResponse = class { + var _HandshakeResponse = class _HandshakeResponse { constructor(handshake) { this.user = handshake.user || ""; this.database = handshake.database || ""; @@ -13324,7 +13873,7 @@ var require_handshake_response = __commonJS({ this.connectAttributes = handshake.connectAttributes; } serializeResponse(buffer) { - const isSet = (flag) => this.clientFlags & ClientConstants[flag]; + const isSet = /* @__PURE__ */ __name((flag) => this.clientFlags & ClientConstants[flag], "isSet"); const packet = new Packet(0, buffer, 0, buffer.length); packet.offset = 4; packet.writeInt32(this.clientFlags); @@ -13388,6 +13937,7 @@ var require_handshake_response = __commonJS({ function isSet(flag) { return args.clientFlags & ClientConstants[flag]; } + __name(isSet, "isSet"); args.maxPacketSize = packet.readInt32(); args.charsetNumber = packet.readInt8(); const encoding = CharsetToEncoding[args.charsetNumber]; @@ -13422,19 +13972,21 @@ var require_handshake_response = __commonJS({ return args; } }; + __name(_HandshakeResponse, "HandshakeResponse"); + var HandshakeResponse = _HandshakeResponse; module2.exports = HandshakeResponse; } }); // node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/packets/prepare_statement.js var require_prepare_statement = __commonJS({ - "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/packets/prepare_statement.js"(exports, module2) { + "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/packets/prepare_statement.js"(exports2, module2) { "use strict"; var Packet = require_packet(); var CommandCodes = require_commands(); var StringParser = require_string(); var CharsetToEncoding = require_charset_encodings(); - var PrepareStatement = class { + var _PrepareStatement = class _PrepareStatement { constructor(sql, charsetNumber) { this.query = sql; this.charsetNumber = charsetNumber; @@ -13451,15 +14003,17 @@ var require_prepare_statement = __commonJS({ return packet; } }; + __name(_PrepareStatement, "PrepareStatement"); + var PrepareStatement = _PrepareStatement; module2.exports = PrepareStatement; } }); // node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/packets/prepared_statement_header.js var require_prepared_statement_header = __commonJS({ - "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/packets/prepared_statement_header.js"(exports, module2) { + "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/packets/prepared_statement_header.js"(exports2, module2) { "use strict"; - var PreparedStatementHeader = class { + var _PreparedStatementHeader = class _PreparedStatementHeader { constructor(packet) { packet.skip(1); this.id = packet.readInt32(); @@ -13469,19 +14023,21 @@ var require_prepared_statement_header = __commonJS({ this.warningCount = packet.readInt16(); } }; + __name(_PreparedStatementHeader, "PreparedStatementHeader"); + var PreparedStatementHeader = _PreparedStatementHeader; module2.exports = PreparedStatementHeader; } }); // node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/packets/query.js var require_query = __commonJS({ - "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/packets/query.js"(exports, module2) { + "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/packets/query.js"(exports2, module2) { "use strict"; var Packet = require_packet(); var CommandCode = require_commands(); var StringParser = require_string(); var CharsetToEncoding = require_charset_encodings(); - var Query = class { + var _Query = class _Query { constructor(sql, charsetNumber) { this.query = sql; this.charsetNumber = charsetNumber; @@ -13498,17 +14054,19 @@ var require_query = __commonJS({ return packet; } }; + __name(_Query, "Query"); + var Query = _Query; module2.exports = Query; } }); // node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/packets/register_slave.js var require_register_slave = __commonJS({ - "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/packets/register_slave.js"(exports, module2) { + "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/packets/register_slave.js"(exports2, module2) { "use strict"; var Packet = require_packet(); var CommandCodes = require_commands(); - var RegisterSlave = class { + var _RegisterSlave = class _RegisterSlave { constructor(opts) { this.serverId = opts.serverId || 0; this.slaveHostname = opts.slaveHostname || ""; @@ -13519,7 +14077,8 @@ var require_register_slave = __commonJS({ this.masterId = opts.masterId || 0; } toPacket() { - const length = 15 + Buffer.byteLength(this.slaveHostname, "utf8") + Buffer.byteLength(this.slaveUser, "utf8") + Buffer.byteLength(this.slavePassword, "utf8") + 3 + 4; + const length = 15 + // TODO: should be ascii? + Buffer.byteLength(this.slaveHostname, "utf8") + Buffer.byteLength(this.slaveUser, "utf8") + Buffer.byteLength(this.slavePassword, "utf8") + 3 + 4; const buffer = Buffer.allocUnsafe(length); const packet = new Packet(0, buffer, 0, length); packet.offset = 4; @@ -13537,34 +14096,36 @@ var require_register_slave = __commonJS({ return packet; } }; + __name(_RegisterSlave, "RegisterSlave"); + var RegisterSlave = _RegisterSlave; module2.exports = RegisterSlave; } }); // node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/constants/server_status.js var require_server_status = __commonJS({ - "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/constants/server_status.js"(exports) { + "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/constants/server_status.js"(exports2) { "use strict"; - exports.SERVER_STATUS_IN_TRANS = 1; - exports.SERVER_STATUS_AUTOCOMMIT = 2; - exports.SERVER_MORE_RESULTS_EXISTS = 8; - exports.SERVER_QUERY_NO_GOOD_INDEX_USED = 16; - exports.SERVER_QUERY_NO_INDEX_USED = 32; - exports.SERVER_STATUS_CURSOR_EXISTS = 64; - exports.SERVER_STATUS_LAST_ROW_SENT = 128; - exports.SERVER_STATUS_DB_DROPPED = 256; - exports.SERVER_STATUS_NO_BACKSLASH_ESCAPES = 512; - exports.SERVER_STATUS_METADATA_CHANGED = 1024; - exports.SERVER_QUERY_WAS_SLOW = 2048; - exports.SERVER_PS_OUT_PARAMS = 4096; - exports.SERVER_STATUS_IN_TRANS_READONLY = 8192; - exports.SERVER_SESSION_STATE_CHANGED = 16384; + exports2.SERVER_STATUS_IN_TRANS = 1; + exports2.SERVER_STATUS_AUTOCOMMIT = 2; + exports2.SERVER_MORE_RESULTS_EXISTS = 8; + exports2.SERVER_QUERY_NO_GOOD_INDEX_USED = 16; + exports2.SERVER_QUERY_NO_INDEX_USED = 32; + exports2.SERVER_STATUS_CURSOR_EXISTS = 64; + exports2.SERVER_STATUS_LAST_ROW_SENT = 128; + exports2.SERVER_STATUS_DB_DROPPED = 256; + exports2.SERVER_STATUS_NO_BACKSLASH_ESCAPES = 512; + exports2.SERVER_STATUS_METADATA_CHANGED = 1024; + exports2.SERVER_QUERY_WAS_SLOW = 2048; + exports2.SERVER_PS_OUT_PARAMS = 4096; + exports2.SERVER_STATUS_IN_TRANS_READONLY = 8192; + exports2.SERVER_SESSION_STATE_CHANGED = 16384; } }); // node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/constants/encoding_charset.js var require_encoding_charset = __commonJS({ - "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/constants/encoding_charset.js"(exports, module2) { + "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/constants/encoding_charset.js"(exports2, module2) { "use strict"; module2.exports = { big5: 1, @@ -13615,36 +14176,36 @@ var require_encoding_charset = __commonJS({ // node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/constants/session_track.js var require_session_track = __commonJS({ - "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/constants/session_track.js"(exports) { + "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/constants/session_track.js"(exports2) { "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; + exports2.SYSTEM_VARIABLES = 0; + exports2.SCHEMA = 1; + exports2.STATE_CHANGE = 2; + exports2.STATE_GTIDS = 3; + exports2.TRANSACTION_CHARACTERISTICS = 4; + exports2.TRANSACTION_STATE = 5; + exports2.FIRST_KEY = exports2.SYSTEM_VARIABLES; + exports2.LAST_KEY = exports2.TRANSACTION_STATE; } }); // node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/packets/resultset_header.js var require_resultset_header = __commonJS({ - "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/packets/resultset_header.js"(exports, module2) { + "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/packets/resultset_header.js"(exports2, module2) { "use strict"; var Packet = require_packet(); var ClientConstants = require_client(); var ServerSatusFlags = require_server_status(); var EncodingToCharset = require_encoding_charset(); var sessionInfoTypes = require_session_track(); - var ResultSetHeader = class { + var _ResultSetHeader = class _ResultSetHeader { constructor(packet, connection) { const bigNumberStrings = connection.config.bigNumberStrings; const encoding = connection.serverEncoding; const flags = connection._handshakePacket.capabilityFlags; - const isSet = function(flag) { + const isSet = /* @__PURE__ */ __name(function(flag) { return flags & ClientConstants[flag]; - }; + }, "isSet"); if (packet.buffer[packet.offset] !== 0) { this.fieldCount = packet.readLengthCodedNumber(); if (this.fieldCount === null) { @@ -13718,6 +14279,7 @@ var require_resultset_header = __commonJS({ this.changedRows = 0; } } + // TODO: should be consistent instance member, but it's just easier here to have just function static toPacket(fieldCount, insertId) { let length = 4 + Packet.lengthCodedNumberLength(fieldCount); if (typeof insertId !== "undefined") { @@ -13733,17 +14295,19 @@ var require_resultset_header = __commonJS({ return packet; } }; + __name(_ResultSetHeader, "ResultSetHeader"); + var ResultSetHeader = _ResultSetHeader; module2.exports = ResultSetHeader; } }); // node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/packets/ssl_request.js var require_ssl_request = __commonJS({ - "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/packets/ssl_request.js"(exports, module2) { + "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/packets/ssl_request.js"(exports2, module2) { "use strict"; var ClientConstants = require_client(); var Packet = require_packet(); - var SSLRequest = class { + var _SSLRequest = class _SSLRequest { constructor(flags, charset) { this.clientFlags = flags | ClientConstants.SSL; this.charset = charset; @@ -13760,16 +14324,18 @@ var require_ssl_request = __commonJS({ return packet; } }; + __name(_SSLRequest, "SSLRequest"); + var SSLRequest = _SSLRequest; module2.exports = SSLRequest; } }); // node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/packets/text_row.js var require_text_row = __commonJS({ - "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/packets/text_row.js"(exports, module2) { + "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/packets/text_row.js"(exports2, module2) { "use strict"; var Packet = require_packet(); - var TextRow = class { + var _TextRow = class _TextRow { constructor(columns) { this.columns = columns || []; } @@ -13778,7 +14344,7 @@ var require_text_row = __commonJS({ while (packet.haveMoreData()) { columns.push(packet.readLengthCodedString()); } - return new TextRow(columns); + return new _TextRow(columns); } static toPacket(columns, encoding) { const sequenceId = 0; @@ -13807,13 +14373,15 @@ var require_text_row = __commonJS({ return packet; } }; + __name(_TextRow, "TextRow"); + var TextRow = _TextRow; module2.exports = TextRow; } }); // node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/packets/index.js var require_packets = __commonJS({ - "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/packets/index.js"(exports, module2) { + "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/packets/index.js"(exports2, module2) { "use strict"; var process2 = require("process"); var AuthNextFactor = require_auth_next_factor(); @@ -13870,8 +14438,8 @@ var require_packets = __commonJS({ } }); var Packet = require_packet(); - exports.Packet = Packet; - var OK = class { + exports2.Packet = Packet; + var _OK = class _OK { static toPacket(args, encoding) { args = args || {}; const affectedRows = args.affectedRows || 0; @@ -13894,8 +14462,10 @@ var require_packets = __commonJS({ return packet; } }; - exports.OK = OK; - var EOF = class { + __name(_OK, "OK"); + var OK = _OK; + exports2.OK = OK; + var _EOF = class _EOF { static toPacket(warnings, statusFlags) { if (typeof warnings === "undefined") { warnings = 0; @@ -13912,8 +14482,10 @@ var require_packets = __commonJS({ return packet; } }; - exports.EOF = EOF; - var Error2 = class { + __name(_EOF, "EOF"); + var EOF = _EOF; + exports2.EOF = EOF; + var _Error = class _Error { static toPacket(args, encoding) { const length = 13 + Buffer.byteLength(args.message, "utf8"); const packet = new Packet(0, Buffer.allocUnsafe(length), 0, length); @@ -13931,27 +14503,30 @@ var require_packets = __commonJS({ packet.readString(1, "ascii"); packet.readString(5, "ascii"); const message = packet.readNullTerminatedString("utf8"); - const error = new Error2(); + const error = new _Error(); error.message = message; error.code = code; return error; } }; - exports.Error = Error2; + __name(_Error, "Error"); + var Error2 = _Error; + exports2.Error = Error2; } }); // node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/commands/command.js var require_command = __commonJS({ - "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/commands/command.js"(exports, module2) { + "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/commands/command.js"(exports2, module2) { "use strict"; var EventEmitter = require("events").EventEmitter; var Timers = require("timers"); - var Command = class extends EventEmitter { + var _Command = class _Command extends EventEmitter { constructor() { super(); this.next = null; } + // slow. debug only stateName() { const state = this.next; for (const i2 in this) { @@ -13990,13 +14565,15 @@ var require_command = __commonJS({ return true; } }; + __name(_Command, "Command"); + var Command = _Command; module2.exports = Command; } }); // node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/auth_plugins/sha256_password.js var require_sha256_password = __commonJS({ - "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/auth_plugins/sha256_password.js"(exports, module2) { + "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/auth_plugins/sha256_password.js"(exports2, module2) { "use strict"; var PLUGIN_NAME = "sha256_password"; var crypto = require("crypto"); @@ -14012,15 +14589,16 @@ var require_sha256_password = __commonJS({ ); return crypto.publicEncrypt(key, stage1); } + __name(encrypt, "encrypt"); module2.exports = (pluginOptions = {}) => ({ connection }) => { let state = 0; let scramble = null; const password = connection.config.password; - const authWithKey = (serverKey) => { + const authWithKey = /* @__PURE__ */ __name((serverKey) => { const _password = encrypt(password, scramble, serverKey); state = STATE_FINAL; return _password; - }; + }, "authWithKey"); return (data) => { switch (state) { case STATE_INITIAL: @@ -14050,7 +14628,7 @@ var require_sha256_password = __commonJS({ // node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/auth_plugins/caching_sha2_password.js var require_caching_sha2_password = __commonJS({ - "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/auth_plugins/caching_sha2_password.js"(exports, module2) { + "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/auth_plugins/caching_sha2_password.js"(exports2, module2) { "use strict"; var PLUGIN_NAME = "caching_sha2_password"; var crypto = require("crypto"); @@ -14067,6 +14645,7 @@ var require_caching_sha2_password = __commonJS({ hash.update(msg); return hash.digest(); } + __name(sha256, "sha256"); function calculateToken(password, scramble) { if (!password) { return Buffer.alloc(0); @@ -14076,6 +14655,7 @@ var require_caching_sha2_password = __commonJS({ const stage3 = sha256(Buffer.concat([stage2, scramble])); return xor(stage1, stage3); } + __name(calculateToken, "calculateToken"); function encrypt(password, scramble, key) { const stage1 = xorRotating( Buffer.from(`${password}\0`, "utf8"), @@ -14083,15 +14663,16 @@ var require_caching_sha2_password = __commonJS({ ); return crypto.publicEncrypt(key, stage1); } + __name(encrypt, "encrypt"); module2.exports = (pluginOptions = {}) => ({ connection }) => { let state = 0; let scramble = null; const password = connection.config.password; - const authWithKey = (serverKey) => { + const authWithKey = /* @__PURE__ */ __name((serverKey) => { const _password = encrypt(password, scramble, serverKey); state = STATE_FINAL; return _password; - }; + }, "authWithKey"); return (data) => { switch (state) { case STATE_INITIAL: @@ -14138,7 +14719,7 @@ var require_caching_sha2_password = __commonJS({ // node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/auth_plugins/mysql_native_password.js var require_mysql_native_password = __commonJS({ - "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/auth_plugins/mysql_native_password.js"(exports, module2) { + "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/auth_plugins/mysql_native_password.js"(exports2, module2) { "use strict"; var auth41 = require_auth_41(); module2.exports = (pluginOptions) => ({ connection, command }) => { @@ -14169,24 +14750,25 @@ var require_mysql_native_password = __commonJS({ // node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/auth_plugins/mysql_clear_password.js var require_mysql_clear_password = __commonJS({ - "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/auth_plugins/mysql_clear_password.js"(exports, module2) { + "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/auth_plugins/mysql_clear_password.js"(exports2, module2) { "use strict"; function bufferFromStr(str) { return Buffer.from(`${str}\0`); } - var create_mysql_clear_password_plugin = (pluginOptions) => function mysql_clear_password_plugin({ connection, command }) { + __name(bufferFromStr, "bufferFromStr"); + var create_mysql_clear_password_plugin = /* @__PURE__ */ __name((pluginOptions) => /* @__PURE__ */ __name(function mysql_clear_password_plugin({ connection, command }) { const password = command.password || pluginOptions.password || connection.config.password; return function() { return bufferFromStr(password); }; - }; + }, "mysql_clear_password_plugin"), "create_mysql_clear_password_plugin"); module2.exports = create_mysql_clear_password_plugin; } }); // node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/commands/auth_switch.js var require_auth_switch = __commonJS({ - "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/commands/auth_switch.js"(exports, module2) { + "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/commands/auth_switch.js"(exports2, module2) { "use strict"; var Packets = require_packets(); var sha256_password = require_sha256_password(); @@ -14204,11 +14786,13 @@ var require_auth_switch = __commonJS({ "WARNING! authSwitchHandler api is deprecated, please use new authPlugins api" ); } + __name(warnLegacyAuthSwitch, "warnLegacyAuthSwitch"); function authSwitchPluginError(error, command) { error.code = "AUTH_SWITCH_PLUGIN_ERROR"; error.fatal = true; command.emit("error", error); } + __name(authSwitchPluginError, "authSwitchPluginError"); function authSwitchRequest(packet, connection, command) { const { pluginName, pluginData } = Packets.AuthSwitchRequest.fromPacket( packet @@ -14242,6 +14826,7 @@ var require_auth_switch = __commonJS({ authSwitchPluginError(err, command); }); } + __name(authSwitchRequest, "authSwitchRequest"); function authSwitchRequestMoreData(packet, connection, command) { const { data } = Packets.AuthSwitchRequestMoreData.fromPacket(packet); if (connection.config.authSwitchHandler) { @@ -14268,6 +14853,7 @@ var require_auth_switch = __commonJS({ authSwitchPluginError(err, command); }); } + __name(authSwitchRequestMoreData, "authSwitchRequestMoreData"); module2.exports = { authSwitchRequest, authSwitchRequestMoreData @@ -14277,14 +14863,14 @@ var require_auth_switch = __commonJS({ // node_modules/.pnpm/seq-queue@0.0.5/node_modules/seq-queue/lib/seq-queue.js var require_seq_queue = __commonJS({ - "node_modules/.pnpm/seq-queue@0.0.5/node_modules/seq-queue/lib/seq-queue.js"(exports, module2) { + "node_modules/.pnpm/seq-queue@0.0.5/node_modules/seq-queue/lib/seq-queue.js"(exports2, module2) { var EventEmitter = require("events").EventEmitter; var util = require("util"); var DEFAULT_TIMEOUT = 3e3; var INIT_ID = 0; var EVENT_CLOSED = "closed"; var EVENT_DRAINED = "drained"; - var SeqQueue = function(timeout) { + var SeqQueue = /* @__PURE__ */ __name(function(timeout) { EventEmitter.call(this); if (timeout && timeout > 0) { this.timeout = timeout; @@ -14294,7 +14880,7 @@ var require_seq_queue = __commonJS({ this.status = SeqQueueManager.STATUS_IDLE; this.curId = INIT_ID; this.queue = []; - }; + }, "SeqQueue"); util.inherits(SeqQueue, EventEmitter); SeqQueue.prototype.push = function(fn, ontimeout, timeout) { if (this.status !== SeqQueueManager.STATUS_IDLE && this.status !== SeqQueueManager.STATUS_BUSY) { @@ -14391,14 +14977,14 @@ var require_seq_queue = __commonJS({ // node_modules/.pnpm/seq-queue@0.0.5/node_modules/seq-queue/index.js var require_seq_queue2 = __commonJS({ - "node_modules/.pnpm/seq-queue@0.0.5/node_modules/seq-queue/index.js"(exports, module2) { + "node_modules/.pnpm/seq-queue@0.0.5/node_modules/seq-queue/index.js"(exports2, module2) { module2.exports = require_seq_queue(); } }); // node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/compressed_protocol.js var require_compressed_protocol = __commonJS({ - "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/compressed_protocol.js"(exports, module2) { + "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/compressed_protocol.js"(exports2, module2) { "use strict"; var zlib2 = require("zlib"); var PacketParser = require_packet_parser(); @@ -14426,12 +15012,14 @@ var require_compressed_protocol = __commonJS({ }); } } + __name(handleCompressedPacket, "handleCompressedPacket"); function writeCompressed(buffer) { const MAX_COMPRESSED_LENGTH = 16777210; let start; if (buffer.length > MAX_COMPRESSED_LENGTH) { for (start = 0; start < buffer.length; start += MAX_COMPRESSED_LENGTH) { writeCompressed.call( + // eslint-disable-next-line no-invalid-this this, buffer.slice(start, start + MAX_COMPRESSED_LENGTH) ); @@ -14474,6 +15062,7 @@ var require_compressed_protocol = __commonJS({ })(connection.compressedSequenceId); connection._bumpCompressedSequenceId(1); } + __name(writeCompressed, "writeCompressed"); function enableCompression(connection) { connection._lastWrittenPacketId = 0; connection._lastReceivedPacketId = 0; @@ -14491,6 +15080,7 @@ var require_compressed_protocol = __commonJS({ connection.inflateQueue = seqqueue.createQueue(); connection.deflateQueue = seqqueue.createQueue(); } + __name(enableCompression, "enableCompression"); module2.exports = { enableCompression }; @@ -14499,7 +15089,7 @@ var require_compressed_protocol = __commonJS({ // node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/commands/client_handshake.js var require_client_handshake = __commonJS({ - "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/commands/client_handshake.js"(exports, module2) { + "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/commands/client_handshake.js"(exports2, module2) { "use strict"; var Command = require_command(); var Packets = require_packets(); @@ -14515,7 +15105,8 @@ var require_client_handshake = __commonJS({ } return res; } - var ClientHandshake = class extends Command { + __name(flagNames, "flagNames"); + var _ClientHandshake = class _ClientHandshake extends Command { constructor(clientFlags) { super(); this.handshake = null; @@ -14523,7 +15114,7 @@ var require_client_handshake = __commonJS({ this.authenticationFactor = 0; } start() { - return ClientHandshake.prototype.handshakeInit; + return _ClientHandshake.prototype.handshakeInit; } sendSSLRequest(connection) { const sslRequest = new Packets.SSLRequest( @@ -14627,7 +15218,7 @@ var require_client_handshake = __commonJS({ if (multiFactorAuthentication) { this.authenticationFactor = 1; } - return ClientHandshake.prototype.handshakeResult; + return _ClientHandshake.prototype.handshakeResult; } handshakeResult(packet, connection) { const marker = packet.peekByte(); @@ -14643,7 +15234,7 @@ var require_client_handshake = __commonJS({ } authSwitch.authSwitchRequest(packet, connection, this); } - return ClientHandshake.prototype.handshakeResult; + return _ClientHandshake.prototype.handshakeResult; } catch (err) { err.code = "AUTH_SWITCH_PLUGIN_ERROR"; err.fatal = true; @@ -14679,19 +15270,21 @@ var require_client_handshake = __commonJS({ return null; } }; + __name(_ClientHandshake, "ClientHandshake"); + var ClientHandshake = _ClientHandshake; module2.exports = ClientHandshake; } }); // node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/commands/server_handshake.js var require_server_handshake = __commonJS({ - "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/commands/server_handshake.js"(exports, module2) { + "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/commands/server_handshake.js"(exports2, module2) { "use strict"; var CommandCode = require_commands(); var Errors = require_errors(); var Command = require_command(); var Packets = require_packets(); - var ServerHandshake = class extends Command { + var _ServerHandshake = class _ServerHandshake extends Command { constructor(args) { super(); this.args = args; @@ -14706,7 +15299,7 @@ var require_server_handshake = __commonJS({ } connection.writePacket(serverHelloPacket.toPacket(0)); }); - return ServerHandshake.prototype.readClientReply; + return _ServerHandshake.prototype.readClientReply; } readClientReply(packet, connection) { const clientHelloReply = Packets.HandshakeResponse.fromPacket(packet); @@ -14736,7 +15329,7 @@ var require_server_handshake = __commonJS({ } else { connection.writeOk(); } - return ServerHandshake.prototype.dispatchCommands; + return _ServerHandshake.prototype.dispatchCommands; } _isStatement(query, name) { const firstWord = query.split(" ")[0].toUpperCase(); @@ -14827,356 +15420,359 @@ var require_server_handshake = __commonJS({ } else if (!knownCommand) { console.log("Unknown command:", commandCode); } - return ServerHandshake.prototype.dispatchCommands; + return _ServerHandshake.prototype.dispatchCommands; } }; + __name(_ServerHandshake, "ServerHandshake"); + var ServerHandshake = _ServerHandshake; module2.exports = ServerHandshake; } }); // node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/constants/charsets.js var require_charsets = __commonJS({ - "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/constants/charsets.js"(exports) { + "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/constants/charsets.js"(exports2) { "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_DE_PB_0900_AI_CI = 256; - exports.UTF8MB4_IS_0900_AI_CI = 257; - exports.UTF8MB4_LV_0900_AI_CI = 258; - exports.UTF8MB4_RO_0900_AI_CI = 259; - exports.UTF8MB4_SL_0900_AI_CI = 260; - exports.UTF8MB4_PL_0900_AI_CI = 261; - exports.UTF8MB4_ET_0900_AI_CI = 262; - exports.UTF8MB4_ES_0900_AI_CI = 263; - exports.UTF8MB4_SV_0900_AI_CI = 264; - exports.UTF8MB4_TR_0900_AI_CI = 265; - exports.UTF8MB4_CS_0900_AI_CI = 266; - exports.UTF8MB4_DA_0900_AI_CI = 267; - exports.UTF8MB4_LT_0900_AI_CI = 268; - exports.UTF8MB4_SK_0900_AI_CI = 269; - exports.UTF8MB4_ES_TRAD_0900_AI_CI = 270; - exports.UTF8MB4_LA_0900_AI_CI = 271; - exports.UTF8MB4_EO_0900_AI_CI = 273; - exports.UTF8MB4_HU_0900_AI_CI = 274; - exports.UTF8MB4_HR_0900_AI_CI = 275; - exports.UTF8MB4_VI_0900_AI_CI = 277; - exports.UTF8MB4_0900_AS_CS = 278; - exports.UTF8MB4_DE_PB_0900_AS_CS = 279; - exports.UTF8MB4_IS_0900_AS_CS = 280; - exports.UTF8MB4_LV_0900_AS_CS = 281; - exports.UTF8MB4_RO_0900_AS_CS = 282; - exports.UTF8MB4_SL_0900_AS_CS = 283; - exports.UTF8MB4_PL_0900_AS_CS = 284; - exports.UTF8MB4_ET_0900_AS_CS = 285; - exports.UTF8MB4_ES_0900_AS_CS = 286; - exports.UTF8MB4_SV_0900_AS_CS = 287; - exports.UTF8MB4_TR_0900_AS_CS = 288; - exports.UTF8MB4_CS_0900_AS_CS = 289; - exports.UTF8MB4_DA_0900_AS_CS = 290; - exports.UTF8MB4_LT_0900_AS_CS = 291; - exports.UTF8MB4_SK_0900_AS_CS = 292; - exports.UTF8MB4_ES_TRAD_0900_AS_CS = 293; - exports.UTF8MB4_LA_0900_AS_CS = 294; - exports.UTF8MB4_EO_0900_AS_CS = 296; - exports.UTF8MB4_HU_0900_AS_CS = 297; - exports.UTF8MB4_HR_0900_AS_CS = 298; - exports.UTF8MB4_VI_0900_AS_CS = 300; - exports.UTF8MB4_JA_0900_AS_CS = 303; - exports.UTF8MB4_JA_0900_AS_CS_KS = 304; - exports.UTF8MB4_0900_AS_CI = 305; - exports.UTF8MB4_RU_0900_AI_CI = 306; - exports.UTF8MB4_RU_0900_AS_CS = 307; - exports.UTF8MB4_ZH_0900_AS_CS = 308; - exports.UTF8MB4_0900_BIN = 309; - 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; + exports2.BIG5_CHINESE_CI = 1; + exports2.LATIN2_CZECH_CS = 2; + exports2.DEC8_SWEDISH_CI = 3; + exports2.CP850_GENERAL_CI = 4; + exports2.LATIN1_GERMAN1_CI = 5; + exports2.HP8_ENGLISH_CI = 6; + exports2.KOI8R_GENERAL_CI = 7; + exports2.LATIN1_SWEDISH_CI = 8; + exports2.LATIN2_GENERAL_CI = 9; + exports2.SWE7_SWEDISH_CI = 10; + exports2.ASCII_GENERAL_CI = 11; + exports2.UJIS_JAPANESE_CI = 12; + exports2.SJIS_JAPANESE_CI = 13; + exports2.CP1251_BULGARIAN_CI = 14; + exports2.LATIN1_DANISH_CI = 15; + exports2.HEBREW_GENERAL_CI = 16; + exports2.TIS620_THAI_CI = 18; + exports2.EUCKR_KOREAN_CI = 19; + exports2.LATIN7_ESTONIAN_CS = 20; + exports2.LATIN2_HUNGARIAN_CI = 21; + exports2.KOI8U_GENERAL_CI = 22; + exports2.CP1251_UKRAINIAN_CI = 23; + exports2.GB2312_CHINESE_CI = 24; + exports2.GREEK_GENERAL_CI = 25; + exports2.CP1250_GENERAL_CI = 26; + exports2.LATIN2_CROATIAN_CI = 27; + exports2.GBK_CHINESE_CI = 28; + exports2.CP1257_LITHUANIAN_CI = 29; + exports2.LATIN5_TURKISH_CI = 30; + exports2.LATIN1_GERMAN2_CI = 31; + exports2.ARMSCII8_GENERAL_CI = 32; + exports2.UTF8_GENERAL_CI = 33; + exports2.CP1250_CZECH_CS = 34; + exports2.UCS2_GENERAL_CI = 35; + exports2.CP866_GENERAL_CI = 36; + exports2.KEYBCS2_GENERAL_CI = 37; + exports2.MACCE_GENERAL_CI = 38; + exports2.MACROMAN_GENERAL_CI = 39; + exports2.CP852_GENERAL_CI = 40; + exports2.LATIN7_GENERAL_CI = 41; + exports2.LATIN7_GENERAL_CS = 42; + exports2.MACCE_BIN = 43; + exports2.CP1250_CROATIAN_CI = 44; + exports2.UTF8MB4_GENERAL_CI = 45; + exports2.UTF8MB4_BIN = 46; + exports2.LATIN1_BIN = 47; + exports2.LATIN1_GENERAL_CI = 48; + exports2.LATIN1_GENERAL_CS = 49; + exports2.CP1251_BIN = 50; + exports2.CP1251_GENERAL_CI = 51; + exports2.CP1251_GENERAL_CS = 52; + exports2.MACROMAN_BIN = 53; + exports2.UTF16_GENERAL_CI = 54; + exports2.UTF16_BIN = 55; + exports2.UTF16LE_GENERAL_CI = 56; + exports2.CP1256_GENERAL_CI = 57; + exports2.CP1257_BIN = 58; + exports2.CP1257_GENERAL_CI = 59; + exports2.UTF32_GENERAL_CI = 60; + exports2.UTF32_BIN = 61; + exports2.UTF16LE_BIN = 62; + exports2.BINARY = 63; + exports2.ARMSCII8_BIN = 64; + exports2.ASCII_BIN = 65; + exports2.CP1250_BIN = 66; + exports2.CP1256_BIN = 67; + exports2.CP866_BIN = 68; + exports2.DEC8_BIN = 69; + exports2.GREEK_BIN = 70; + exports2.HEBREW_BIN = 71; + exports2.HP8_BIN = 72; + exports2.KEYBCS2_BIN = 73; + exports2.KOI8R_BIN = 74; + exports2.KOI8U_BIN = 75; + exports2.UTF8_TOLOWER_CI = 76; + exports2.LATIN2_BIN = 77; + exports2.LATIN5_BIN = 78; + exports2.LATIN7_BIN = 79; + exports2.CP850_BIN = 80; + exports2.CP852_BIN = 81; + exports2.SWE7_BIN = 82; + exports2.UTF8_BIN = 83; + exports2.BIG5_BIN = 84; + exports2.EUCKR_BIN = 85; + exports2.GB2312_BIN = 86; + exports2.GBK_BIN = 87; + exports2.SJIS_BIN = 88; + exports2.TIS620_BIN = 89; + exports2.UCS2_BIN = 90; + exports2.UJIS_BIN = 91; + exports2.GEOSTD8_GENERAL_CI = 92; + exports2.GEOSTD8_BIN = 93; + exports2.LATIN1_SPANISH_CI = 94; + exports2.CP932_JAPANESE_CI = 95; + exports2.CP932_BIN = 96; + exports2.EUCJPMS_JAPANESE_CI = 97; + exports2.EUCJPMS_BIN = 98; + exports2.CP1250_POLISH_CI = 99; + exports2.UTF16_UNICODE_CI = 101; + exports2.UTF16_ICELANDIC_CI = 102; + exports2.UTF16_LATVIAN_CI = 103; + exports2.UTF16_ROMANIAN_CI = 104; + exports2.UTF16_SLOVENIAN_CI = 105; + exports2.UTF16_POLISH_CI = 106; + exports2.UTF16_ESTONIAN_CI = 107; + exports2.UTF16_SPANISH_CI = 108; + exports2.UTF16_SWEDISH_CI = 109; + exports2.UTF16_TURKISH_CI = 110; + exports2.UTF16_CZECH_CI = 111; + exports2.UTF16_DANISH_CI = 112; + exports2.UTF16_LITHUANIAN_CI = 113; + exports2.UTF16_SLOVAK_CI = 114; + exports2.UTF16_SPANISH2_CI = 115; + exports2.UTF16_ROMAN_CI = 116; + exports2.UTF16_PERSIAN_CI = 117; + exports2.UTF16_ESPERANTO_CI = 118; + exports2.UTF16_HUNGARIAN_CI = 119; + exports2.UTF16_SINHALA_CI = 120; + exports2.UTF16_GERMAN2_CI = 121; + exports2.UTF16_CROATIAN_CI = 122; + exports2.UTF16_UNICODE_520_CI = 123; + exports2.UTF16_VIETNAMESE_CI = 124; + exports2.UCS2_UNICODE_CI = 128; + exports2.UCS2_ICELANDIC_CI = 129; + exports2.UCS2_LATVIAN_CI = 130; + exports2.UCS2_ROMANIAN_CI = 131; + exports2.UCS2_SLOVENIAN_CI = 132; + exports2.UCS2_POLISH_CI = 133; + exports2.UCS2_ESTONIAN_CI = 134; + exports2.UCS2_SPANISH_CI = 135; + exports2.UCS2_SWEDISH_CI = 136; + exports2.UCS2_TURKISH_CI = 137; + exports2.UCS2_CZECH_CI = 138; + exports2.UCS2_DANISH_CI = 139; + exports2.UCS2_LITHUANIAN_CI = 140; + exports2.UCS2_SLOVAK_CI = 141; + exports2.UCS2_SPANISH2_CI = 142; + exports2.UCS2_ROMAN_CI = 143; + exports2.UCS2_PERSIAN_CI = 144; + exports2.UCS2_ESPERANTO_CI = 145; + exports2.UCS2_HUNGARIAN_CI = 146; + exports2.UCS2_SINHALA_CI = 147; + exports2.UCS2_GERMAN2_CI = 148; + exports2.UCS2_CROATIAN_CI = 149; + exports2.UCS2_UNICODE_520_CI = 150; + exports2.UCS2_VIETNAMESE_CI = 151; + exports2.UCS2_GENERAL_MYSQL500_CI = 159; + exports2.UTF32_UNICODE_CI = 160; + exports2.UTF32_ICELANDIC_CI = 161; + exports2.UTF32_LATVIAN_CI = 162; + exports2.UTF32_ROMANIAN_CI = 163; + exports2.UTF32_SLOVENIAN_CI = 164; + exports2.UTF32_POLISH_CI = 165; + exports2.UTF32_ESTONIAN_CI = 166; + exports2.UTF32_SPANISH_CI = 167; + exports2.UTF32_SWEDISH_CI = 168; + exports2.UTF32_TURKISH_CI = 169; + exports2.UTF32_CZECH_CI = 170; + exports2.UTF32_DANISH_CI = 171; + exports2.UTF32_LITHUANIAN_CI = 172; + exports2.UTF32_SLOVAK_CI = 173; + exports2.UTF32_SPANISH2_CI = 174; + exports2.UTF32_ROMAN_CI = 175; + exports2.UTF32_PERSIAN_CI = 176; + exports2.UTF32_ESPERANTO_CI = 177; + exports2.UTF32_HUNGARIAN_CI = 178; + exports2.UTF32_SINHALA_CI = 179; + exports2.UTF32_GERMAN2_CI = 180; + exports2.UTF32_CROATIAN_CI = 181; + exports2.UTF32_UNICODE_520_CI = 182; + exports2.UTF32_VIETNAMESE_CI = 183; + exports2.UTF8_UNICODE_CI = 192; + exports2.UTF8_ICELANDIC_CI = 193; + exports2.UTF8_LATVIAN_CI = 194; + exports2.UTF8_ROMANIAN_CI = 195; + exports2.UTF8_SLOVENIAN_CI = 196; + exports2.UTF8_POLISH_CI = 197; + exports2.UTF8_ESTONIAN_CI = 198; + exports2.UTF8_SPANISH_CI = 199; + exports2.UTF8_SWEDISH_CI = 200; + exports2.UTF8_TURKISH_CI = 201; + exports2.UTF8_CZECH_CI = 202; + exports2.UTF8_DANISH_CI = 203; + exports2.UTF8_LITHUANIAN_CI = 204; + exports2.UTF8_SLOVAK_CI = 205; + exports2.UTF8_SPANISH2_CI = 206; + exports2.UTF8_ROMAN_CI = 207; + exports2.UTF8_PERSIAN_CI = 208; + exports2.UTF8_ESPERANTO_CI = 209; + exports2.UTF8_HUNGARIAN_CI = 210; + exports2.UTF8_SINHALA_CI = 211; + exports2.UTF8_GERMAN2_CI = 212; + exports2.UTF8_CROATIAN_CI = 213; + exports2.UTF8_UNICODE_520_CI = 214; + exports2.UTF8_VIETNAMESE_CI = 215; + exports2.UTF8_GENERAL_MYSQL500_CI = 223; + exports2.UTF8MB4_UNICODE_CI = 224; + exports2.UTF8MB4_ICELANDIC_CI = 225; + exports2.UTF8MB4_LATVIAN_CI = 226; + exports2.UTF8MB4_ROMANIAN_CI = 227; + exports2.UTF8MB4_SLOVENIAN_CI = 228; + exports2.UTF8MB4_POLISH_CI = 229; + exports2.UTF8MB4_ESTONIAN_CI = 230; + exports2.UTF8MB4_SPANISH_CI = 231; + exports2.UTF8MB4_SWEDISH_CI = 232; + exports2.UTF8MB4_TURKISH_CI = 233; + exports2.UTF8MB4_CZECH_CI = 234; + exports2.UTF8MB4_DANISH_CI = 235; + exports2.UTF8MB4_LITHUANIAN_CI = 236; + exports2.UTF8MB4_SLOVAK_CI = 237; + exports2.UTF8MB4_SPANISH2_CI = 238; + exports2.UTF8MB4_ROMAN_CI = 239; + exports2.UTF8MB4_PERSIAN_CI = 240; + exports2.UTF8MB4_ESPERANTO_CI = 241; + exports2.UTF8MB4_HUNGARIAN_CI = 242; + exports2.UTF8MB4_SINHALA_CI = 243; + exports2.UTF8MB4_GERMAN2_CI = 244; + exports2.UTF8MB4_CROATIAN_CI = 245; + exports2.UTF8MB4_UNICODE_520_CI = 246; + exports2.UTF8MB4_VIETNAMESE_CI = 247; + exports2.GB18030_CHINESE_CI = 248; + exports2.GB18030_BIN = 249; + exports2.GB18030_UNICODE_520_CI = 250; + exports2.UTF8_GENERAL50_CI = 253; + exports2.UTF8MB4_0900_AI_CI = 255; + exports2.UTF8MB4_DE_PB_0900_AI_CI = 256; + exports2.UTF8MB4_IS_0900_AI_CI = 257; + exports2.UTF8MB4_LV_0900_AI_CI = 258; + exports2.UTF8MB4_RO_0900_AI_CI = 259; + exports2.UTF8MB4_SL_0900_AI_CI = 260; + exports2.UTF8MB4_PL_0900_AI_CI = 261; + exports2.UTF8MB4_ET_0900_AI_CI = 262; + exports2.UTF8MB4_ES_0900_AI_CI = 263; + exports2.UTF8MB4_SV_0900_AI_CI = 264; + exports2.UTF8MB4_TR_0900_AI_CI = 265; + exports2.UTF8MB4_CS_0900_AI_CI = 266; + exports2.UTF8MB4_DA_0900_AI_CI = 267; + exports2.UTF8MB4_LT_0900_AI_CI = 268; + exports2.UTF8MB4_SK_0900_AI_CI = 269; + exports2.UTF8MB4_ES_TRAD_0900_AI_CI = 270; + exports2.UTF8MB4_LA_0900_AI_CI = 271; + exports2.UTF8MB4_EO_0900_AI_CI = 273; + exports2.UTF8MB4_HU_0900_AI_CI = 274; + exports2.UTF8MB4_HR_0900_AI_CI = 275; + exports2.UTF8MB4_VI_0900_AI_CI = 277; + exports2.UTF8MB4_0900_AS_CS = 278; + exports2.UTF8MB4_DE_PB_0900_AS_CS = 279; + exports2.UTF8MB4_IS_0900_AS_CS = 280; + exports2.UTF8MB4_LV_0900_AS_CS = 281; + exports2.UTF8MB4_RO_0900_AS_CS = 282; + exports2.UTF8MB4_SL_0900_AS_CS = 283; + exports2.UTF8MB4_PL_0900_AS_CS = 284; + exports2.UTF8MB4_ET_0900_AS_CS = 285; + exports2.UTF8MB4_ES_0900_AS_CS = 286; + exports2.UTF8MB4_SV_0900_AS_CS = 287; + exports2.UTF8MB4_TR_0900_AS_CS = 288; + exports2.UTF8MB4_CS_0900_AS_CS = 289; + exports2.UTF8MB4_DA_0900_AS_CS = 290; + exports2.UTF8MB4_LT_0900_AS_CS = 291; + exports2.UTF8MB4_SK_0900_AS_CS = 292; + exports2.UTF8MB4_ES_TRAD_0900_AS_CS = 293; + exports2.UTF8MB4_LA_0900_AS_CS = 294; + exports2.UTF8MB4_EO_0900_AS_CS = 296; + exports2.UTF8MB4_HU_0900_AS_CS = 297; + exports2.UTF8MB4_HR_0900_AS_CS = 298; + exports2.UTF8MB4_VI_0900_AS_CS = 300; + exports2.UTF8MB4_JA_0900_AS_CS = 303; + exports2.UTF8MB4_JA_0900_AS_CS_KS = 304; + exports2.UTF8MB4_0900_AS_CI = 305; + exports2.UTF8MB4_RU_0900_AI_CI = 306; + exports2.UTF8MB4_RU_0900_AS_CS = 307; + exports2.UTF8MB4_ZH_0900_AS_CS = 308; + exports2.UTF8MB4_0900_BIN = 309; + exports2.BIG5 = exports2.BIG5_CHINESE_CI; + exports2.DEC8 = exports2.DEC8_SWEDISH_CI; + exports2.CP850 = exports2.CP850_GENERAL_CI; + exports2.HP8 = exports2.HP8_ENGLISH_CI; + exports2.KOI8R = exports2.KOI8R_GENERAL_CI; + exports2.LATIN1 = exports2.LATIN1_SWEDISH_CI; + exports2.LATIN2 = exports2.LATIN2_GENERAL_CI; + exports2.SWE7 = exports2.SWE7_SWEDISH_CI; + exports2.ASCII = exports2.ASCII_GENERAL_CI; + exports2.UJIS = exports2.UJIS_JAPANESE_CI; + exports2.SJIS = exports2.SJIS_JAPANESE_CI; + exports2.HEBREW = exports2.HEBREW_GENERAL_CI; + exports2.TIS620 = exports2.TIS620_THAI_CI; + exports2.EUCKR = exports2.EUCKR_KOREAN_CI; + exports2.KOI8U = exports2.KOI8U_GENERAL_CI; + exports2.GB2312 = exports2.GB2312_CHINESE_CI; + exports2.GREEK = exports2.GREEK_GENERAL_CI; + exports2.CP1250 = exports2.CP1250_GENERAL_CI; + exports2.GBK = exports2.GBK_CHINESE_CI; + exports2.LATIN5 = exports2.LATIN5_TURKISH_CI; + exports2.ARMSCII8 = exports2.ARMSCII8_GENERAL_CI; + exports2.UTF8 = exports2.UTF8_GENERAL_CI; + exports2.UCS2 = exports2.UCS2_GENERAL_CI; + exports2.CP866 = exports2.CP866_GENERAL_CI; + exports2.KEYBCS2 = exports2.KEYBCS2_GENERAL_CI; + exports2.MACCE = exports2.MACCE_GENERAL_CI; + exports2.MACROMAN = exports2.MACROMAN_GENERAL_CI; + exports2.CP852 = exports2.CP852_GENERAL_CI; + exports2.LATIN7 = exports2.LATIN7_GENERAL_CI; + exports2.UTF8MB4 = exports2.UTF8MB4_GENERAL_CI; + exports2.CP1251 = exports2.CP1251_GENERAL_CI; + exports2.UTF16 = exports2.UTF16_GENERAL_CI; + exports2.UTF16LE = exports2.UTF16LE_GENERAL_CI; + exports2.CP1256 = exports2.CP1256_GENERAL_CI; + exports2.CP1257 = exports2.CP1257_GENERAL_CI; + exports2.UTF32 = exports2.UTF32_GENERAL_CI; + exports2.CP932 = exports2.CP932_JAPANESE_CI; + exports2.EUCJPMS = exports2.EUCJPMS_JAPANESE_CI; + exports2.GB18030 = exports2.GB18030_CHINESE_CI; + exports2.GEOSTD8 = exports2.GEOSTD8_GENERAL_CI; } }); // node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/helpers.js var require_helpers = __commonJS({ - "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/helpers.js"(exports) { + "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/helpers.js"(exports2) { "use strict"; function srcEscape(str) { return JSON.stringify({ [str]: 1 }).slice(1, -3); } - exports.srcEscape = srcEscape; + __name(srcEscape, "srcEscape"); + exports2.srcEscape = srcEscape; var highlightFn; var cardinalRecommended = false; try { const REQUIRE_TERMINATOR = ""; highlightFn = require(`cardinal${REQUIRE_TERMINATOR}`).highlight; } catch (err) { - highlightFn = (text) => { + highlightFn = /* @__PURE__ */ __name((text) => { if (!cardinalRecommended) { console.log("For nicer debug output consider install cardinal@^2.0.0"); cardinalRecommended = true; } return text; - }; + }, "highlightFn"); } function printDebugWithCode(msg, code) { console.log(` @@ -15186,31 +15782,34 @@ ${msg}: console.log(`${highlightFn(code)} `); } - exports.printDebugWithCode = printDebugWithCode; + __name(printDebugWithCode, "printDebugWithCode"); + exports2.printDebugWithCode = printDebugWithCode; function typeMatch(type, list, Types) { if (Array.isArray(list)) { return list.some((t2) => type === Types[t2]); } return !!list; } - exports.typeMatch = typeMatch; + __name(typeMatch, "typeMatch"); + exports2.typeMatch = typeMatch; } }); // node_modules/.pnpm/is-property@1.0.2/node_modules/is-property/is-property.js var require_is_property = __commonJS({ - "node_modules/.pnpm/is-property@1.0.2/node_modules/is-property/is-property.js"(exports, module2) { + "node_modules/.pnpm/is-property@1.0.2/node_modules/is-property/is-property.js"(exports2, module2) { "use strict"; function isProperty(str) { return /^[$A-Z\_a-z\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-\u02c1\u02c6-\u02d1\u02e0-\u02e4\u02ec\u02ee\u0370-\u0374\u0376\u0377\u037a-\u037d\u0386\u0388-\u038a\u038c\u038e-\u03a1\u03a3-\u03f5\u03f7-\u0481\u048a-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05d0-\u05ea\u05f0-\u05f2\u0620-\u064a\u066e\u066f\u0671-\u06d3\u06d5\u06e5\u06e6\u06ee\u06ef\u06fa-\u06fc\u06ff\u0710\u0712-\u072f\u074d-\u07a5\u07b1\u07ca-\u07ea\u07f4\u07f5\u07fa\u0800-\u0815\u081a\u0824\u0828\u0840-\u0858\u08a0\u08a2-\u08ac\u0904-\u0939\u093d\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097f\u0985-\u098c\u098f\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09bd\u09ce\u09dc\u09dd\u09df-\u09e1\u09f0\u09f1\u0a05-\u0a0a\u0a0f\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32\u0a33\u0a35\u0a36\u0a38\u0a39\u0a59-\u0a5c\u0a5e\u0a72-\u0a74\u0a85-\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2\u0ab3\u0ab5-\u0ab9\u0abd\u0ad0\u0ae0\u0ae1\u0b05-\u0b0c\u0b0f\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32\u0b33\u0b35-\u0b39\u0b3d\u0b5c\u0b5d\u0b5f-\u0b61\u0b71\u0b83\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99\u0b9a\u0b9c\u0b9e\u0b9f\u0ba3\u0ba4\u0ba8-\u0baa\u0bae-\u0bb9\u0bd0\u0c05-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c33\u0c35-\u0c39\u0c3d\u0c58\u0c59\u0c60\u0c61\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbd\u0cde\u0ce0\u0ce1\u0cf1\u0cf2\u0d05-\u0d0c\u0d0e-\u0d10\u0d12-\u0d3a\u0d3d\u0d4e\u0d60\u0d61\u0d7a-\u0d7f\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0e01-\u0e30\u0e32\u0e33\u0e40-\u0e46\u0e81\u0e82\u0e84\u0e87\u0e88\u0e8a\u0e8d\u0e94-\u0e97\u0e99-\u0e9f\u0ea1-\u0ea3\u0ea5\u0ea7\u0eaa\u0eab\u0ead-\u0eb0\u0eb2\u0eb3\u0ebd\u0ec0-\u0ec4\u0ec6\u0edc-\u0edf\u0f00\u0f40-\u0f47\u0f49-\u0f6c\u0f88-\u0f8c\u1000-\u102a\u103f\u1050-\u1055\u105a-\u105d\u1061\u1065\u1066\u106e-\u1070\u1075-\u1081\u108e\u10a0-\u10c5\u10c7\u10cd\u10d0-\u10fa\u10fc-\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1288\u128a-\u128d\u1290-\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12d6\u12d8-\u1310\u1312-\u1315\u1318-\u135a\u1380-\u138f\u13a0-\u13f4\u1401-\u166c\u166f-\u167f\u1681-\u169a\u16a0-\u16ea\u16ee-\u16f0\u1700-\u170c\u170e-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176c\u176e-\u1770\u1780-\u17b3\u17d7\u17dc\u1820-\u1877\u1880-\u18a8\u18aa\u18b0-\u18f5\u1900-\u191c\u1950-\u196d\u1970-\u1974\u1980-\u19ab\u19c1-\u19c7\u1a00-\u1a16\u1a20-\u1a54\u1aa7\u1b05-\u1b33\u1b45-\u1b4b\u1b83-\u1ba0\u1bae\u1baf\u1bba-\u1be5\u1c00-\u1c23\u1c4d-\u1c4f\u1c5a-\u1c7d\u1ce9-\u1cec\u1cee-\u1cf1\u1cf5\u1cf6\u1d00-\u1dbf\u1e00-\u1f15\u1f18-\u1f1d\u1f20-\u1f45\u1f48-\u1f4d\u1f50-\u1f57\u1f59\u1f5b\u1f5d\u1f5f-\u1f7d\u1f80-\u1fb4\u1fb6-\u1fbc\u1fbe\u1fc2-\u1fc4\u1fc6-\u1fcc\u1fd0-\u1fd3\u1fd6-\u1fdb\u1fe0-\u1fec\u1ff2-\u1ff4\u1ff6-\u1ffc\u2071\u207f\u2090-\u209c\u2102\u2107\u210a-\u2113\u2115\u2119-\u211d\u2124\u2126\u2128\u212a-\u212d\u212f-\u2139\u213c-\u213f\u2145-\u2149\u214e\u2160-\u2188\u2c00-\u2c2e\u2c30-\u2c5e\u2c60-\u2ce4\u2ceb-\u2cee\u2cf2\u2cf3\u2d00-\u2d25\u2d27\u2d2d\u2d30-\u2d67\u2d6f\u2d80-\u2d96\u2da0-\u2da6\u2da8-\u2dae\u2db0-\u2db6\u2db8-\u2dbe\u2dc0-\u2dc6\u2dc8-\u2dce\u2dd0-\u2dd6\u2dd8-\u2dde\u2e2f\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303c\u3041-\u3096\u309d-\u309f\u30a1-\u30fa\u30fc-\u30ff\u3105-\u312d\u3131-\u318e\u31a0-\u31ba\u31f0-\u31ff\u3400-\u4db5\u4e00-\u9fcc\ua000-\ua48c\ua4d0-\ua4fd\ua500-\ua60c\ua610-\ua61f\ua62a\ua62b\ua640-\ua66e\ua67f-\ua697\ua6a0-\ua6ef\ua717-\ua71f\ua722-\ua788\ua78b-\ua78e\ua790-\ua793\ua7a0-\ua7aa\ua7f8-\ua801\ua803-\ua805\ua807-\ua80a\ua80c-\ua822\ua840-\ua873\ua882-\ua8b3\ua8f2-\ua8f7\ua8fb\ua90a-\ua925\ua930-\ua946\ua960-\ua97c\ua984-\ua9b2\ua9cf\uaa00-\uaa28\uaa40-\uaa42\uaa44-\uaa4b\uaa60-\uaa76\uaa7a\uaa80-\uaaaf\uaab1\uaab5\uaab6\uaab9-\uaabd\uaac0\uaac2\uaadb-\uaadd\uaae0-\uaaea\uaaf2-\uaaf4\uab01-\uab06\uab09-\uab0e\uab11-\uab16\uab20-\uab26\uab28-\uab2e\uabc0-\uabe2\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\uf900-\ufa6d\ufa70-\ufad9\ufb00-\ufb06\ufb13-\ufb17\ufb1d\ufb1f-\ufb28\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40\ufb41\ufb43\ufb44\ufb46-\ufbb1\ufbd3-\ufd3d\ufd50-\ufd8f\ufd92-\ufdc7\ufdf0-\ufdfb\ufe70-\ufe74\ufe76-\ufefc\uff21-\uff3a\uff41-\uff5a\uff66-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7\uffda-\uffdc][$A-Z\_a-z\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-\u02c1\u02c6-\u02d1\u02e0-\u02e4\u02ec\u02ee\u0370-\u0374\u0376\u0377\u037a-\u037d\u0386\u0388-\u038a\u038c\u038e-\u03a1\u03a3-\u03f5\u03f7-\u0481\u048a-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05d0-\u05ea\u05f0-\u05f2\u0620-\u064a\u066e\u066f\u0671-\u06d3\u06d5\u06e5\u06e6\u06ee\u06ef\u06fa-\u06fc\u06ff\u0710\u0712-\u072f\u074d-\u07a5\u07b1\u07ca-\u07ea\u07f4\u07f5\u07fa\u0800-\u0815\u081a\u0824\u0828\u0840-\u0858\u08a0\u08a2-\u08ac\u0904-\u0939\u093d\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097f\u0985-\u098c\u098f\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09bd\u09ce\u09dc\u09dd\u09df-\u09e1\u09f0\u09f1\u0a05-\u0a0a\u0a0f\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32\u0a33\u0a35\u0a36\u0a38\u0a39\u0a59-\u0a5c\u0a5e\u0a72-\u0a74\u0a85-\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2\u0ab3\u0ab5-\u0ab9\u0abd\u0ad0\u0ae0\u0ae1\u0b05-\u0b0c\u0b0f\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32\u0b33\u0b35-\u0b39\u0b3d\u0b5c\u0b5d\u0b5f-\u0b61\u0b71\u0b83\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99\u0b9a\u0b9c\u0b9e\u0b9f\u0ba3\u0ba4\u0ba8-\u0baa\u0bae-\u0bb9\u0bd0\u0c05-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c33\u0c35-\u0c39\u0c3d\u0c58\u0c59\u0c60\u0c61\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbd\u0cde\u0ce0\u0ce1\u0cf1\u0cf2\u0d05-\u0d0c\u0d0e-\u0d10\u0d12-\u0d3a\u0d3d\u0d4e\u0d60\u0d61\u0d7a-\u0d7f\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0e01-\u0e30\u0e32\u0e33\u0e40-\u0e46\u0e81\u0e82\u0e84\u0e87\u0e88\u0e8a\u0e8d\u0e94-\u0e97\u0e99-\u0e9f\u0ea1-\u0ea3\u0ea5\u0ea7\u0eaa\u0eab\u0ead-\u0eb0\u0eb2\u0eb3\u0ebd\u0ec0-\u0ec4\u0ec6\u0edc-\u0edf\u0f00\u0f40-\u0f47\u0f49-\u0f6c\u0f88-\u0f8c\u1000-\u102a\u103f\u1050-\u1055\u105a-\u105d\u1061\u1065\u1066\u106e-\u1070\u1075-\u1081\u108e\u10a0-\u10c5\u10c7\u10cd\u10d0-\u10fa\u10fc-\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1288\u128a-\u128d\u1290-\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12d6\u12d8-\u1310\u1312-\u1315\u1318-\u135a\u1380-\u138f\u13a0-\u13f4\u1401-\u166c\u166f-\u167f\u1681-\u169a\u16a0-\u16ea\u16ee-\u16f0\u1700-\u170c\u170e-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176c\u176e-\u1770\u1780-\u17b3\u17d7\u17dc\u1820-\u1877\u1880-\u18a8\u18aa\u18b0-\u18f5\u1900-\u191c\u1950-\u196d\u1970-\u1974\u1980-\u19ab\u19c1-\u19c7\u1a00-\u1a16\u1a20-\u1a54\u1aa7\u1b05-\u1b33\u1b45-\u1b4b\u1b83-\u1ba0\u1bae\u1baf\u1bba-\u1be5\u1c00-\u1c23\u1c4d-\u1c4f\u1c5a-\u1c7d\u1ce9-\u1cec\u1cee-\u1cf1\u1cf5\u1cf6\u1d00-\u1dbf\u1e00-\u1f15\u1f18-\u1f1d\u1f20-\u1f45\u1f48-\u1f4d\u1f50-\u1f57\u1f59\u1f5b\u1f5d\u1f5f-\u1f7d\u1f80-\u1fb4\u1fb6-\u1fbc\u1fbe\u1fc2-\u1fc4\u1fc6-\u1fcc\u1fd0-\u1fd3\u1fd6-\u1fdb\u1fe0-\u1fec\u1ff2-\u1ff4\u1ff6-\u1ffc\u2071\u207f\u2090-\u209c\u2102\u2107\u210a-\u2113\u2115\u2119-\u211d\u2124\u2126\u2128\u212a-\u212d\u212f-\u2139\u213c-\u213f\u2145-\u2149\u214e\u2160-\u2188\u2c00-\u2c2e\u2c30-\u2c5e\u2c60-\u2ce4\u2ceb-\u2cee\u2cf2\u2cf3\u2d00-\u2d25\u2d27\u2d2d\u2d30-\u2d67\u2d6f\u2d80-\u2d96\u2da0-\u2da6\u2da8-\u2dae\u2db0-\u2db6\u2db8-\u2dbe\u2dc0-\u2dc6\u2dc8-\u2dce\u2dd0-\u2dd6\u2dd8-\u2dde\u2e2f\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303c\u3041-\u3096\u309d-\u309f\u30a1-\u30fa\u30fc-\u30ff\u3105-\u312d\u3131-\u318e\u31a0-\u31ba\u31f0-\u31ff\u3400-\u4db5\u4e00-\u9fcc\ua000-\ua48c\ua4d0-\ua4fd\ua500-\ua60c\ua610-\ua61f\ua62a\ua62b\ua640-\ua66e\ua67f-\ua697\ua6a0-\ua6ef\ua717-\ua71f\ua722-\ua788\ua78b-\ua78e\ua790-\ua793\ua7a0-\ua7aa\ua7f8-\ua801\ua803-\ua805\ua807-\ua80a\ua80c-\ua822\ua840-\ua873\ua882-\ua8b3\ua8f2-\ua8f7\ua8fb\ua90a-\ua925\ua930-\ua946\ua960-\ua97c\ua984-\ua9b2\ua9cf\uaa00-\uaa28\uaa40-\uaa42\uaa44-\uaa4b\uaa60-\uaa76\uaa7a\uaa80-\uaaaf\uaab1\uaab5\uaab6\uaab9-\uaabd\uaac0\uaac2\uaadb-\uaadd\uaae0-\uaaea\uaaf2-\uaaf4\uab01-\uab06\uab09-\uab0e\uab11-\uab16\uab20-\uab26\uab28-\uab2e\uabc0-\uabe2\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\uf900-\ufa6d\ufa70-\ufad9\ufb00-\ufb06\ufb13-\ufb17\ufb1d\ufb1f-\ufb28\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40\ufb41\ufb43\ufb44\ufb46-\ufbb1\ufbd3-\ufd3d\ufd50-\ufd8f\ufd92-\ufdc7\ufdf0-\ufdfb\ufe70-\ufe74\ufe76-\ufefc\uff21-\uff3a\uff41-\uff5a\uff66-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7\uffda-\uffdc0-9\u0300-\u036f\u0483-\u0487\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u0669\u0670\u06d6-\u06dc\u06df-\u06e4\u06e7\u06e8\u06ea-\u06ed\u06f0-\u06f9\u0711\u0730-\u074a\u07a6-\u07b0\u07c0-\u07c9\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0859-\u085b\u08e4-\u08fe\u0900-\u0903\u093a-\u093c\u093e-\u094f\u0951-\u0957\u0962\u0963\u0966-\u096f\u0981-\u0983\u09bc\u09be-\u09c4\u09c7\u09c8\u09cb-\u09cd\u09d7\u09e2\u09e3\u09e6-\u09ef\u0a01-\u0a03\u0a3c\u0a3e-\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a66-\u0a71\u0a75\u0a81-\u0a83\u0abc\u0abe-\u0ac5\u0ac7-\u0ac9\u0acb-\u0acd\u0ae2\u0ae3\u0ae6-\u0aef\u0b01-\u0b03\u0b3c\u0b3e-\u0b44\u0b47\u0b48\u0b4b-\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b66-\u0b6f\u0b82\u0bbe-\u0bc2\u0bc6-\u0bc8\u0bca-\u0bcd\u0bd7\u0be6-\u0bef\u0c01-\u0c03\u0c3e-\u0c44\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0c66-\u0c6f\u0c82\u0c83\u0cbc\u0cbe-\u0cc4\u0cc6-\u0cc8\u0cca-\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0ce6-\u0cef\u0d02\u0d03\u0d3e-\u0d44\u0d46-\u0d48\u0d4a-\u0d4d\u0d57\u0d62\u0d63\u0d66-\u0d6f\u0d82\u0d83\u0dca\u0dcf-\u0dd4\u0dd6\u0dd8-\u0ddf\u0df2\u0df3\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0e50-\u0e59\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0ed0-\u0ed9\u0f18\u0f19\u0f20-\u0f29\u0f35\u0f37\u0f39\u0f3e\u0f3f\u0f71-\u0f84\u0f86\u0f87\u0f8d-\u0f97\u0f99-\u0fbc\u0fc6\u102b-\u103e\u1040-\u1049\u1056-\u1059\u105e-\u1060\u1062-\u1064\u1067-\u106d\u1071-\u1074\u1082-\u108d\u108f-\u109d\u135d-\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b4-\u17d3\u17dd\u17e0-\u17e9\u180b-\u180d\u1810-\u1819\u18a9\u1920-\u192b\u1930-\u193b\u1946-\u194f\u19b0-\u19c0\u19c8\u19c9\u19d0-\u19d9\u1a17-\u1a1b\u1a55-\u1a5e\u1a60-\u1a7c\u1a7f-\u1a89\u1a90-\u1a99\u1b00-\u1b04\u1b34-\u1b44\u1b50-\u1b59\u1b6b-\u1b73\u1b80-\u1b82\u1ba1-\u1bad\u1bb0-\u1bb9\u1be6-\u1bf3\u1c24-\u1c37\u1c40-\u1c49\u1c50-\u1c59\u1cd0-\u1cd2\u1cd4-\u1ce8\u1ced\u1cf2-\u1cf4\u1dc0-\u1de6\u1dfc-\u1dff\u200c\u200d\u203f\u2040\u2054\u20d0-\u20dc\u20e1\u20e5-\u20f0\u2cef-\u2cf1\u2d7f\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua620-\ua629\ua66f\ua674-\ua67d\ua69f\ua6f0\ua6f1\ua802\ua806\ua80b\ua823-\ua827\ua880\ua881\ua8b4-\ua8c4\ua8d0-\ua8d9\ua8e0-\ua8f1\ua900-\ua909\ua926-\ua92d\ua947-\ua953\ua980-\ua983\ua9b3-\ua9c0\ua9d0-\ua9d9\uaa29-\uaa36\uaa43\uaa4c\uaa4d\uaa50-\uaa59\uaa7b\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uaaeb-\uaaef\uaaf5\uaaf6\uabe3-\uabea\uabec\uabed\uabf0-\uabf9\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\ufe33\ufe34\ufe4d-\ufe4f\uff10-\uff19\uff3f]*$/.test(str); } + __name(isProperty, "isProperty"); module2.exports = isProperty; } }); // node_modules/.pnpm/generate-function@2.3.1/node_modules/generate-function/index.js var require_generate_function = __commonJS({ - "node_modules/.pnpm/generate-function@2.3.1/node_modules/generate-function/index.js"(exports, module2) { + "node_modules/.pnpm/generate-function@2.3.1/node_modules/generate-function/index.js"(exports2, module2) { var util = require("util"); var isProperty = require_is_property(); var INDENT_START = /[\{\[]/; @@ -15272,9 +15871,9 @@ var require_generate_function = __commonJS({ RESERVED_MAP[RESERVED[i2]] = true; } var i2; - var isVariable = function(name) { + var isVariable = /* @__PURE__ */ __name(function(name) { return isProperty(name) && !RESERVED_MAP.hasOwnProperty(name); - }; + }, "isVariable"); var formats = { s: function(s2) { return "" + s2; @@ -15286,17 +15885,17 @@ var require_generate_function = __commonJS({ return JSON.stringify(o); } }; - var genfun = function() { + var genfun = /* @__PURE__ */ __name(function() { var lines = []; var indent = 0; var vars = {}; - var push = function(str) { + var push = /* @__PURE__ */ __name(function(str) { var spaces = ""; while (spaces.length < indent * 2) spaces += " "; lines.push(spaces + str); - }; - var pushLine = function(line2) { + }, "push"); + var pushLine = /* @__PURE__ */ __name(function(line2) { if (INDENT_END.test(line2.trim()[0]) && INDENT_START.test(line2[line2.length - 1])) { indent--; push(line2); @@ -15314,8 +15913,8 @@ var require_generate_function = __commonJS({ return; } push(line2); - }; - var line = function(fmt) { + }, "pushLine"); + var line = /* @__PURE__ */ __name(function(fmt) { if (!fmt) return line; if (arguments.length === 1 && fmt.indexOf("\n") > -1) { @@ -15327,7 +15926,7 @@ var require_generate_function = __commonJS({ pushLine(util.format.apply(util, arguments)); } return line; - }; + }, "line"); line.scope = {}; line.formats = formats; line.sym = function(name) { @@ -15369,7 +15968,7 @@ var require_generate_function = __commonJS({ if (arguments.length) line.apply(null, arguments); return line; - }; + }, "genfun"); genfun.formats = formats; module2.exports = genfun; } @@ -15377,7 +15976,7 @@ var require_generate_function = __commonJS({ // node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/parsers/parser_cache.js var require_parser_cache = __commonJS({ - "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/parsers/parser_cache.js"(exports, module2) { + "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/parsers/parser_cache.js"(exports2, module2) { "use strict"; var LRU = require_index_cjs().default; var parserCache = new LRU({ @@ -15391,6 +15990,7 @@ var require_parser_cache = __commonJS({ } return res; } + __name(keyFromFields, "keyFromFields"); function getParser(type, fields, options, config, compiler) { const key = keyFromFields(type, fields, options, config); let parser = parserCache.get(key); @@ -15401,12 +16001,15 @@ var require_parser_cache = __commonJS({ parserCache.set(key, parser); return parser; } + __name(getParser, "getParser"); function setMaxCache(max) { parserCache.max = max; } + __name(setMaxCache, "setMaxCache"); function clearCache() { parserCache.clear(); } + __name(clearCache, "clearCache"); module2.exports = { getParser, setMaxCache, @@ -15417,7 +16020,7 @@ var require_parser_cache = __commonJS({ // node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/parsers/text_parser.js var require_text_parser = __commonJS({ - "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/parsers/text_parser.js"(exports, module2) { + "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/parsers/text_parser.js"(exports2, module2) { "use strict"; var Types = require_types(); var Charsets = require_charsets(); @@ -15480,6 +16083,7 @@ var require_text_parser = __commonJS({ return `packet.readLengthCodedString(${encodingExpr})`; } } + __name(readCodeFor, "readCodeFor"); function compile(fields, options, config) { if (typeof config.typeCast === "function" && typeof options.typeCast !== "function") { options.typeCast = config.typeCast; @@ -15506,6 +16110,7 @@ var require_text_parser = __commonJS({ } }; } + __name(wrap, "wrap"); const parserFn = genFunc(); parserFn("(function () {")( "return class TextRow {" @@ -15584,16 +16189,18 @@ var require_text_parser = __commonJS({ } return parserFn.toFunction(); } + __name(compile, "compile"); function getTextParser(fields, options, config) { return parserCache.getParser("text", fields, options, config, compile); } + __name(getTextParser, "getTextParser"); module2.exports = getTextParser; } }); // node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/commands/query.js var require_query2 = __commonJS({ - "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/commands/query.js"(exports, module2) { + "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/commands/query.js"(exports2, module2) { "use strict"; var process2 = require("process"); var Timers = require("timers"); @@ -15603,7 +16210,7 @@ var require_query2 = __commonJS({ var getTextParser = require_text_parser(); var ServerStatus = require_server_status(); var EmptyPacket = new Packets.Packet(0, Buffer.allocUnsafe(4), 0, 4); - var Query = class extends Command { + var _Query = class _Query extends Command { constructor(options, callback) { super(); this.sql = options.sql; @@ -15630,6 +16237,7 @@ var require_query2 = __commonJS({ console.log(err); throw new Error(err); } + /* eslint no-unused-vars: ["error", { "argsIgnorePattern": "^_" }] */ start(_packet, connection) { if (connection.config.debug) { console.log(" Sending query command: %s", this.sql); @@ -15642,7 +16250,7 @@ var require_query2 = __commonJS({ connection.config.charsetNumber ); connection.writePacket(cmdPacket.toPacket(1)); - return Query.prototype.resultsetHeader; + return _Query.prototype.resultsetHeader; } done() { this._unpipeStream(); @@ -15722,31 +16330,31 @@ var require_query2 = __commonJS({ connection.writePacket(EmptyPacket); return this.infileOk; } - const onConnectionError = () => { + const onConnectionError = /* @__PURE__ */ __name(() => { this._unpipeStream(); - }; - const onDrain = () => { + }, "onConnectionError"); + const onDrain = /* @__PURE__ */ __name(() => { this._localStream.resume(); - }; - const onPause = () => { + }, "onDrain"); + const onPause = /* @__PURE__ */ __name(() => { this._localStream.pause(); - }; - const onData = function(data) { + }, "onPause"); + const onData = /* @__PURE__ */ __name(function(data) { const dataWithHeader = Buffer.allocUnsafe(data.length + 4); data.copy(dataWithHeader, 4); connection.writePacket( new Packets.Packet(0, dataWithHeader, 0, dataWithHeader.length) ); - }; - const onEnd = () => { + }, "onData"); + const onEnd = /* @__PURE__ */ __name(() => { connection.removeListener("error", onConnectionError); connection.writePacket(EmptyPacket); - }; - const onError = (err) => { + }, "onEnd"); + const onError = /* @__PURE__ */ __name((err) => { this._localStreamError = err; connection.removeListener("error", onConnectionError); connection.writePacket(EmptyPacket); - }; + }, "onError"); this._unpipeStream = () => { connection.stream.removeListener("pause", onPause); connection.stream.removeListener("drain", onDrain); @@ -15781,9 +16389,9 @@ var require_query2 = __commonJS({ const fields = this._fields[this._resultIndex]; this.emit("fields", fields); this._rowParser = new (getTextParser(fields, this.options, connection.config))(fields); - return Query.prototype.fieldsEOF; + return _Query.prototype.fieldsEOF; } - return Query.prototype.readField; + return _Query.prototype.readField; } fieldsEOF(packet, connection) { if (!packet.isEOF()) { @@ -15791,13 +16399,14 @@ var require_query2 = __commonJS({ } return this.row; } + /* eslint no-unused-vars: ["error", { "argsIgnorePattern": "^_" }] */ row(packet, _connection) { if (packet.isEOF()) { const status = packet.eofStatusFlags(); const moreResults = status & ServerStatus.SERVER_MORE_RESULTS_EXISTS; if (moreResults) { this._resultIndex++; - return Query.prototype.resultsetHeader; + return _Query.prototype.resultsetHeader; } return this.done(); } @@ -15817,7 +16426,7 @@ var require_query2 = __commonJS({ } else { this.emit("result", row); } - return Query.prototype.row; + return _Query.prototype.row; } infileOk(packet, connection) { const rs = new Packets.ResultSetHeader(packet, connection); @@ -15873,6 +16482,8 @@ var require_query2 = __commonJS({ } } }; + __name(_Query, "Query"); + var Query = _Query; Query.prototype.catch = Query.prototype.then; module2.exports = Query; } @@ -15880,11 +16491,11 @@ var require_query2 = __commonJS({ // node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/commands/close_statement.js var require_close_statement2 = __commonJS({ - "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/commands/close_statement.js"(exports, module2) { + "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/commands/close_statement.js"(exports2, module2) { "use strict"; var Command = require_command(); var Packets = require_packets(); - var CloseStatement = class extends Command { + var _CloseStatement = class _CloseStatement extends Command { constructor(id) { super(); this.id = id; @@ -15894,13 +16505,15 @@ var require_close_statement2 = __commonJS({ return null; } }; + __name(_CloseStatement, "CloseStatement"); + var CloseStatement = _CloseStatement; module2.exports = CloseStatement; } }); // node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/parsers/binary_parser.js var require_binary_parser = __commonJS({ - "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/parsers/binary_parser.js"(exports, module2) { + "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/parsers/binary_parser.js"(exports2, module2) { "use strict"; var FieldFlags = require_field_flags(); var Charsets = require_charsets(); @@ -15969,6 +16582,7 @@ var require_binary_parser = __commonJS({ return `packet.readLengthCodedString(fields[${fieldNum}].encoding)`; } } + __name(readCodeFor, "readCodeFor"); function compile(fields, options, config) { const parserFn = genFunc(); let i2 = 0; @@ -16040,22 +16654,24 @@ var require_binary_parser = __commonJS({ } return parserFn.toFunction(); } + __name(compile, "compile"); function getBinaryParser(fields, options, config) { return parserCache.getParser("binary", fields, options, config, compile); } + __name(getBinaryParser, "getBinaryParser"); module2.exports = getBinaryParser; } }); // node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/commands/execute.js var require_execute2 = __commonJS({ - "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/commands/execute.js"(exports, module2) { + "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/commands/execute.js"(exports2, module2) { "use strict"; var Command = require_command(); var Query = require_query2(); var Packets = require_packets(); var getBinaryParser = require_binary_parser(); - var Execute = class extends Command { + var _Execute = class _Execute extends Command { constructor(options, callback) { super(); this.statement = options.statement; @@ -16097,7 +16713,7 @@ var require_execute2 = __commonJS({ } catch (error) { this.onResult(error); } - return Execute.prototype.resultsetHeader; + return _Execute.prototype.resultsetHeader; } readField(packet, connection) { let fields; @@ -16110,9 +16726,9 @@ var require_execute2 = __commonJS({ if (this._receivedFieldsCount === this._fieldCount) { fields = this._fields[this._resultIndex]; this.emit("fields", fields, this._resultIndex); - return Execute.prototype.fieldsEOF; + return _Execute.prototype.fieldsEOF; } - return Execute.prototype.readField; + return _Execute.prototype.readField; } fieldsEOF(packet, connection) { if (!packet.isEOF()) { @@ -16122,9 +16738,11 @@ var require_execute2 = __commonJS({ this._fields[this._resultIndex], connection ))(); - return Execute.prototype.row; + return _Execute.prototype.row; } }; + __name(_Execute, "Execute"); + var Execute = _Execute; Execute.prototype.done = Query.prototype.done; Execute.prototype.doneInsert = Query.prototype.doneInsert; Execute.prototype.resultsetHeader = Query.prototype.resultsetHeader; @@ -16140,13 +16758,13 @@ var require_execute2 = __commonJS({ // node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/commands/prepare.js var require_prepare = __commonJS({ - "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/commands/prepare.js"(exports, module2) { + "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/commands/prepare.js"(exports2, module2) { "use strict"; var Packets = require_packets(); var Command = require_command(); var CloseStatement = require_close_statement2(); var Execute = require_execute2(); - var PreparedStatementInfo = class { + var _PreparedStatementInfo = class _PreparedStatementInfo { constructor(query, id, columns, parameters, connection) { this.query = query; this.id = id; @@ -16168,7 +16786,9 @@ var require_prepare = __commonJS({ ); } }; - var Prepare = class extends Command { + __name(_PreparedStatementInfo, "PreparedStatementInfo"); + var PreparedStatementInfo = _PreparedStatementInfo; + var _Prepare = class _Prepare extends Command { constructor(options, callback) { super(); this.query = options.sql; @@ -16196,7 +16816,7 @@ var require_prepare = __commonJS({ this.options.values ); connection.writePacket(cmdPacket.toPacket(1)); - return Prepare.prototype.prepareHeader; + return _Prepare.prototype.prepareHeader; } prepareHeader(packet, connection) { const header = new Packets.PreparedStatementHeader(packet); @@ -16204,24 +16824,24 @@ var require_prepare = __commonJS({ this.fieldCount = header.fieldCount; this.parameterCount = header.parameterCount; if (this.parameterCount > 0) { - return Prepare.prototype.readParameter; + return _Prepare.prototype.readParameter; } if (this.fieldCount > 0) { - return Prepare.prototype.readField; + return _Prepare.prototype.readField; } return this.prepareDone(connection); } readParameter(packet, connection) { if (packet.isEOF()) { if (this.fieldCount > 0) { - return Prepare.prototype.readField; + return _Prepare.prototype.readField; } return this.prepareDone(connection); } const def = new Packets.ColumnDefinition(packet, connection.clientEncoding); this.parameterDefinitions.push(def); if (this.parameterDefinitions.length === this.parameterCount) { - return Prepare.prototype.parametersEOF; + return _Prepare.prototype.parametersEOF; } return this.readParameter; } @@ -16232,16 +16852,16 @@ var require_prepare = __commonJS({ const def = new Packets.ColumnDefinition(packet, connection.clientEncoding); this.fields.push(def); if (this.fields.length === this.fieldCount) { - return Prepare.prototype.fieldsEOF; + return _Prepare.prototype.fieldsEOF; } - return Prepare.prototype.readField; + return _Prepare.prototype.readField; } parametersEOF(packet, connection) { if (!packet.isEOF()) { return connection.protocolError("Expected EOF packet after parameters"); } if (this.fieldCount > 0) { - return Prepare.prototype.readField; + return _Prepare.prototype.readField; } return this.prepareDone(connection); } @@ -16266,18 +16886,20 @@ var require_prepare = __commonJS({ return null; } }; + __name(_Prepare, "Prepare"); + var Prepare = _Prepare; module2.exports = Prepare; } }); // node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/commands/ping.js var require_ping = __commonJS({ - "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/commands/ping.js"(exports, module2) { + "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/commands/ping.js"(exports2, module2) { "use strict"; var Command = require_command(); var CommandCode = require_commands(); var Packet = require_packet(); - var Ping = class extends Command { + var _Ping = class _Ping extends Command { constructor(callback) { super(); this.onResult = callback; @@ -16290,7 +16912,7 @@ var require_ping = __commonJS({ 5 ); connection.writePacket(ping); - return Ping.prototype.pingResponse; + return _Ping.prototype.pingResponse; } pingResponse() { if (this.onResult) { @@ -16299,17 +16921,19 @@ var require_ping = __commonJS({ return null; } }; + __name(_Ping, "Ping"); + var Ping = _Ping; module2.exports = Ping; } }); // node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/commands/register_slave.js var require_register_slave2 = __commonJS({ - "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/commands/register_slave.js"(exports, module2) { + "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/commands/register_slave.js"(exports2, module2) { "use strict"; var Command = require_command(); var Packets = require_packets(); - var RegisterSlave = class extends Command { + var _RegisterSlave = class _RegisterSlave extends Command { constructor(opts, callback) { super(); this.onResult = callback; @@ -16318,7 +16942,7 @@ var require_register_slave2 = __commonJS({ start(packet, connection) { const newPacket = new Packets.RegisterSlave(this.opts); connection.writePacket(newPacket.toPacket(1)); - return RegisterSlave.prototype.registerResponse; + return _RegisterSlave.prototype.registerResponse; } registerResponse() { if (this.onResult) { @@ -16327,13 +16951,15 @@ var require_register_slave2 = __commonJS({ return null; } }; + __name(_RegisterSlave, "RegisterSlave"); + var RegisterSlave = _RegisterSlave; module2.exports = RegisterSlave; } }); // node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/packets/binlog_query_statusvars.js var require_binlog_query_statusvars = __commonJS({ - "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/packets/binlog_query_statusvars.js"(exports, module2) { + "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/packets/binlog_query_statusvars.js"(exports2, module2) { "use strict"; var keys = { FLAGS2: 0, @@ -16351,7 +16977,7 @@ var require_binlog_query_statusvars = __commonJS({ UPDATED_DB_NAMES: 12, MICROSECONDS: 3 }; - module2.exports = function parseStatusVars(buffer) { + module2.exports = /* @__PURE__ */ __name(function parseStatusVars(buffer) { const result = {}; let offset = 0; let key, length, prevOffset; @@ -16433,23 +17059,24 @@ var require_binlog_query_statusvars = __commonJS({ } break; case keys.MICROSECONDS: - result.microseconds = buffer.readInt16LE(offset) + (buffer[offset + 2] << 16); + result.microseconds = // REVIEW: INVALID UNKNOWN VARIABLE! + buffer.readInt16LE(offset) + (buffer[offset + 2] << 16); offset += 3; } } return result; - }; + }, "parseStatusVars"); } }); // node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/commands/binlog_dump.js var require_binlog_dump2 = __commonJS({ - "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/commands/binlog_dump.js"(exports, module2) { + "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/commands/binlog_dump.js"(exports2, module2) { "use strict"; var Command = require_command(); var Packets = require_packets(); var eventParsers = []; - var BinlogEventHeader = class { + var _BinlogEventHeader = class _BinlogEventHeader { constructor(packet) { this.timestamp = packet.readInt32(); this.eventType = packet.readInt8(); @@ -16459,7 +17086,9 @@ var require_binlog_dump2 = __commonJS({ this.flags = packet.readInt16(); } }; - var BinlogDump = class extends Command { + __name(_BinlogEventHeader, "BinlogEventHeader"); + var BinlogEventHeader = _BinlogEventHeader; + var _BinlogDump = class _BinlogDump extends Command { constructor(opts) { super(); this.opts = opts; @@ -16467,7 +17096,7 @@ var require_binlog_dump2 = __commonJS({ start(packet, connection) { const newPacket = new Packets.BinlogDump(this.opts); connection.writePacket(newPacket.toPacket(1)); - return BinlogDump.prototype.binlogData; + return _BinlogDump.prototype.binlogData; } binlogData(packet) { if (packet.isEOF()) { @@ -16487,10 +17116,12 @@ var require_binlog_dump2 = __commonJS({ } event.header = header; this.emit("event", event); - return BinlogDump.prototype.binlogData; + return _BinlogDump.prototype.binlogData; } }; - var RotateEvent = class { + __name(_BinlogDump, "BinlogDump"); + var BinlogDump = _BinlogDump; + var _RotateEvent = class _RotateEvent { constructor(packet) { this.pposition = packet.readInt32(); packet.readInt32(); @@ -16498,7 +17129,9 @@ var require_binlog_dump2 = __commonJS({ this.name = "RotateEvent"; } }; - var FormatDescriptionEvent = class { + __name(_RotateEvent, "RotateEvent"); + var RotateEvent = _RotateEvent; + var _FormatDescriptionEvent = class _FormatDescriptionEvent { constructor(packet) { this.binlogVersion = packet.readInt16(); this.serverVersion = packet.readString(50).replace(/\u0000.*/, ""); @@ -16508,7 +17141,9 @@ var require_binlog_dump2 = __commonJS({ this.name = "FormatDescriptionEvent"; } }; - var QueryEvent = class { + __name(_FormatDescriptionEvent, "FormatDescriptionEvent"); + var FormatDescriptionEvent = _FormatDescriptionEvent; + var _QueryEvent = class _QueryEvent { constructor(packet) { const parseStatusVars = require_binlog_query_statusvars(); this.slaveProxyId = packet.readInt32(); @@ -16524,13 +17159,17 @@ var require_binlog_dump2 = __commonJS({ this.name = "QueryEvent"; } }; - var XidEvent = class { + __name(_QueryEvent, "QueryEvent"); + var QueryEvent = _QueryEvent; + var _XidEvent = class _XidEvent { constructor(packet) { this.binlogVersion = packet.readInt16(); this.xid = packet.readInt64(); this.name = "XidEvent"; } }; + __name(_XidEvent, "XidEvent"); + var XidEvent = _XidEvent; eventParsers[2] = QueryEvent; eventParsers[4] = RotateEvent; eventParsers[15] = FormatDescriptionEvent; @@ -16541,14 +17180,14 @@ var require_binlog_dump2 = __commonJS({ // node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/commands/change_user.js var require_change_user2 = __commonJS({ - "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/commands/change_user.js"(exports, module2) { + "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/commands/change_user.js"(exports2, module2) { "use strict"; var Command = require_command(); var Packets = require_packets(); var ClientConstants = require_client(); var ClientHandshake = require_client_handshake(); var CharsetToEncoding = require_charset_encodings(); - var ChangeUser = class extends Command { + var _ChangeUser = class _ChangeUser extends Command { constructor(options, callback) { super(); this.onResult = callback; @@ -16585,9 +17224,11 @@ var require_change_user2 = __commonJS({ if (multiFactorAuthentication) { this.authenticationFactor = 1; } - return ChangeUser.prototype.handshakeResult; + return _ChangeUser.prototype.handshakeResult; } }; + __name(_ChangeUser, "ChangeUser"); + var ChangeUser = _ChangeUser; ChangeUser.prototype.handshakeResult = ClientHandshake.prototype.handshakeResult; ChangeUser.prototype.calculateNativePasswordAuthToken = ClientHandshake.prototype.calculateNativePasswordAuthToken; module2.exports = ChangeUser; @@ -16596,12 +17237,12 @@ var require_change_user2 = __commonJS({ // node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/commands/quit.js var require_quit = __commonJS({ - "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/commands/quit.js"(exports, module2) { + "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/commands/quit.js"(exports2, module2) { "use strict"; var Command = require_command(); var CommandCode = require_commands(); var Packet = require_packet(); - var Quit = class extends Command { + var _Quit = class _Quit extends Command { constructor(callback) { super(); this.onResult = callback; @@ -16621,13 +17262,15 @@ var require_quit = __commonJS({ return null; } }; + __name(_Quit, "Quit"); + var Quit = _Quit; module2.exports = Quit; } }); // node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/commands/index.js var require_commands2 = __commonJS({ - "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/commands/index.js"(exports, module2) { + "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/commands/index.js"(exports2, module2) { "use strict"; var ClientHandshake = require_client_handshake(); var ServerHandshake = require_server_handshake(); @@ -16658,7 +17301,7 @@ var require_commands2 = __commonJS({ // node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/package.json var require_package = __commonJS({ - "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/package.json"(exports, module2) { + "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/package.json"(exports2, module2) { module2.exports = { name: "mysql2", version: "3.5.1", @@ -16754,9 +17397,9 @@ var require_package = __commonJS({ // node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/constants/ssl_profiles.js var require_ssl_profiles = __commonJS({ - "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/constants/ssl_profiles.js"(exports) { + "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/constants/ssl_profiles.js"(exports2) { "use strict"; - exports["Amazon RDS"] = { + exports2["Amazon RDS"] = { ca: [ "-----BEGIN CERTIFICATE-----\nMIID9DCCAtygAwIBAgIBQjANBgkqhkiG9w0BAQUFADCBijELMAkGA1UEBhMCVVMx\nEzARBgNVBAgMCldhc2hpbmd0b24xEDAOBgNVBAcMB1NlYXR0bGUxIjAgBgNVBAoM\nGUFtYXpvbiBXZWIgU2VydmljZXMsIEluYy4xEzARBgNVBAsMCkFtYXpvbiBSRFMx\nGzAZBgNVBAMMEkFtYXpvbiBSRFMgUm9vdCBDQTAeFw0xNTAyMDUwOTExMzFaFw0y\nMDAzMDUwOTExMzFaMIGKMQswCQYDVQQGEwJVUzETMBEGA1UECAwKV2FzaGluZ3Rv\nbjEQMA4GA1UEBwwHU2VhdHRsZTEiMCAGA1UECgwZQW1hem9uIFdlYiBTZXJ2aWNl\ncywgSW5jLjETMBEGA1UECwwKQW1hem9uIFJEUzEbMBkGA1UEAwwSQW1hem9uIFJE\nUyBSb290IENBMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAuD8nrZ8V\nu+VA8yVlUipCZIKPTDcOILYpUe8Tct0YeQQr0uyl018StdBsa3CjBgvwpDRq1HgF\nJi2N3+39+shCNspQeE6aYU+BHXhKhIIStt3r7gl/4NqYiDDMWKHxHq0nsGDFfArf\nAOcjZdJagOMqb3fF46flc8k2E7THTm9Sz4L7RY1WdABMuurpICLFE3oHcGdapOb9\nT53pQR+xpHW9atkcf3pf7gbO0rlKVSIoUenBlZipUlp1VZl/OD/E+TtRhDDNdI2J\nP/DSMM3aEsq6ZQkfbz/Ilml+Lx3tJYXUDmp+ZjzMPLk/+3beT8EhrwtcG3VPpvwp\nBIOqsqVVTvw/CwIDAQABo2MwYTAOBgNVHQ8BAf8EBAMCAQYwDwYDVR0TAQH/BAUw\nAwEB/zAdBgNVHQ4EFgQUTgLurD72FchM7Sz1BcGPnIQISYMwHwYDVR0jBBgwFoAU\nTgLurD72FchM7Sz1BcGPnIQISYMwDQYJKoZIhvcNAQEFBQADggEBAHZcgIio8pAm\nMjHD5cl6wKjXxScXKtXygWH2BoDMYBJF9yfyKO2jEFxYKbHePpnXB1R04zJSWAw5\n2EUuDI1pSBh9BA82/5PkuNlNeSTB3dXDD2PEPdzVWbSKvUB8ZdooV+2vngL0Zm4r\n47QPyd18yPHrRIbtBtHR/6CwKevLZ394zgExqhnekYKIqqEX41xsUV0Gm6x4vpjf\n2u6O/+YE2U+qyyxHE5Wd5oqde0oo9UUpFETJPVb6Q2cEeQib8PBAyi0i6KnF+kIV\nA9dY7IHSubtCK/i8wxMVqfd5GtbA8mmpeJFwnDvm9rBEsHybl08qlax9syEwsUYr\n/40NawZfTUU=\n-----END CERTIFICATE-----\n", "-----BEGIN CERTIFICATE-----\nMIIEATCCAumgAwIBAgIBRDANBgkqhkiG9w0BAQUFADCBijELMAkGA1UEBhMCVVMx\nEzARBgNVBAgMCldhc2hpbmd0b24xEDAOBgNVBAcMB1NlYXR0bGUxIjAgBgNVBAoM\nGUFtYXpvbiBXZWIgU2VydmljZXMsIEluYy4xEzARBgNVBAsMCkFtYXpvbiBSRFMx\nGzAZBgNVBAMMEkFtYXpvbiBSRFMgUm9vdCBDQTAeFw0xNTAyMDUyMjAzMDZaFw0y\nMDAzMDUyMjAzMDZaMIGUMQswCQYDVQQGEwJVUzETMBEGA1UECAwKV2FzaGluZ3Rv\nbjEQMA4GA1UEBwwHU2VhdHRsZTEiMCAGA1UECgwZQW1hem9uIFdlYiBTZXJ2aWNl\ncywgSW5jLjETMBEGA1UECwwKQW1hem9uIFJEUzElMCMGA1UEAwwcQW1hem9uIFJE\nUyBhcC1ub3J0aGVhc3QtMSBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoC\nggEBAMmM2B4PfTXCZjbZMWiDPyxvk/eeNwIRJAhfzesiGUiLozX6CRy3rwC1ZOPV\nAcQf0LB+O8wY88C/cV+d4Q2nBDmnk+Vx7o2MyMh343r5rR3Na+4izd89tkQVt0WW\nvO21KRH5i8EuBjinboOwAwu6IJ+HyiQiM0VjgjrmEr/YzFPL8MgHD/YUHehqjACn\nC0+B7/gu7W4qJzBL2DOf7ub2qszGtwPE+qQzkCRDwE1A4AJmVE++/FLH2Zx78Egg\nfV1sUxPtYgjGH76VyyO6GNKM6rAUMD/q5mnPASQVIXgKbupr618bnH+SWHFjBqZq\nHvDGPMtiiWII41EmGUypyt5AbysCAwEAAaNmMGQwDgYDVR0PAQH/BAQDAgEGMBIG\nA1UdEwEB/wQIMAYBAf8CAQAwHQYDVR0OBBYEFIiKM0Q6n1K4EmLxs3ZXxINbwEwR\nMB8GA1UdIwQYMBaAFE4C7qw+9hXITO0s9QXBj5yECEmDMA0GCSqGSIb3DQEBBQUA\nA4IBAQBezGbE9Rw/k2e25iGjj5n8r+M3dlye8ORfCE/dijHtxqAKasXHgKX8I9Tw\nJkBiGWiuzqn7gO5MJ0nMMro1+gq29qjZnYX1pDHPgsRjUX8R+juRhgJ3JSHijRbf\n4qNJrnwga7pj94MhcLq9u0f6dxH6dXbyMv21T4TZMTmcFduf1KgaiVx1PEyJjC6r\nM+Ru+A0eM+jJ7uCjUoZKcpX8xkj4nmSnz9NMPog3wdOSB9cAW7XIc5mHa656wr7I\nWJxVcYNHTXIjCcng2zMKd1aCcl2KSFfy56sRfT7J5Wp69QSr+jq8KM55gw8uqAwi\nVPrXn2899T1rcTtFYFP16WXjGuc0\n-----END CERTIFICATE-----\n", @@ -16822,7 +17465,7 @@ var require_ssl_profiles = __commonJS({ // node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/connection_config.js var require_connection_config = __commonJS({ - "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/connection_config.js"(exports, module2) { + "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/connection_config.js"(exports2, module2) { "use strict"; var { URL: URL2 } = require("url"); var ClientConstants = require_client(); @@ -16854,6 +17497,8 @@ var require_connection_config = __commonJS({ namedPlaceholders: 1, nestTables: 1, password: 1, + // with multi-factor authentication, the main password (used for the first + // authentication factor) can be provided via password1 password1: 1, password2: 1, password3: 1, @@ -16872,6 +17517,7 @@ var require_connection_config = __commonJS({ typeCast: 1, uri: 1, user: 1, + // These options are used for Pool connectionLimit: 1, maxIdle: 1, idleTimeout: 1, @@ -16879,12 +17525,12 @@ var require_connection_config = __commonJS({ queueLimit: 1, waitForConnections: 1 }; - var ConnectionConfig = class { + var _ConnectionConfig = class _ConnectionConfig { constructor(options) { if (typeof options === "string") { - options = ConnectionConfig.parseUrl(options); + options = _ConnectionConfig.parseUrl(options); } else if (options && options.uri) { - const uriOptions = ConnectionConfig.parseUrl(options.uri); + const uriOptions = _ConnectionConfig.parseUrl(options.uri); for (const key in uriOptions) { if (!Object.prototype.hasOwnProperty.call(uriOptions, key)) continue; @@ -16935,7 +17581,7 @@ var require_connection_config = __commonJS({ } this.queryFormat = options.queryFormat; this.pool = options.pool || void 0; - this.ssl = typeof options.ssl === "string" ? ConnectionConfig.getSSLProfile(options.ssl) : options.ssl || false; + this.ssl = typeof options.ssl === "string" ? _ConnectionConfig.getSSLProfile(options.ssl) : options.ssl || false; this.multipleStatements = options.multipleStatements || false; this.rowsAsArray = options.rowsAsArray || false; this.namedPlaceholders = options.namedPlaceholders || false; @@ -16953,12 +17599,12 @@ var require_connection_config = __commonJS({ this.ssl.rejectUnauthorized = this.ssl.rejectUnauthorized !== false; } this.maxPacketSize = 0; - this.charsetNumber = options.charset ? ConnectionConfig.getCharsetNumber(options.charset) : options.charsetNumber || Charsets.UTF8MB4_UNICODE_CI; + this.charsetNumber = options.charset ? _ConnectionConfig.getCharsetNumber(options.charset) : options.charsetNumber || Charsets.UTF8MB4_UNICODE_CI; this.compress = options.compress || false; this.authPlugins = options.authPlugins; this.authSwitchHandler = options.authSwitchHandler; - this.clientFlags = ConnectionConfig.mergeFlags( - ConnectionConfig.getDefaultFlags(options), + this.clientFlags = _ConnectionConfig.mergeFlags( + _ConnectionConfig.getDefaultFlags(options), options.flags || "" ); const defaultConnectAttributes = { @@ -17052,13 +17698,15 @@ var require_connection_config = __commonJS({ return options; } }; + __name(_ConnectionConfig, "ConnectionConfig"); + var ConnectionConfig = _ConnectionConfig; module2.exports = ConnectionConfig; } }); // node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/connection.js var require_connection = __commonJS({ - "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/connection.js"(exports, module2) { + "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/connection.js"(exports2, module2) { "use strict"; var Net = require("net"); var Tls = require("tls"); @@ -17074,7 +17722,7 @@ var require_connection = __commonJS({ var ConnectionConfig = require_connection_config(); var CharsetToEncoding = require_charset_encodings(); var _connectionId = 0; - var Connection = class extends EventEmitter { + var _Connection = class _Connection extends EventEmitter { constructor(opts) { super(); this.config = opts.config; @@ -17219,6 +17867,8 @@ var require_connection = __commonJS({ err.syscall = "connect"; this._handleNetworkError(err); } + // notify all commands in the queue and bubble error as connection "error" + // called on stream error or unexpected termination _notifyError(err) { if (this.connectTimeout) { Timers.clearTimeout(this.connectTimeout); @@ -17259,6 +17909,12 @@ var require_connection = __commonJS({ this.stream.emit("pause"); } } + // http://dev.mysql.com/doc/internals/en/sequence-id.html + // + // The sequence-id is incremented with each packet and may wrap around. + // It starts at 0 and is reset to 0 when a new command + // begins in the Command Phase. + // http://dev.mysql.com/doc/internals/en/example-several-mysql-packets.html _resetSequenceId() { this.sequenceId = 0; this.compressedSequenceId = 0; @@ -17314,6 +17970,7 @@ var require_connection = __commonJS({ } } } + // 0.11+ environment startTLS(onSecure) { if (this.config.debug) { console.log("Upgrading connection to TLS"); @@ -17489,7 +18146,7 @@ var require_connection = __commonJS({ if (sql.constructor === Commands.Query) { cmdQuery = sql; } else { - cmdQuery = Connection.createQuery(sql, values, cb, this.config); + cmdQuery = _Connection.createQuery(sql, values, cb, this.config); } const rawSql = this.format(cmdQuery.sql, cmdQuery.values !== void 0 ? cmdQuery.values : []); cmdQuery.sql = rawSql; @@ -17510,6 +18167,7 @@ var require_connection = __commonJS({ } this.stream.resume(); } + // TODO: named placeholders support prepare(options, cb) { if (typeof options === "string") { options = { sql: options }; @@ -17523,7 +18181,7 @@ var require_connection = __commonJS({ } else { options.sql = sql; } - const key = Connection.statementKey(options); + const key = _Connection.statementKey(options); const stmt = this._statements.get(key); if (stmt) { this._statements.delete(key); @@ -17590,6 +18248,9 @@ var require_connection = __commonJS({ new Commands.ChangeUser( { user: options.user || this.config.user, + // for the purpose of multi-factor authentication, or not, the main + // password (used for the 1st authentication factor) can also be + // provided via the "password1" option password: options.password || options.password1 || this.config.password || this.config.password1, password2: options.password2 || this.config.password2, password3: options.password3 || this.config.password3, @@ -17610,6 +18271,7 @@ var require_connection = __commonJS({ ) ); } + // transaction helpers beginTransaction(cb) { return this.query("START TRANSACTION", cb); } @@ -17628,6 +18290,7 @@ var require_connection = __commonJS({ _binlogDump(opts, cb) { return this.addCommand(new Commands.BinlogDump(opts, cb)); } + // currently just alias to close destroy() { this.close(); } @@ -17685,9 +18348,13 @@ var require_connection = __commonJS({ connectCalled = 1; }; } + __name(callbackOnce, "callbackOnce"); this.once("error", callbackOnce(true)); this.once("connect", callbackOnce(false)); } + // =================================== + // outgoing server connection methods + // =================================== writeColumns(columns) { this.writePacket(Packets.ResultSetHeader.toPacket(columns.length)); columns.forEach((column) => { @@ -17697,6 +18364,7 @@ var require_connection = __commonJS({ }); this.writeEof(); } + // row is array of columns, not hash writeTextRow(column) { this.writePacket( Packets.TextRow.toPacket(column, this.serverConfig.encoding) @@ -17739,6 +18407,7 @@ var require_connection = __commonJS({ this.serverConfig.encoding = CharsetToEncoding[this.serverConfig.characterSet]; return this.addCommand(new Commands.ServerHandshake(args)); } + // =============================================================== end(callback) { if (this.config.isServer) { this._closing = true; @@ -17778,16 +18447,18 @@ var require_connection = __commonJS({ return `${typeof options.nestTables}/${options.nestTables}/${options.rowsAsArray}${options.sql}`; } }; + __name(_Connection, "Connection"); + var Connection = _Connection; module2.exports = Connection; } }); // node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/pool_connection.js var require_pool_connection = __commonJS({ - "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/pool_connection.js"(exports, module2) { + "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/pool_connection.js"(exports2, module2) { "use strict"; var Connection = require_mysql2().Connection; - var PoolConnection = class extends Connection { + var _PoolConnection = class _PoolConnection extends Connection { constructor(pool2, options) { super(options); this._pool = pool2; @@ -17831,6 +18502,8 @@ var require_pool_connection = __commonJS({ pool2._removeConnection(this); } }; + __name(_PoolConnection, "PoolConnection"); + var PoolConnection = _PoolConnection; PoolConnection.statementKey = Connection.statementKey; module2.exports = PoolConnection; PoolConnection.prototype._realEnd = Connection.prototype.end; @@ -17839,7 +18512,7 @@ var require_pool_connection = __commonJS({ // node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/pool.js var require_pool = __commonJS({ - "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/pool.js"(exports, module2) { + "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/pool.js"(exports2, module2) { "use strict"; var process2 = require("process"); var mysql = require_mysql2(); @@ -17856,7 +18529,8 @@ var require_pool = __commonJS({ } } } - var Pool2 = class extends EventEmitter { + __name(spliceConnection, "spliceConnection"); + var _Pool = class _Pool extends EventEmitter { constructor(options) { super(); this.config = options.config; @@ -17927,11 +18601,11 @@ var require_pool = __commonJS({ end(cb) { this._closed = true; if (typeof cb !== "function") { - cb = function(err) { + cb = /* @__PURE__ */ __name(function(err) { if (err) { throw err; } - }; + }, "cb"); } let calledBack = false; let closedConnections = 0; @@ -18042,16 +18716,18 @@ var require_pool = __commonJS({ return mysql.escapeId(value, false); } }; + __name(_Pool, "Pool"); + var Pool2 = _Pool; module2.exports = Pool2; } }); // node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/pool_config.js var require_pool_config = __commonJS({ - "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/pool_config.js"(exports, module2) { + "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/pool_config.js"(exports2, module2) { "use strict"; var ConnectionConfig = require_connection_config(); - var PoolConfig = class { + var _PoolConfig = class _PoolConfig { constructor(options) { if (typeof options === "string") { options = ConnectionConfig.parseUrl(options); @@ -18064,13 +18740,15 @@ var require_pool_config = __commonJS({ this.queueLimit = isNaN(options.queueLimit) ? 0 : Number(options.queueLimit); } }; + __name(_PoolConfig, "PoolConfig"); + var PoolConfig = _PoolConfig; module2.exports = PoolConfig; } }); // node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/pool_cluster.js var require_pool_cluster = __commonJS({ - "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/pool_cluster.js"(exports, module2) { + "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/pool_cluster.js"(exports2, module2) { "use strict"; var process2 = require("process"); var Pool2 = require_pool(); @@ -18089,7 +18767,7 @@ var require_pool_cluster = __commonJS({ return (clusterIds) => clusterIds[0]; } }; - var PoolNamespace = class { + var _PoolNamespace = class _PoolNamespace { constructor(cluster, pattern, selector) { this._cluster = cluster; this._pattern = pattern; @@ -18110,6 +18788,13 @@ var require_pool_cluster = __commonJS({ return cb(null, connection); }); } + /** + * pool cluster query + * @param {*} sql + * @param {*} values + * @param {*} cb + * @returns query + */ query(sql, values, cb) { const query = Connection.createQuery(sql, values, cb, {}); this.getConnection((err, conn) => { @@ -18132,6 +18817,12 @@ var require_pool_cluster = __commonJS({ }); return query; } + /** + * pool cluster execute + * @param {*} sql + * @param {*} values + * @param {*} cb + */ execute(sql, values, cb) { if (typeof values === "function") { cb = values; @@ -18160,7 +18851,9 @@ var require_pool_cluster = __commonJS({ return this._cluster._getNode(nodeId); } }; - var PoolCluster = class extends EventEmitter { + __name(_PoolNamespace, "PoolNamespace"); + var PoolNamespace = _PoolNamespace; + var _PoolCluster = class _PoolCluster extends EventEmitter { constructor(config) { super(); config = config || {}; @@ -18229,12 +18922,12 @@ var require_pool_cluster = __commonJS({ this._closed = true; let calledBack = false; let waitingClose = 0; - const onEnd = (err) => { + const onEnd = /* @__PURE__ */ __name((err) => { if (!calledBack && (err || --waitingClose <= 0)) { calledBack = true; return cb(err); } - }; + }, "onEnd"); for (const id in this._nodes) { waitingClose++; this._nodes[id].pool.end(onEnd); @@ -18301,19 +18994,21 @@ var require_pool_cluster = __commonJS({ this._findCaches = {}; } }; + __name(_PoolCluster, "PoolCluster"); + var PoolCluster = _PoolCluster; module2.exports = PoolCluster; } }); // node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/server.js var require_server = __commonJS({ - "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/server.js"(exports, module2) { + "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/server.js"(exports2, module2) { "use strict"; var net = require("net"); var EventEmitter = require("events").EventEmitter; var Connection = require_connection(); var ConnectionConfig = require_connection_config(); - var Server = class extends EventEmitter { + var _Server = class _Server extends EventEmitter { constructor() { super(); this.connections = []; @@ -18336,13 +19031,15 @@ var require_server = __commonJS({ this._server.close(cb); } }; + __name(_Server, "Server"); + var Server = _Server; module2.exports = Server; } }); // node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/auth_plugins/index.js var require_auth_plugins = __commonJS({ - "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/auth_plugins/index.js"(exports, module2) { + "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/lib/auth_plugins/index.js"(exports2, module2) { "use strict"; module2.exports = { caching_sha2_password: require_caching_sha2_password(), @@ -18355,32 +19052,32 @@ var require_auth_plugins = __commonJS({ // node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/index.js var require_mysql2 = __commonJS({ - "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/index.js"(exports) { + "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/index.js"(exports2) { "use strict"; var SqlString = require_sqlstring(); var Connection = require_connection(); var ConnectionConfig = require_connection_config(); var parserCache = require_parser_cache(); - exports.createConnection = function(opts) { + exports2.createConnection = function(opts) { return new Connection({ config: new ConnectionConfig(opts) }); }; - exports.connect = exports.createConnection; - exports.Connection = Connection; - exports.ConnectionConfig = ConnectionConfig; + exports2.connect = exports2.createConnection; + exports2.Connection = Connection; + exports2.ConnectionConfig = ConnectionConfig; var Pool2 = require_pool(); var PoolCluster = require_pool_cluster(); - exports.createPool = function(config) { + exports2.createPool = function(config) { const PoolConfig = require_pool_config(); return new Pool2({ config: new PoolConfig(config) }); }; - exports.createPoolCluster = function(config) { + exports2.createPoolCluster = function(config) { const PoolCluster2 = require_pool_cluster(); return new PoolCluster2(config); }; - exports.createQuery = Connection.createQuery; - exports.Pool = Pool2; - exports.PoolCluster = PoolCluster; - exports.createServer = function(handler) { + exports2.createQuery = Connection.createQuery; + exports2.Pool = Pool2; + exports2.PoolCluster = PoolCluster; + exports2.createServer = function(handler) { const Server = require_server(); const s2 = new Server(); if (handler) { @@ -18388,37 +19085,37 @@ var require_mysql2 = __commonJS({ } return s2; }; - exports.PoolConnection = require_pool_connection(); - exports.authPlugins = require_auth_plugins(); - exports.escape = SqlString.escape; - exports.escapeId = SqlString.escapeId; - exports.format = SqlString.format; - exports.raw = SqlString.raw; - exports.__defineGetter__( + exports2.PoolConnection = require_pool_connection(); + exports2.authPlugins = require_auth_plugins(); + exports2.escape = SqlString.escape; + exports2.escapeId = SqlString.escapeId; + exports2.format = SqlString.format; + exports2.raw = SqlString.raw; + exports2.__defineGetter__( "createConnectionPromise", () => require_promise().createConnection ); - exports.__defineGetter__( + exports2.__defineGetter__( "createPoolPromise", () => require_promise().createPool ); - exports.__defineGetter__( + exports2.__defineGetter__( "createPoolClusterPromise", () => require_promise().createPoolCluster ); - exports.__defineGetter__("Types", () => require_types()); - exports.__defineGetter__( + exports2.__defineGetter__("Types", () => require_types()); + exports2.__defineGetter__( "Charsets", () => require_charsets() ); - exports.__defineGetter__( + exports2.__defineGetter__( "CharsetToEncoding", () => require_charset_encodings() ); - exports.setMaxParserCache = function(max) { + exports2.setMaxParserCache = function(max) { parserCache.setMaxCache(max); }; - exports.clearParserCache = function() { + exports2.clearParserCache = function() { parserCache.clearCache(); }; } @@ -18426,7 +19123,7 @@ var require_mysql2 = __commonJS({ // node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/promise.js var require_promise = __commonJS({ - "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/promise.js"(exports) { + "node_modules/.pnpm/mysql2@3.5.1/node_modules/mysql2/promise.js"(exports2) { "use strict"; var core = require_mysql2(); var EventEmitter = require("events").EventEmitter; @@ -18446,6 +19143,7 @@ var require_promise = __commonJS({ } }; } + __name(makeDoneCb, "makeDoneCb"); function inheritEvents(source2, target, events) { const listeners = {}; target.on("newListener", (eventName) => { @@ -18466,7 +19164,8 @@ var require_promise = __commonJS({ } }); } - var PromisePreparedStatementInfo = class { + __name(inheritEvents, "inheritEvents"); + var _PromisePreparedStatementInfo = class _PromisePreparedStatementInfo { constructor(statement, promiseImpl) { this.statement = statement; this.Promise = promiseImpl; @@ -18490,7 +19189,9 @@ var require_promise = __commonJS({ }); } }; - var PromiseConnection = class extends EventEmitter { + __name(_PromisePreparedStatementInfo, "PromisePreparedStatementInfo"); + var PromisePreparedStatementInfo = _PromisePreparedStatementInfo; + var _PromiseConnection = class _PromiseConnection extends EventEmitter { constructor(connection, promiseImpl) { super(); this.connection = connection; @@ -18653,6 +19354,8 @@ var require_promise = __commonJS({ return this.connection.threadId; } }; + __name(_PromiseConnection, "PromiseConnection"); + var PromiseConnection = _PromiseConnection; function createConnection(opts) { const coreConnection = core.createConnection(opts); const createConnectionErr = new Error(); @@ -18675,21 +19378,23 @@ var require_promise = __commonJS({ }); }); } + __name(createConnection, "createConnection"); (function(functionsToWrap) { for (let i2 = 0; functionsToWrap && i2 < functionsToWrap.length; i2++) { const func = functionsToWrap[i2]; if (typeof core.Connection.prototype[func] === "function" && PromiseConnection.prototype[func] === void 0) { - PromiseConnection.prototype[func] = function factory(funcName) { + PromiseConnection.prototype[func] = (/* @__PURE__ */ __name(function factory(funcName) { return function() { return core.Connection.prototype[funcName].apply( this.connection, arguments ); }; - }(func); + }, "factory"))(func); } } })([ + // synchronous functions "close", "createBinlogStream", "destroy", @@ -18701,7 +19406,7 @@ var require_promise = __commonJS({ "resume", "unprepare" ]); - var PromisePoolConnection = class extends PromiseConnection { + var _PromisePoolConnection = class _PromisePoolConnection extends PromiseConnection { constructor(connection, promiseImpl) { super(connection, promiseImpl); } @@ -18712,7 +19417,9 @@ var require_promise = __commonJS({ ); } }; - var PromisePool = class extends EventEmitter { + __name(_PromisePoolConnection, "PromisePoolConnection"); + var PromisePoolConnection = _PromisePoolConnection; + var _PromisePool = class _PromisePool extends EventEmitter { constructor(pool2, thePromise) { super(); this.pool = pool2; @@ -18788,6 +19495,8 @@ var require_promise = __commonJS({ }); } }; + __name(_PromisePool, "PromisePool"); + var PromisePool = _PromisePool; function createPool2(opts) { const corePool = core.createPool(opts); const thePromise = opts.Promise || Promise; @@ -18798,23 +19507,25 @@ var require_promise = __commonJS({ } return new PromisePool(corePool, thePromise); } + __name(createPool2, "createPool"); (function(functionsToWrap) { for (let i2 = 0; functionsToWrap && i2 < functionsToWrap.length; i2++) { const func = functionsToWrap[i2]; if (typeof core.Pool.prototype[func] === "function" && PromisePool.prototype[func] === void 0) { - PromisePool.prototype[func] = function factory(funcName) { + PromisePool.prototype[func] = (/* @__PURE__ */ __name(function factory(funcName) { return function() { return core.Pool.prototype[funcName].apply(this.pool, arguments); }; - }(func); + }, "factory"))(func); } } })([ + // synchronous functions "escape", "escapeId", "format" ]); - var PromisePoolCluster = class extends EventEmitter { + var _PromisePoolCluster = class _PromisePoolCluster extends EventEmitter { constructor(poolCluster, thePromise) { super(); this.poolCluster = poolCluster; @@ -18860,7 +19571,7 @@ var require_promise = __commonJS({ }); } of(pattern, selector) { - return new PromisePoolCluster( + return new _PromisePoolCluster( this.poolCluster.of(pattern, selector), this.Promise ); @@ -18884,15 +19595,17 @@ var require_promise = __commonJS({ }); } }; + __name(_PromisePoolCluster, "PromisePoolCluster"); + var PromisePoolCluster = _PromisePoolCluster; (function(functionsToWrap) { for (let i2 = 0; functionsToWrap && i2 < functionsToWrap.length; i2++) { const func = functionsToWrap[i2]; if (typeof core.PoolCluster.prototype[func] === "function" && PromisePoolCluster.prototype[func] === void 0) { - PromisePoolCluster.prototype[func] = function factory(funcName) { + PromisePoolCluster.prototype[func] = (/* @__PURE__ */ __name(function factory(funcName) { return function() { return core.PoolCluster.prototype[funcName].apply(this.poolCluster, arguments); }; - }(func); + }, "factory"))(func); } } })([ @@ -18908,29 +19621,30 @@ var require_promise = __commonJS({ } return new PromisePoolCluster(corePoolCluster, thePromise); } - exports.createConnection = createConnection; - exports.createPool = createPool2; - exports.createPoolCluster = createPoolCluster; - exports.escape = core.escape; - exports.escapeId = core.escapeId; - exports.format = core.format; - exports.raw = core.raw; - exports.PromisePool = PromisePool; - exports.PromiseConnection = PromiseConnection; - exports.PromisePoolConnection = PromisePoolConnection; - exports.__defineGetter__("Types", () => require_types()); - exports.__defineGetter__( + __name(createPoolCluster, "createPoolCluster"); + exports2.createConnection = createConnection; + exports2.createPool = createPool2; + exports2.createPoolCluster = createPoolCluster; + exports2.escape = core.escape; + exports2.escapeId = core.escapeId; + exports2.format = core.format; + exports2.raw = core.raw; + exports2.PromisePool = PromisePool; + exports2.PromiseConnection = PromiseConnection; + exports2.PromisePoolConnection = PromisePoolConnection; + exports2.__defineGetter__("Types", () => require_types()); + exports2.__defineGetter__( "Charsets", () => require_charsets() ); - exports.__defineGetter__( + exports2.__defineGetter__( "CharsetToEncoding", () => require_charset_encodings() ); - exports.setMaxParserCache = function(max) { + exports2.setMaxParserCache = function(max) { parserCache.setMaxCache(max); }; - exports.clearParserCache = function() { + exports2.clearParserCache = function() { parserCache.clearCache(); }; } @@ -18976,21 +19690,23 @@ function dataUriToBuffer(uri) { var dist_default; var init_dist = __esm({ "node_modules/.pnpm/data-uri-to-buffer@4.0.1/node_modules/data-uri-to-buffer/dist/index.js"() { + __name(dataUriToBuffer, "dataUriToBuffer"); dist_default = dataUriToBuffer; } }); // node_modules/.pnpm/web-streams-polyfill@3.2.1/node_modules/web-streams-polyfill/dist/ponyfill.es2018.js var require_ponyfill_es2018 = __commonJS({ - "node_modules/.pnpm/web-streams-polyfill@3.2.1/node_modules/web-streams-polyfill/dist/ponyfill.es2018.js"(exports, module2) { + "node_modules/.pnpm/web-streams-polyfill@3.2.1/node_modules/web-streams-polyfill/dist/ponyfill.es2018.js"(exports2, module2) { (function(global2, factory) { - typeof exports === "object" && typeof module2 !== "undefined" ? factory(exports) : typeof define === "function" && define.amd ? define(["exports"], factory) : (global2 = typeof globalThis !== "undefined" ? globalThis : global2 || self, factory(global2.WebStreamsPolyfill = {})); - })(exports, function(exports2) { + typeof exports2 === "object" && typeof module2 !== "undefined" ? factory(exports2) : typeof define === "function" && define.amd ? define(["exports"], factory) : (global2 = typeof globalThis !== "undefined" ? globalThis : global2 || self, factory(global2.WebStreamsPolyfill = {})); + })(exports2, function(exports3) { "use strict"; const SymbolPolyfill = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? Symbol : (description) => `Symbol(${description})`; function noop2() { return void 0; } + __name(noop2, "noop"); function getGlobals() { if (typeof self !== "undefined") { return self; @@ -19001,10 +19717,12 @@ var require_ponyfill_es2018 = __commonJS({ } return void 0; } + __name(getGlobals, "getGlobals"); const globals = getGlobals(); function typeIsObject(x2) { return typeof x2 === "object" && x2 !== null || typeof x2 === "function"; } + __name(typeIsObject, "typeIsObject"); const rethrowAssertionErrorRejection = noop2; const originalPromise = Promise; const originalPromiseThen = Promise.prototype.then; @@ -19013,30 +19731,39 @@ var require_ponyfill_es2018 = __commonJS({ function newPromise(executor) { return new originalPromise(executor); } + __name(newPromise, "newPromise"); function promiseResolvedWith(value) { return originalPromiseResolve(value); } + __name(promiseResolvedWith, "promiseResolvedWith"); function promiseRejectedWith(reason) { return originalPromiseReject(reason); } + __name(promiseRejectedWith, "promiseRejectedWith"); function PerformPromiseThen(promise, onFulfilled, onRejected) { return originalPromiseThen.call(promise, onFulfilled, onRejected); } + __name(PerformPromiseThen, "PerformPromiseThen"); function uponPromise(promise, onFulfilled, onRejected) { PerformPromiseThen(PerformPromiseThen(promise, onFulfilled, onRejected), void 0, rethrowAssertionErrorRejection); } + __name(uponPromise, "uponPromise"); function uponFulfillment(promise, onFulfilled) { uponPromise(promise, onFulfilled); } + __name(uponFulfillment, "uponFulfillment"); function uponRejection(promise, onRejected) { uponPromise(promise, void 0, onRejected); } + __name(uponRejection, "uponRejection"); function transformPromiseWith(promise, fulfillmentHandler, rejectionHandler) { return PerformPromiseThen(promise, fulfillmentHandler, rejectionHandler); } + __name(transformPromiseWith, "transformPromiseWith"); function setPromiseIsHandledToTrue(promise) { PerformPromiseThen(promise, void 0, rethrowAssertionErrorRejection); } + __name(setPromiseIsHandledToTrue, "setPromiseIsHandledToTrue"); const queueMicrotask = (() => { const globalQueueMicrotask = globals && globals.queueMicrotask; if (typeof globalQueueMicrotask === "function") { @@ -19051,6 +19778,7 @@ var require_ponyfill_es2018 = __commonJS({ } return Function.prototype.apply.call(F2, V, args); } + __name(reflectCall, "reflectCall"); function promiseCall(F2, V, args) { try { return promiseResolvedWith(reflectCall(F2, V, args)); @@ -19058,8 +19786,9 @@ var require_ponyfill_es2018 = __commonJS({ return promiseRejectedWith(value); } } + __name(promiseCall, "promiseCall"); const QUEUE_MAX_ARRAY_SIZE = 16384; - class SimpleQueue { + const _SimpleQueue = class _SimpleQueue { constructor() { this._cursor = 0; this._size = 0; @@ -19074,6 +19803,10 @@ var require_ponyfill_es2018 = __commonJS({ get length() { return this._size; } + // For exception safety, this method is structured in order: + // 1. Read state + // 2. Calculate required state mutations + // 3. Perform state mutations push(element) { const oldBack = this._back; let newBack = oldBack; @@ -19090,6 +19823,8 @@ var require_ponyfill_es2018 = __commonJS({ } ++this._size; } + // Like push(), shift() follows the read -> calculate -> mutate pattern for + // exception safety. shift() { const oldFront = this._front; let newFront = oldFront; @@ -19109,6 +19844,14 @@ var require_ponyfill_es2018 = __commonJS({ elements[oldCursor] = void 0; return element; } + // The tricky thing about forEach() is that it can be called + // re-entrantly. The queue may be mutated inside the callback. It is easy to + // see that push() within the callback has no negative effects since the end + // of the queue is checked for on every iteration. If shift() is called + // repeatedly within the callback then the next iteration may return an + // element that has been removed. In this case the callback will be called + // with undefined values until we either "catch up" with elements that still + // exist or reach the back of the queue. forEach(callback) { let i2 = this._cursor; let node = this._front; @@ -19126,12 +19869,16 @@ var require_ponyfill_es2018 = __commonJS({ ++i2; } } + // Return the element that would be returned if shift() was called now, + // without modifying the queue. peek() { const front = this._front; const cursor = this._cursor; return front._elements[cursor]; } - } + }; + __name(_SimpleQueue, "SimpleQueue"); + let SimpleQueue = _SimpleQueue; function ReadableStreamReaderGenericInitialize(reader, stream) { reader._ownerReadableStream = stream; stream._reader = reader; @@ -19143,10 +19890,12 @@ var require_ponyfill_es2018 = __commonJS({ defaultReaderClosedPromiseInitializeAsRejected(reader, stream._storedError); } } + __name(ReadableStreamReaderGenericInitialize, "ReadableStreamReaderGenericInitialize"); function ReadableStreamReaderGenericCancel(reader, reason) { const stream = reader._ownerReadableStream; return ReadableStreamCancel(stream, reason); } + __name(ReadableStreamReaderGenericCancel, "ReadableStreamReaderGenericCancel"); function ReadableStreamReaderGenericRelease(reader) { if (reader._ownerReadableStream._state === "readable") { defaultReaderClosedPromiseReject(reader, new TypeError(`Reader was released and can no longer be used to monitor the stream's closedness`)); @@ -19156,23 +19905,28 @@ var require_ponyfill_es2018 = __commonJS({ reader._ownerReadableStream._reader = void 0; reader._ownerReadableStream = void 0; } + __name(ReadableStreamReaderGenericRelease, "ReadableStreamReaderGenericRelease"); function readerLockException(name) { return new TypeError("Cannot " + name + " a stream using a released reader"); } + __name(readerLockException, "readerLockException"); function defaultReaderClosedPromiseInitialize(reader) { reader._closedPromise = newPromise((resolve, reject) => { reader._closedPromise_resolve = resolve; reader._closedPromise_reject = reject; }); } + __name(defaultReaderClosedPromiseInitialize, "defaultReaderClosedPromiseInitialize"); function defaultReaderClosedPromiseInitializeAsRejected(reader, reason) { defaultReaderClosedPromiseInitialize(reader); defaultReaderClosedPromiseReject(reader, reason); } + __name(defaultReaderClosedPromiseInitializeAsRejected, "defaultReaderClosedPromiseInitializeAsRejected"); function defaultReaderClosedPromiseInitializeAsResolved(reader) { defaultReaderClosedPromiseInitialize(reader); defaultReaderClosedPromiseResolve(reader); } + __name(defaultReaderClosedPromiseInitializeAsResolved, "defaultReaderClosedPromiseInitializeAsResolved"); function defaultReaderClosedPromiseReject(reader, reason) { if (reader._closedPromise_reject === void 0) { return; @@ -19182,9 +19936,11 @@ var require_ponyfill_es2018 = __commonJS({ reader._closedPromise_resolve = void 0; reader._closedPromise_reject = void 0; } + __name(defaultReaderClosedPromiseReject, "defaultReaderClosedPromiseReject"); function defaultReaderClosedPromiseResetToRejected(reader, reason) { defaultReaderClosedPromiseInitializeAsRejected(reader, reason); } + __name(defaultReaderClosedPromiseResetToRejected, "defaultReaderClosedPromiseResetToRejected"); function defaultReaderClosedPromiseResolve(reader) { if (reader._closedPromise_resolve === void 0) { return; @@ -19193,6 +19949,7 @@ var require_ponyfill_es2018 = __commonJS({ reader._closedPromise_resolve = void 0; reader._closedPromise_reject = void 0; } + __name(defaultReaderClosedPromiseResolve, "defaultReaderClosedPromiseResolve"); const AbortSteps = SymbolPolyfill("[[AbortSteps]]"); const ErrorSteps = SymbolPolyfill("[[ErrorSteps]]"); const CancelSteps = SymbolPolyfill("[[CancelSteps]]"); @@ -19206,43 +19963,53 @@ var require_ponyfill_es2018 = __commonJS({ function isDictionary(x2) { return typeof x2 === "object" || typeof x2 === "function"; } + __name(isDictionary, "isDictionary"); function assertDictionary(obj, context) { if (obj !== void 0 && !isDictionary(obj)) { throw new TypeError(`${context} is not an object.`); } } + __name(assertDictionary, "assertDictionary"); function assertFunction(x2, context) { if (typeof x2 !== "function") { throw new TypeError(`${context} is not a function.`); } } + __name(assertFunction, "assertFunction"); function isObject(x2) { return typeof x2 === "object" && x2 !== null || typeof x2 === "function"; } + __name(isObject, "isObject"); function assertObject(x2, context) { if (!isObject(x2)) { throw new TypeError(`${context} is not an object.`); } } + __name(assertObject, "assertObject"); function assertRequiredArgument(x2, position, context) { if (x2 === void 0) { throw new TypeError(`Parameter ${position} is required in '${context}'.`); } } + __name(assertRequiredArgument, "assertRequiredArgument"); function assertRequiredField(x2, field, context) { if (x2 === void 0) { throw new TypeError(`${field} is required in '${context}'.`); } } + __name(assertRequiredField, "assertRequiredField"); function convertUnrestrictedDouble(value) { return Number(value); } + __name(convertUnrestrictedDouble, "convertUnrestrictedDouble"); function censorNegativeZero(x2) { return x2 === 0 ? 0 : x2; } + __name(censorNegativeZero, "censorNegativeZero"); function integerPart(x2) { return censorNegativeZero(MathTrunc(x2)); } + __name(integerPart, "integerPart"); function convertUnsignedLongLongWithEnforceRange(value, context) { const lowerBound = 0; const upperBound = Number.MAX_SAFE_INTEGER; @@ -19260,17 +20027,21 @@ var require_ponyfill_es2018 = __commonJS({ } return x2; } + __name(convertUnsignedLongLongWithEnforceRange, "convertUnsignedLongLongWithEnforceRange"); function assertReadableStream(x2, context) { if (!IsReadableStream(x2)) { throw new TypeError(`${context} is not a ReadableStream.`); } } + __name(assertReadableStream, "assertReadableStream"); function AcquireReadableStreamDefaultReader(stream) { return new ReadableStreamDefaultReader(stream); } + __name(AcquireReadableStreamDefaultReader, "AcquireReadableStreamDefaultReader"); function ReadableStreamAddReadRequest(stream, readRequest) { stream._reader._readRequests.push(readRequest); } + __name(ReadableStreamAddReadRequest, "ReadableStreamAddReadRequest"); function ReadableStreamFulfillReadRequest(stream, chunk, done) { const reader = stream._reader; const readRequest = reader._readRequests.shift(); @@ -19280,9 +20051,11 @@ var require_ponyfill_es2018 = __commonJS({ readRequest._chunkSteps(chunk); } } + __name(ReadableStreamFulfillReadRequest, "ReadableStreamFulfillReadRequest"); function ReadableStreamGetNumReadRequests(stream) { return stream._reader._readRequests.length; } + __name(ReadableStreamGetNumReadRequests, "ReadableStreamGetNumReadRequests"); function ReadableStreamHasDefaultReader(stream) { const reader = stream._reader; if (reader === void 0) { @@ -19293,7 +20066,8 @@ var require_ponyfill_es2018 = __commonJS({ } return true; } - class ReadableStreamDefaultReader { + __name(ReadableStreamHasDefaultReader, "ReadableStreamHasDefaultReader"); + const _ReadableStreamDefaultReader = class _ReadableStreamDefaultReader { constructor(stream) { assertRequiredArgument(stream, 1, "ReadableStreamDefaultReader"); assertReadableStream(stream, "First parameter"); @@ -19303,12 +20077,19 @@ var require_ponyfill_es2018 = __commonJS({ ReadableStreamReaderGenericInitialize(this, stream); this._readRequests = new SimpleQueue(); } + /** + * Returns a promise that will be fulfilled when the stream becomes closed, + * or rejected if the stream ever errors or the reader's lock is released before the stream finishes closing. + */ get closed() { if (!IsReadableStreamDefaultReader(this)) { return promiseRejectedWith(defaultReaderBrandCheckException("closed")); } return this._closedPromise; } + /** + * If the reader is active, behaves the same as {@link ReadableStream.cancel | stream.cancel(reason)}. + */ cancel(reason = void 0) { if (!IsReadableStreamDefaultReader(this)) { return promiseRejectedWith(defaultReaderBrandCheckException("cancel")); @@ -19318,6 +20099,11 @@ var require_ponyfill_es2018 = __commonJS({ } return ReadableStreamReaderGenericCancel(this, reason); } + /** + * Returns a promise that allows access to the next chunk from the stream's internal queue, if available. + * + * If reading a chunk causes the queue to become empty, more data will be pulled from the underlying source. + */ read() { if (!IsReadableStreamDefaultReader(this)) { return promiseRejectedWith(defaultReaderBrandCheckException("read")); @@ -19339,6 +20125,15 @@ var require_ponyfill_es2018 = __commonJS({ ReadableStreamDefaultReaderRead(this, readRequest); return promise; } + /** + * Releases the reader's lock on the corresponding stream. After the lock is released, the reader is no longer active. + * If the associated stream is errored when the lock is released, the reader will appear errored in the same way + * from now on; otherwise, the reader will appear closed. + * + * A reader's lock cannot be released while it still has a pending read request, i.e., if a promise returned by + * the reader's {@link ReadableStreamDefaultReader.read | read()} method has not yet been settled. Attempting to + * do so will throw a `TypeError` and leave the reader locked to the stream. + */ releaseLock() { if (!IsReadableStreamDefaultReader(this)) { throw defaultReaderBrandCheckException("releaseLock"); @@ -19351,7 +20146,9 @@ var require_ponyfill_es2018 = __commonJS({ } ReadableStreamReaderGenericRelease(this); } - } + }; + __name(_ReadableStreamDefaultReader, "ReadableStreamDefaultReader"); + let ReadableStreamDefaultReader = _ReadableStreamDefaultReader; Object.defineProperties(ReadableStreamDefaultReader.prototype, { cancel: { enumerable: true }, read: { enumerable: true }, @@ -19373,6 +20170,7 @@ var require_ponyfill_es2018 = __commonJS({ } return x2 instanceof ReadableStreamDefaultReader; } + __name(IsReadableStreamDefaultReader, "IsReadableStreamDefaultReader"); function ReadableStreamDefaultReaderRead(reader, readRequest) { const stream = reader._ownerReadableStream; stream._disturbed = true; @@ -19384,12 +20182,14 @@ var require_ponyfill_es2018 = __commonJS({ stream._readableStreamController[PullSteps](readRequest); } } + __name(ReadableStreamDefaultReaderRead, "ReadableStreamDefaultReaderRead"); function defaultReaderBrandCheckException(name) { return new TypeError(`ReadableStreamDefaultReader.prototype.${name} can only be used on a ReadableStreamDefaultReader`); } + __name(defaultReaderBrandCheckException, "defaultReaderBrandCheckException"); const AsyncIteratorPrototype = Object.getPrototypeOf(Object.getPrototypeOf(async function* () { }).prototype); - class ReadableStreamAsyncIteratorImpl { + const _ReadableStreamAsyncIteratorImpl = class _ReadableStreamAsyncIteratorImpl { constructor(reader, preventCancel) { this._ongoingPromise = void 0; this._isFinished = false; @@ -19397,12 +20197,12 @@ var require_ponyfill_es2018 = __commonJS({ this._preventCancel = preventCancel; } next() { - const nextSteps = () => this._nextSteps(); + const nextSteps = /* @__PURE__ */ __name(() => this._nextSteps(), "nextSteps"); this._ongoingPromise = this._ongoingPromise ? transformPromiseWith(this._ongoingPromise, nextSteps, nextSteps) : nextSteps(); return this._ongoingPromise; } return(value) { - const returnSteps = () => this._returnSteps(value); + const returnSteps = /* @__PURE__ */ __name(() => this._returnSteps(value), "returnSteps"); return this._ongoingPromise ? transformPromiseWith(this._ongoingPromise, returnSteps, returnSteps) : returnSteps(); } _nextSteps() { @@ -19457,7 +20257,9 @@ var require_ponyfill_es2018 = __commonJS({ ReadableStreamReaderGenericRelease(reader); return promiseResolvedWith({ value, done: true }); } - } + }; + __name(_ReadableStreamAsyncIteratorImpl, "ReadableStreamAsyncIteratorImpl"); + let ReadableStreamAsyncIteratorImpl = _ReadableStreamAsyncIteratorImpl; const ReadableStreamAsyncIteratorPrototype = { next() { if (!IsReadableStreamAsyncIterator(this)) { @@ -19482,6 +20284,7 @@ var require_ponyfill_es2018 = __commonJS({ iterator._asyncIteratorImpl = impl; return iterator; } + __name(AcquireReadableStreamAsyncIterator, "AcquireReadableStreamAsyncIterator"); function IsReadableStreamAsyncIterator(x2) { if (!typeIsObject(x2)) { return false; @@ -19491,28 +20294,34 @@ var require_ponyfill_es2018 = __commonJS({ } try { return x2._asyncIteratorImpl instanceof ReadableStreamAsyncIteratorImpl; - } catch (_a) { + } catch (_a4) { return false; } } + __name(IsReadableStreamAsyncIterator, "IsReadableStreamAsyncIterator"); function streamAsyncIteratorBrandCheckException(name) { return new TypeError(`ReadableStreamAsyncIterator.${name} can only be used on a ReadableSteamAsyncIterator`); } + __name(streamAsyncIteratorBrandCheckException, "streamAsyncIteratorBrandCheckException"); const NumberIsNaN = Number.isNaN || function(x2) { return x2 !== x2; }; function CreateArrayFromList(elements) { return elements.slice(); } + __name(CreateArrayFromList, "CreateArrayFromList"); function CopyDataBlockBytes(dest, destOffset, src, srcOffset, n) { new Uint8Array(dest).set(new Uint8Array(src, srcOffset, n), destOffset); } + __name(CopyDataBlockBytes, "CopyDataBlockBytes"); function TransferArrayBuffer(O) { return O; } + __name(TransferArrayBuffer, "TransferArrayBuffer"); function IsDetachedBuffer(O) { return false; } + __name(IsDetachedBuffer, "IsDetachedBuffer"); function ArrayBufferSlice(buffer, begin, end) { if (buffer.slice) { return buffer.slice(begin, end); @@ -19522,6 +20331,7 @@ var require_ponyfill_es2018 = __commonJS({ CopyDataBlockBytes(slice, 0, buffer, begin, length); return slice; } + __name(ArrayBufferSlice, "ArrayBufferSlice"); function IsNonNegativeNumber(v) { if (typeof v !== "number") { return false; @@ -19534,10 +20344,12 @@ var require_ponyfill_es2018 = __commonJS({ } return true; } + __name(IsNonNegativeNumber, "IsNonNegativeNumber"); function CloneAsUint8Array(O) { const buffer = ArrayBufferSlice(O.buffer, O.byteOffset, O.byteOffset + O.byteLength); return new Uint8Array(buffer); } + __name(CloneAsUint8Array, "CloneAsUint8Array"); function DequeueValue(container) { const pair = container._queue.shift(); container._queueTotalSize -= pair.size; @@ -19546,6 +20358,7 @@ var require_ponyfill_es2018 = __commonJS({ } return pair.value; } + __name(DequeueValue, "DequeueValue"); function EnqueueValueWithSize(container, value, size) { if (!IsNonNegativeNumber(size) || size === Infinity) { throw new RangeError("Size must be a finite, non-NaN, non-negative number."); @@ -19553,18 +20366,24 @@ var require_ponyfill_es2018 = __commonJS({ container._queue.push({ value, size }); container._queueTotalSize += size; } + __name(EnqueueValueWithSize, "EnqueueValueWithSize"); function PeekQueueValue(container) { const pair = container._queue.peek(); return pair.value; } + __name(PeekQueueValue, "PeekQueueValue"); function ResetQueue(container) { container._queue = new SimpleQueue(); container._queueTotalSize = 0; } - class ReadableStreamBYOBRequest { + __name(ResetQueue, "ResetQueue"); + const _ReadableStreamBYOBRequest = class _ReadableStreamBYOBRequest { constructor() { throw new TypeError("Illegal constructor"); } + /** + * Returns the view for writing in to, or `null` if the BYOB request has already been responded to. + */ get view() { if (!IsReadableStreamBYOBRequest(this)) { throw byobRequestBrandCheckException("view"); @@ -19599,7 +20418,9 @@ var require_ponyfill_es2018 = __commonJS({ ; ReadableByteStreamControllerRespondWithNewView(this._associatedReadableByteStreamController, view); } - } + }; + __name(_ReadableStreamBYOBRequest, "ReadableStreamBYOBRequest"); + let ReadableStreamBYOBRequest = _ReadableStreamBYOBRequest; Object.defineProperties(ReadableStreamBYOBRequest.prototype, { respond: { enumerable: true }, respondWithNewView: { enumerable: true }, @@ -19611,22 +20432,33 @@ var require_ponyfill_es2018 = __commonJS({ configurable: true }); } - class ReadableByteStreamController { + const _ReadableByteStreamController = class _ReadableByteStreamController { constructor() { throw new TypeError("Illegal constructor"); } + /** + * Returns the current BYOB pull request, or `null` if there isn't one. + */ get byobRequest() { if (!IsReadableByteStreamController(this)) { throw byteStreamControllerBrandCheckException("byobRequest"); } return ReadableByteStreamControllerGetBYOBRequest(this); } + /** + * Returns the desired size to fill the controlled stream's internal queue. It can be negative, if the queue is + * over-full. An underlying byte source ought to use this information to determine when and how to apply backpressure. + */ get desiredSize() { if (!IsReadableByteStreamController(this)) { throw byteStreamControllerBrandCheckException("desiredSize"); } return ReadableByteStreamControllerGetDesiredSize(this); } + /** + * Closes the controlled readable stream. Consumers will still be able to read any previously-enqueued chunks from + * the stream, but once those are read, the stream will become closed. + */ close() { if (!IsReadableByteStreamController(this)) { throw byteStreamControllerBrandCheckException("close"); @@ -19663,12 +20495,16 @@ var require_ponyfill_es2018 = __commonJS({ } ReadableByteStreamControllerEnqueue(this, chunk); } + /** + * Errors the controlled readable stream, making all future interactions with it fail with the given error `e`. + */ error(e2 = void 0) { if (!IsReadableByteStreamController(this)) { throw byteStreamControllerBrandCheckException("error"); } ReadableByteStreamControllerError(this, e2); } + /** @internal */ [CancelSteps](reason) { ReadableByteStreamControllerClearPendingPullIntos(this); ResetQueue(this); @@ -19676,6 +20512,7 @@ var require_ponyfill_es2018 = __commonJS({ ReadableByteStreamControllerClearAlgorithms(this); return result; } + /** @internal */ [PullSteps](readRequest) { const stream = this._controlledReadableByteStream; if (this._queueTotalSize > 0) { @@ -19710,7 +20547,9 @@ var require_ponyfill_es2018 = __commonJS({ ReadableStreamAddReadRequest(stream, readRequest); ReadableByteStreamControllerCallPullIfNeeded(this); } - } + }; + __name(_ReadableByteStreamController, "ReadableByteStreamController"); + let ReadableByteStreamController = _ReadableByteStreamController; Object.defineProperties(ReadableByteStreamController.prototype, { close: { enumerable: true }, enqueue: { enumerable: true }, @@ -19733,6 +20572,7 @@ var require_ponyfill_es2018 = __commonJS({ } return x2 instanceof ReadableByteStreamController; } + __name(IsReadableByteStreamController, "IsReadableByteStreamController"); function IsReadableStreamBYOBRequest(x2) { if (!typeIsObject(x2)) { return false; @@ -19742,6 +20582,7 @@ var require_ponyfill_es2018 = __commonJS({ } return x2 instanceof ReadableStreamBYOBRequest; } + __name(IsReadableStreamBYOBRequest, "IsReadableStreamBYOBRequest"); function ReadableByteStreamControllerCallPullIfNeeded(controller) { const shouldPull = ReadableByteStreamControllerShouldCallPull(controller); if (!shouldPull) { @@ -19763,10 +20604,12 @@ var require_ponyfill_es2018 = __commonJS({ ReadableByteStreamControllerError(controller, e2); }); } + __name(ReadableByteStreamControllerCallPullIfNeeded, "ReadableByteStreamControllerCallPullIfNeeded"); function ReadableByteStreamControllerClearPendingPullIntos(controller) { ReadableByteStreamControllerInvalidateBYOBRequest(controller); controller._pendingPullIntos = new SimpleQueue(); } + __name(ReadableByteStreamControllerClearPendingPullIntos, "ReadableByteStreamControllerClearPendingPullIntos"); function ReadableByteStreamControllerCommitPullIntoDescriptor(stream, pullIntoDescriptor) { let done = false; if (stream._state === "closed") { @@ -19779,15 +20622,18 @@ var require_ponyfill_es2018 = __commonJS({ ReadableStreamFulfillReadIntoRequest(stream, filledView, done); } } + __name(ReadableByteStreamControllerCommitPullIntoDescriptor, "ReadableByteStreamControllerCommitPullIntoDescriptor"); function ReadableByteStreamControllerConvertPullIntoDescriptor(pullIntoDescriptor) { const bytesFilled = pullIntoDescriptor.bytesFilled; const elementSize = pullIntoDescriptor.elementSize; return new pullIntoDescriptor.viewConstructor(pullIntoDescriptor.buffer, pullIntoDescriptor.byteOffset, bytesFilled / elementSize); } + __name(ReadableByteStreamControllerConvertPullIntoDescriptor, "ReadableByteStreamControllerConvertPullIntoDescriptor"); function ReadableByteStreamControllerEnqueueChunkToQueue(controller, buffer, byteOffset, byteLength) { controller._queue.push({ buffer, byteOffset, byteLength }); controller._queueTotalSize += byteLength; } + __name(ReadableByteStreamControllerEnqueueChunkToQueue, "ReadableByteStreamControllerEnqueueChunkToQueue"); function ReadableByteStreamControllerFillPullIntoDescriptorFromQueue(controller, pullIntoDescriptor) { const elementSize = pullIntoDescriptor.elementSize; const currentAlignedBytes = pullIntoDescriptor.bytesFilled - pullIntoDescriptor.bytesFilled % elementSize; @@ -19818,9 +20664,11 @@ var require_ponyfill_es2018 = __commonJS({ } return ready; } + __name(ReadableByteStreamControllerFillPullIntoDescriptorFromQueue, "ReadableByteStreamControllerFillPullIntoDescriptorFromQueue"); function ReadableByteStreamControllerFillHeadPullIntoDescriptor(controller, size, pullIntoDescriptor) { pullIntoDescriptor.bytesFilled += size; } + __name(ReadableByteStreamControllerFillHeadPullIntoDescriptor, "ReadableByteStreamControllerFillHeadPullIntoDescriptor"); function ReadableByteStreamControllerHandleQueueDrain(controller) { if (controller._queueTotalSize === 0 && controller._closeRequested) { ReadableByteStreamControllerClearAlgorithms(controller); @@ -19829,6 +20677,7 @@ var require_ponyfill_es2018 = __commonJS({ ReadableByteStreamControllerCallPullIfNeeded(controller); } } + __name(ReadableByteStreamControllerHandleQueueDrain, "ReadableByteStreamControllerHandleQueueDrain"); function ReadableByteStreamControllerInvalidateBYOBRequest(controller) { if (controller._byobRequest === null) { return; @@ -19837,6 +20686,7 @@ var require_ponyfill_es2018 = __commonJS({ controller._byobRequest._view = null; controller._byobRequest = null; } + __name(ReadableByteStreamControllerInvalidateBYOBRequest, "ReadableByteStreamControllerInvalidateBYOBRequest"); function ReadableByteStreamControllerProcessPullIntoDescriptorsUsingQueue(controller) { while (controller._pendingPullIntos.length > 0) { if (controller._queueTotalSize === 0) { @@ -19849,6 +20699,7 @@ var require_ponyfill_es2018 = __commonJS({ } } } + __name(ReadableByteStreamControllerProcessPullIntoDescriptorsUsingQueue, "ReadableByteStreamControllerProcessPullIntoDescriptorsUsingQueue"); function ReadableByteStreamControllerPullInto(controller, view, readIntoRequest) { const stream = controller._controlledReadableByteStream; let elementSize = 1; @@ -19895,6 +20746,7 @@ var require_ponyfill_es2018 = __commonJS({ ReadableStreamAddReadIntoRequest(stream, readIntoRequest); ReadableByteStreamControllerCallPullIfNeeded(controller); } + __name(ReadableByteStreamControllerPullInto, "ReadableByteStreamControllerPullInto"); function ReadableByteStreamControllerRespondInClosedState(controller, firstDescriptor) { const stream = controller._controlledReadableByteStream; if (ReadableStreamHasBYOBReader(stream)) { @@ -19904,6 +20756,7 @@ var require_ponyfill_es2018 = __commonJS({ } } } + __name(ReadableByteStreamControllerRespondInClosedState, "ReadableByteStreamControllerRespondInClosedState"); function ReadableByteStreamControllerRespondInReadableState(controller, bytesWritten, pullIntoDescriptor) { ReadableByteStreamControllerFillHeadPullIntoDescriptor(controller, bytesWritten, pullIntoDescriptor); if (pullIntoDescriptor.bytesFilled < pullIntoDescriptor.elementSize) { @@ -19920,6 +20773,7 @@ var require_ponyfill_es2018 = __commonJS({ ReadableByteStreamControllerCommitPullIntoDescriptor(controller._controlledReadableByteStream, pullIntoDescriptor); ReadableByteStreamControllerProcessPullIntoDescriptorsUsingQueue(controller); } + __name(ReadableByteStreamControllerRespondInReadableState, "ReadableByteStreamControllerRespondInReadableState"); function ReadableByteStreamControllerRespondInternal(controller, bytesWritten) { const firstDescriptor = controller._pendingPullIntos.peek(); ReadableByteStreamControllerInvalidateBYOBRequest(controller); @@ -19931,10 +20785,12 @@ var require_ponyfill_es2018 = __commonJS({ } ReadableByteStreamControllerCallPullIfNeeded(controller); } + __name(ReadableByteStreamControllerRespondInternal, "ReadableByteStreamControllerRespondInternal"); function ReadableByteStreamControllerShiftPendingPullInto(controller) { const descriptor = controller._pendingPullIntos.shift(); return descriptor; } + __name(ReadableByteStreamControllerShiftPendingPullInto, "ReadableByteStreamControllerShiftPendingPullInto"); function ReadableByteStreamControllerShouldCallPull(controller) { const stream = controller._controlledReadableByteStream; if (stream._state !== "readable") { @@ -19958,10 +20814,12 @@ var require_ponyfill_es2018 = __commonJS({ } return false; } + __name(ReadableByteStreamControllerShouldCallPull, "ReadableByteStreamControllerShouldCallPull"); function ReadableByteStreamControllerClearAlgorithms(controller) { controller._pullAlgorithm = void 0; controller._cancelAlgorithm = void 0; } + __name(ReadableByteStreamControllerClearAlgorithms, "ReadableByteStreamControllerClearAlgorithms"); function ReadableByteStreamControllerClose(controller) { const stream = controller._controlledReadableByteStream; if (controller._closeRequested || stream._state !== "readable") { @@ -19982,6 +20840,7 @@ var require_ponyfill_es2018 = __commonJS({ ReadableByteStreamControllerClearAlgorithms(controller); ReadableStreamClose(stream); } + __name(ReadableByteStreamControllerClose, "ReadableByteStreamControllerClose"); function ReadableByteStreamControllerEnqueue(controller, chunk) { const stream = controller._controlledReadableByteStream; if (controller._closeRequested || stream._state !== "readable") { @@ -20016,6 +20875,7 @@ var require_ponyfill_es2018 = __commonJS({ } ReadableByteStreamControllerCallPullIfNeeded(controller); } + __name(ReadableByteStreamControllerEnqueue, "ReadableByteStreamControllerEnqueue"); function ReadableByteStreamControllerError(controller, e2) { const stream = controller._controlledReadableByteStream; if (stream._state !== "readable") { @@ -20026,6 +20886,7 @@ var require_ponyfill_es2018 = __commonJS({ ReadableByteStreamControllerClearAlgorithms(controller); ReadableStreamError(stream, e2); } + __name(ReadableByteStreamControllerError, "ReadableByteStreamControllerError"); function ReadableByteStreamControllerGetBYOBRequest(controller) { if (controller._byobRequest === null && controller._pendingPullIntos.length > 0) { const firstDescriptor = controller._pendingPullIntos.peek(); @@ -20036,6 +20897,7 @@ var require_ponyfill_es2018 = __commonJS({ } return controller._byobRequest; } + __name(ReadableByteStreamControllerGetBYOBRequest, "ReadableByteStreamControllerGetBYOBRequest"); function ReadableByteStreamControllerGetDesiredSize(controller) { const state = controller._controlledReadableByteStream._state; if (state === "errored") { @@ -20046,6 +20908,7 @@ var require_ponyfill_es2018 = __commonJS({ } return controller._strategyHWM - controller._queueTotalSize; } + __name(ReadableByteStreamControllerGetDesiredSize, "ReadableByteStreamControllerGetDesiredSize"); function ReadableByteStreamControllerRespond(controller, bytesWritten) { const firstDescriptor = controller._pendingPullIntos.peek(); const state = controller._controlledReadableByteStream._state; @@ -20064,6 +20927,7 @@ var require_ponyfill_es2018 = __commonJS({ firstDescriptor.buffer = TransferArrayBuffer(firstDescriptor.buffer); ReadableByteStreamControllerRespondInternal(controller, bytesWritten); } + __name(ReadableByteStreamControllerRespond, "ReadableByteStreamControllerRespond"); function ReadableByteStreamControllerRespondWithNewView(controller, view) { const firstDescriptor = controller._pendingPullIntos.peek(); const state = controller._controlledReadableByteStream._state; @@ -20089,6 +20953,7 @@ var require_ponyfill_es2018 = __commonJS({ firstDescriptor.buffer = TransferArrayBuffer(view.buffer); ReadableByteStreamControllerRespondInternal(controller, viewByteLength); } + __name(ReadableByteStreamControllerRespondWithNewView, "ReadableByteStreamControllerRespondWithNewView"); function SetUpReadableByteStreamController(stream, controller, startAlgorithm, pullAlgorithm, cancelAlgorithm, highWaterMark, autoAllocateChunkSize) { controller._controlledReadableByteStream = stream; controller._pullAgain = false; @@ -20112,19 +20977,20 @@ var require_ponyfill_es2018 = __commonJS({ ReadableByteStreamControllerError(controller, r2); }); } + __name(SetUpReadableByteStreamController, "SetUpReadableByteStreamController"); function SetUpReadableByteStreamControllerFromUnderlyingSource(stream, underlyingByteSource, highWaterMark) { const controller = Object.create(ReadableByteStreamController.prototype); - let startAlgorithm = () => void 0; - let pullAlgorithm = () => promiseResolvedWith(void 0); - let cancelAlgorithm = () => promiseResolvedWith(void 0); + let startAlgorithm = /* @__PURE__ */ __name(() => void 0, "startAlgorithm"); + let pullAlgorithm = /* @__PURE__ */ __name(() => promiseResolvedWith(void 0), "pullAlgorithm"); + let cancelAlgorithm = /* @__PURE__ */ __name(() => promiseResolvedWith(void 0), "cancelAlgorithm"); if (underlyingByteSource.start !== void 0) { - startAlgorithm = () => underlyingByteSource.start(controller); + startAlgorithm = /* @__PURE__ */ __name(() => underlyingByteSource.start(controller), "startAlgorithm"); } if (underlyingByteSource.pull !== void 0) { - pullAlgorithm = () => underlyingByteSource.pull(controller); + pullAlgorithm = /* @__PURE__ */ __name(() => underlyingByteSource.pull(controller), "pullAlgorithm"); } if (underlyingByteSource.cancel !== void 0) { - cancelAlgorithm = (reason) => underlyingByteSource.cancel(reason); + cancelAlgorithm = /* @__PURE__ */ __name((reason) => underlyingByteSource.cancel(reason), "cancelAlgorithm"); } const autoAllocateChunkSize = underlyingByteSource.autoAllocateChunkSize; if (autoAllocateChunkSize === 0) { @@ -20132,22 +20998,28 @@ var require_ponyfill_es2018 = __commonJS({ } SetUpReadableByteStreamController(stream, controller, startAlgorithm, pullAlgorithm, cancelAlgorithm, highWaterMark, autoAllocateChunkSize); } + __name(SetUpReadableByteStreamControllerFromUnderlyingSource, "SetUpReadableByteStreamControllerFromUnderlyingSource"); function SetUpReadableStreamBYOBRequest(request, controller, view) { request._associatedReadableByteStreamController = controller; request._view = view; } + __name(SetUpReadableStreamBYOBRequest, "SetUpReadableStreamBYOBRequest"); function byobRequestBrandCheckException(name) { return new TypeError(`ReadableStreamBYOBRequest.prototype.${name} can only be used on a ReadableStreamBYOBRequest`); } + __name(byobRequestBrandCheckException, "byobRequestBrandCheckException"); function byteStreamControllerBrandCheckException(name) { return new TypeError(`ReadableByteStreamController.prototype.${name} can only be used on a ReadableByteStreamController`); } + __name(byteStreamControllerBrandCheckException, "byteStreamControllerBrandCheckException"); function AcquireReadableStreamBYOBReader(stream) { return new ReadableStreamBYOBReader(stream); } + __name(AcquireReadableStreamBYOBReader, "AcquireReadableStreamBYOBReader"); function ReadableStreamAddReadIntoRequest(stream, readIntoRequest) { stream._reader._readIntoRequests.push(readIntoRequest); } + __name(ReadableStreamAddReadIntoRequest, "ReadableStreamAddReadIntoRequest"); function ReadableStreamFulfillReadIntoRequest(stream, chunk, done) { const reader = stream._reader; const readIntoRequest = reader._readIntoRequests.shift(); @@ -20157,9 +21029,11 @@ var require_ponyfill_es2018 = __commonJS({ readIntoRequest._chunkSteps(chunk); } } + __name(ReadableStreamFulfillReadIntoRequest, "ReadableStreamFulfillReadIntoRequest"); function ReadableStreamGetNumReadIntoRequests(stream) { return stream._reader._readIntoRequests.length; } + __name(ReadableStreamGetNumReadIntoRequests, "ReadableStreamGetNumReadIntoRequests"); function ReadableStreamHasBYOBReader(stream) { const reader = stream._reader; if (reader === void 0) { @@ -20170,7 +21044,8 @@ var require_ponyfill_es2018 = __commonJS({ } return true; } - class ReadableStreamBYOBReader { + __name(ReadableStreamHasBYOBReader, "ReadableStreamHasBYOBReader"); + const _ReadableStreamBYOBReader = class _ReadableStreamBYOBReader { constructor(stream) { assertRequiredArgument(stream, 1, "ReadableStreamBYOBReader"); assertReadableStream(stream, "First parameter"); @@ -20183,12 +21058,19 @@ var require_ponyfill_es2018 = __commonJS({ ReadableStreamReaderGenericInitialize(this, stream); this._readIntoRequests = new SimpleQueue(); } + /** + * Returns a promise that will be fulfilled when the stream becomes closed, or rejected if the stream ever errors or + * the reader's lock is released before the stream finishes closing. + */ get closed() { if (!IsReadableStreamBYOBReader(this)) { return promiseRejectedWith(byobReaderBrandCheckException("closed")); } return this._closedPromise; } + /** + * If the reader is active, behaves the same as {@link ReadableStream.cancel | stream.cancel(reason)}. + */ cancel(reason = void 0) { if (!IsReadableStreamBYOBReader(this)) { return promiseRejectedWith(byobReaderBrandCheckException("cancel")); @@ -20198,6 +21080,11 @@ var require_ponyfill_es2018 = __commonJS({ } return ReadableStreamReaderGenericCancel(this, reason); } + /** + * Attempts to reads bytes into view, and returns a promise resolved with the result. + * + * If reading a chunk causes the queue to become empty, more data will be pulled from the underlying source. + */ read(view) { if (!IsReadableStreamBYOBReader(this)) { return promiseRejectedWith(byobReaderBrandCheckException("read")); @@ -20230,6 +21117,15 @@ var require_ponyfill_es2018 = __commonJS({ ReadableStreamBYOBReaderRead(this, view, readIntoRequest); return promise; } + /** + * Releases the reader's lock on the corresponding stream. After the lock is released, the reader is no longer active. + * If the associated stream is errored when the lock is released, the reader will appear errored in the same way + * from now on; otherwise, the reader will appear closed. + * + * A reader's lock cannot be released while it still has a pending read request, i.e., if a promise returned by + * the reader's {@link ReadableStreamBYOBReader.read | read()} method has not yet been settled. Attempting to + * do so will throw a `TypeError` and leave the reader locked to the stream. + */ releaseLock() { if (!IsReadableStreamBYOBReader(this)) { throw byobReaderBrandCheckException("releaseLock"); @@ -20242,7 +21138,9 @@ var require_ponyfill_es2018 = __commonJS({ } ReadableStreamReaderGenericRelease(this); } - } + }; + __name(_ReadableStreamBYOBReader, "ReadableStreamBYOBReader"); + let ReadableStreamBYOBReader = _ReadableStreamBYOBReader; Object.defineProperties(ReadableStreamBYOBReader.prototype, { cancel: { enumerable: true }, read: { enumerable: true }, @@ -20264,6 +21162,7 @@ var require_ponyfill_es2018 = __commonJS({ } return x2 instanceof ReadableStreamBYOBReader; } + __name(IsReadableStreamBYOBReader, "IsReadableStreamBYOBReader"); function ReadableStreamBYOBReaderRead(reader, view, readIntoRequest) { const stream = reader._ownerReadableStream; stream._disturbed = true; @@ -20273,9 +21172,11 @@ var require_ponyfill_es2018 = __commonJS({ ReadableByteStreamControllerPullInto(stream._readableStreamController, view, readIntoRequest); } } + __name(ReadableStreamBYOBReaderRead, "ReadableStreamBYOBReaderRead"); function byobReaderBrandCheckException(name) { return new TypeError(`ReadableStreamBYOBReader.prototype.${name} can only be used on a ReadableStreamBYOBReader`); } + __name(byobReaderBrandCheckException, "byobReaderBrandCheckException"); function ExtractHighWaterMark(strategy, defaultHWM) { const { highWaterMark } = strategy; if (highWaterMark === void 0) { @@ -20286,6 +21187,7 @@ var require_ponyfill_es2018 = __commonJS({ } return highWaterMark; } + __name(ExtractHighWaterMark, "ExtractHighWaterMark"); function ExtractSizeAlgorithm(strategy) { const { size } = strategy; if (!size) { @@ -20293,6 +21195,7 @@ var require_ponyfill_es2018 = __commonJS({ } return size; } + __name(ExtractSizeAlgorithm, "ExtractSizeAlgorithm"); function convertQueuingStrategy(init, context) { assertDictionary(init, context); const highWaterMark = init === null || init === void 0 ? void 0 : init.highWaterMark; @@ -20302,10 +21205,12 @@ var require_ponyfill_es2018 = __commonJS({ size: size === void 0 ? void 0 : convertQueuingStrategySize(size, `${context} has member 'size' that`) }; } + __name(convertQueuingStrategy, "convertQueuingStrategy"); function convertQueuingStrategySize(fn, context) { assertFunction(fn, context); return (chunk) => convertUnrestrictedDouble(fn(chunk)); } + __name(convertQueuingStrategySize, "convertQueuingStrategySize"); function convertUnderlyingSink(original, context) { assertDictionary(original, context); const abort = original === null || original === void 0 ? void 0 : original.abort; @@ -20321,37 +21226,44 @@ var require_ponyfill_es2018 = __commonJS({ type }; } + __name(convertUnderlyingSink, "convertUnderlyingSink"); function convertUnderlyingSinkAbortCallback(fn, original, context) { assertFunction(fn, context); return (reason) => promiseCall(fn, original, [reason]); } + __name(convertUnderlyingSinkAbortCallback, "convertUnderlyingSinkAbortCallback"); function convertUnderlyingSinkCloseCallback(fn, original, context) { assertFunction(fn, context); return () => promiseCall(fn, original, []); } + __name(convertUnderlyingSinkCloseCallback, "convertUnderlyingSinkCloseCallback"); function convertUnderlyingSinkStartCallback(fn, original, context) { assertFunction(fn, context); return (controller) => reflectCall(fn, original, [controller]); } + __name(convertUnderlyingSinkStartCallback, "convertUnderlyingSinkStartCallback"); function convertUnderlyingSinkWriteCallback(fn, original, context) { assertFunction(fn, context); return (chunk, controller) => promiseCall(fn, original, [chunk, controller]); } + __name(convertUnderlyingSinkWriteCallback, "convertUnderlyingSinkWriteCallback"); function assertWritableStream(x2, context) { if (!IsWritableStream(x2)) { throw new TypeError(`${context} is not a WritableStream.`); } } + __name(assertWritableStream, "assertWritableStream"); function isAbortSignal2(value) { if (typeof value !== "object" || value === null) { return false; } try { return typeof value.aborted === "boolean"; - } catch (_a) { + } catch (_a4) { return false; } } + __name(isAbortSignal2, "isAbortSignal"); const supportsAbortController = typeof AbortController === "function"; function createAbortController() { if (supportsAbortController) { @@ -20359,7 +21271,8 @@ var require_ponyfill_es2018 = __commonJS({ } return void 0; } - class WritableStream { + __name(createAbortController, "createAbortController"); + const _WritableStream = class _WritableStream { constructor(rawUnderlyingSink = {}, rawStrategy = {}) { if (rawUnderlyingSink === void 0) { rawUnderlyingSink = null; @@ -20377,12 +21290,24 @@ var require_ponyfill_es2018 = __commonJS({ const highWaterMark = ExtractHighWaterMark(strategy, 1); SetUpWritableStreamDefaultControllerFromUnderlyingSink(this, underlyingSink, highWaterMark, sizeAlgorithm); } + /** + * Returns whether or not the writable stream is locked to a writer. + */ get locked() { if (!IsWritableStream(this)) { throw streamBrandCheckException$2("locked"); } return IsWritableStreamLocked(this); } + /** + * Aborts the stream, signaling that the producer can no longer successfully write to the stream and it is to be + * immediately moved to an errored state, with any queued-up writes discarded. This will also execute any abort + * mechanism of the underlying sink. + * + * The returned promise will fulfill if the stream shuts down successfully, or reject if the underlying sink signaled + * that there was an error doing so. Additionally, it will reject with a `TypeError` (without attempting to cancel + * the stream) if the stream is currently locked. + */ abort(reason = void 0) { if (!IsWritableStream(this)) { return promiseRejectedWith(streamBrandCheckException$2("abort")); @@ -20392,6 +21317,14 @@ var require_ponyfill_es2018 = __commonJS({ } return WritableStreamAbort(this, reason); } + /** + * Closes the stream. The underlying sink will finish processing any previously-written chunks, before invoking its + * close behavior. During this time any further attempts to write will fail (without erroring the stream). + * + * The method returns a promise that will fulfill if all remaining chunks are successfully written and the stream + * successfully closes, or rejects if an error is encountered during this process. Additionally, it will reject with + * a `TypeError` (without attempting to cancel the stream) if the stream is currently locked. + */ close() { if (!IsWritableStream(this)) { return promiseRejectedWith(streamBrandCheckException$2("close")); @@ -20404,13 +21337,23 @@ var require_ponyfill_es2018 = __commonJS({ } return WritableStreamClose(this); } + /** + * Creates a {@link WritableStreamDefaultWriter | writer} and locks the stream to the new writer. While the stream + * is locked, no other writer can be acquired until this one is released. + * + * This functionality is especially useful for creating abstractions that desire the ability to write to a stream + * without interruption or interleaving. By getting a writer for the stream, you can ensure nobody else can write at + * the same time, which would cause the resulting written data to be unpredictable and probably useless. + */ getWriter() { if (!IsWritableStream(this)) { throw streamBrandCheckException$2("getWriter"); } return AcquireWritableStreamDefaultWriter(this); } - } + }; + __name(_WritableStream, "WritableStream"); + let WritableStream = _WritableStream; Object.defineProperties(WritableStream.prototype, { abort: { enumerable: true }, close: { enumerable: true }, @@ -20426,6 +21369,7 @@ var require_ponyfill_es2018 = __commonJS({ function AcquireWritableStreamDefaultWriter(stream) { return new WritableStreamDefaultWriter(stream); } + __name(AcquireWritableStreamDefaultWriter, "AcquireWritableStreamDefaultWriter"); function CreateWritableStream(startAlgorithm, writeAlgorithm, closeAlgorithm, abortAlgorithm, highWaterMark = 1, sizeAlgorithm = () => 1) { const stream = Object.create(WritableStream.prototype); InitializeWritableStream(stream); @@ -20433,6 +21377,7 @@ var require_ponyfill_es2018 = __commonJS({ SetUpWritableStreamDefaultController(stream, controller, startAlgorithm, writeAlgorithm, closeAlgorithm, abortAlgorithm, highWaterMark, sizeAlgorithm); return stream; } + __name(CreateWritableStream, "CreateWritableStream"); function InitializeWritableStream(stream) { stream._state = "writable"; stream._storedError = void 0; @@ -20445,6 +21390,7 @@ var require_ponyfill_es2018 = __commonJS({ stream._pendingAbortRequest = void 0; stream._backpressure = false; } + __name(InitializeWritableStream, "InitializeWritableStream"); function IsWritableStream(x2) { if (!typeIsObject(x2)) { return false; @@ -20454,19 +21400,21 @@ var require_ponyfill_es2018 = __commonJS({ } return x2 instanceof WritableStream; } + __name(IsWritableStream, "IsWritableStream"); function IsWritableStreamLocked(stream) { if (stream._writer === void 0) { return false; } return true; } + __name(IsWritableStreamLocked, "IsWritableStreamLocked"); function WritableStreamAbort(stream, reason) { - var _a; + var _a4; if (stream._state === "closed" || stream._state === "errored") { return promiseResolvedWith(void 0); } stream._writableStreamController._abortReason = reason; - (_a = stream._writableStreamController._abortController) === null || _a === void 0 ? void 0 : _a.abort(); + (_a4 = stream._writableStreamController._abortController) === null || _a4 === void 0 ? void 0 : _a4.abort(); const state = stream._state; if (state === "closed" || state === "errored") { return promiseResolvedWith(void 0); @@ -20494,6 +21442,7 @@ var require_ponyfill_es2018 = __commonJS({ } return promise; } + __name(WritableStreamAbort, "WritableStreamAbort"); function WritableStreamClose(stream) { const state = stream._state; if (state === "closed" || state === "errored") { @@ -20513,6 +21462,7 @@ var require_ponyfill_es2018 = __commonJS({ WritableStreamDefaultControllerClose(stream._writableStreamController); return promise; } + __name(WritableStreamClose, "WritableStreamClose"); function WritableStreamAddWriteRequest(stream) { const promise = newPromise((resolve, reject) => { const writeRequest = { @@ -20523,6 +21473,7 @@ var require_ponyfill_es2018 = __commonJS({ }); return promise; } + __name(WritableStreamAddWriteRequest, "WritableStreamAddWriteRequest"); function WritableStreamDealWithRejection(stream, error) { const state = stream._state; if (state === "writable") { @@ -20531,6 +21482,7 @@ var require_ponyfill_es2018 = __commonJS({ } WritableStreamFinishErroring(stream); } + __name(WritableStreamDealWithRejection, "WritableStreamDealWithRejection"); function WritableStreamStartErroring(stream, reason) { const controller = stream._writableStreamController; stream._state = "erroring"; @@ -20543,6 +21495,7 @@ var require_ponyfill_es2018 = __commonJS({ WritableStreamFinishErroring(stream); } } + __name(WritableStreamStartErroring, "WritableStreamStartErroring"); function WritableStreamFinishErroring(stream) { stream._state = "errored"; stream._writableStreamController[ErrorSteps](); @@ -20571,15 +21524,18 @@ var require_ponyfill_es2018 = __commonJS({ WritableStreamRejectCloseAndClosedPromiseIfNeeded(stream); }); } + __name(WritableStreamFinishErroring, "WritableStreamFinishErroring"); function WritableStreamFinishInFlightWrite(stream) { stream._inFlightWriteRequest._resolve(void 0); stream._inFlightWriteRequest = void 0; } + __name(WritableStreamFinishInFlightWrite, "WritableStreamFinishInFlightWrite"); function WritableStreamFinishInFlightWriteWithError(stream, error) { stream._inFlightWriteRequest._reject(error); stream._inFlightWriteRequest = void 0; WritableStreamDealWithRejection(stream, error); } + __name(WritableStreamFinishInFlightWriteWithError, "WritableStreamFinishInFlightWriteWithError"); function WritableStreamFinishInFlightClose(stream) { stream._inFlightCloseRequest._resolve(void 0); stream._inFlightCloseRequest = void 0; @@ -20597,6 +21553,7 @@ var require_ponyfill_es2018 = __commonJS({ defaultWriterClosedPromiseResolve(writer); } } + __name(WritableStreamFinishInFlightClose, "WritableStreamFinishInFlightClose"); function WritableStreamFinishInFlightCloseWithError(stream, error) { stream._inFlightCloseRequest._reject(error); stream._inFlightCloseRequest = void 0; @@ -20606,25 +21563,30 @@ var require_ponyfill_es2018 = __commonJS({ } WritableStreamDealWithRejection(stream, error); } + __name(WritableStreamFinishInFlightCloseWithError, "WritableStreamFinishInFlightCloseWithError"); function WritableStreamCloseQueuedOrInFlight(stream) { if (stream._closeRequest === void 0 && stream._inFlightCloseRequest === void 0) { return false; } return true; } + __name(WritableStreamCloseQueuedOrInFlight, "WritableStreamCloseQueuedOrInFlight"); function WritableStreamHasOperationMarkedInFlight(stream) { if (stream._inFlightWriteRequest === void 0 && stream._inFlightCloseRequest === void 0) { return false; } return true; } + __name(WritableStreamHasOperationMarkedInFlight, "WritableStreamHasOperationMarkedInFlight"); function WritableStreamMarkCloseRequestInFlight(stream) { stream._inFlightCloseRequest = stream._closeRequest; stream._closeRequest = void 0; } + __name(WritableStreamMarkCloseRequestInFlight, "WritableStreamMarkCloseRequestInFlight"); function WritableStreamMarkFirstWriteRequestInFlight(stream) { stream._inFlightWriteRequest = stream._writeRequests.shift(); } + __name(WritableStreamMarkFirstWriteRequestInFlight, "WritableStreamMarkFirstWriteRequestInFlight"); function WritableStreamRejectCloseAndClosedPromiseIfNeeded(stream) { if (stream._closeRequest !== void 0) { stream._closeRequest._reject(stream._storedError); @@ -20635,6 +21597,7 @@ var require_ponyfill_es2018 = __commonJS({ defaultWriterClosedPromiseReject(writer, stream._storedError); } } + __name(WritableStreamRejectCloseAndClosedPromiseIfNeeded, "WritableStreamRejectCloseAndClosedPromiseIfNeeded"); function WritableStreamUpdateBackpressure(stream, backpressure) { const writer = stream._writer; if (writer !== void 0 && backpressure !== stream._backpressure) { @@ -20646,7 +21609,8 @@ var require_ponyfill_es2018 = __commonJS({ } stream._backpressure = backpressure; } - class WritableStreamDefaultWriter { + __name(WritableStreamUpdateBackpressure, "WritableStreamUpdateBackpressure"); + const _WritableStreamDefaultWriter = class _WritableStreamDefaultWriter { constructor(stream) { assertRequiredArgument(stream, 1, "WritableStreamDefaultWriter"); assertWritableStream(stream, "First parameter"); @@ -20675,12 +21639,24 @@ var require_ponyfill_es2018 = __commonJS({ defaultWriterClosedPromiseInitializeAsRejected(this, storedError); } } + /** + * Returns a promise that will be fulfilled when the stream becomes closed, or rejected if the stream ever errors or + * the writer’s lock is released before the stream finishes closing. + */ get closed() { if (!IsWritableStreamDefaultWriter(this)) { return promiseRejectedWith(defaultWriterBrandCheckException("closed")); } return this._closedPromise; } + /** + * Returns the desired size to fill the stream’s internal queue. It can be negative, if the queue is over-full. + * A producer can use this information to determine the right amount of data to write. + * + * It will be `null` if the stream cannot be successfully written to (due to either being errored, or having an abort + * queued up). It will return zero if the stream is closed. And the getter will throw an exception if invoked when + * the writer’s lock is released. + */ get desiredSize() { if (!IsWritableStreamDefaultWriter(this)) { throw defaultWriterBrandCheckException("desiredSize"); @@ -20690,12 +21666,23 @@ var require_ponyfill_es2018 = __commonJS({ } return WritableStreamDefaultWriterGetDesiredSize(this); } + /** + * Returns a promise that will be fulfilled when the desired size to fill the stream’s internal queue transitions + * from non-positive to positive, signaling that it is no longer applying backpressure. Once the desired size dips + * back to zero or below, the getter will return a new promise that stays pending until the next transition. + * + * If the stream becomes errored or aborted, or the writer’s lock is released, the returned promise will become + * rejected. + */ get ready() { if (!IsWritableStreamDefaultWriter(this)) { return promiseRejectedWith(defaultWriterBrandCheckException("ready")); } return this._readyPromise; } + /** + * If the reader is active, behaves the same as {@link WritableStream.abort | stream.abort(reason)}. + */ abort(reason = void 0) { if (!IsWritableStreamDefaultWriter(this)) { return promiseRejectedWith(defaultWriterBrandCheckException("abort")); @@ -20705,6 +21692,9 @@ var require_ponyfill_es2018 = __commonJS({ } return WritableStreamDefaultWriterAbort(this, reason); } + /** + * If the reader is active, behaves the same as {@link WritableStream.close | stream.close()}. + */ close() { if (!IsWritableStreamDefaultWriter(this)) { return promiseRejectedWith(defaultWriterBrandCheckException("close")); @@ -20718,6 +21708,16 @@ var require_ponyfill_es2018 = __commonJS({ } return WritableStreamDefaultWriterClose(this); } + /** + * Releases the writer’s lock on the corresponding stream. After the lock is released, the writer is no longer active. + * If the associated stream is errored when the lock is released, the writer will appear errored in the same way from + * now on; otherwise, the writer will appear closed. + * + * Note that the lock can still be released even if some ongoing writes have not yet finished (i.e. even if the + * promises returned from previous calls to {@link WritableStreamDefaultWriter.write | write()} have not yet settled). + * It’s not necessary to hold the lock on the writer for the duration of the write; the lock instead simply prevents + * other producers from writing in an interleaved manner. + */ releaseLock() { if (!IsWritableStreamDefaultWriter(this)) { throw defaultWriterBrandCheckException("releaseLock"); @@ -20737,7 +21737,9 @@ var require_ponyfill_es2018 = __commonJS({ } return WritableStreamDefaultWriterWrite(this, chunk); } - } + }; + __name(_WritableStreamDefaultWriter, "WritableStreamDefaultWriter"); + let WritableStreamDefaultWriter = _WritableStreamDefaultWriter; Object.defineProperties(WritableStreamDefaultWriter.prototype, { abort: { enumerable: true }, close: { enumerable: true }, @@ -20762,14 +21764,17 @@ var require_ponyfill_es2018 = __commonJS({ } return x2 instanceof WritableStreamDefaultWriter; } + __name(IsWritableStreamDefaultWriter, "IsWritableStreamDefaultWriter"); function WritableStreamDefaultWriterAbort(writer, reason) { const stream = writer._ownerWritableStream; return WritableStreamAbort(stream, reason); } + __name(WritableStreamDefaultWriterAbort, "WritableStreamDefaultWriterAbort"); function WritableStreamDefaultWriterClose(writer) { const stream = writer._ownerWritableStream; return WritableStreamClose(stream); } + __name(WritableStreamDefaultWriterClose, "WritableStreamDefaultWriterClose"); function WritableStreamDefaultWriterCloseWithErrorPropagation(writer) { const stream = writer._ownerWritableStream; const state = stream._state; @@ -20781,6 +21786,7 @@ var require_ponyfill_es2018 = __commonJS({ } return WritableStreamDefaultWriterClose(writer); } + __name(WritableStreamDefaultWriterCloseWithErrorPropagation, "WritableStreamDefaultWriterCloseWithErrorPropagation"); function WritableStreamDefaultWriterEnsureClosedPromiseRejected(writer, error) { if (writer._closedPromiseState === "pending") { defaultWriterClosedPromiseReject(writer, error); @@ -20788,6 +21794,7 @@ var require_ponyfill_es2018 = __commonJS({ defaultWriterClosedPromiseResetToRejected(writer, error); } } + __name(WritableStreamDefaultWriterEnsureClosedPromiseRejected, "WritableStreamDefaultWriterEnsureClosedPromiseRejected"); function WritableStreamDefaultWriterEnsureReadyPromiseRejected(writer, error) { if (writer._readyPromiseState === "pending") { defaultWriterReadyPromiseReject(writer, error); @@ -20795,6 +21802,7 @@ var require_ponyfill_es2018 = __commonJS({ defaultWriterReadyPromiseResetToRejected(writer, error); } } + __name(WritableStreamDefaultWriterEnsureReadyPromiseRejected, "WritableStreamDefaultWriterEnsureReadyPromiseRejected"); function WritableStreamDefaultWriterGetDesiredSize(writer) { const stream = writer._ownerWritableStream; const state = stream._state; @@ -20806,6 +21814,7 @@ var require_ponyfill_es2018 = __commonJS({ } return WritableStreamDefaultControllerGetDesiredSize(stream._writableStreamController); } + __name(WritableStreamDefaultWriterGetDesiredSize, "WritableStreamDefaultWriterGetDesiredSize"); function WritableStreamDefaultWriterRelease(writer) { const stream = writer._ownerWritableStream; const releasedError = new TypeError(`Writer was released and can no longer be used to monitor the stream's closedness`); @@ -20814,6 +21823,7 @@ var require_ponyfill_es2018 = __commonJS({ stream._writer = void 0; writer._ownerWritableStream = void 0; } + __name(WritableStreamDefaultWriterRelease, "WritableStreamDefaultWriterRelease"); function WritableStreamDefaultWriterWrite(writer, chunk) { const stream = writer._ownerWritableStream; const controller = stream._writableStreamController; @@ -20835,17 +21845,28 @@ var require_ponyfill_es2018 = __commonJS({ WritableStreamDefaultControllerWrite(controller, chunk, chunkSize); return promise; } + __name(WritableStreamDefaultWriterWrite, "WritableStreamDefaultWriterWrite"); const closeSentinel = {}; - class WritableStreamDefaultController { + const _WritableStreamDefaultController = class _WritableStreamDefaultController { constructor() { throw new TypeError("Illegal constructor"); } + /** + * The reason which was passed to `WritableStream.abort(reason)` when the stream was aborted. + * + * @deprecated + * This property has been removed from the specification, see https://github.com/whatwg/streams/pull/1177. + * Use {@link WritableStreamDefaultController.signal}'s `reason` instead. + */ get abortReason() { if (!IsWritableStreamDefaultController(this)) { throw defaultControllerBrandCheckException$2("abortReason"); } return this._abortReason; } + /** + * An `AbortSignal` that can be used to abort the pending write or close operation when the stream is aborted. + */ get signal() { if (!IsWritableStreamDefaultController(this)) { throw defaultControllerBrandCheckException$2("signal"); @@ -20855,6 +21876,13 @@ var require_ponyfill_es2018 = __commonJS({ } return this._abortController.signal; } + /** + * Closes the controlled writable stream, making all future interactions with it fail with the given error `e`. + * + * This method is rarely used, since usually it suffices to return a rejected promise from one of the underlying + * sink's methods. However, it can be useful for suddenly shutting down a stream in response to an event outside the + * normal lifecycle of interactions with the underlying sink. + */ error(e2 = void 0) { if (!IsWritableStreamDefaultController(this)) { throw defaultControllerBrandCheckException$2("error"); @@ -20865,15 +21893,19 @@ var require_ponyfill_es2018 = __commonJS({ } WritableStreamDefaultControllerError(this, e2); } + /** @internal */ [AbortSteps](reason) { const result = this._abortAlgorithm(reason); WritableStreamDefaultControllerClearAlgorithms(this); return result; } + /** @internal */ [ErrorSteps]() { ResetQueue(this); } - } + }; + __name(_WritableStreamDefaultController, "WritableStreamDefaultController"); + let WritableStreamDefaultController = _WritableStreamDefaultController; Object.defineProperties(WritableStreamDefaultController.prototype, { abortReason: { enumerable: true }, signal: { enumerable: true }, @@ -20894,6 +21926,7 @@ var require_ponyfill_es2018 = __commonJS({ } return x2 instanceof WritableStreamDefaultController; } + __name(IsWritableStreamDefaultController, "IsWritableStreamDefaultController"); function SetUpWritableStreamDefaultController(stream, controller, startAlgorithm, writeAlgorithm, closeAlgorithm, abortAlgorithm, highWaterMark, sizeAlgorithm) { controller._controlledWritableStream = stream; stream._writableStreamController = controller; @@ -20920,36 +21953,40 @@ var require_ponyfill_es2018 = __commonJS({ WritableStreamDealWithRejection(stream, r2); }); } + __name(SetUpWritableStreamDefaultController, "SetUpWritableStreamDefaultController"); function SetUpWritableStreamDefaultControllerFromUnderlyingSink(stream, underlyingSink, highWaterMark, sizeAlgorithm) { const controller = Object.create(WritableStreamDefaultController.prototype); - let startAlgorithm = () => void 0; - let writeAlgorithm = () => promiseResolvedWith(void 0); - let closeAlgorithm = () => promiseResolvedWith(void 0); - let abortAlgorithm = () => promiseResolvedWith(void 0); + let startAlgorithm = /* @__PURE__ */ __name(() => void 0, "startAlgorithm"); + let writeAlgorithm = /* @__PURE__ */ __name(() => promiseResolvedWith(void 0), "writeAlgorithm"); + let closeAlgorithm = /* @__PURE__ */ __name(() => promiseResolvedWith(void 0), "closeAlgorithm"); + let abortAlgorithm = /* @__PURE__ */ __name(() => promiseResolvedWith(void 0), "abortAlgorithm"); if (underlyingSink.start !== void 0) { - startAlgorithm = () => underlyingSink.start(controller); + startAlgorithm = /* @__PURE__ */ __name(() => underlyingSink.start(controller), "startAlgorithm"); } if (underlyingSink.write !== void 0) { - writeAlgorithm = (chunk) => underlyingSink.write(chunk, controller); + writeAlgorithm = /* @__PURE__ */ __name((chunk) => underlyingSink.write(chunk, controller), "writeAlgorithm"); } if (underlyingSink.close !== void 0) { - closeAlgorithm = () => underlyingSink.close(); + closeAlgorithm = /* @__PURE__ */ __name(() => underlyingSink.close(), "closeAlgorithm"); } if (underlyingSink.abort !== void 0) { - abortAlgorithm = (reason) => underlyingSink.abort(reason); + abortAlgorithm = /* @__PURE__ */ __name((reason) => underlyingSink.abort(reason), "abortAlgorithm"); } SetUpWritableStreamDefaultController(stream, controller, startAlgorithm, writeAlgorithm, closeAlgorithm, abortAlgorithm, highWaterMark, sizeAlgorithm); } + __name(SetUpWritableStreamDefaultControllerFromUnderlyingSink, "SetUpWritableStreamDefaultControllerFromUnderlyingSink"); function WritableStreamDefaultControllerClearAlgorithms(controller) { controller._writeAlgorithm = void 0; controller._closeAlgorithm = void 0; controller._abortAlgorithm = void 0; controller._strategySizeAlgorithm = void 0; } + __name(WritableStreamDefaultControllerClearAlgorithms, "WritableStreamDefaultControllerClearAlgorithms"); function WritableStreamDefaultControllerClose(controller) { EnqueueValueWithSize(controller, closeSentinel, 0); WritableStreamDefaultControllerAdvanceQueueIfNeeded(controller); } + __name(WritableStreamDefaultControllerClose, "WritableStreamDefaultControllerClose"); function WritableStreamDefaultControllerGetChunkSize(controller, chunk) { try { return controller._strategySizeAlgorithm(chunk); @@ -20958,9 +21995,11 @@ var require_ponyfill_es2018 = __commonJS({ return 1; } } + __name(WritableStreamDefaultControllerGetChunkSize, "WritableStreamDefaultControllerGetChunkSize"); function WritableStreamDefaultControllerGetDesiredSize(controller) { return controller._strategyHWM - controller._queueTotalSize; } + __name(WritableStreamDefaultControllerGetDesiredSize, "WritableStreamDefaultControllerGetDesiredSize"); function WritableStreamDefaultControllerWrite(controller, chunk, chunkSize) { try { EnqueueValueWithSize(controller, chunk, chunkSize); @@ -20975,6 +22014,7 @@ var require_ponyfill_es2018 = __commonJS({ } WritableStreamDefaultControllerAdvanceQueueIfNeeded(controller); } + __name(WritableStreamDefaultControllerWrite, "WritableStreamDefaultControllerWrite"); function WritableStreamDefaultControllerAdvanceQueueIfNeeded(controller) { const stream = controller._controlledWritableStream; if (!controller._started) { @@ -20998,11 +22038,13 @@ var require_ponyfill_es2018 = __commonJS({ WritableStreamDefaultControllerProcessWrite(controller, value); } } + __name(WritableStreamDefaultControllerAdvanceQueueIfNeeded, "WritableStreamDefaultControllerAdvanceQueueIfNeeded"); function WritableStreamDefaultControllerErrorIfNeeded(controller, error) { if (controller._controlledWritableStream._state === "writable") { WritableStreamDefaultControllerError(controller, error); } } + __name(WritableStreamDefaultControllerErrorIfNeeded, "WritableStreamDefaultControllerErrorIfNeeded"); function WritableStreamDefaultControllerProcessClose(controller) { const stream = controller._controlledWritableStream; WritableStreamMarkCloseRequestInFlight(stream); @@ -21015,6 +22057,7 @@ var require_ponyfill_es2018 = __commonJS({ WritableStreamFinishInFlightCloseWithError(stream, reason); }); } + __name(WritableStreamDefaultControllerProcessClose, "WritableStreamDefaultControllerProcessClose"); function WritableStreamDefaultControllerProcessWrite(controller, chunk) { const stream = controller._controlledWritableStream; WritableStreamMarkFirstWriteRequestInFlight(stream); @@ -21035,27 +22078,34 @@ var require_ponyfill_es2018 = __commonJS({ WritableStreamFinishInFlightWriteWithError(stream, reason); }); } + __name(WritableStreamDefaultControllerProcessWrite, "WritableStreamDefaultControllerProcessWrite"); function WritableStreamDefaultControllerGetBackpressure(controller) { const desiredSize = WritableStreamDefaultControllerGetDesiredSize(controller); return desiredSize <= 0; } + __name(WritableStreamDefaultControllerGetBackpressure, "WritableStreamDefaultControllerGetBackpressure"); function WritableStreamDefaultControllerError(controller, error) { const stream = controller._controlledWritableStream; WritableStreamDefaultControllerClearAlgorithms(controller); WritableStreamStartErroring(stream, error); } + __name(WritableStreamDefaultControllerError, "WritableStreamDefaultControllerError"); function streamBrandCheckException$2(name) { return new TypeError(`WritableStream.prototype.${name} can only be used on a WritableStream`); } + __name(streamBrandCheckException$2, "streamBrandCheckException$2"); function defaultControllerBrandCheckException$2(name) { return new TypeError(`WritableStreamDefaultController.prototype.${name} can only be used on a WritableStreamDefaultController`); } + __name(defaultControllerBrandCheckException$2, "defaultControllerBrandCheckException$2"); function defaultWriterBrandCheckException(name) { return new TypeError(`WritableStreamDefaultWriter.prototype.${name} can only be used on a WritableStreamDefaultWriter`); } + __name(defaultWriterBrandCheckException, "defaultWriterBrandCheckException"); function defaultWriterLockException(name) { return new TypeError("Cannot " + name + " a stream using a released writer"); } + __name(defaultWriterLockException, "defaultWriterLockException"); function defaultWriterClosedPromiseInitialize(writer) { writer._closedPromise = newPromise((resolve, reject) => { writer._closedPromise_resolve = resolve; @@ -21063,14 +22113,17 @@ var require_ponyfill_es2018 = __commonJS({ writer._closedPromiseState = "pending"; }); } + __name(defaultWriterClosedPromiseInitialize, "defaultWriterClosedPromiseInitialize"); function defaultWriterClosedPromiseInitializeAsRejected(writer, reason) { defaultWriterClosedPromiseInitialize(writer); defaultWriterClosedPromiseReject(writer, reason); } + __name(defaultWriterClosedPromiseInitializeAsRejected, "defaultWriterClosedPromiseInitializeAsRejected"); function defaultWriterClosedPromiseInitializeAsResolved(writer) { defaultWriterClosedPromiseInitialize(writer); defaultWriterClosedPromiseResolve(writer); } + __name(defaultWriterClosedPromiseInitializeAsResolved, "defaultWriterClosedPromiseInitializeAsResolved"); function defaultWriterClosedPromiseReject(writer, reason) { if (writer._closedPromise_reject === void 0) { return; @@ -21081,9 +22134,11 @@ var require_ponyfill_es2018 = __commonJS({ writer._closedPromise_reject = void 0; writer._closedPromiseState = "rejected"; } + __name(defaultWriterClosedPromiseReject, "defaultWriterClosedPromiseReject"); function defaultWriterClosedPromiseResetToRejected(writer, reason) { defaultWriterClosedPromiseInitializeAsRejected(writer, reason); } + __name(defaultWriterClosedPromiseResetToRejected, "defaultWriterClosedPromiseResetToRejected"); function defaultWriterClosedPromiseResolve(writer) { if (writer._closedPromise_resolve === void 0) { return; @@ -21093,6 +22148,7 @@ var require_ponyfill_es2018 = __commonJS({ writer._closedPromise_reject = void 0; writer._closedPromiseState = "resolved"; } + __name(defaultWriterClosedPromiseResolve, "defaultWriterClosedPromiseResolve"); function defaultWriterReadyPromiseInitialize(writer) { writer._readyPromise = newPromise((resolve, reject) => { writer._readyPromise_resolve = resolve; @@ -21100,14 +22156,17 @@ var require_ponyfill_es2018 = __commonJS({ }); writer._readyPromiseState = "pending"; } + __name(defaultWriterReadyPromiseInitialize, "defaultWriterReadyPromiseInitialize"); function defaultWriterReadyPromiseInitializeAsRejected(writer, reason) { defaultWriterReadyPromiseInitialize(writer); defaultWriterReadyPromiseReject(writer, reason); } + __name(defaultWriterReadyPromiseInitializeAsRejected, "defaultWriterReadyPromiseInitializeAsRejected"); function defaultWriterReadyPromiseInitializeAsResolved(writer) { defaultWriterReadyPromiseInitialize(writer); defaultWriterReadyPromiseResolve(writer); } + __name(defaultWriterReadyPromiseInitializeAsResolved, "defaultWriterReadyPromiseInitializeAsResolved"); function defaultWriterReadyPromiseReject(writer, reason) { if (writer._readyPromise_reject === void 0) { return; @@ -21118,12 +22177,15 @@ var require_ponyfill_es2018 = __commonJS({ writer._readyPromise_reject = void 0; writer._readyPromiseState = "rejected"; } + __name(defaultWriterReadyPromiseReject, "defaultWriterReadyPromiseReject"); function defaultWriterReadyPromiseReset(writer) { defaultWriterReadyPromiseInitialize(writer); } + __name(defaultWriterReadyPromiseReset, "defaultWriterReadyPromiseReset"); function defaultWriterReadyPromiseResetToRejected(writer, reason) { defaultWriterReadyPromiseInitializeAsRejected(writer, reason); } + __name(defaultWriterReadyPromiseResetToRejected, "defaultWriterReadyPromiseResetToRejected"); function defaultWriterReadyPromiseResolve(writer) { if (writer._readyPromise_resolve === void 0) { return; @@ -21133,6 +22195,7 @@ var require_ponyfill_es2018 = __commonJS({ writer._readyPromise_reject = void 0; writer._readyPromiseState = "fulfilled"; } + __name(defaultWriterReadyPromiseResolve, "defaultWriterReadyPromiseResolve"); const NativeDOMException = typeof DOMException !== "undefined" ? DOMException : void 0; function isDOMExceptionConstructor(ctor) { if (!(typeof ctor === "function" || typeof ctor === "object")) { @@ -21141,22 +22204,24 @@ var require_ponyfill_es2018 = __commonJS({ try { new ctor(); return true; - } catch (_a) { + } catch (_a4) { return false; } } + __name(isDOMExceptionConstructor, "isDOMExceptionConstructor"); function createDOMExceptionPolyfill() { - const ctor = function DOMException3(message, name) { + const ctor = /* @__PURE__ */ __name(function DOMException3(message, name) { this.message = message || ""; this.name = name || "Error"; if (Error.captureStackTrace) { Error.captureStackTrace(this, this.constructor); } - }; + }, "DOMException"); ctor.prototype = Object.create(Error.prototype); Object.defineProperty(ctor.prototype, "constructor", { value: ctor, writable: true, configurable: true }); return ctor; } + __name(createDOMExceptionPolyfill, "createDOMExceptionPolyfill"); const DOMException$1 = isDOMExceptionConstructor(NativeDOMException) ? NativeDOMException : createDOMExceptionPolyfill(); function ReadableStreamPipeTo(source2, dest, preventClose, preventAbort, preventCancel, signal) { const reader = AcquireReadableStreamDefaultReader(source2); @@ -21167,7 +22232,7 @@ var require_ponyfill_es2018 = __commonJS({ return newPromise((resolve, reject) => { let abortAlgorithm; if (signal !== void 0) { - abortAlgorithm = () => { + abortAlgorithm = /* @__PURE__ */ __name(() => { const error = new DOMException$1("Aborted", "AbortError"); const actions = []; if (!preventAbort) { @@ -21187,7 +22252,7 @@ var require_ponyfill_es2018 = __commonJS({ }); } shutdownWithAction(() => Promise.all(actions.map((action) => action())), true, error); - }; + }, "abortAlgorithm"); if (signal.aborted) { abortAlgorithm(); return; @@ -21203,9 +22268,11 @@ var require_ponyfill_es2018 = __commonJS({ PerformPromiseThen(pipeStep(), next, rejectLoop); } } + __name(next, "next"); next(false); }); } + __name(pipeLoop, "pipeLoop"); function pipeStep() { if (shuttingDown) { return promiseResolvedWith(true); @@ -21223,6 +22290,7 @@ var require_ponyfill_es2018 = __commonJS({ }); }); } + __name(pipeStep, "pipeStep"); isOrBecomesErrored(source2, reader._closedPromise, (storedError) => { if (!preventAbort) { shutdownWithAction(() => WritableStreamAbort(dest, storedError), true, storedError); @@ -21257,6 +22325,7 @@ var require_ponyfill_es2018 = __commonJS({ const oldCurrentWrite = currentWrite; return PerformPromiseThen(currentWrite, () => oldCurrentWrite !== currentWrite ? waitForWritesToFinish() : void 0); } + __name(waitForWritesToFinish, "waitForWritesToFinish"); function isOrBecomesErrored(stream, promise, action) { if (stream._state === "errored") { action(stream._storedError); @@ -21264,6 +22333,7 @@ var require_ponyfill_es2018 = __commonJS({ uponRejection(promise, action); } } + __name(isOrBecomesErrored, "isOrBecomesErrored"); function isOrBecomesClosed(stream, promise, action) { if (stream._state === "closed") { action(); @@ -21271,6 +22341,7 @@ var require_ponyfill_es2018 = __commonJS({ uponFulfillment(promise, action); } } + __name(isOrBecomesClosed, "isOrBecomesClosed"); function shutdownWithAction(action, originalIsError, originalError) { if (shuttingDown) { return; @@ -21284,7 +22355,9 @@ var require_ponyfill_es2018 = __commonJS({ function doTheRest() { uponPromise(action(), () => finalize(originalIsError, originalError), (newError) => finalize(true, newError)); } + __name(doTheRest, "doTheRest"); } + __name(shutdownWithAction, "shutdownWithAction"); function shutdown(isError, error) { if (shuttingDown) { return; @@ -21296,6 +22369,7 @@ var require_ponyfill_es2018 = __commonJS({ finalize(isError, error); } } + __name(shutdown, "shutdown"); function finalize(isError, error) { WritableStreamDefaultWriterRelease(writer); ReadableStreamReaderGenericRelease(reader); @@ -21308,18 +22382,28 @@ var require_ponyfill_es2018 = __commonJS({ resolve(void 0); } } + __name(finalize, "finalize"); }); } - class ReadableStreamDefaultController { + __name(ReadableStreamPipeTo, "ReadableStreamPipeTo"); + const _ReadableStreamDefaultController = class _ReadableStreamDefaultController { constructor() { throw new TypeError("Illegal constructor"); } + /** + * Returns the desired size to fill the controlled stream's internal queue. It can be negative, if the queue is + * over-full. An underlying source ought to use this information to determine when and how to apply backpressure. + */ get desiredSize() { if (!IsReadableStreamDefaultController(this)) { throw defaultControllerBrandCheckException$1("desiredSize"); } return ReadableStreamDefaultControllerGetDesiredSize(this); } + /** + * Closes the controlled readable stream. Consumers will still be able to read any previously-enqueued chunks from + * the stream, but once those are read, the stream will become closed. + */ close() { if (!IsReadableStreamDefaultController(this)) { throw defaultControllerBrandCheckException$1("close"); @@ -21338,18 +22422,23 @@ var require_ponyfill_es2018 = __commonJS({ } return ReadableStreamDefaultControllerEnqueue(this, chunk); } + /** + * Errors the controlled readable stream, making all future interactions with it fail with the given error `e`. + */ error(e2 = void 0) { if (!IsReadableStreamDefaultController(this)) { throw defaultControllerBrandCheckException$1("error"); } ReadableStreamDefaultControllerError(this, e2); } + /** @internal */ [CancelSteps](reason) { ResetQueue(this); const result = this._cancelAlgorithm(reason); ReadableStreamDefaultControllerClearAlgorithms(this); return result; } + /** @internal */ [PullSteps](readRequest) { const stream = this._controlledReadableStream; if (this._queue.length > 0) { @@ -21366,7 +22455,9 @@ var require_ponyfill_es2018 = __commonJS({ ReadableStreamDefaultControllerCallPullIfNeeded(this); } } - } + }; + __name(_ReadableStreamDefaultController, "ReadableStreamDefaultController"); + let ReadableStreamDefaultController = _ReadableStreamDefaultController; Object.defineProperties(ReadableStreamDefaultController.prototype, { close: { enumerable: true }, enqueue: { enumerable: true }, @@ -21388,6 +22479,7 @@ var require_ponyfill_es2018 = __commonJS({ } return x2 instanceof ReadableStreamDefaultController; } + __name(IsReadableStreamDefaultController, "IsReadableStreamDefaultController"); function ReadableStreamDefaultControllerCallPullIfNeeded(controller) { const shouldPull = ReadableStreamDefaultControllerShouldCallPull(controller); if (!shouldPull) { @@ -21409,6 +22501,7 @@ var require_ponyfill_es2018 = __commonJS({ ReadableStreamDefaultControllerError(controller, e2); }); } + __name(ReadableStreamDefaultControllerCallPullIfNeeded, "ReadableStreamDefaultControllerCallPullIfNeeded"); function ReadableStreamDefaultControllerShouldCallPull(controller) { const stream = controller._controlledReadableStream; if (!ReadableStreamDefaultControllerCanCloseOrEnqueue(controller)) { @@ -21426,11 +22519,13 @@ var require_ponyfill_es2018 = __commonJS({ } return false; } + __name(ReadableStreamDefaultControllerShouldCallPull, "ReadableStreamDefaultControllerShouldCallPull"); function ReadableStreamDefaultControllerClearAlgorithms(controller) { controller._pullAlgorithm = void 0; controller._cancelAlgorithm = void 0; controller._strategySizeAlgorithm = void 0; } + __name(ReadableStreamDefaultControllerClearAlgorithms, "ReadableStreamDefaultControllerClearAlgorithms"); function ReadableStreamDefaultControllerClose(controller) { if (!ReadableStreamDefaultControllerCanCloseOrEnqueue(controller)) { return; @@ -21442,6 +22537,7 @@ var require_ponyfill_es2018 = __commonJS({ ReadableStreamClose(stream); } } + __name(ReadableStreamDefaultControllerClose, "ReadableStreamDefaultControllerClose"); function ReadableStreamDefaultControllerEnqueue(controller, chunk) { if (!ReadableStreamDefaultControllerCanCloseOrEnqueue(controller)) { return; @@ -21466,6 +22562,7 @@ var require_ponyfill_es2018 = __commonJS({ } ReadableStreamDefaultControllerCallPullIfNeeded(controller); } + __name(ReadableStreamDefaultControllerEnqueue, "ReadableStreamDefaultControllerEnqueue"); function ReadableStreamDefaultControllerError(controller, e2) { const stream = controller._controlledReadableStream; if (stream._state !== "readable") { @@ -21475,6 +22572,7 @@ var require_ponyfill_es2018 = __commonJS({ ReadableStreamDefaultControllerClearAlgorithms(controller); ReadableStreamError(stream, e2); } + __name(ReadableStreamDefaultControllerError, "ReadableStreamDefaultControllerError"); function ReadableStreamDefaultControllerGetDesiredSize(controller) { const state = controller._controlledReadableStream._state; if (state === "errored") { @@ -21485,12 +22583,14 @@ var require_ponyfill_es2018 = __commonJS({ } return controller._strategyHWM - controller._queueTotalSize; } + __name(ReadableStreamDefaultControllerGetDesiredSize, "ReadableStreamDefaultControllerGetDesiredSize"); function ReadableStreamDefaultControllerHasBackpressure(controller) { if (ReadableStreamDefaultControllerShouldCallPull(controller)) { return false; } return true; } + __name(ReadableStreamDefaultControllerHasBackpressure, "ReadableStreamDefaultControllerHasBackpressure"); function ReadableStreamDefaultControllerCanCloseOrEnqueue(controller) { const state = controller._controlledReadableStream._state; if (!controller._closeRequested && state === "readable") { @@ -21498,6 +22598,7 @@ var require_ponyfill_es2018 = __commonJS({ } return false; } + __name(ReadableStreamDefaultControllerCanCloseOrEnqueue, "ReadableStreamDefaultControllerCanCloseOrEnqueue"); function SetUpReadableStreamDefaultController(stream, controller, startAlgorithm, pullAlgorithm, cancelAlgorithm, highWaterMark, sizeAlgorithm) { controller._controlledReadableStream = stream; controller._queue = void 0; @@ -21520,31 +22621,35 @@ var require_ponyfill_es2018 = __commonJS({ ReadableStreamDefaultControllerError(controller, r2); }); } + __name(SetUpReadableStreamDefaultController, "SetUpReadableStreamDefaultController"); function SetUpReadableStreamDefaultControllerFromUnderlyingSource(stream, underlyingSource, highWaterMark, sizeAlgorithm) { const controller = Object.create(ReadableStreamDefaultController.prototype); - let startAlgorithm = () => void 0; - let pullAlgorithm = () => promiseResolvedWith(void 0); - let cancelAlgorithm = () => promiseResolvedWith(void 0); + let startAlgorithm = /* @__PURE__ */ __name(() => void 0, "startAlgorithm"); + let pullAlgorithm = /* @__PURE__ */ __name(() => promiseResolvedWith(void 0), "pullAlgorithm"); + let cancelAlgorithm = /* @__PURE__ */ __name(() => promiseResolvedWith(void 0), "cancelAlgorithm"); if (underlyingSource.start !== void 0) { - startAlgorithm = () => underlyingSource.start(controller); + startAlgorithm = /* @__PURE__ */ __name(() => underlyingSource.start(controller), "startAlgorithm"); } if (underlyingSource.pull !== void 0) { - pullAlgorithm = () => underlyingSource.pull(controller); + pullAlgorithm = /* @__PURE__ */ __name(() => underlyingSource.pull(controller), "pullAlgorithm"); } if (underlyingSource.cancel !== void 0) { - cancelAlgorithm = (reason) => underlyingSource.cancel(reason); + cancelAlgorithm = /* @__PURE__ */ __name((reason) => underlyingSource.cancel(reason), "cancelAlgorithm"); } SetUpReadableStreamDefaultController(stream, controller, startAlgorithm, pullAlgorithm, cancelAlgorithm, highWaterMark, sizeAlgorithm); } + __name(SetUpReadableStreamDefaultControllerFromUnderlyingSource, "SetUpReadableStreamDefaultControllerFromUnderlyingSource"); function defaultControllerBrandCheckException$1(name) { return new TypeError(`ReadableStreamDefaultController.prototype.${name} can only be used on a ReadableStreamDefaultController`); } + __name(defaultControllerBrandCheckException$1, "defaultControllerBrandCheckException$1"); function ReadableStreamTee(stream, cloneForBranch2) { if (IsReadableByteStreamController(stream._readableStreamController)) { return ReadableByteStreamTee(stream); } return ReadableStreamDefaultTee(stream); } + __name(ReadableStreamTee, "ReadableStreamTee"); function ReadableStreamDefaultTee(stream, cloneForBranch2) { const reader = AcquireReadableStreamDefaultReader(stream); let reading = false; @@ -21602,6 +22707,7 @@ var require_ponyfill_es2018 = __commonJS({ ReadableStreamDefaultReaderRead(reader, readRequest); return promiseResolvedWith(void 0); } + __name(pullAlgorithm, "pullAlgorithm"); function cancel1Algorithm(reason) { canceled1 = true; reason1 = reason; @@ -21612,6 +22718,7 @@ var require_ponyfill_es2018 = __commonJS({ } return cancelPromise; } + __name(cancel1Algorithm, "cancel1Algorithm"); function cancel2Algorithm(reason) { canceled2 = true; reason2 = reason; @@ -21622,8 +22729,10 @@ var require_ponyfill_es2018 = __commonJS({ } return cancelPromise; } + __name(cancel2Algorithm, "cancel2Algorithm"); function startAlgorithm() { } + __name(startAlgorithm, "startAlgorithm"); branch1 = CreateReadableStream(startAlgorithm, pullAlgorithm, cancel1Algorithm); branch2 = CreateReadableStream(startAlgorithm, pullAlgorithm, cancel2Algorithm); uponRejection(reader._closedPromise, (r2) => { @@ -21635,6 +22744,7 @@ var require_ponyfill_es2018 = __commonJS({ }); return [branch1, branch2]; } + __name(ReadableStreamDefaultTee, "ReadableStreamDefaultTee"); function ReadableByteStreamTee(stream) { let reader = AcquireReadableStreamDefaultReader(stream); let reading = false; @@ -21662,6 +22772,7 @@ var require_ponyfill_es2018 = __commonJS({ } }); } + __name(forwardReaderError, "forwardReaderError"); function pullWithDefaultReader() { if (IsReadableStreamBYOBReader(reader)) { ReadableStreamReaderGenericRelease(reader); @@ -21723,6 +22834,7 @@ var require_ponyfill_es2018 = __commonJS({ }; ReadableStreamDefaultReaderRead(reader, readRequest); } + __name(pullWithDefaultReader, "pullWithDefaultReader"); function pullWithBYOBReader(view, forBranch2) { if (IsReadableStreamDefaultReader(reader)) { ReadableStreamReaderGenericRelease(reader); @@ -21791,6 +22903,7 @@ var require_ponyfill_es2018 = __commonJS({ }; ReadableStreamBYOBReaderRead(reader, view, readIntoRequest); } + __name(pullWithBYOBReader, "pullWithBYOBReader"); function pull1Algorithm() { if (reading) { readAgainForBranch1 = true; @@ -21805,6 +22918,7 @@ var require_ponyfill_es2018 = __commonJS({ } return promiseResolvedWith(void 0); } + __name(pull1Algorithm, "pull1Algorithm"); function pull2Algorithm() { if (reading) { readAgainForBranch2 = true; @@ -21819,6 +22933,7 @@ var require_ponyfill_es2018 = __commonJS({ } return promiseResolvedWith(void 0); } + __name(pull2Algorithm, "pull2Algorithm"); function cancel1Algorithm(reason) { canceled1 = true; reason1 = reason; @@ -21829,6 +22944,7 @@ var require_ponyfill_es2018 = __commonJS({ } return cancelPromise; } + __name(cancel1Algorithm, "cancel1Algorithm"); function cancel2Algorithm(reason) { canceled2 = true; reason2 = reason; @@ -21839,14 +22955,17 @@ var require_ponyfill_es2018 = __commonJS({ } return cancelPromise; } + __name(cancel2Algorithm, "cancel2Algorithm"); function startAlgorithm() { return; } + __name(startAlgorithm, "startAlgorithm"); branch1 = CreateReadableByteStream(startAlgorithm, pull1Algorithm, cancel1Algorithm); branch2 = CreateReadableByteStream(startAlgorithm, pull2Algorithm, cancel2Algorithm); forwardReaderError(reader); return [branch1, branch2]; } + __name(ReadableByteStreamTee, "ReadableByteStreamTee"); function convertUnderlyingDefaultOrByteSource(source2, context) { assertDictionary(source2, context); const original = source2; @@ -21863,18 +22982,22 @@ var require_ponyfill_es2018 = __commonJS({ type: type === void 0 ? void 0 : convertReadableStreamType(type, `${context} has member 'type' that`) }; } + __name(convertUnderlyingDefaultOrByteSource, "convertUnderlyingDefaultOrByteSource"); function convertUnderlyingSourceCancelCallback(fn, original, context) { assertFunction(fn, context); return (reason) => promiseCall(fn, original, [reason]); } + __name(convertUnderlyingSourceCancelCallback, "convertUnderlyingSourceCancelCallback"); function convertUnderlyingSourcePullCallback(fn, original, context) { assertFunction(fn, context); return (controller) => promiseCall(fn, original, [controller]); } + __name(convertUnderlyingSourcePullCallback, "convertUnderlyingSourcePullCallback"); function convertUnderlyingSourceStartCallback(fn, original, context) { assertFunction(fn, context); return (controller) => reflectCall(fn, original, [controller]); } + __name(convertUnderlyingSourceStartCallback, "convertUnderlyingSourceStartCallback"); function convertReadableStreamType(type, context) { type = `${type}`; if (type !== "bytes") { @@ -21882,6 +23005,7 @@ var require_ponyfill_es2018 = __commonJS({ } return type; } + __name(convertReadableStreamType, "convertReadableStreamType"); function convertReaderOptions(options, context) { assertDictionary(options, context); const mode = options === null || options === void 0 ? void 0 : options.mode; @@ -21889,6 +23013,7 @@ var require_ponyfill_es2018 = __commonJS({ mode: mode === void 0 ? void 0 : convertReadableStreamReaderMode(mode, `${context} has member 'mode' that`) }; } + __name(convertReaderOptions, "convertReaderOptions"); function convertReadableStreamReaderMode(mode, context) { mode = `${mode}`; if (mode !== "byob") { @@ -21896,11 +23021,13 @@ var require_ponyfill_es2018 = __commonJS({ } return mode; } + __name(convertReadableStreamReaderMode, "convertReadableStreamReaderMode"); function convertIteratorOptions(options, context) { assertDictionary(options, context); const preventCancel = options === null || options === void 0 ? void 0 : options.preventCancel; return { preventCancel: Boolean(preventCancel) }; } + __name(convertIteratorOptions, "convertIteratorOptions"); function convertPipeOptions(options, context) { assertDictionary(options, context); const preventAbort = options === null || options === void 0 ? void 0 : options.preventAbort; @@ -21917,11 +23044,13 @@ var require_ponyfill_es2018 = __commonJS({ signal }; } + __name(convertPipeOptions, "convertPipeOptions"); function assertAbortSignal(signal, context) { if (!isAbortSignal2(signal)) { throw new TypeError(`${context} is not an AbortSignal.`); } } + __name(assertAbortSignal, "assertAbortSignal"); function convertReadableWritablePair(pair, context) { assertDictionary(pair, context); const readable = pair === null || pair === void 0 ? void 0 : pair.readable; @@ -21932,7 +23061,8 @@ var require_ponyfill_es2018 = __commonJS({ assertWritableStream(writable, `${context} has member 'writable' that`); return { readable, writable }; } - class ReadableStream2 { + __name(convertReadableWritablePair, "convertReadableWritablePair"); + const _ReadableStream = class _ReadableStream { constructor(rawUnderlyingSource = {}, rawStrategy = {}) { if (rawUnderlyingSource === void 0) { rawUnderlyingSource = null; @@ -21954,12 +23084,21 @@ var require_ponyfill_es2018 = __commonJS({ SetUpReadableStreamDefaultControllerFromUnderlyingSource(this, underlyingSource, highWaterMark, sizeAlgorithm); } } + /** + * Whether or not the readable stream is locked to a {@link ReadableStreamDefaultReader | reader}. + */ get locked() { if (!IsReadableStream(this)) { throw streamBrandCheckException$1("locked"); } return IsReadableStreamLocked(this); } + /** + * Cancels the stream, signaling a loss of interest in the stream by a consumer. + * + * The supplied `reason` argument will be given to the underlying source's {@link UnderlyingSource.cancel | cancel()} + * method, which might or might not use it. + */ cancel(reason = void 0) { if (!IsReadableStream(this)) { return promiseRejectedWith(streamBrandCheckException$1("cancel")); @@ -22020,6 +23159,17 @@ var require_ponyfill_es2018 = __commonJS({ } return ReadableStreamPipeTo(this, destination, options.preventClose, options.preventAbort, options.preventCancel, options.signal); } + /** + * Tees this readable stream, returning a two-element array containing the two resulting branches as + * new {@link ReadableStream} instances. + * + * Teeing a stream will lock it, preventing any other consumer from acquiring a reader. + * To cancel the stream, cancel both of the resulting branches; a composite cancellation reason will then be + * propagated to the stream's underlying source. + * + * Note that the chunks seen in each branch will be the same object. If the chunks are not immutable, + * this could allow interference between the two branches. + */ tee() { if (!IsReadableStream(this)) { throw streamBrandCheckException$1("tee"); @@ -22034,7 +23184,9 @@ var require_ponyfill_es2018 = __commonJS({ const options = convertIteratorOptions(rawOptions, "First parameter"); return AcquireReadableStreamAsyncIterator(this, options.preventCancel); } - } + }; + __name(_ReadableStream, "ReadableStream"); + let ReadableStream2 = _ReadableStream; Object.defineProperties(ReadableStream2.prototype, { cancel: { enumerable: true }, getReader: { enumerable: true }, @@ -22064,6 +23216,7 @@ var require_ponyfill_es2018 = __commonJS({ SetUpReadableStreamDefaultController(stream, controller, startAlgorithm, pullAlgorithm, cancelAlgorithm, highWaterMark, sizeAlgorithm); return stream; } + __name(CreateReadableStream, "CreateReadableStream"); function CreateReadableByteStream(startAlgorithm, pullAlgorithm, cancelAlgorithm) { const stream = Object.create(ReadableStream2.prototype); InitializeReadableStream(stream); @@ -22071,12 +23224,14 @@ var require_ponyfill_es2018 = __commonJS({ SetUpReadableByteStreamController(stream, controller, startAlgorithm, pullAlgorithm, cancelAlgorithm, 0, void 0); return stream; } + __name(CreateReadableByteStream, "CreateReadableByteStream"); function InitializeReadableStream(stream) { stream._state = "readable"; stream._reader = void 0; stream._storedError = void 0; stream._disturbed = false; } + __name(InitializeReadableStream, "InitializeReadableStream"); function IsReadableStream(x2) { if (!typeIsObject(x2)) { return false; @@ -22086,12 +23241,14 @@ var require_ponyfill_es2018 = __commonJS({ } return x2 instanceof ReadableStream2; } + __name(IsReadableStream, "IsReadableStream"); function IsReadableStreamLocked(stream) { if (stream._reader === void 0) { return false; } return true; } + __name(IsReadableStreamLocked, "IsReadableStreamLocked"); function ReadableStreamCancel(stream, reason) { stream._disturbed = true; if (stream._state === "closed") { @@ -22111,6 +23268,7 @@ var require_ponyfill_es2018 = __commonJS({ const sourceCancelPromise = stream._readableStreamController[CancelSteps](reason); return transformPromiseWith(sourceCancelPromise, noop2); } + __name(ReadableStreamCancel, "ReadableStreamCancel"); function ReadableStreamClose(stream) { stream._state = "closed"; const reader = stream._reader; @@ -22125,6 +23283,7 @@ var require_ponyfill_es2018 = __commonJS({ reader._readRequests = new SimpleQueue(); } } + __name(ReadableStreamClose, "ReadableStreamClose"); function ReadableStreamError(stream, e2) { stream._state = "errored"; stream._storedError = e2; @@ -22145,9 +23304,11 @@ var require_ponyfill_es2018 = __commonJS({ reader._readIntoRequests = new SimpleQueue(); } } + __name(ReadableStreamError, "ReadableStreamError"); function streamBrandCheckException$1(name) { return new TypeError(`ReadableStream.prototype.${name} can only be used on a ReadableStream`); } + __name(streamBrandCheckException$1, "streamBrandCheckException$1"); function convertQueuingStrategyInit(init, context) { assertDictionary(init, context); const highWaterMark = init === null || init === void 0 ? void 0 : init.highWaterMark; @@ -22156,35 +23317,44 @@ var require_ponyfill_es2018 = __commonJS({ highWaterMark: convertUnrestrictedDouble(highWaterMark) }; } - const byteLengthSizeFunction = (chunk) => { + __name(convertQueuingStrategyInit, "convertQueuingStrategyInit"); + const byteLengthSizeFunction = /* @__PURE__ */ __name((chunk) => { return chunk.byteLength; - }; + }, "byteLengthSizeFunction"); try { Object.defineProperty(byteLengthSizeFunction, "name", { value: "size", configurable: true }); - } catch (_a) { + } catch (_a4) { } - class ByteLengthQueuingStrategy { + const _ByteLengthQueuingStrategy = class _ByteLengthQueuingStrategy { constructor(options) { assertRequiredArgument(options, 1, "ByteLengthQueuingStrategy"); options = convertQueuingStrategyInit(options, "First parameter"); this._byteLengthQueuingStrategyHighWaterMark = options.highWaterMark; } + /** + * Returns the high water mark provided to the constructor. + */ get highWaterMark() { if (!IsByteLengthQueuingStrategy(this)) { throw byteLengthBrandCheckException("highWaterMark"); } return this._byteLengthQueuingStrategyHighWaterMark; } + /** + * Measures the size of `chunk` by returning the value of its `byteLength` property. + */ get size() { if (!IsByteLengthQueuingStrategy(this)) { throw byteLengthBrandCheckException("size"); } return byteLengthSizeFunction; } - } + }; + __name(_ByteLengthQueuingStrategy, "ByteLengthQueuingStrategy"); + let ByteLengthQueuingStrategy = _ByteLengthQueuingStrategy; Object.defineProperties(ByteLengthQueuingStrategy.prototype, { highWaterMark: { enumerable: true }, size: { enumerable: true } @@ -22198,6 +23368,7 @@ var require_ponyfill_es2018 = __commonJS({ function byteLengthBrandCheckException(name) { return new TypeError(`ByteLengthQueuingStrategy.prototype.${name} can only be used on a ByteLengthQueuingStrategy`); } + __name(byteLengthBrandCheckException, "byteLengthBrandCheckException"); function IsByteLengthQueuingStrategy(x2) { if (!typeIsObject(x2)) { return false; @@ -22207,35 +23378,45 @@ var require_ponyfill_es2018 = __commonJS({ } return x2 instanceof ByteLengthQueuingStrategy; } - const countSizeFunction = () => { + __name(IsByteLengthQueuingStrategy, "IsByteLengthQueuingStrategy"); + const countSizeFunction = /* @__PURE__ */ __name(() => { return 1; - }; + }, "countSizeFunction"); try { Object.defineProperty(countSizeFunction, "name", { value: "size", configurable: true }); - } catch (_a) { + } catch (_a4) { } - class CountQueuingStrategy { + const _CountQueuingStrategy = class _CountQueuingStrategy { constructor(options) { assertRequiredArgument(options, 1, "CountQueuingStrategy"); options = convertQueuingStrategyInit(options, "First parameter"); this._countQueuingStrategyHighWaterMark = options.highWaterMark; } + /** + * Returns the high water mark provided to the constructor. + */ get highWaterMark() { if (!IsCountQueuingStrategy(this)) { throw countBrandCheckException("highWaterMark"); } return this._countQueuingStrategyHighWaterMark; } + /** + * Measures the size of `chunk` by always returning 1. + * This ensures that the total queue size is a count of the number of chunks in the queue. + */ get size() { if (!IsCountQueuingStrategy(this)) { throw countBrandCheckException("size"); } return countSizeFunction; } - } + }; + __name(_CountQueuingStrategy, "CountQueuingStrategy"); + let CountQueuingStrategy = _CountQueuingStrategy; Object.defineProperties(CountQueuingStrategy.prototype, { highWaterMark: { enumerable: true }, size: { enumerable: true } @@ -22249,6 +23430,7 @@ var require_ponyfill_es2018 = __commonJS({ function countBrandCheckException(name) { return new TypeError(`CountQueuingStrategy.prototype.${name} can only be used on a CountQueuingStrategy`); } + __name(countBrandCheckException, "countBrandCheckException"); function IsCountQueuingStrategy(x2) { if (!typeIsObject(x2)) { return false; @@ -22258,6 +23440,7 @@ var require_ponyfill_es2018 = __commonJS({ } return x2 instanceof CountQueuingStrategy; } + __name(IsCountQueuingStrategy, "IsCountQueuingStrategy"); function convertTransformer(original, context) { assertDictionary(original, context); const flush = original === null || original === void 0 ? void 0 : original.flush; @@ -22273,19 +23456,23 @@ var require_ponyfill_es2018 = __commonJS({ writableType }; } + __name(convertTransformer, "convertTransformer"); function convertTransformerFlushCallback(fn, original, context) { assertFunction(fn, context); return (controller) => promiseCall(fn, original, [controller]); } + __name(convertTransformerFlushCallback, "convertTransformerFlushCallback"); function convertTransformerStartCallback(fn, original, context) { assertFunction(fn, context); return (controller) => reflectCall(fn, original, [controller]); } + __name(convertTransformerStartCallback, "convertTransformerStartCallback"); function convertTransformerTransformCallback(fn, original, context) { assertFunction(fn, context); return (chunk, controller) => promiseCall(fn, original, [chunk, controller]); } - class TransformStream { + __name(convertTransformerTransformCallback, "convertTransformerTransformCallback"); + const _TransformStream = class _TransformStream { constructor(rawTransformer = {}, rawWritableStrategy = {}, rawReadableStrategy = {}) { if (rawTransformer === void 0) { rawTransformer = null; @@ -22315,19 +23502,27 @@ var require_ponyfill_es2018 = __commonJS({ startPromise_resolve(void 0); } } + /** + * The readable side of the transform stream. + */ get readable() { if (!IsTransformStream(this)) { throw streamBrandCheckException("readable"); } return this._readable; } + /** + * The writable side of the transform stream. + */ get writable() { if (!IsTransformStream(this)) { throw streamBrandCheckException("writable"); } return this._writable; } - } + }; + __name(_TransformStream, "TransformStream"); + let TransformStream = _TransformStream; Object.defineProperties(TransformStream.prototype, { readable: { enumerable: true }, writable: { enumerable: true } @@ -22342,23 +23537,29 @@ var require_ponyfill_es2018 = __commonJS({ function startAlgorithm() { return startPromise; } + __name(startAlgorithm, "startAlgorithm"); function writeAlgorithm(chunk) { return TransformStreamDefaultSinkWriteAlgorithm(stream, chunk); } + __name(writeAlgorithm, "writeAlgorithm"); function abortAlgorithm(reason) { return TransformStreamDefaultSinkAbortAlgorithm(stream, reason); } + __name(abortAlgorithm, "abortAlgorithm"); function closeAlgorithm() { return TransformStreamDefaultSinkCloseAlgorithm(stream); } + __name(closeAlgorithm, "closeAlgorithm"); stream._writable = CreateWritableStream(startAlgorithm, writeAlgorithm, closeAlgorithm, abortAlgorithm, writableHighWaterMark, writableSizeAlgorithm); function pullAlgorithm() { return TransformStreamDefaultSourcePullAlgorithm(stream); } + __name(pullAlgorithm, "pullAlgorithm"); function cancelAlgorithm(reason) { TransformStreamErrorWritableAndUnblockWrite(stream, reason); return promiseResolvedWith(void 0); } + __name(cancelAlgorithm, "cancelAlgorithm"); stream._readable = CreateReadableStream(startAlgorithm, pullAlgorithm, cancelAlgorithm, readableHighWaterMark, readableSizeAlgorithm); stream._backpressure = void 0; stream._backpressureChangePromise = void 0; @@ -22366,6 +23567,7 @@ var require_ponyfill_es2018 = __commonJS({ TransformStreamSetBackpressure(stream, true); stream._transformStreamController = void 0; } + __name(InitializeTransformStream, "InitializeTransformStream"); function IsTransformStream(x2) { if (!typeIsObject(x2)) { return false; @@ -22375,10 +23577,12 @@ var require_ponyfill_es2018 = __commonJS({ } return x2 instanceof TransformStream; } + __name(IsTransformStream, "IsTransformStream"); function TransformStreamError(stream, e2) { ReadableStreamDefaultControllerError(stream._readable._readableStreamController, e2); TransformStreamErrorWritableAndUnblockWrite(stream, e2); } + __name(TransformStreamError, "TransformStreamError"); function TransformStreamErrorWritableAndUnblockWrite(stream, e2) { TransformStreamDefaultControllerClearAlgorithms(stream._transformStreamController); WritableStreamDefaultControllerErrorIfNeeded(stream._writable._writableStreamController, e2); @@ -22386,6 +23590,7 @@ var require_ponyfill_es2018 = __commonJS({ TransformStreamSetBackpressure(stream, false); } } + __name(TransformStreamErrorWritableAndUnblockWrite, "TransformStreamErrorWritableAndUnblockWrite"); function TransformStreamSetBackpressure(stream, backpressure) { if (stream._backpressureChangePromise !== void 0) { stream._backpressureChangePromise_resolve(); @@ -22395,10 +23600,14 @@ var require_ponyfill_es2018 = __commonJS({ }); stream._backpressure = backpressure; } - class TransformStreamDefaultController { + __name(TransformStreamSetBackpressure, "TransformStreamSetBackpressure"); + const _TransformStreamDefaultController = class _TransformStreamDefaultController { constructor() { throw new TypeError("Illegal constructor"); } + /** + * Returns the desired size to fill the readable side’s internal queue. It can be negative, if the queue is over-full. + */ get desiredSize() { if (!IsTransformStreamDefaultController(this)) { throw defaultControllerBrandCheckException("desiredSize"); @@ -22412,19 +23621,29 @@ var require_ponyfill_es2018 = __commonJS({ } TransformStreamDefaultControllerEnqueue(this, chunk); } + /** + * Errors both the readable side and the writable side of the controlled transform stream, making all future + * interactions with it fail with the given error `e`. Any chunks queued for transformation will be discarded. + */ error(reason = void 0) { if (!IsTransformStreamDefaultController(this)) { throw defaultControllerBrandCheckException("error"); } TransformStreamDefaultControllerError(this, reason); } + /** + * Closes the readable side and errors the writable side of the controlled transform stream. This is useful when the + * transformer only needs to consume a portion of the chunks written to the writable side. + */ terminate() { if (!IsTransformStreamDefaultController(this)) { throw defaultControllerBrandCheckException("terminate"); } TransformStreamDefaultControllerTerminate(this); } - } + }; + __name(_TransformStreamDefaultController, "TransformStreamDefaultController"); + let TransformStreamDefaultController = _TransformStreamDefaultController; Object.defineProperties(TransformStreamDefaultController.prototype, { enqueue: { enumerable: true }, error: { enumerable: true }, @@ -22446,35 +23665,39 @@ var require_ponyfill_es2018 = __commonJS({ } return x2 instanceof TransformStreamDefaultController; } + __name(IsTransformStreamDefaultController, "IsTransformStreamDefaultController"); function SetUpTransformStreamDefaultController(stream, controller, transformAlgorithm, flushAlgorithm) { controller._controlledTransformStream = stream; stream._transformStreamController = controller; controller._transformAlgorithm = transformAlgorithm; controller._flushAlgorithm = flushAlgorithm; } + __name(SetUpTransformStreamDefaultController, "SetUpTransformStreamDefaultController"); function SetUpTransformStreamDefaultControllerFromTransformer(stream, transformer) { const controller = Object.create(TransformStreamDefaultController.prototype); - let transformAlgorithm = (chunk) => { + let transformAlgorithm = /* @__PURE__ */ __name((chunk) => { try { TransformStreamDefaultControllerEnqueue(controller, chunk); return promiseResolvedWith(void 0); } catch (transformResultE) { return promiseRejectedWith(transformResultE); } - }; - let flushAlgorithm = () => promiseResolvedWith(void 0); + }, "transformAlgorithm"); + let flushAlgorithm = /* @__PURE__ */ __name(() => promiseResolvedWith(void 0), "flushAlgorithm"); if (transformer.transform !== void 0) { - transformAlgorithm = (chunk) => transformer.transform(chunk, controller); + transformAlgorithm = /* @__PURE__ */ __name((chunk) => transformer.transform(chunk, controller), "transformAlgorithm"); } if (transformer.flush !== void 0) { - flushAlgorithm = () => transformer.flush(controller); + flushAlgorithm = /* @__PURE__ */ __name(() => transformer.flush(controller), "flushAlgorithm"); } SetUpTransformStreamDefaultController(stream, controller, transformAlgorithm, flushAlgorithm); } + __name(SetUpTransformStreamDefaultControllerFromTransformer, "SetUpTransformStreamDefaultControllerFromTransformer"); function TransformStreamDefaultControllerClearAlgorithms(controller) { controller._transformAlgorithm = void 0; controller._flushAlgorithm = void 0; } + __name(TransformStreamDefaultControllerClearAlgorithms, "TransformStreamDefaultControllerClearAlgorithms"); function TransformStreamDefaultControllerEnqueue(controller, chunk) { const stream = controller._controlledTransformStream; const readableController = stream._readable._readableStreamController; @@ -22492,9 +23715,11 @@ var require_ponyfill_es2018 = __commonJS({ TransformStreamSetBackpressure(stream, true); } } + __name(TransformStreamDefaultControllerEnqueue, "TransformStreamDefaultControllerEnqueue"); function TransformStreamDefaultControllerError(controller, e2) { TransformStreamError(controller._controlledTransformStream, e2); } + __name(TransformStreamDefaultControllerError, "TransformStreamDefaultControllerError"); function TransformStreamDefaultControllerPerformTransform(controller, chunk) { const transformPromise = controller._transformAlgorithm(chunk); return transformPromiseWith(transformPromise, void 0, (r2) => { @@ -22502,6 +23727,7 @@ var require_ponyfill_es2018 = __commonJS({ throw r2; }); } + __name(TransformStreamDefaultControllerPerformTransform, "TransformStreamDefaultControllerPerformTransform"); function TransformStreamDefaultControllerTerminate(controller) { const stream = controller._controlledTransformStream; const readableController = stream._readable._readableStreamController; @@ -22509,6 +23735,7 @@ var require_ponyfill_es2018 = __commonJS({ const error = new TypeError("TransformStream terminated"); TransformStreamErrorWritableAndUnblockWrite(stream, error); } + __name(TransformStreamDefaultControllerTerminate, "TransformStreamDefaultControllerTerminate"); function TransformStreamDefaultSinkWriteAlgorithm(stream, chunk) { const controller = stream._transformStreamController; if (stream._backpressure) { @@ -22524,10 +23751,12 @@ var require_ponyfill_es2018 = __commonJS({ } return TransformStreamDefaultControllerPerformTransform(controller, chunk); } + __name(TransformStreamDefaultSinkWriteAlgorithm, "TransformStreamDefaultSinkWriteAlgorithm"); function TransformStreamDefaultSinkAbortAlgorithm(stream, reason) { TransformStreamError(stream, reason); return promiseResolvedWith(void 0); } + __name(TransformStreamDefaultSinkAbortAlgorithm, "TransformStreamDefaultSinkAbortAlgorithm"); function TransformStreamDefaultSinkCloseAlgorithm(stream) { const readable = stream._readable; const controller = stream._transformStreamController; @@ -22543,30 +23772,34 @@ var require_ponyfill_es2018 = __commonJS({ throw readable._storedError; }); } + __name(TransformStreamDefaultSinkCloseAlgorithm, "TransformStreamDefaultSinkCloseAlgorithm"); function TransformStreamDefaultSourcePullAlgorithm(stream) { TransformStreamSetBackpressure(stream, false); return stream._backpressureChangePromise; } + __name(TransformStreamDefaultSourcePullAlgorithm, "TransformStreamDefaultSourcePullAlgorithm"); function defaultControllerBrandCheckException(name) { return new TypeError(`TransformStreamDefaultController.prototype.${name} can only be used on a TransformStreamDefaultController`); } + __name(defaultControllerBrandCheckException, "defaultControllerBrandCheckException"); function streamBrandCheckException(name) { return new TypeError(`TransformStream.prototype.${name} can only be used on a TransformStream`); } - exports2.ByteLengthQueuingStrategy = ByteLengthQueuingStrategy; - exports2.CountQueuingStrategy = CountQueuingStrategy; - exports2.ReadableByteStreamController = ReadableByteStreamController; - exports2.ReadableStream = ReadableStream2; - exports2.ReadableStreamBYOBReader = ReadableStreamBYOBReader; - exports2.ReadableStreamBYOBRequest = ReadableStreamBYOBRequest; - exports2.ReadableStreamDefaultController = ReadableStreamDefaultController; - exports2.ReadableStreamDefaultReader = ReadableStreamDefaultReader; - exports2.TransformStream = TransformStream; - exports2.TransformStreamDefaultController = TransformStreamDefaultController; - exports2.WritableStream = WritableStream; - exports2.WritableStreamDefaultController = WritableStreamDefaultController; - exports2.WritableStreamDefaultWriter = WritableStreamDefaultWriter; - Object.defineProperty(exports2, "__esModule", { value: true }); + __name(streamBrandCheckException, "streamBrandCheckException"); + exports3.ByteLengthQueuingStrategy = ByteLengthQueuingStrategy; + exports3.CountQueuingStrategy = CountQueuingStrategy; + exports3.ReadableByteStreamController = ReadableByteStreamController; + exports3.ReadableStream = ReadableStream2; + exports3.ReadableStreamBYOBReader = ReadableStreamBYOBReader; + exports3.ReadableStreamBYOBRequest = ReadableStreamBYOBRequest; + exports3.ReadableStreamDefaultController = ReadableStreamDefaultController; + exports3.ReadableStreamDefaultReader = ReadableStreamDefaultReader; + exports3.TransformStream = TransformStream; + exports3.TransformStreamDefaultController = TransformStreamDefaultController; + exports3.WritableStream = WritableStream; + exports3.WritableStreamDefaultController = WritableStreamDefaultController; + exports3.WritableStreamDefaultWriter = WritableStreamDefaultWriter; + Object.defineProperty(exports3, "__esModule", { value: true }); }); } }); @@ -22593,9 +23826,9 @@ var require_streams2 = __commonJS({ } } try { - const { Blob: Blob3 } = require("buffer"); - if (Blob3 && !Blob3.prototype.stream) { - Blob3.prototype.stream = function name(params) { + const { Blob: Blob2 } = require("buffer"); + if (Blob2 && !Blob2.prototype.stream) { + Blob2.prototype.stream = /* @__PURE__ */ __name(function name(params) { let position = 0; const blob = this; return new ReadableStream({ @@ -22610,7 +23843,7 @@ var require_streams2 = __commonJS({ } } }); - }; + }, "name"); } } catch (error) { } @@ -22621,7 +23854,10 @@ var require_streams2 = __commonJS({ async function* toIterator(parts, clone2 = true) { for (const part of parts) { if ("stream" in part) { - yield* part.stream(); + yield* ( + /** @type {AsyncIterableIterator} */ + part.stream() + ); } else if (ArrayBuffer.isView(part)) { if (clone2) { let position = part.byteOffset; @@ -22636,7 +23872,10 @@ async function* toIterator(parts, clone2 = true) { yield part; } } else { - let position = 0, b = part; + let position = 0, b = ( + /** @type {Blob} */ + part + ); while (position !== b.size) { const chunk = b.slice(position, Math.min(b.size, position + POOL_SIZE)); const buffer = await chunk.arrayBuffer(); @@ -22646,17 +23885,28 @@ async function* toIterator(parts, clone2 = true) { } } } -var import_streams, POOL_SIZE, _Blob, Blob2, fetch_blob_default; +var import_streams, POOL_SIZE, _parts, _type, _size, _endings, _a, _Blob, Blob, fetch_blob_default; var init_fetch_blob = __esm({ "node_modules/.pnpm/fetch-blob@3.2.0/node_modules/fetch-blob/index.js"() { import_streams = __toESM(require_streams2(), 1); + /*! fetch-blob. MIT License. Jimmy Wärting */ POOL_SIZE = 65536; - _Blob = class Blob { - #parts = []; - #type = ""; - #size = 0; - #endings = "transparent"; + __name(toIterator, "toIterator"); + _Blob = (_a = class { + /** + * The Blob() constructor returns a new Blob object. The content + * of the blob consists of the concatenation of the values given + * in the parameter array. + * + * @param {*} blobParts + * @param {{ type?: string, endings?: string }} [options] + */ constructor(blobParts = [], options = {}) { + /** @type {Array.<(Blob|Uint8Array)>} */ + __privateAdd(this, _parts, []); + __privateAdd(this, _type, ""); + __privateAdd(this, _size, 0); + __privateAdd(this, _endings, "transparent"); if (typeof blobParts !== "object" || blobParts === null) { throw new TypeError("Failed to construct 'Blob': The provided value cannot be converted to a sequence."); } @@ -22675,45 +23925,67 @@ var init_fetch_blob = __esm({ part = new Uint8Array(element.buffer.slice(element.byteOffset, element.byteOffset + element.byteLength)); } else if (element instanceof ArrayBuffer) { part = new Uint8Array(element.slice(0)); - } else if (element instanceof Blob) { + } else if (element instanceof _a) { part = element; } else { part = encoder.encode(`${element}`); } - this.#size += ArrayBuffer.isView(part) ? part.byteLength : part.size; - this.#parts.push(part); + __privateSet(this, _size, __privateGet(this, _size) + (ArrayBuffer.isView(part) ? part.byteLength : part.size)); + __privateGet(this, _parts).push(part); } - this.#endings = `${options.endings === void 0 ? "transparent" : options.endings}`; + __privateSet(this, _endings, `${options.endings === void 0 ? "transparent" : options.endings}`); const type = options.type === void 0 ? "" : String(options.type); - this.#type = /^[\x20-\x7E]*$/.test(type) ? type : ""; + __privateSet(this, _type, /^[\x20-\x7E]*$/.test(type) ? type : ""); } + /** + * The Blob interface's size property returns the + * size of the Blob in bytes. + */ get size() { - return this.#size; + return __privateGet(this, _size); } + /** + * The type property of a Blob object returns the MIME type of the file. + */ get type() { - return this.#type; - } + return __privateGet(this, _type); + } + /** + * The text() method in the Blob interface returns a Promise + * that resolves with a string containing the contents of + * the blob, interpreted as UTF-8. + * + * @return {Promise} + */ async text() { const decoder = new TextDecoder(); let str = ""; - for await (const part of toIterator(this.#parts, false)) { + for await (const part of toIterator(__privateGet(this, _parts), false)) { str += decoder.decode(part, { stream: true }); } str += decoder.decode(); return str; } + /** + * The arrayBuffer() method in the Blob interface returns a + * Promise that resolves with the contents of the blob as + * binary data contained in an ArrayBuffer. + * + * @return {Promise} + */ async arrayBuffer() { const data = new Uint8Array(this.size); let offset = 0; - for await (const chunk of toIterator(this.#parts, false)) { + for await (const chunk of toIterator(__privateGet(this, _parts), false)) { data.set(chunk, offset); offset += chunk.length; } return data.buffer; } stream() { - const it = toIterator(this.#parts, true); + const it = toIterator(__privateGet(this, _parts), true); return new globalThis.ReadableStream({ + // @ts-ignore type: "bytes", async pull(ctrl) { const chunk = await it.next(); @@ -22724,12 +23996,21 @@ var init_fetch_blob = __esm({ } }); } + /** + * The Blob interface's slice() method creates and returns a + * new Blob object which contains data from a subset of the + * blob on which it's called. + * + * @param {number} [start] + * @param {number} [end] + * @param {string} [type] + */ slice(start = 0, end = this.size, type = "") { const { size } = this; let relativeStart = start < 0 ? Math.max(size + start, 0) : Math.min(start, size); let relativeEnd = end < 0 ? Math.max(size + end, 0) : Math.min(end, size); const span = Math.max(relativeEnd - relativeStart, 0); - const parts = this.#parts; + const parts = __privateGet(this, _parts); const blobParts = []; let added = 0; for (const part of parts) { @@ -22754,9 +24035,9 @@ var init_fetch_blob = __esm({ relativeStart = 0; } } - const blob = new Blob([], { type: String(type).toLowerCase() }); - blob.#size = span; - blob.#parts = blobParts; + const blob = new _a([], { type: String(type).toLowerCase() }); + __privateSet(blob, _size, span); + __privateSet(blob, _parts, blobParts); return blob; } get [Symbol.toStringTag]() { @@ -22765,43 +24046,49 @@ var init_fetch_blob = __esm({ static [Symbol.hasInstance](object) { return object && typeof object === "object" && typeof object.constructor === "function" && (typeof object.stream === "function" || typeof object.arrayBuffer === "function") && /^(Blob|File)$/.test(object[Symbol.toStringTag]); } - }; + }, _parts = new WeakMap(), _type = new WeakMap(), _size = new WeakMap(), _endings = new WeakMap(), __name(_a, "Blob"), _a); Object.defineProperties(_Blob.prototype, { size: { enumerable: true }, type: { enumerable: true }, slice: { enumerable: true } }); - Blob2 = _Blob; - fetch_blob_default = Blob2; + Blob = _Blob; + fetch_blob_default = Blob; } }); // node_modules/.pnpm/fetch-blob@3.2.0/node_modules/fetch-blob/file.js -var _File, File2, file_default; +var _lastModified, _name, _a2, _File, File, file_default; var init_file = __esm({ "node_modules/.pnpm/fetch-blob@3.2.0/node_modules/fetch-blob/file.js"() { init_fetch_blob(); - _File = class File extends fetch_blob_default { - #lastModified = 0; - #name = ""; + _File = (_a2 = class extends fetch_blob_default { + /** + * @param {*[]} fileBits + * @param {string} fileName + * @param {{lastModified?: number, type?: string}} options + */ + // @ts-ignore constructor(fileBits, fileName, options = {}) { if (arguments.length < 2) { throw new TypeError(`Failed to construct 'File': 2 arguments required, but only ${arguments.length} present.`); } super(fileBits, options); + __privateAdd(this, _lastModified, 0); + __privateAdd(this, _name, ""); if (options === null) options = {}; const lastModified = options.lastModified === void 0 ? Date.now() : Number(options.lastModified); if (!Number.isNaN(lastModified)) { - this.#lastModified = lastModified; + __privateSet(this, _lastModified, lastModified); } - this.#name = String(fileName); + __privateSet(this, _name, String(fileName)); } get name() { - return this.#name; + return __privateGet(this, _name); } get lastModified() { - return this.#lastModified; + return __privateGet(this, _lastModified); } get [Symbol.toStringTag]() { return "File"; @@ -22809,9 +24096,9 @@ var init_file = __esm({ static [Symbol.hasInstance](object) { return !!object && object instanceof fetch_blob_default && /^(File)$/.test(object[Symbol.toStringTag]); } - }; - File2 = _File; - file_default = File2; + }, _lastModified = new WeakMap(), _name = new WeakMap(), __name(_a2, "File"), _a2); + File = _File; + file_default = File; } }); @@ -22829,24 +24116,25 @@ Content-Type: ${v.type || "application/octet-stream"}\r c.push(`--${b}--`); return new B(c, { type: "multipart/form-data; boundary=" + b }); } -var t, i, h, r, m, f, e, x, FormData; +var t, i, h, r, m, f, e, x, _d, _a3, FormData; var init_esm_min = __esm({ "node_modules/.pnpm/formdata-polyfill@4.0.10/node_modules/formdata-polyfill/esm.min.js"() { init_fetch_blob(); init_file(); + /*! formdata-polyfill. MIT License. Jimmy Wärting */ ({ toStringTag: t, iterator: i, hasInstance: h } = Symbol); r = Math.random; m = "append,set,get,getAll,delete,keys,values,entries,forEach,constructor".split(","); - f = (a, b, c) => (a += "", /^(Blob|File)$/.test(b && b[t]) ? [(c = c !== void 0 ? c + "" : b[t] == "File" ? b.name : "blob", a), b.name !== c || b[t] == "blob" ? new file_default([b], c, b) : b] : [a, b + ""]); - e = (c, f3) => (f3 ? c : c.replace(/\r?\n|\r/g, "\r\n")).replace(/\n/g, "%0A").replace(/\r/g, "%0D").replace(/"/g, "%22"); - x = (n, a, e2) => { + f = /* @__PURE__ */ __name((a, b, c) => (a += "", /^(Blob|File)$/.test(b && b[t]) ? [(c = c !== void 0 ? c + "" : b[t] == "File" ? b.name : "blob", a), b.name !== c || b[t] == "blob" ? new file_default([b], c, b) : b] : [a, b + ""]), "f"); + e = /* @__PURE__ */ __name((c, f3) => (f3 ? c : c.replace(/\r?\n|\r/g, "\r\n")).replace(/\n/g, "%0A").replace(/\r/g, "%0D").replace(/"/g, "%22"), "e"); + x = /* @__PURE__ */ __name((n, a, e2) => { if (a.length < e2) { throw new TypeError(`Failed to execute '${n}' on 'FormData': ${e2} arguments required, but only ${a.length} present.`); } - }; - FormData = class FormData2 { - #d = []; + }, "x"); + FormData = (_a3 = class { constructor(...a) { + __privateAdd(this, _d, []); if (a.length) throw new TypeError(`Failed to construct 'FormData': parameter 1 is not of type 'HTMLFormElement'.`); } @@ -22861,17 +24149,17 @@ var init_esm_min = __esm({ } append(...a) { x("append", arguments, 2); - this.#d.push(f(...a)); + __privateGet(this, _d).push(f(...a)); } delete(a) { x("delete", arguments, 1); a += ""; - this.#d = this.#d.filter(([b]) => b !== a); + __privateSet(this, _d, __privateGet(this, _d).filter(([b]) => b !== a)); } get(a) { x("get", arguments, 1); a += ""; - for (var b = this.#d, l = b.length, c = 0; c < l; c++) + for (var b = __privateGet(this, _d), l = b.length, c = 0; c < l; c++) if (b[c][0] === a) return b[c][1]; return null; @@ -22880,13 +24168,13 @@ var init_esm_min = __esm({ x("getAll", arguments, 1); b = []; a += ""; - this.#d.forEach((c) => c[0] === a && b.push(c[1])); + __privateGet(this, _d).forEach((c) => c[0] === a && b.push(c[1])); return b; } has(a) { x("has", arguments, 1); a += ""; - return this.#d.some((b) => b[0] === a); + return __privateGet(this, _d).some((b) => b[0] === a); } forEach(a, b) { x("forEach", arguments, 1); @@ -22897,14 +24185,14 @@ var init_esm_min = __esm({ x("set", arguments, 2); var b = [], c = true; a = f(...a); - this.#d.forEach((d) => { + __privateGet(this, _d).forEach((d) => { d[0] === a[0] ? c && (c = !b.push(a)) : b.push(d); }); c && b.push(a); - this.#d = b; + __privateSet(this, _d, b); } *entries() { - yield* this.#d; + yield* __privateGet(this, _d); } *keys() { for (var [a] of this) @@ -22914,15 +24202,16 @@ var init_esm_min = __esm({ for (var [, a] of this) yield a; } - }; + }, _d = new WeakMap(), __name(_a3, "FormData"), _a3); + __name(formDataToBlob, "formDataToBlob"); } }); // node_modules/.pnpm/node-fetch@3.3.1/node_modules/node-fetch/src/errors/base.js -var FetchBaseError; +var _FetchBaseError, FetchBaseError; var init_base = __esm({ "node_modules/.pnpm/node-fetch@3.3.1/node_modules/node-fetch/src/errors/base.js"() { - FetchBaseError = class extends Error { + _FetchBaseError = class _FetchBaseError extends Error { constructor(message, type) { super(message); Error.captureStackTrace(this, this.constructor); @@ -22935,15 +24224,22 @@ var init_base = __esm({ return this.constructor.name; } }; + __name(_FetchBaseError, "FetchBaseError"); + FetchBaseError = _FetchBaseError; } }); // node_modules/.pnpm/node-fetch@3.3.1/node_modules/node-fetch/src/errors/fetch-error.js -var FetchError; +var _FetchError, FetchError; var init_fetch_error = __esm({ "node_modules/.pnpm/node-fetch@3.3.1/node_modules/node-fetch/src/errors/fetch-error.js"() { init_base(); - FetchError = class extends FetchBaseError { + _FetchError = class _FetchError extends FetchBaseError { + /** + * @param {string} message - Error message for human + * @param {string} [type] - Error type for machine + * @param {SystemError} [systemError] - For Node.js system error + */ constructor(message, type, systemError) { super(message, type); if (systemError) { @@ -22952,6 +24248,8 @@ var init_fetch_error = __esm({ } } }; + __name(_FetchError, "FetchError"); + FetchError = _FetchError; } }); @@ -22960,31 +24258,32 @@ var NAME, isURLSearchParameters, isBlob, isAbortSignal, isDomainOrSubdomain, isS var init_is = __esm({ "node_modules/.pnpm/node-fetch@3.3.1/node_modules/node-fetch/src/utils/is.js"() { NAME = Symbol.toStringTag; - isURLSearchParameters = (object) => { + isURLSearchParameters = /* @__PURE__ */ __name((object) => { return typeof object === "object" && typeof object.append === "function" && typeof object.delete === "function" && typeof object.get === "function" && typeof object.getAll === "function" && typeof object.has === "function" && typeof object.set === "function" && typeof object.sort === "function" && object[NAME] === "URLSearchParams"; - }; - isBlob = (object) => { + }, "isURLSearchParameters"); + isBlob = /* @__PURE__ */ __name((object) => { return object && typeof object === "object" && typeof object.arrayBuffer === "function" && typeof object.type === "string" && typeof object.stream === "function" && typeof object.constructor === "function" && /^(Blob|File)$/.test(object[NAME]); - }; - isAbortSignal = (object) => { + }, "isBlob"); + isAbortSignal = /* @__PURE__ */ __name((object) => { return typeof object === "object" && (object[NAME] === "AbortSignal" || object[NAME] === "EventTarget"); - }; - isDomainOrSubdomain = (destination, original) => { + }, "isAbortSignal"); + isDomainOrSubdomain = /* @__PURE__ */ __name((destination, original) => { const orig = new URL(original).hostname; const dest = new URL(destination).hostname; return orig === dest || orig.endsWith(`.${dest}`); - }; - isSameProtocol = (destination, original) => { + }, "isDomainOrSubdomain"); + isSameProtocol = /* @__PURE__ */ __name((destination, original) => { const orig = new URL(original).protocol; const dest = new URL(destination).protocol; return orig === dest; - }; + }, "isSameProtocol"); } }); // node_modules/.pnpm/node-domexception@1.0.0/node_modules/node-domexception/index.js var require_node_domexception = __commonJS({ - "node_modules/.pnpm/node-domexception@1.0.0/node_modules/node-domexception/index.js"(exports, module2) { + "node_modules/.pnpm/node-domexception@1.0.0/node_modules/node-domexception/index.js"(exports2, module2) { + /*! node-domexception. MIT License. Jimmy Wärting */ if (!globalThis.DOMException) { try { const { MessageChannel } = require("worker_threads"), port = new MessageChannel().port1, ab = new ArrayBuffer(); @@ -22998,7 +24297,7 @@ var require_node_domexception = __commonJS({ }); // node_modules/.pnpm/fetch-blob@3.2.0/node_modules/fetch-blob/from.js -var import_node_fs, import_node_domexception, stat, BlobDataItem; +var import_node_fs, import_node_domexception, stat; var init_from = __esm({ "node_modules/.pnpm/fetch-blob@3.2.0/node_modules/fetch-blob/from.js"() { import_node_fs = require("node:fs"); @@ -23006,37 +24305,6 @@ var init_from = __esm({ init_file(); init_fetch_blob(); ({ stat } = import_node_fs.promises); - BlobDataItem = class { - #path; - #start; - constructor(options) { - this.#path = options.path; - this.#start = options.start; - this.size = options.size; - this.lastModified = options.lastModified; - } - slice(start, end) { - return new BlobDataItem({ - path: this.#path, - lastModified: this.lastModified, - size: end - start, - start: this.#start + start - }); - } - async *stream() { - const { mtimeMs } = await stat(this.#path); - if (mtimeMs > this.lastModified) { - throw new import_node_domexception.default("The requested file could not be read, typically due to permission problems that have occurred after a reference to a file was acquired.", "NotReadableError"); - } - yield* (0, import_node_fs.createReadStream)(this.#path, { - start: this.#start, - end: this.#start + this.size - 1 - }); - } - get [Symbol.toStringTag]() { - return "Blob"; - } - }; } }); @@ -23075,19 +24343,19 @@ async function toFormData(Body2, ct) { let filename; const entryChunks = []; const formData = new FormData(); - const onPartData = (ui8a) => { + const onPartData = /* @__PURE__ */ __name((ui8a) => { entryValue += decoder.decode(ui8a, { stream: true }); - }; - const appendToFile = (ui8a) => { + }, "onPartData"); + const appendToFile = /* @__PURE__ */ __name((ui8a) => { entryChunks.push(ui8a); - }; - const appendFileToFormData = () => { + }, "appendToFile"); + const appendFileToFormData = /* @__PURE__ */ __name(() => { const file = new file_default(entryChunks, filename, { type: contentType }); formData.append(entryName, file); - }; - const appendEntryToFormData = () => { + }, "appendFileToFormData"); + const appendEntryToFormData = /* @__PURE__ */ __name(() => { formData.append(entryName, entryValue); - }; + }, "appendEntryToFormData"); const decoder = new TextDecoder("utf-8"); decoder.decode(); parser.onPartBegin = function() { @@ -23132,7 +24400,7 @@ async function toFormData(Body2, ct) { parser.end(); return formData; } -var s, S, f2, F, LF, CR, SPACE, HYPHEN, COLON, A, Z, lower, noop, MultipartParser; +var s, S, f2, F, LF, CR, SPACE, HYPHEN, COLON, A, Z, lower, noop, _MultipartParser, MultipartParser; var init_multipart_parser = __esm({ "node_modules/.pnpm/node-fetch@3.3.1/node_modules/node-fetch/src/utils/multipart-parser.js"() { init_from(); @@ -23162,10 +24430,13 @@ var init_multipart_parser = __esm({ COLON = 58; A = 97; Z = 122; - lower = (c) => c | 32; - noop = () => { - }; - MultipartParser = class { + lower = /* @__PURE__ */ __name((c) => c | 32, "lower"); + noop = /* @__PURE__ */ __name(() => { + }, "noop"); + _MultipartParser = class _MultipartParser { + /** + * @param {string} boundary + */ constructor(boundary) { this.index = 0; this.flags = 0; @@ -23187,6 +24458,9 @@ var init_multipart_parser = __esm({ this.lookbehind = new Uint8Array(this.boundary.length + 8); this.state = S.START_BOUNDARY; } + /** + * @param {Uint8Array} data + */ write(data) { let i2 = 0; const length_ = data.length; @@ -23197,18 +24471,18 @@ var init_multipart_parser = __esm({ const bufferLength = data.length; let c; let cl; - const mark = (name) => { + const mark = /* @__PURE__ */ __name((name) => { this[name + "Mark"] = i2; - }; - const clear = (name) => { + }, "mark"); + const clear = /* @__PURE__ */ __name((name) => { delete this[name + "Mark"]; - }; - const callback = (callbackSymbol, start, end, ui8a) => { + }, "clear"); + const callback = /* @__PURE__ */ __name((callbackSymbol, start, end, ui8a) => { if (start === void 0 || start !== end) { this[callbackSymbol](ui8a && ui8a.subarray(start, end)); } - }; - const dataCallback = (name, clear2) => { + }, "callback"); + const dataCallback = /* @__PURE__ */ __name((name, clear2) => { const markSymbol = name + "Mark"; if (!(markSymbol in this)) { return; @@ -23220,7 +24494,7 @@ var init_multipart_parser = __esm({ callback(name, this[markSymbol], data.length, data); this[markSymbol] = 0; } - }; + }, "dataCallback"); for (i2 = 0; i2 < length_; i2++) { c = data[i2]; switch (state) { @@ -23390,6 +24664,10 @@ var init_multipart_parser = __esm({ } } }; + __name(_MultipartParser, "MultipartParser"); + MultipartParser = _MultipartParser; + __name(_fileName, "_fileName"); + __name(toFormData, "toFormData"); } }); @@ -23438,7 +24716,7 @@ async function consumeBody(data) { throw new FetchError(`Premature close of server response while trying to fetch ${data.url}`); } } -var import_node_stream, import_node_util, import_node_buffer, pipeline, INTERNALS, Body, clone, getNonSpecFormDataBoundary, extractContentType, getTotalBytes, writeToStream; +var import_node_stream, import_node_util, import_node_buffer, pipeline, INTERNALS, _Body, Body, clone, getNonSpecFormDataBoundary, extractContentType, getTotalBytes, writeToStream; var init_body = __esm({ "node_modules/.pnpm/node-fetch@3.3.1/node_modules/node-fetch/src/body.js"() { import_node_stream = __toESM(require("node:stream"), 1); @@ -23451,7 +24729,7 @@ var init_body = __esm({ init_is(); pipeline = (0, import_node_util.promisify)(import_node_stream.default.pipeline); INTERNALS = Symbol("Body internals"); - Body = class { + _Body = class _Body { constructor(body, { size = 0 } = {}) { @@ -23500,6 +24778,11 @@ var init_body = __esm({ get bodyUsed() { return this[INTERNALS].disturbed; } + /** + * Decode response as ArrayBuffer + * + * @return Promise + */ async arrayBuffer() { const { buffer, byteOffset, byteLength } = await consumeBody(this); return buffer.slice(byteOffset, byteOffset + byteLength); @@ -23517,6 +24800,11 @@ var init_body = __esm({ const { toFormData: toFormData2 } = await Promise.resolve().then(() => (init_multipart_parser(), multipart_parser_exports)); return toFormData2(this.body, ct); } + /** + * Return raw response as Blob + * + * @return Promise + */ async blob() { const ct = this.headers && this.headers.get("content-type") || this[INTERNALS].body && this[INTERNALS].body.type || ""; const buf = await this.arrayBuffer(); @@ -23524,18 +24812,35 @@ var init_body = __esm({ type: ct }); } + /** + * Decode response as json + * + * @return Promise + */ async json() { const text = await this.text(); return JSON.parse(text); } + /** + * Decode response as text + * + * @return Promise + */ async text() { const buffer = await consumeBody(this); return new TextDecoder().decode(buffer); } + /** + * Decode response as buffer (non-spec api) + * + * @return Promise + */ buffer() { return consumeBody(this); } }; + __name(_Body, "Body"); + Body = _Body; Body.prototype.buffer = (0, import_node_util.deprecate)(Body.prototype.buffer, "Please use 'response.arrayBuffer()' instead of 'response.buffer()'", "node-fetch#buffer"); Object.defineProperties(Body.prototype, { body: { enumerable: true }, @@ -23551,7 +24856,8 @@ var init_body = __esm({ "https://github.com/node-fetch/node-fetch/issues/1000 (response)" ) } }); - clone = (instance, highWaterMark) => { + __name(consumeBody, "consumeBody"); + clone = /* @__PURE__ */ __name((instance, highWaterMark) => { let p1; let p2; let { body } = instance[INTERNALS]; @@ -23567,13 +24873,13 @@ var init_body = __esm({ body = p2; } return body; - }; + }, "clone"); getNonSpecFormDataBoundary = (0, import_node_util.deprecate)( (body) => body.getBoundary(), "form-data doesn't follow the spec and requires special treatment. Use alternative package", "https://github.com/node-fetch/node-fetch/issues/1167" ); - extractContentType = (body, request) => { + extractContentType = /* @__PURE__ */ __name((body, request) => { if (body === null) { return null; } @@ -23599,8 +24905,8 @@ var init_body = __esm({ return null; } return "text/plain;charset=UTF-8"; - }; - getTotalBytes = (request) => { + }, "extractContentType"); + getTotalBytes = /* @__PURE__ */ __name((request) => { const { body } = request[INTERNALS]; if (body === null) { return 0; @@ -23615,14 +24921,14 @@ var init_body = __esm({ return body.hasKnownLength && body.hasKnownLength() ? body.getLengthSync() : null; } return null; - }; - writeToStream = async (dest, { body }) => { + }, "getTotalBytes"); + writeToStream = /* @__PURE__ */ __name(async (dest, { body }) => { if (body === null) { dest.end(); } else { await pipeline(body, dest); } - }; + }, "writeToStream"); } }); @@ -23645,7 +24951,7 @@ function fromRawHeaders(headers = []) { }) ); } -var import_node_util2, import_node_http, validateHeaderName, validateHeaderValue, Headers; +var import_node_util2, import_node_http, validateHeaderName, validateHeaderValue, _Headers, Headers; var init_headers = __esm({ "node_modules/.pnpm/node-fetch@3.3.1/node_modules/node-fetch/src/headers.js"() { import_node_util2 = require("node:util"); @@ -23664,10 +24970,16 @@ var init_headers = __esm({ throw error; } }; - Headers = class extends URLSearchParams { + _Headers = class _Headers extends URLSearchParams { + /** + * Headers class + * + * @constructor + * @param {HeadersInit} [init] - Response headers + */ constructor(init) { let result = []; - if (init instanceof Headers) { + if (init instanceof _Headers) { const raw = init.raw(); for (const [name, values] of Object.entries(raw)) { result.push(...values.map((value) => [name, value])); @@ -23764,6 +25076,9 @@ var init_headers = __esm({ yield this.get(name); } } + /** + * @type {() => IterableIterator<[string, string]>} + */ *entries() { for (const name of this.keys()) { yield [name, this.get(name)]; @@ -23772,12 +25087,20 @@ var init_headers = __esm({ [Symbol.iterator]() { return this.entries(); } + /** + * Node-fetch non-spec method + * returning all headers and their values as array + * @returns {Record} + */ raw() { return [...this.keys()].reduce((result, key) => { result[key] = this.getAll(key); return result; }, {}); } + /** + * For better console.log(headers) and also to convert Headers into Node.js Request compatible format + */ [Symbol.for("nodejs.util.inspect.custom")]() { return [...this.keys()].reduce((result, key) => { const values = this.getAll(key); @@ -23790,6 +25113,8 @@ var init_headers = __esm({ }, {}); } }; + __name(_Headers, "Headers"); + Headers = _Headers; Object.defineProperties( Headers.prototype, ["get", "entries", "forEach", "values"].reduce((result, property) => { @@ -23797,6 +25122,7 @@ var init_headers = __esm({ return result; }, {}) ); + __name(fromRawHeaders, "fromRawHeaders"); } }); @@ -23805,21 +25131,21 @@ var redirectStatus, isRedirect; var init_is_redirect = __esm({ "node_modules/.pnpm/node-fetch@3.3.1/node_modules/node-fetch/src/utils/is-redirect.js"() { redirectStatus = /* @__PURE__ */ new Set([301, 302, 303, 307, 308]); - isRedirect = (code) => { + isRedirect = /* @__PURE__ */ __name((code) => { return redirectStatus.has(code); - }; + }, "isRedirect"); } }); // node_modules/.pnpm/node-fetch@3.3.1/node_modules/node-fetch/src/response.js -var INTERNALS2, Response; +var INTERNALS2, _Response, Response; var init_response = __esm({ "node_modules/.pnpm/node-fetch@3.3.1/node_modules/node-fetch/src/response.js"() { init_headers(); init_body(); init_is_redirect(); INTERNALS2 = Symbol("Response internals"); - Response = class extends Body { + _Response = class _Response extends Body { constructor(body = null, options = {}) { super(body, options); const status = options.status != null ? options.status : 200; @@ -23849,6 +25175,9 @@ var init_response = __esm({ get status() { return this[INTERNALS2].status; } + /** + * Convenience property representing if the request ended normally + */ get ok() { return this[INTERNALS2].status >= 200 && this[INTERNALS2].status < 300; } @@ -23864,8 +25193,13 @@ var init_response = __esm({ get highWaterMark() { return this[INTERNALS2].highWaterMark; } + /** + * Clone this response + * + * @return Response + */ clone() { - return new Response(clone(this, this.highWaterMark), { + return new _Response(clone(this, this.highWaterMark), { type: this.type, url: this.url, status: this.status, @@ -23877,11 +25211,16 @@ var init_response = __esm({ highWaterMark: this.highWaterMark }); } + /** + * @param {string} url The URL that the new response is to originate from. + * @param {number} status An optional status code for the response (e.g., 302.) + * @returns {Response} A Response object. + */ static redirect(url, status = 302) { if (!isRedirect(status)) { throw new RangeError('Failed to execute "redirect" on "response": Invalid status code'); } - return new Response(null, { + return new _Response(null, { headers: { location: new URL(url).toString() }, @@ -23889,7 +25228,7 @@ var init_response = __esm({ }); } static error() { - const response = new Response(null, { status: 0, statusText: "" }); + const response = new _Response(null, { status: 0, statusText: "" }); response[INTERNALS2].type = "error"; return response; } @@ -23902,7 +25241,7 @@ var init_response = __esm({ if (!headers.has("content-type")) { headers.set("content-type", "application/json"); } - return new Response(body, { + return new _Response(body, { ...init, headers }); @@ -23911,6 +25250,8 @@ var init_response = __esm({ return "Response"; } }; + __name(_Response, "Response"); + Response = _Response; Object.defineProperties(Response.prototype, { type: { enumerable: true }, url: { enumerable: true }, @@ -23928,14 +25269,14 @@ var init_response = __esm({ var getSearch; var init_get_search = __esm({ "node_modules/.pnpm/node-fetch@3.3.1/node_modules/node-fetch/src/utils/get-search.js"() { - getSearch = (parsedURL) => { + getSearch = /* @__PURE__ */ __name((parsedURL) => { if (parsedURL.search) { return parsedURL.search; } const lastOffset = parsedURL.href.length - 1; const hash = parsedURL.hash || (parsedURL.href[lastOffset] === "#" ? "#" : ""); return parsedURL.href[lastOffset - hash.length] === "?" ? "?" : ""; - }; + }, "getSearch"); } }); @@ -24069,6 +25410,7 @@ var import_node_net, ReferrerPolicy, DEFAULT_REFERRER_POLICY; var init_referrer = __esm({ "node_modules/.pnpm/node-fetch@3.3.1/node_modules/node-fetch/src/utils/referrer.js"() { import_node_net = require("node:net"); + __name(stripURLForUseAsAReferrer, "stripURLForUseAsAReferrer"); ReferrerPolicy = /* @__PURE__ */ new Set([ "", "no-referrer", @@ -24081,11 +25423,16 @@ var init_referrer = __esm({ "unsafe-url" ]); DEFAULT_REFERRER_POLICY = "strict-origin-when-cross-origin"; + __name(validateReferrerPolicy, "validateReferrerPolicy"); + __name(isOriginPotentiallyTrustworthy, "isOriginPotentiallyTrustworthy"); + __name(isUrlPotentiallyTrustworthy, "isUrlPotentiallyTrustworthy"); + __name(determineRequestsReferrer, "determineRequestsReferrer"); + __name(parseReferrerPolicyFromHeader, "parseReferrerPolicyFromHeader"); } }); // node_modules/.pnpm/node-fetch@3.3.1/node_modules/node-fetch/src/request.js -var import_node_url, import_node_util3, INTERNALS3, isRequest, doBadDataWarn, Request, getNodeRequestOptions; +var import_node_url, import_node_util3, INTERNALS3, isRequest, doBadDataWarn, _Request, Request, getNodeRequestOptions; var init_request = __esm({ "node_modules/.pnpm/node-fetch@3.3.1/node_modules/node-fetch/src/request.js"() { import_node_url = require("node:url"); @@ -24096,16 +25443,16 @@ var init_request = __esm({ init_get_search(); init_referrer(); INTERNALS3 = Symbol("Request internals"); - isRequest = (object) => { + isRequest = /* @__PURE__ */ __name((object) => { return typeof object === "object" && typeof object[INTERNALS3] === "object"; - }; + }, "isRequest"); doBadDataWarn = (0, import_node_util3.deprecate)( () => { }, ".data is not a valid RequestInit property, use .body instead", "https://github.com/node-fetch/node-fetch/issues/1000 (request)" ); - Request = class extends Body { + _Request = class _Request extends Body { constructor(input, init = {}) { let parsedURL; if (isRequest(input)) { @@ -24170,21 +25517,26 @@ var init_request = __esm({ this.insecureHTTPParser = init.insecureHTTPParser || input.insecureHTTPParser || false; this.referrerPolicy = init.referrerPolicy || input.referrerPolicy || ""; } + /** @returns {string} */ get method() { return this[INTERNALS3].method; } + /** @returns {string} */ get url() { return (0, import_node_url.format)(this[INTERNALS3].parsedURL); } + /** @returns {Headers} */ get headers() { return this[INTERNALS3].headers; } get redirect() { return this[INTERNALS3].redirect; } + /** @returns {AbortSignal} */ get signal() { return this[INTERNALS3].signal; } + // https://fetch.spec.whatwg.org/#dom-request-referrer get referrer() { if (this[INTERNALS3].referrer === "no-referrer") { return ""; @@ -24203,13 +25555,20 @@ var init_request = __esm({ set referrerPolicy(referrerPolicy) { this[INTERNALS3].referrerPolicy = validateReferrerPolicy(referrerPolicy); } + /** + * Clone this request + * + * @return Request + */ clone() { - return new Request(this); + return new _Request(this); } get [Symbol.toStringTag]() { return "Request"; } }; + __name(_Request, "Request"); + Request = _Request; Object.defineProperties(Request.prototype, { method: { enumerable: true }, url: { enumerable: true }, @@ -24220,7 +25579,7 @@ var init_request = __esm({ referrer: { enumerable: true }, referrerPolicy: { enumerable: true } }); - getNodeRequestOptions = (request) => { + getNodeRequestOptions = /* @__PURE__ */ __name((request) => { const { parsedURL } = request[INTERNALS3]; const headers = new Headers(request[INTERNALS3].headers); if (!headers.has("Accept")) { @@ -24265,30 +25624,35 @@ var init_request = __esm({ } const search = getSearch(parsedURL); const options = { + // Overwrite search to retain trailing ? (issue #776) path: parsedURL.pathname + search, + // The following options are not expressed in the URL method: request.method, headers: headers[Symbol.for("nodejs.util.inspect.custom")](), insecureHTTPParser: request.insecureHTTPParser, agent }; return { + /** @type {URL} */ parsedURL, options }; - }; + }, "getNodeRequestOptions"); } }); // node_modules/.pnpm/node-fetch@3.3.1/node_modules/node-fetch/src/errors/abort-error.js -var AbortError; +var _AbortError, AbortError; var init_abort_error = __esm({ "node_modules/.pnpm/node-fetch@3.3.1/node_modules/node-fetch/src/errors/abort-error.js"() { init_base(); - AbortError = class extends FetchBaseError { + _AbortError = class _AbortError extends FetchBaseError { constructor(message, type = "aborted") { super(message, type); } }; + __name(_AbortError, "AbortError"); + AbortError = _AbortError; } }); @@ -24309,7 +25673,7 @@ async function fetch(url, options_) { const send = (parsedURL.protocol === "https:" ? import_node_https.default : import_node_http2.default).request; const { signal } = request; let response = null; - const abort = () => { + const abort = /* @__PURE__ */ __name(() => { const error = new AbortError("The operation was aborted."); reject(error); if (request.body && request.body instanceof import_node_stream2.default.Readable) { @@ -24319,25 +25683,25 @@ async function fetch(url, options_) { return; } response.body.emit("error", error); - }; + }, "abort"); if (signal && signal.aborted) { abort(); return; } - const abortAndFinalize = () => { + const abortAndFinalize = /* @__PURE__ */ __name(() => { abort(); finalize(); - }; + }, "abortAndFinalize"); const request_ = send(parsedURL.toString(), options); if (signal) { signal.addEventListener("abort", abortAndFinalize); } - const finalize = () => { + const finalize = /* @__PURE__ */ __name(() => { request_.abort(); if (signal) { signal.removeEventListener("abort", abortAndFinalize); } - }; + }, "finalize"); request_.on("error", (error) => { reject(new FetchError(`request to ${request.url} failed, reason: ${error.message}`, "system", error)); finalize(); @@ -24532,20 +25896,20 @@ function fixResponseChunkedTransferBadEnding(request, errorCallback) { isChunkedTransfer = headers["transfer-encoding"] === "chunked" && !headers["content-length"]; }); request.on("socket", (socket) => { - const onSocketClose = () => { + const onSocketClose = /* @__PURE__ */ __name(() => { if (isChunkedTransfer && !properLastChunkReceived) { const error = new Error("Premature close"); error.code = "ERR_STREAM_PREMATURE_CLOSE"; errorCallback(error); } - }; - const onData = (buf) => { + }, "onSocketClose"); + const onData = /* @__PURE__ */ __name((buf) => { properLastChunkReceived = import_node_buffer2.Buffer.compare(buf.slice(-5), LAST_CHUNK) === 0; if (!properLastChunkReceived && previousChunk) { properLastChunkReceived = import_node_buffer2.Buffer.compare(previousChunk.slice(-3), LAST_CHUNK.slice(0, 3)) === 0 && import_node_buffer2.Buffer.compare(buf.slice(-2), LAST_CHUNK.slice(3)) === 0; } previousChunk = buf; - }; + }, "onData"); socket.prependListener("close", onSocketClose); socket.on("data", onData); request.on("close", () => { @@ -24575,6 +25939,8 @@ var init_src = __esm({ init_referrer(); init_from(); supportedSchemas = /* @__PURE__ */ new Set(["data:", "http:", "https:"]); + __name(fetch, "fetch"); + __name(fixResponseChunkedTransferBadEnding, "fixResponseChunkedTransferBadEnding"); } }); @@ -24585,10 +25951,11 @@ var init_update = __esm({ "use strict"; init_src(); (() => { + var _a4; if (GetConvarInt("mysql_versioncheck", 1) === 0) return; const resourceName2 = GetCurrentResourceName(); - const currentVersion = GetResourceMetadata(resourceName2, "version", 0)?.match(/(\d)\.(\d)\.(\d)/); + const currentVersion = (_a4 = GetResourceMetadata(resourceName2, "version", 0)) == null ? void 0 : _a4.match(/(\d)\.(\d)\.(\d)/); if (!currentVersion) return console.log(`^1Unable to determine current resource version for '${resourceName2}'^0`); setTimeout(async () => { @@ -24621,7 +25988,7 @@ ${release.html_url}^0` // src/utils/typeCast.ts var BINARY_CHARSET = 63; -var typeCast = (field, next) => { +var typeCast = /* @__PURE__ */ __name((field, next) => { switch (field.type) { case "DATETIME": case "DATETIME2": @@ -24630,7 +25997,7 @@ var typeCast = (field, next) => { case "NEWDATE": return new Date(field.string()).getTime(); case "DATE": - return new Date(field.string() + " 00:00:00").getTime(); + return (/* @__PURE__ */ new Date(field.string() + " 00:00:00")).getTime(); case "TINY": return field.length === 1 ? field.string() === "1" : next(); case "BIT": @@ -24649,13 +26016,14 @@ var typeCast = (field, next) => { default: return next(); } -}; +}, "typeCast"); // src/config.ts var mysql_connection_string = GetConvar("mysql_connection_string", ""); var mysql_ui = GetConvar("mysql_ui", "false") === "true"; var mysql_slow_query_warning = GetConvarInt("mysql_slow_query_warning", 200); -var mysql_debug; +var mysql_debug = false; +var mysql_log_size = 0; function setDebug() { mysql_ui = GetConvar("mysql_ui", "false") === "true"; mysql_slow_query_warning = GetConvarInt("mysql_slow_query_warning", 200); @@ -24665,7 +26033,9 @@ function setDebug() { } catch (e2) { mysql_debug = true; } + mysql_log_size = mysql_debug ? 1e4 : GetConvarInt("mysql_log_size", 100); } +__name(setDebug, "setDebug"); var mysql_transaction_isolation_level = (() => { const query = "SET TRANSACTION ISOLATION LEVEL"; switch (GetConvarInt("mysql_transaction_isolation_level", 2)) { @@ -24681,7 +26051,7 @@ var mysql_transaction_isolation_level = (() => { return `${query} READ COMMITTED`; } })(); -var parseUri = (connectionString) => { +var parseUri = /* @__PURE__ */ __name((connectionString) => { const splitMatchGroups = connectionString.match( new RegExp( "^(?:([^:/?#.]+):)?(?://(?:([^/?#]*)@)?([\\w\\d\\-\\u0100-\\uffff.%]*)(?::([0-9]+))?)?([^?#]+)?(?:\\?([^#]*))?$" @@ -24703,7 +26073,7 @@ var parseUri = (connectionString) => { }, {}) }; return options; -}; +}, "parseUri"); var convertNamedPlaceholders; var connectionOptions = (() => { const options = mysql_connection_string.includes("mysql://") ? parseUri(mysql_connection_string) : mysql_connection_string.replace(/(?:host(?:name)|ip|server|data\s?source|addr(?:ess)?)=/gi, "host=").replace(/(?:user\s?(?:id|name)?|uid)=/gi, "user=").replace(/(?:pwd|pass)=/gi, "password=").replace(/(?:db)=/gi, "database=").split(";").reduce((connectionInfo, parameter) => { @@ -24719,9 +26089,7 @@ var connectionOptions = (() => { try { options[key] = JSON.parse(value); } catch (err) { - console.log( - `^3Failed to parse property ${key} in configuration (${err})!^0` - ); + console.log(`^3Failed to parse property ${key} in configuration (${err})!^0`); } } } @@ -24734,6 +26102,7 @@ var connectionOptions = (() => { ...options, typeCast, namedPlaceholders: false, + // we use our own named-placeholders patch, disable mysql2s flags }; })(); @@ -24771,15 +26140,17 @@ RegisterCommand( function sleep(ms) { return new Promise((resolve) => setTimeout(resolve, ms)); } +__name(sleep, "sleep"); // src/database/connection.ts -var import_promise = __toESM(require_promise()); +var import_promise = __toESM(require_promise(), 1); // src/utils/scheduleTick.ts var resourceName = GetCurrentResourceName(); async function scheduleTick() { ScheduleResourceTick(resourceName); } +__name(scheduleTick, "scheduleTick"); // src/database/connection.ts var pool; @@ -24790,6 +26161,7 @@ async function waitForConnection() { await sleep(0); } } +__name(waitForConnection, "waitForConnection"); async function createConnectionPool() { try { pool = (0, import_promise.createPool)(connectionOptions); @@ -24810,15 +26182,17 @@ async function createConnectionPool() { ); } } +__name(createConnectionPool, "createConnectionPool"); async function getPoolConnection() { if (!isServerConnected) await waitForConnection(); scheduleTick(); return pool.getConnection(); } +__name(getPoolConnection, "getPoolConnection"); // src/utils/parseArguments.ts -var parseArguments = (query, parameters) => { +var parseArguments = /* @__PURE__ */ __name((query, parameters) => { if (typeof query !== "string") throw new Error(`Expected query to be a string but received ${typeof query} instead.`); if (convertNamedPlaceholders && parameters && typeof parameters === "object" && !Array.isArray(parameters)) { @@ -24852,21 +26226,21 @@ var parseArguments = (query, parameters) => { } } return [query, parameters]; -}; +}, "parseArguments"); // src/utils/setCallback.ts -var setCallback = (parameters, cb) => { +var setCallback = /* @__PURE__ */ __name((parameters, cb) => { if (cb && typeof cb === "function") return cb; if (parameters && typeof parameters === "function") return parameters; -}; +}, "setCallback"); // src/utils/parseResponse.ts -var isOkPacket = (result, insertId) => insertId ? result.insertId !== void 0 : result.affectedRows !== void 0; -var isRowDataPacket = (result) => result.length !== void 0; -var isRowDataPacketArray = (result) => result.length !== void 0 && result[0] !== void 0 && Object.values(result[0])[0] !== void 0; -var parseResponse = (type, result) => { +var isOkPacket = /* @__PURE__ */ __name((result, insertId) => insertId ? result.insertId !== void 0 : result.affectedRows !== void 0, "isOkPacket"); +var isRowDataPacket = /* @__PURE__ */ __name((result) => result.length !== void 0, "isRowDataPacket"); +var isRowDataPacketArray = /* @__PURE__ */ __name((result) => result.length !== void 0 && result[0] !== void 0 && Object.values(result[0])[0] !== void 0, "isRowDataPacketArray"); +var parseResponse = /* @__PURE__ */ __name((type, result) => { switch (type) { case "insert": return isOkPacket(result) ? result.insertId : null; @@ -24879,16 +26253,26 @@ var parseResponse = (type, result) => { default: return result || null; } -}; +}, "parseResponse"); // src/logger/index.ts -function logError(invokingResource, cb, isPromise, ...args) { - const err = `${invokingResource} was unable to execute a query! -${args.join("\n")}`; +function logError(invokingResource, cb, isPromise, err, query, parameters, includeParameters) { + const message = `${invokingResource} was unable to execute a query!${query ? ` +${`Query: ${query}`}` : ""}${includeParameters ? ` +${JSON.stringify(parameters)}` : ""} +${err.message}`; + TriggerEvent("oxmysql:error", { + query, + parameters, + message: err.message, + err, + resource: invokingResource + }); if (cb && isPromise) - return cb(null, err); - console.error(err); + return cb(null, message); + console.error(message); } +__name(logError, "logError"); var profilerStatements = [ "SET profiling_history_size = 0", "SET profiling = 0", @@ -24896,14 +26280,15 @@ var profilerStatements = [ "SET profiling = 1" ]; async function runProfiler(connection, invokingResource) { - if (!mysql_debug && !mysql_ui) + if (!mysql_debug) return; - if (!mysql_ui && mysql_debug && Array.isArray(mysql_debug) && !mysql_debug.includes(invokingResource)) + if (Array.isArray(mysql_debug) && !mysql_debug.includes(invokingResource)) return; for (const statement of profilerStatements) await connection.query(statement); return true; } +__name(runProfiler, "runProfiler"); async function profileBatchStatements(connection, invokingResource, query, parameters, offset) { const [profiler] = await connection.query( "SELECT FORMAT(SUM(DURATION) * 1000, 4) AS `duration` FROM INFORMATION_SCHEMA.PROFILING GROUP BY QUERY_ID" @@ -24914,37 +26299,39 @@ async function profileBatchStatements(connection, invokingResource, query, param return; if (typeof query === "string" && parameters) for (let i2 = 0; i2 < profiler.length; i2++) { - logQuery(invokingResource, query, profiler[i2].duration, parameters[offset + i2]); + logQuery(invokingResource, query, parseFloat(profiler[i2].duration), parameters[offset + i2]); } else if (typeof query === "object") for (let i2 = 0; i2 < profiler.length; i2++) { const transaction = query[offset + i2]; if (transaction) - logQuery(invokingResource, transaction.query, profiler[i2].duration, transaction.params); + logQuery(invokingResource, transaction.query, parseFloat(profiler[i2].duration), transaction.params); else break; } } +__name(profileBatchStatements, "profileBatchStatements"); var logStorage = {}; -var logQuery = (invokingResource, query, executionTime, parameters) => { - executionTime = parseFloat(executionTime); +var logQuery = /* @__PURE__ */ __name((invokingResource, query, executionTime, parameters) => { if (executionTime >= mysql_slow_query_warning || mysql_debug && (!Array.isArray(mysql_debug) || mysql_debug.includes(invokingResource))) { console.log( - `${dbVersion} ^3${invokingResource} took ${executionTime}ms to execute a query! + `${dbVersion} ^3${invokingResource} took ${executionTime.toFixed(4)}ms to execute a query! ${query}${parameters ? ` ${JSON.stringify(parameters)}` : ""}^0` ); } if (!mysql_ui) return; - if (logStorage[invokingResource] === void 0) + if (!logStorage[invokingResource]) logStorage[invokingResource] = []; + else if (logStorage[invokingResource].length > mysql_log_size) + logStorage[invokingResource].splice(0, 1); logStorage[invokingResource].push({ query, executionTime, date: Date.now(), slow: executionTime >= mysql_slow_query_warning ? true : void 0 }); -}; +}, "logQuery"); RegisterCommand( "mysql", (source2) => { @@ -24978,7 +26365,7 @@ RegisterCommand( }, true ); -var sortQueries = (queries, sort) => { +var sortQueries = /* @__PURE__ */ __name((queries, sort) => { const sortedQueries = [...queries].sort((a, b) => { switch (sort.id) { case "query": @@ -24990,7 +26377,7 @@ var sortQueries = (queries, sort) => { } }); return sort.desc ? sortedQueries.reverse() : sortedQueries; -}; +}, "sortQueries"); onNet( `oxmysql:fetchResource`, (data) => { @@ -25024,23 +26411,27 @@ onNet( ); // src/database/rawQuery.ts -var rawQuery = async (type, invokingResource, query, parameters, cb, isPromise) => { +var import_perf_hooks = require("perf_hooks"); +var rawQuery = /* @__PURE__ */ __name(async (type, invokingResource, query, parameters, cb, isPromise) => { cb = setCallback(parameters, cb); try { [query, parameters] = parseArguments(query, parameters); } catch (err) { - return logError(invokingResource, cb, isPromise, `Query: ${query}`, err.message); + return logError(invokingResource, cb, err, isPromise, query, parameters); } const connection = await getPoolConnection(); if (!connection) return; try { const hasProfiler = await runProfiler(connection, invokingResource); + const startTime = !hasProfiler && import_perf_hooks.performance.now(); const [result] = await connection.query(query, parameters); if (hasProfiler) { const [profiler] = await connection.query("SELECT FORMAT(SUM(DURATION) * 1000, 4) AS `duration` FROM INFORMATION_SCHEMA.PROFILING"); if (profiler[0]) - logQuery(invokingResource, query, profiler[0].duration, parameters); + logQuery(invokingResource, query, parseFloat(profiler[0].duration), parameters); + } else if (startTime) { + logQuery(invokingResource, query, import_perf_hooks.performance.now() - startTime, parameters); } if (cb) try { @@ -25053,21 +26444,14 @@ var rawQuery = async (type, invokingResource, query, parameters, cb, isPromise) } } } catch (err) { - logError(invokingResource, cb, isPromise, `Query: ${query}`, JSON.stringify(parameters), err.message); - TriggerEvent("oxmysql:error", { - query, - parameters, - message: err.message, - err, - resource: invokingResource - }); + logError(invokingResource, cb, isPromise, err, query, parameters, true); } finally { connection.release(); } -}; +}, "rawQuery"); // src/utils/parseExecute.ts -var executeType = (query) => { +var executeType = /* @__PURE__ */ __name((query) => { if (typeof query !== "string") throw new Error(`Expected query to be a string but received ${typeof query} instead.`); switch (query.substring(0, query.indexOf(" "))) { @@ -25080,8 +26464,8 @@ var executeType = (query) => { default: return null; } -}; -var parseExecute = (placeholders, parameters) => { +}, "executeType"); +var parseExecute = /* @__PURE__ */ __name((placeholders, parameters) => { const parametersType = typeof parameters; if (!parameters || parametersType !== "object") return []; @@ -25114,10 +26498,11 @@ var parseExecute = (placeholders, parameters) => { parameters = [[...parameters]]; } return parameters; -}; +}, "parseExecute"); // src/database/rawExecute.ts -var rawExecute = async (invokingResource, query, parameters, cb, isPromise, unpack) => { +var import_perf_hooks2 = require("perf_hooks"); +var rawExecute = /* @__PURE__ */ __name(async (invokingResource, query, parameters, cb, isPromise, unpack) => { cb = setCallback(parameters, cb); let type; let placeholders; @@ -25126,7 +26511,7 @@ var rawExecute = async (invokingResource, query, parameters, cb, isPromise, unpa placeholders = query.split("?").length - 1; parameters = parseExecute(placeholders, parameters); } catch (err) { - return logError(invokingResource, cb, isPromise, query, err.message); + return logError(invokingResource, cb, isPromise, err, query, parameters); } const connection = await getPoolConnection(); if (!connection) @@ -25142,6 +26527,7 @@ var rawExecute = async (invokingResource, query, parameters, cb, isPromise, unpa values[i2] = null; } } + const startTime = !hasProfiler && import_perf_hooks2.performance.now(); const [result] = await connection.execute(query, values); if (cb) { if (Array.isArray(result) && result.length > 1) { @@ -25153,6 +26539,8 @@ var rawExecute = async (invokingResource, query, parameters, cb, isPromise, unpa } if (hasProfiler && (index > 0 && index % 100 === 0 || index === parametersLength - 1)) { await profileBatchStatements(connection, invokingResource, query, parameters, index < 100 ? 0 : index); + } else if (startTime) { + logQuery(invokingResource, query, import_perf_hooks2.performance.now() - startTime, values); } } if (!cb) @@ -25178,22 +26566,15 @@ var rawExecute = async (invokingResource, query, parameters, cb, isPromise, unpa } } } catch (err) { - logError(invokingResource, cb, isPromise, `Query: ${query}`, err.message); - TriggerEvent("oxmysql:error", { - query, - parameters, - message: err.message, - err, - resource: invokingResource - }); + logError(invokingResource, cb, isPromise, err, query, parameters); } finally { connection.release(); } -}; +}, "rawExecute"); // src/utils/parseTransaction.ts -var isTransactionQuery = (query) => query.query !== void 0; -var parseTransaction = (queries, parameters) => { +var isTransactionQuery = /* @__PURE__ */ __name((query) => query.query !== void 0, "isTransactionQuery"); +var parseTransaction = /* @__PURE__ */ __name((queries, parameters) => { if (!Array.isArray(queries)) throw new Error(`Transaction queries must be array, received '${typeof queries}'.`); if (!parameters || typeof parameters === "function") @@ -25215,22 +26596,23 @@ var parseTransaction = (queries, parameters) => { return { query: parsedQuery, params: parsedParameters }; }); return transactions; -}; +}, "parseTransaction"); // src/database/rawTransaction.ts -var transactionError = (queries, parameters) => { +var import_perf_hooks3 = require("perf_hooks"); +var transactionError = /* @__PURE__ */ __name((queries, parameters) => { `${queries.map((query) => `${query.query} ${JSON.stringify(query.params || [])}`).join("\n")} ${JSON.stringify( parameters )}`; -}; -var rawTransaction = async (invokingResource, queries, parameters, cb, isPromise) => { +}, "transactionError"); +var rawTransaction = /* @__PURE__ */ __name(async (invokingResource, queries, parameters, cb, isPromise) => { let transactions; cb = setCallback(parameters, cb); try { transactions = parseTransaction(queries, parameters); } catch (err) { - return logError(invokingResource, cb, isPromise, err.message); + return logError(invokingResource, cb, isPromise, err); } const connection = await getPoolConnection(); if (!connection) @@ -25242,9 +26624,12 @@ var rawTransaction = async (invokingResource, queries, parameters, cb, isPromise const transactionsLength = transactions.length; for (let i2 = 0; i2 < transactionsLength; i2++) { const transaction = transactions[i2]; + const startTime = !hasProfiler && import_perf_hooks3.performance.now(); await connection.query(transaction.query, transaction.params); if (hasProfiler && (i2 > 0 && i2 % 100 === 0 || i2 === transactionsLength - 1)) { await profileBatchStatements(connection, invokingResource, transactions, null, i2 < 100 ? 0 : i2); + } else if (startTime) { + logQuery(invokingResource, transaction.query, import_perf_hooks3.performance.now() - startTime, transaction.params); } } await connection.commit(); @@ -25277,7 +26662,7 @@ ${err.message}`; console.log(`^1SCRIPT ERROR in invoking resource ${invokingResource}: ${err}^0`); } } -}; +}, "rawTransaction"); // src/database/index.ts setTimeout(async () => { @@ -25292,6 +26677,24 @@ setInterval(() => { setDebug(); }, 1e3); +// src/compatibility/ghmattimysql.ts +var ghmattimysql_default = { + query: "execute", + scalar: "scalar", + transaction: "transaction", + store: "store" +}; + +// src/compatibility/mysql-async.ts +var mysql_async_default = { + update: "mysql_execute", + insert: "mysql_insert", + query: "mysql_fetch_all", + scalar: "mysql_fetch_scalar", + transaction: "mysql_transaction", + store: "mysql_store" +}; + // src/index.ts Promise.resolve().then(() => init_update()); var MySQL = {}; @@ -25326,24 +26729,18 @@ MySQL.prepare = (query, parameters, cb, invokingResource = GetInvokingResource() MySQL.rawExecute = (query, parameters, cb, invokingResource = GetInvokingResource(), isPromise) => { rawExecute(invokingResource, query, parameters, cb, isPromise); }; +MySQL.store = (query, cb) => { + cb(query); +}; MySQL.execute = MySQL.query; MySQL.fetch = MySQL.query; -function provide(name, cb, sync) { - on(`__cfx_export_ghmattimysql_${name}`, (setCb) => setCb(cb)); - on(`__cfx_export_ghmattimysql_${name}Sync`, (setCb) => setCb(sync)); +function provide(resourceName2, method, cb) { + on(`__cfx_export_${resourceName2}_${method}`, (setCb) => setCb(cb)); } -provide( - "store", - (query, cb) => { - cb(query); - }, - (query) => { - return query; - } -); +__name(provide, "provide"); for (const key in MySQL) { - global.exports(key, MySQL[key]); - const exp = (query, parameters, invokingResource = GetInvokingResource()) => { + const exp = MySQL[key]; + const async_exp = /* @__PURE__ */ __name((query, parameters, invokingResource = GetInvokingResource()) => { return new Promise((resolve, reject) => { MySQL[key]( query, @@ -25357,31 +26754,17 @@ for (const key in MySQL) { true ); }); - }; - global.exports(`${key}_async`, exp); - global.exports(`${key}Sync`, exp); - if (key === "execute" || key === "scalar" || key === "transaction") - provide(key, MySQL[key], exp); + }, "async_exp"); + global.exports(key, exp); + global.exports(`${key}_async`, async_exp); + global.exports(`${key}Sync`, async_exp); + let alias = ghmattimysql_default[key]; + if (alias) { + provide("ghmattimysql", alias, exp); + provide("ghmattimysql", `${alias}Sync`, async_exp); + } + alias = mysql_async_default[key]; + if (alias) { + provide("mysql-async", alias, exp); + } } -/*! fetch-blob. MIT License. Jimmy Wärting */ -/*! formdata-polyfill. MIT License. Jimmy Wärting */ -/*! node-domexception. MIT License. Jimmy Wärting */ -/** - * @license - * Copyright 2009 The Closure Library Authors - * Copyright 2020 Daniel Wirtz / The long.js Authors. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * SPDX-License-Identifier: Apache-2.0 - */ diff --git a/server-data/resources/[ox]/oxmysql/fxmanifest.lua b/server-data/resources/[ox]/oxmysql/fxmanifest.lua index 48372e21f..d8adcc5f9 100644 --- a/server-data/resources/[ox]/oxmysql/fxmanifest.lua +++ b/server-data/resources/[ox]/oxmysql/fxmanifest.lua @@ -1,33 +1,36 @@ -fx_version 'cerulean' -game 'common' +fx_version("cerulean") +game("common") +use_experimental_fxv2_oal("yes") +lua54("yes") -name 'oxmysql' -description 'Database wrapper for FXServer utilising node-mysql2 offering improved performance and security.' -version '2.7.7' -url 'https://github.com/overextended/oxmysql' -author 'overextended' +name("oxmysql") +author("Overextended") +version("2.8.0") +license("LGPL-3.0-or-later") +repository("https://github.com/overextended/oxmysql.git") +description("FXServer to MySQL communication via node-mysql2") -dependencies { - '/server:5104', -} +dependencies({ + "/server:7290", +}) -client_script 'ui.lua' -server_script 'dist/build.js' +client_script("ui.lua") +server_script("dist/build.js") -files { - 'web/build/index.html', - 'web/build/**/*' -} +files({ + "web/build/index.html", + "web/build/**/*", +}) -ui_page 'web/build/index.html' +ui_page("web/build/index.html") -provide 'mysql-async' -provide 'ghmattimysql' +provide("mysql-async") +provide("ghmattimysql") -convar_category 'OxMySQL' { - 'Configuration', +convar_category("OxMySQL")({ + "Configuration", { - { 'Connection string', 'mysql_connection_string', 'CV_STRING', 'mysql://user:password@localhost/database' }, - { 'Debug', 'mysql_debug', 'CV_BOOL', 'false' } - } -} + { "Connection string", "mysql_connection_string", "CV_STRING", "mysql://user:password@localhost/database" }, + { "Debug", "mysql_debug", "CV_BOOL", "false" }, + }, +})