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
0b54a5c3
Commit
0b54a5c3
authored
Oct 15, 2002
by
monty@hundin.mysql.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix error handling in last patch (BLOB's in temporary tables) if
create_tmp_table fails.
parent
302a43f0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
sql/sql_select.cc
sql/sql_select.cc
+5
-0
No files found.
sql/sql_select.cc
View file @
0b54a5c3
...
@@ -3749,6 +3749,11 @@ create_tmp_table(THD *thd,TMP_TABLE_PARAM *param,List<Item> &fields,
...
@@ -3749,6 +3749,11 @@ create_tmp_table(THD *thd,TMP_TABLE_PARAM *param,List<Item> &fields,
DBUG_RETURN
(
table
);
DBUG_RETURN
(
table
);
err:
err:
/*
Hack to ensure that free_blobs() doesn't fail if blob_field is not yet
complete
*/
*
table
->
blob_field
=
0
;
free_tmp_table
(
thd
,
table
);
/* purecov: inspected */
free_tmp_table
(
thd
,
table
);
/* purecov: inspected */
bitmap_clear_bit
(
&
temp_pool
,
temp_pool_slot
);
bitmap_clear_bit
(
&
temp_pool
,
temp_pool_slot
);
DBUG_RETURN
(
NULL
);
/* purecov: inspected */
DBUG_RETURN
(
NULL
);
/* purecov: inspected */
...
...
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