fix(mysql): prefer text protocol for result sets

This commit is contained in:
t8y2 committed 2026-06-15 12:07:58 +08:00
1 parent 6f480ca047
commit aab30d7c44
4 files changed
+49 -5

No files matched your search

@@ -42,13 +42,13 @@ async function copy() {
</div>
<!-- centered: 居中占满 -->
<div v-else class="flex-1 flex flex-col items-center justify-center gap-2 px-6 text-center text-destructive">
<div v-else class="flex-1 flex flex-col items-center justify-center gap-2 px-6 text-center">
<TriangleAlert class="h-8 w-8 text-destructive/50" aria-hidden="true" />
<div class="space-y-1 select-text" @mousedown.stop @click.stop>
<div class="space-y-1 select-text text-destructive" @mousedown.stop @click.stop>
<div class="text-sm font-medium">{{ displayTitle }}</div>
<div class="text-xs max-w-lg break-all cursor-text text-destructive/80 select-text">{{ message }}</div>
</div>
<div class="flex flex-wrap items-center justify-center gap-2">
<div class="flex flex-wrap items-center justify-center gap-2 text-foreground">
<Button variant="outline" size="sm" class="h-7 gap-1.5 px-2 text-xs" @click.stop="copy">
<Copy class="h-3.5 w-3.5" />
{{ t("grid.copy") }}