Skip to content

Commit

Permalink
print log
Browse files Browse the repository at this point in the history
  • Loading branch information
bobfantansy committed Jul 14, 2023
1 parent 296726e commit d01a5c1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sql/engines/goinception.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@ def query_print(self, instance, db_name=None, sql=""):
use `{db_name}`;
{sql.rstrip(';')};
inception_magic_commit;"""
logger.info(f"执行goInception语法树打印语句:{sql}")
print_info = self.query(db_name=db_name, sql=sql).to_dict()[1]
if print_info.get("errmsg"):
raise RuntimeError(print_info.get("errmsg"))
Expand Down

0 comments on commit d01a5c1

Please sign in to comment.