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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
a25962a9
Commit
a25962a9
authored
Sep 06, 2013
by
andrew
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert my old patch ofr rejected MDEV-4212
parent
86d49f14
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
12 deletions
+1
-12
sql/table.cc
sql/table.cc
+1
-12
No files found.
sql/table.cc
View file @
a25962a9
...
...
@@ -364,17 +364,6 @@ void init_tmp_table_share(THD *thd, TABLE_SHARE *share, const char *key,
DBUG_ENTER
(
"init_tmp_table_share"
);
DBUG_PRINT
(
"enter"
,
(
"table: '%s'.'%s'"
,
key
,
table_name
));
/*
Dont let badly coded plugins crash the daemon here...
The table_name and path cannot be NULL.
ASSERT if debug enabled, otherwise, just warn and return.
*/
DBUG_ASSERT
(
table_name
);
DBUG_ASSERT
(
path
);
if
(
table_name
==
NULL
||
path
==
NULL
)
{
sql_print_warning
(
"Someone called init_tmp_table_share() with invalid table_name or path."
);
return
;
}
bzero
((
char
*
)
share
,
sizeof
(
*
share
));
/*
This can't be MY_THREAD_SPECIFIC for slaves as they are freed
...
...
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