You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- The existing SqlConnection class has a public property
exception_caught, which is not used. Further, it uses this value
to save off exceptions inside the class, rather than simply
returning the parsed errors when open_and_run_command is executed,
which is presently the only caller that ever looks at the
error values.
This provides an opportunity to simplify the code paths, and remove
unnecessary caching of errors and the 2 unnecessary methods
has_errors and error_message from the SqlConnection class.
Instead, directly return a new ResultOutput instance as soon as
SQL code is executed.
Tests are modified accordingly.
0 commit comments