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
159866b6
Commit
159866b6
authored
Jul 31, 2013
by
Sergey Vojtovich
Browse files
Options
Browse Files
Download
Plain Diff
Merged fix for uninitialized variables.
parents
e9f6c47f
07099b70
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
sql/sql_select.cc
sql/sql_select.cc
+2
-0
sql/sql_union.cc
sql/sql_union.cc
+1
-1
No files found.
sql/sql_select.cc
View file @
159866b6
...
@@ -16137,6 +16137,8 @@ create_internal_tmp_table_from_heap(THD *thd, TABLE *table,
...
@@ -16137,6 +16137,8 @@ create_internal_tmp_table_from_heap(THD *thd, TABLE *table,
const
char
*
save_proc_info
;
const
char
*
save_proc_info
;
int
write_err
=
0
;
int
write_err
=
0
;
DBUG_ENTER
(
"create_internal_tmp_table_from_heap"
);
DBUG_ENTER
(
"create_internal_tmp_table_from_heap"
);
if
(
is_duplicate
)
*
is_duplicate
=
FALSE
;
if
(
table
->
s
->
db_type
()
!=
heap_hton
||
if
(
table
->
s
->
db_type
()
!=
heap_hton
||
error
!=
HA_ERR_RECORD_FILE_FULL
)
error
!=
HA_ERR_RECORD_FILE_FULL
)
...
...
sql/sql_union.cc
View file @
159866b6
...
@@ -83,7 +83,7 @@ int select_union::send_data(List<Item> &values)
...
@@ -83,7 +83,7 @@ int select_union::send_data(List<Item> &values)
*/
*/
return
-
1
;
return
-
1
;
}
}
bool
is_duplicate
;
bool
is_duplicate
=
FALSE
;
/* create_internal_tmp_table_from_heap will generate error if needed */
/* create_internal_tmp_table_from_heap will generate error if needed */
if
(
table
->
file
->
is_fatal_error
(
write_err
,
HA_CHECK_DUP
)
&&
if
(
table
->
file
->
is_fatal_error
(
write_err
,
HA_CHECK_DUP
)
&&
create_internal_tmp_table_from_heap
(
thd
,
table
,
create_internal_tmp_table_from_heap
(
thd
,
table
,
...
...
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