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
066c77f4
Commit
066c77f4
authored
Dec 17, 2003
by
claes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Return nosuchobj in object(wb_name) if object doesn't exist
parent
503671c3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
wb/lib/wb/src/wb_vrepdb.cpp
wb/lib/wb/src/wb_vrepdb.cpp
+4
-0
No files found.
wb/lib/wb/src/wb_vrepdb.cpp
View file @
066c77f4
...
@@ -214,6 +214,10 @@ wb_orep* wb_vrepdb::object(pwr_tStatus *sts, wb_name &name)
...
@@ -214,6 +214,10 @@ wb_orep* wb_vrepdb::object(pwr_tStatus *sts, wb_name &name)
for
(
int
i
=
0
;
name
.
hasSegment
(
i
);
i
++
)
{
for
(
int
i
=
0
;
name
.
hasSegment
(
i
);
i
++
)
{
wb_db_name
n
(
m_db
,
poid
,
name
.
normSegment
(
i
));
wb_db_name
n
(
m_db
,
poid
,
name
.
normSegment
(
i
));
int
rc
=
n
.
get
(
m_db
->
m_txn
);
int
rc
=
n
.
get
(
m_db
->
m_txn
);
if
(
rc
)
{
*
sts
=
LDH__NOSUCHOBJ
;
return
0
;
}
poid
=
n
.
oid
();
poid
=
n
.
oid
();
}
}
...
...
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