ShowSQL show bad SQL as well #1357

Closed
opened 2019-07-17 22:42:14 +00:00 by happilymarrieddad · 3 comments
happilymarrieddad commented 2019-07-17 22:42:14 +00:00 (Migrated from github.com)

Is it possible to show bad SQL as well? I've noticed that when a SQL statement fails it's not outputted to the console. Is it possible to always show the SQL statement regardless of whether it is successful?

Is it possible to show bad SQL as well? I've noticed that when a SQL statement fails it's not outputted to the console. Is it possible to always show the SQL statement regardless of whether it is successful?

If the error returned before executing SQL, the SQL will not be print. I will check if we can move it before.

If the error returned before executing SQL, the SQL will not be print. I will check if we can move it before.
happilymarrieddad commented 2019-07-18 15:03:30 +00:00 (Migrated from github.com)

@lunny that would be REALLY helpful. If you can do that I would really appreciate it. Thanks for taking the time to look into this!

@lunny that would be REALLY helpful. If you can do that I would really appreciate it. Thanks for taking the time to look into this!

This has been resolved by #1557

This has been resolved by #1557
lunny closed this issue 2020-02-29 09:29:35 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: xorm/xorm#1357
No description provided.