Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proview
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Esteban Blanc
proview
Commits
63c0e3f1
Commit
63c0e3f1
authored
Jan 23, 2004
by
claes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Load not loaded vrepdb as vrepdbs instead
parent
029199ba
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
2 deletions
+24
-2
wb/lib/wb/src/wb_erep.cpp
wb/lib/wb/src/wb_erep.cpp
+24
-2
No files found.
wb/lib/wb/src/wb_erep.cpp
View file @
63c0e3f1
...
...
@@ -556,9 +556,31 @@ void wb_erep::loadMeta( pwr_tStatus *status, char *db)
else
{
// Load db for this volume
if
(
db
)
{
// If db is specified, load only specified db
if
(
cdh_NoCaseStrcmp
(
vol_array
[
0
],
db
)
!=
0
)
// If db is specified, load only specified db, load as dbs instead
if
(
cdh_NoCaseStrcmp
(
vol_array
[
0
],
db
)
!=
0
)
{
cdh_ToLower
(
vol_array
[
0
],
vol_array
[
0
]);
strcpy
(
vname
,
"$pwrp_load/"
);
strcat
(
vname
,
vol_array
[
0
]);
strcat
(
vname
,
".dbs"
);
cout
<<
"Try: "
<<
vname
<<
endl
;
sts
=
dcli_search_file
(
vname
,
found_file
,
DCLI_DIR_SEARCH_INIT
);
dcli_search_file
(
vname
,
found_file
,
DCLI_DIR_SEARCH_END
);
if
(
ODD
(
sts
))
{
cout
<<
"Found: "
<<
found_file
<<
endl
;
// Load...
try
{
vrep
=
new
wb_vrepdbs
(
this
,
found_file
);
vrep
->
load
();
// vrep->name( vol_array[0]);
addDbs
(
&
sts
,
vrep
);
MsgWindow
::
message
(
'I'
,
"Volume loaded"
,
vname
);
}
catch
(
wb_error
&
e
)
{
MsgWindow
::
message
(
'E'
,
"Unable to open volume"
,
vname
,
e
.
what
().
c_str
());
}
}
continue
;
}
}
strcpy
(
vname
,
"$pwrp_db/"
);
strcat
(
vname
,
vol_array
[
0
]);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment