summaryrefslogtreecommitdiff
path: root/mysys/mysys_priv.h
diff options
context:
space:
mode:
authorguilhem@mysql.com <>2004-09-24 11:54:37 +0200
committerguilhem@mysql.com <>2004-09-24 11:54:37 +0200
commit53d0daa3a0e5548e8226d228727ed056fb82fb99 (patch)
tree1904cbaab17eae6aa0f58174837482dfc20ee104 /mysys/mysys_priv.h
parentc163a67a4dc7fc6f239c229def64fcc25ce4307a (diff)
downloadmariadb-git-53d0daa3a0e5548e8226d228727ed056fb82fb99.tar.gz
Fix for BUG#3248 "Doc says MyISAM warns if disk full but it does not":
we force the message to the error log, and we make it more informative; we treat EDQUOT like ENOSPC.
Diffstat (limited to 'mysys/mysys_priv.h')
-rw-r--r--mysys/mysys_priv.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/mysys/mysys_priv.h b/mysys/mysys_priv.h
index f79431a0b0b..d7aee04ae20 100644
--- a/mysys/mysys_priv.h
+++ b/mysys/mysys_priv.h
@@ -29,3 +29,11 @@ extern pthread_mutex_t THR_LOCK_charset;
#else
#include <my_no_pthread.h>
#endif
+
+/*
+ EDQUOT is used only in 3 C files only in mysys/. If it does not exist on
+ system, we set it to some value which can never happen.
+*/
+#ifndef EDQUOT
+#define EDQUOT (-1)
+#endif