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
175aff67
Commit
175aff67
authored
Feb 22, 2008
by
claes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
classInsert moved to checkObject to avoid break in iteration for mysql
parent
0e99bcba
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
wb/lib/wb/src/wb_dbs.cpp
wb/lib/wb/src/wb_dbs.cpp
+9
-3
No files found.
wb/lib/wb/src/wb_dbs.cpp
View file @
175aff67
/*
* Proview $Id: wb_dbs.cpp,v 1.2
8 2007-10-26 06:26:52
claes Exp $
* Proview $Id: wb_dbs.cpp,v 1.2
9 2008-02-22 09:24:50
claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
...
...
@@ -161,7 +161,13 @@ wb_dbs::checkObject(sOentry *oep)
dbs_Qinit
(
&
sts
,
&
oep
->
o
.
sib_ll
,
oep
->
ref
+
offsetof
(
dbs_sObject
,
sib_ll
));
dbs_Qinit
(
&
sts
,
&
oep
->
o
.
o_ll
,
oep
->
ref
+
offsetof
(
dbs_sObject
,
o_ll
));
classInsert
(
oep
);
switch
(
oep
->
o
.
cid
)
{
case
pwr_eClass_ClassDef
:
// Version is dependent of attribute objects
m_v
->
merep
()
->
classVersion
(
&
sts
,
cdh_ClassObjidToId
(
oep
->
o
.
oid
),
&
oep
->
o
.
time
);
break
;
case
pwr_eClass_LibHier
:
if
(
m_volume
.
cid
!=
pwr_eClass_ClassVolume
)
oep
->
o
.
flags
.
b
.
devOnly
=
1
;
...
...
@@ -285,7 +291,7 @@ bool wb_dbs::importHead(pwr_tOid oid, pwr_tCid cid, pwr_tOid poid,
oep
->
o
.
ohFlags
.
m
=
flags
.
m
;
classInsert
(
oep
);
//
classInsert(oep);
oep
->
o
.
rbody
.
time
=
rbTime
;
oep
->
o
.
rbody
.
size
=
rbSize
;
...
...
@@ -304,7 +310,7 @@ bool wb_dbs::importHead(pwr_tOid oid, pwr_tCid cid, pwr_tOid poid,
if
(
cid
==
pwr_eClass_ClassDef
)
{
// Version is dependent of attribute objects
m_v
->
merep
()
->
classVersion
(
&
sts
,
cdh_ClassObjidToId
(
oid
),
&
oep
->
o
.
time
);
//
m_v->merep()->classVersion(&sts, cdh_ClassObjidToId(oid), &oep->o.time);
}
return
true
;
...
...
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