Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
educg-net-18880-1777781
DB2023-RuntimeTerror
Commits
6049ca95
Commit
6049ca95
authored
1 year ago
by
某某某
Browse files
Options
Download
Patches
Plain Diff
修复了转colstr
parent
15b4798f
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/execution/execution_manager.cpp
+1
-1
src/execution/execution_manager.cpp
with
1 addition
and
1 deletion
+1
-1
src/execution/execution_manager.cpp
+
1
−
1
View file @
6049ca95
...
...
@@ -172,7 +172,7 @@ void QlManager::select_from(std::unique_ptr<AbstractExecutor> executorTreeRoot,
}
else
if
(
col
.
type
==
TYPE_FLOAT
)
{
col_str
=
std
::
to_string
(
*
(
float
*
)
rec_buf
);
}
else
if
(
col
.
type
==
TYPE_DATETIME
)
{
col_str
=
std
::
string
((
datetime_t
)
rec_buf
);
col_str
=
std
::
string
((
char
*
)
rec_buf
,
col
.
len
);
}
else
if
(
col
.
type
==
TYPE_STRING
)
{
col_str
=
std
::
string
((
char
*
)
rec_buf
,
col
.
len
);
col_str
.
resize
(
strlen
(
col_str
.
c_str
()));
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets