Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
TULIP-CPS
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
NUI
TULIP-CPS
Commits
5fb3b4da
Commit
5fb3b4da
authored
Jan 04, 2019
by
Nico Mack
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed a bug in retrieveScalar method. Variable value was no longer
assigned
parent
3b63c86d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
CPS/src/lu/list/itis/dkd/tui/cps/system/executor/SqlExecutor.java
...lu/list/itis/dkd/tui/cps/system/executor/SqlExecutor.java
+1
-0
No files found.
CPS/src/lu/list/itis/dkd/tui/cps/system/executor/SqlExecutor.java
View file @
5fb3b4da
...
...
@@ -451,6 +451,7 @@ public class SqlExecutor extends Executor {
if
(
index
>=
0
)
{
Object
[]
values
=
columnValues
.
get
(
0
);
Object
value
=
((
index
>=
0
)
&&
(
index
<
values
.
length
))
?
values
[
index
]
:
null
;
variable
.
setValueFromObject
(
value
);
if
(
LOGGER
.
isInfoEnabled
())
{
String
rendered
=
(
value
!=
null
)
?
StringUtils
.
abbreviate
(
value
.
toString
(),
ABBREVIATE_LENGTH
)
:
"NULL"
;
LOGGER
.
info
(
Executor
.
RESULT_TEMPLATE_PLAIN
,
variable
.
getName
(),
rendered
);
// $NON-NLS-1$
...
...
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