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
681a028a
Commit
681a028a
authored
Jul 21, 2010
by
Georgi Kodinov
Browse files
Options
Browse Files
Download
Plain Diff
merge
parents
dc62a7fc
f07f225c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
10 deletions
+26
-10
innobase/row/row0mysql.c
innobase/row/row0mysql.c
+23
-10
sql/opt_range.cc
sql/opt_range.cc
+3
-0
No files found.
innobase/row/row0mysql.c
View file @
681a028a
...
...
@@ -3335,20 +3335,13 @@ fputs(" InnoDB: You are trying to drop table ", stderr);
err
=
trx
->
error_state
;
if
(
err
!=
DB_SUCCESS
)
{
ut_a
(
err
==
DB_OUT_OF_FILE_SPACE
);
err
=
DB_MUST_GET_MORE_FILE_SPACE
;
row_mysql_handle_errors
(
&
err
,
trx
,
thr
,
NULL
);
ut_error
;
}
else
{
switch
(
err
)
{
ibool
is_path
;
const
char
*
name_or_path
;
case
DB_SUCCESS
:
space_id
=
table
->
space
;
if
(
table
->
dir_path_of_temp_table
!=
NULL
)
{
dir_path_of_temp_table
=
mem_strdup
(
table
->
dir_path_of_temp_table
);
...
...
@@ -3407,7 +3400,27 @@ fputs(" InnoDB: You are trying to drop table ", stderr);
err
=
DB_ERROR
;
}
}
break
;
case
DB_TOO_MANY_CONCURRENT_TRXS
:
/* Cannot even find a free slot for the
the undo log. We can directly exit here
and return the DB_TOO_MANY_CONCURRENT_TRXS
error. */
break
;
case
DB_OUT_OF_FILE_SPACE
:
err
=
DB_MUST_GET_MORE_FILE_SPACE
;
row_mysql_handle_errors
(
&
err
,
trx
,
thr
,
NULL
);
/* Fall through to raise error */
default:
/* No other possible error returns */
ut_error
;
}
funct_exit:
trx_commit_for_mysql
(
trx
);
...
...
sql/opt_range.cc
View file @
681a028a
...
...
@@ -6066,6 +6066,9 @@ check_quick_keys(PARAM *param,uint idx,SEL_ARG *key_tree,
tmp_max_flag
=
max_key_flag
|
key_tree
->
max_flag
;
}
if
(
unlikely
(
param
->
thd
->
killed
!=
0
))
return
HA_POS_ERROR
;
keynr
=
param
->
real_keynr
[
idx
];
param
->
range_count
++
;
if
(
!
tmp_min_flag
&&
!
tmp_max_flag
&&
...
...
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