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
61f895a1
Commit
61f895a1
authored
Jan 11, 2010
by
Jonas Nylund
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SEV Bug fix in send_objecthistdata
parent
74219f40
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
7 deletions
+3
-7
sev/lib/sev/src/sev_dbms.cpp
sev/lib/sev/src/sev_dbms.cpp
+3
-7
No files found.
sev/lib/sev/src/sev_dbms.cpp
View file @
61f895a1
...
@@ -2823,18 +2823,14 @@ int sev_dbms::get_objectvalues( pwr_tStatus *sts, sev_item *item,
...
@@ -2823,18 +2823,14 @@ int sev_dbms::get_objectvalues( pwr_tStatus *sts, sev_item *item,
else
{
else
{
colsStr
.
append
(
"sev__time, "
);
colsStr
.
append
(
"sev__time, "
);
}
}
char
colName
[
64
];
char
colName
Str
[
80
];
for
(
size_t
i
=
0
;
i
<
item
->
attr
.
size
();
i
++
)
{
for
(
size_t
i
=
0
;
i
<
item
->
attr
.
size
();
i
++
)
{
sprintf
(
colName
,
"`col_%d`,"
,
i
);
sprintf
(
colNameStr
,
"`%s`,"
,
create_colName
(
i
,
item
->
attr
[
i
].
aname
));
colsStr
.
append
(
colName
);
colsStr
.
append
(
colNameStr
);
// colsStr.append("`");
// colsStr.append(item->attr[i].aname);
// colsStr.append("`,");
}
}
//remove last ,
//remove last ,
colsStr
.
resize
(
colsStr
.
length
()
-
1
);
colsStr
.
resize
(
colsStr
.
length
()
-
1
);
if
(
item
->
options
&
pwr_mSevOptionsMask_UseDeadBand
)
if
(
item
->
options
&
pwr_mSevOptionsMask_UseDeadBand
)
strcpy
(
jumpstr
,
"or sev__jump = 1"
);
strcpy
(
jumpstr
,
"or sev__jump = 1"
);
else
else
...
...
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