Below is the list of changes that have just been committed into a local
4.1 repository of msvensson. When msvensson does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html
ChangeSet
1.2477 05/12/02 13:33:08 msvensson@neptunus.(none) +2 -0
Bug #14634 Running out of diskspace on tmpdir returns an inappropriate error
sql/sql_select.cc
1.445 05/12/02 13:33:05 msvensson@neptunus.(none) +0 -1
Dot overwrite my_errno with reusult from table->file->extra
sql/handler.cc
1.172 05/12/02 13:33:05 msvensson@neptunus.(none) +5 -0
Print error describing disk is full, include table->path to make it easier to diagnose
# This is a BitKeeper patch. What follows are the unified diffs for the
# set of deltas contained in the patch. The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User: msvensson
# Host: neptunus.(none)
# Root: /home/msvensson/mysql/bug14634/my41-bug14634
--- 1.171/sql/handler.cc 2005-11-21 12:27:55 +01:00
+++ 1.172/sql/handler.cc 2005-12-02 13:33:05 +01:00
@@ -1086,6 +1086,11 @@
case ENOENT:
textno=ER_FILE_NOT_FOUND;
break;
+ case ENOSPC:
+ my_printf_error(ER_DISK_FULL,
+ "Disk full, could not write to '%s'",
+ MYF(0), table->path);
+ DBUG_VOID_RETURN;
case HA_ERR_KEY_NOT_FOUND:
case HA_ERR_NO_ACTIVE_RECORD:
case HA_ERR_END_OF_FILE:
--- 1.444/sql/sql_select.cc 2005-11-15 16:07:02 +01:00
+++ 1.445/sql/sql_select.cc 2005-12-02 13:33:05 +01:00
@@ -5946,7 +5946,6 @@
if ((tmp=table->file->extra(HA_EXTRA_NO_CACHE)))
{
DBUG_PRINT("error",("extra(HA_EXTRA_NO_CACHE) failed"));
- my_errno= tmp;
error= -1;
}
if ((tmp=table->file->ha_index_or_rnd_end()))
| Thread |
|---|
| • bk commit into 4.1 tree (msvensson:1.2477) BUG#14634 | msvensson | 2 Dec |