View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002276 | Database Workbench v6 | General | public | 2025-03-11 15:00 | 2025-03-11 15:00 |
Reporter | IT SBCR | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | new | Resolution | open | ||
Product Version | 6.6.0 | ||||
Summary | 0002276: relative path in INPUT not using the path of the script | ||||
Description | When using relative paths when calling a subscript like INPUT 'proc\some.sql' the path is relative to the current folder (like the last folder used in the open dialog). An expected behavior would be to to use the path of the "master" script (when available). | ||||
Steps To Reproduce | 1) Prepare two files file1 - c:\test\master.sql with content INPUT 'proc\some.sql'; file2 - c:\test\proc\some.sql with content /* (can be blank) */ 2) Ctrl+F2, ctrl+o, open a script c:\test\master.sql 3) Ctrl+F2, ctrl+o, open a script c:\test\proc\some.sql 4) Switch back to editor with c:\test\master.sql 5) F9 Fails with "cannot open file C:\test\proc\proc\some.sql" Expected - running C:\test\proc\some.sql (relative to path of c:\test\master.sql) | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2025-03-11 15:00 | IT SBCR | New Issue |