Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
chore: set sql execute limit (#1706)
boojack5399e0a98f20
diff --git a/frontend/src/store/modules/sqlEditor.ts b/frontend/src/store/modules/sqlEditor.tsindex b71259a7b3..0f76c17c7c 100644--- a/frontend/src/store/modules/sqlEditor.ts+++ b/frontend/src/store/modules/sqlEditor.ts@@ -168,7 +168,9 @@ export const useSQLEditorStore = defineStore("sqlEditor", {const queryResult = await useSQLStore().query({instanceId: this.connectionContext.instanceId,databaseName: this.connectionContext.databaseName,- statement,+ statement: statement,+ // set the limit to 10000 temporarily to avoid the query timeout and page crash+ limit: 10000,});return queryResult;diff --git a/frontend/src/views/DashboardHeader.vue b/frontend/src/views/DashboardHeader.vueindex 50dd068ad1..c3d1b1f1eb 100644--- a/frontend/src/views/DashboardHeader.vue+++ b/frontend/src/views/DashboardHeader.vue@@ -110,14 +110,6 @@{{ $t("common.role.developer") }}</div></div>- <router-link to="/sql-editor">- <NTooltip>- <template #trigger>- <heroicons-outline:terminal class="w-6 h-6" />- </template>- {{ $t("sql-editor.self") }}- </NTooltip>- </router-link><router-link to="/inbox" exact-active-class><spanv-if="inboxSummary.hasUnread"