View Issue Details

IDProjectCategoryView StatusLast Update
0002276Database Workbench v6Generalpublic2025-03-11 15:00
ReporterIT SBCR Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
Status newResolutionopen 
Product Version6.6.0 
Summary0002276: relative path in INPUT not using the path of the script
DescriptionWhen 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 Reproduce1) 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)
TagsNo tags attached.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2025-03-11 15:00 IT SBCR New Issue