fix(SQL Lab): hang when result set size is too big (#30522)

Co-authored-by: aadhikari <aadhikari@apple.com>
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
This commit is contained in:
anamitraadhikari
2024-10-14 18:03:28 -07:00
committed by GitHub
parent 0e9c0f621a
commit 6ede3271ff
7 changed files with 162 additions and 3 deletions

View File

@@ -159,5 +159,9 @@ export default function setupErrorMessages() {
ErrorTypeEnum.INVALID_SQL_ERROR,
InvalidSQLErrorMessage,
);
errorMessageComponentRegistry.registerValue(
ErrorTypeEnum.RESULT_TOO_LARGE_ERROR,
DatabaseErrorMessage,
);
setupErrorMessagesExtra();
}