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
c4ddf677
Commit
c4ddf677
authored
Jan 17, 2006
by
msvensson@neptunus.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug #14634 Running out of diskspace on tmpdir returns an inappropriate error
parent
f353bec5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
7 deletions
+5
-7
sql/sql_select.cc
sql/sql_select.cc
+5
-7
No files found.
sql/sql_select.cc
View file @
c4ddf677
...
@@ -5942,21 +5942,19 @@ do_select(JOIN *join,List<Item> *fields,TABLE *table,Procedure *procedure)
...
@@ -5942,21 +5942,19 @@ do_select(JOIN *join,List<Item> *fields,TABLE *table,Procedure *procedure)
}
}
if
(
table
)
if
(
table
)
{
{
int
tmp
;
int
tmp
,
new_errno
=
0
;
if
((
tmp
=
table
->
file
->
extra
(
HA_EXTRA_NO_CACHE
)))
if
((
tmp
=
table
->
file
->
extra
(
HA_EXTRA_NO_CACHE
)))
{
{
DBUG_PRINT
(
"error"
,(
"extra(HA_EXTRA_NO_CACHE) failed"
));
DBUG_PRINT
(
"error"
,(
"extra(HA_EXTRA_NO_CACHE) failed"
));
my_errno
=
tmp
;
new_errno
=
tmp
;
error
=
-
1
;
}
}
if
((
tmp
=
table
->
file
->
ha_index_or_rnd_end
()))
if
((
tmp
=
table
->
file
->
ha_index_or_rnd_end
()))
{
{
DBUG_PRINT
(
"error"
,(
"ha_index_or_rnd_end() failed"
));
DBUG_PRINT
(
"error"
,(
"ha_index_or_rnd_end() failed"
));
my_errno
=
tmp
;
new_errno
=
tmp
;
error
=
-
1
;
}
}
if
(
error
==
-
1
)
if
(
new_errno
)
table
->
file
->
print_error
(
my
_errno
,
MYF
(
0
));
table
->
file
->
print_error
(
new
_errno
,
MYF
(
0
));
}
}
#ifndef DBUG_OFF
#ifndef DBUG_OFF
if
(
error
)
if
(
error
)
...
...
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