refactorings
This commit is contained in:
2
usql.cpp
2
usql.cpp
@@ -11,7 +11,7 @@ std::unique_ptr<Table> USql::execute(const std::string &command) {
|
||||
std::unique_ptr<Node> node = m_parser.parse(command);
|
||||
return execute(*node);
|
||||
|
||||
} catch (std::exception &e) {
|
||||
} catch (const std::exception &e) {
|
||||
return create_stmt_result_table(-1, e.what(), 0);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user