MCPcopy Create free account
hub / github.com/duckdb/duckdb / shell_out_of_memory

Function shell_out_of_memory

tools/shell/shell.cpp:396–399  ·  view source on GitHub ↗

Indicate out-of-memory and exit. */

Source from the content-addressed store, hash-verified

394
395/* Indicate out-of-memory and exit. */
396static void shell_out_of_memory(void) {
397 fprintf(stderr, "Error: out of memory\n");
398 ShellState::Exit(1);
399}
400
401ShellState::ShellState() : seenInterrupt(0), program_name("duckdb") {
402 config.error_manager->AddCustomError(

Callers 2

local_getlineFunction · 0.85
ProcessInputMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected