Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
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
nexedi
MariaDB
Commits
7419f502
Commit
7419f502
authored
Sep 19, 2006
by
istruewing@chilla.local
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
After merge fix.
parent
5d509b32
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
sql/sql_select.cc
sql/sql_select.cc
+7
-6
No files found.
sql/sql_select.cc
View file @
7419f502
...
@@ -13231,14 +13231,15 @@ setup_copy_fields(THD *thd, TMP_TABLE_PARAM *param,
...
@@ -13231,14 +13231,15 @@ setup_copy_fields(THD *thd, TMP_TABLE_PARAM *param,
tmp
=
(
char
*
)
sql_alloc
(
field
->
pack_length
()
+
2
);
tmp
=
(
char
*
)
sql_alloc
(
field
->
pack_length
()
+
2
);
if
(
!
tmp
)
if
(
!
tmp
)
goto
err
;
goto
err
;
if
(
copy
)
if
(
copy
)
{
{
copy
->
set
(
tmp
,
item
->
result_field
);
copy
->
set
(
tmp
,
item
->
result_field
);
item
->
result_field
->
move_field
(
copy
->
to_ptr
,
copy
->
to_null_ptr
,
1
);
item
->
result_field
->
move_field
(
copy
->
to_ptr
,
copy
->
to_null_ptr
,
1
);
#ifdef HAVE_purify
#ifdef HAVE_purify
copy
->
to_ptr
[
copy
->
from_length
]
=
0
;
copy
->
to_ptr
[
copy
->
from_length
]
=
0
;
#endif
#endif
copy
++
;
copy
++
;
}
}
}
}
}
else
if
((
real_pos
->
type
()
==
Item
::
FUNC_ITEM
||
else
if
((
real_pos
->
type
()
==
Item
::
FUNC_ITEM
||
...
...
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