mirror of
https://github.com/levinsv/pgadmin3.git
synced 2026-05-25 22:03:16 -06:00
Add message for debug
This commit is contained in:
parent
44988fa8dc
commit
3bf13cd363
1 changed files with 5 additions and 0 deletions
|
|
@ -1114,6 +1114,11 @@ int FormatterSQL::ParseSql(int flags) {
|
|||
}
|
||||
// no sql command
|
||||
if (ex) break;
|
||||
#ifdef _DEBUG
|
||||
int st=items[items.size()-1].srcpos+items[items.size()-1].txt.Length();
|
||||
wxString b=sql.substr(st,100);
|
||||
wxMessageBox(wxString::Format("Bad sql syntax : %s",b));
|
||||
#endif
|
||||
errorposition=i;
|
||||
return -3;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue