summaryrefslogtreecommitdiff
path: root/include/mysys_err.h
diff options
context:
space:
mode:
authorRamil Kalimullin <ramil@mysql.com>2010-12-09 12:59:12 +0300
committerRamil Kalimullin <ramil@mysql.com>2010-12-09 12:59:12 +0300
commit0137e02899949d714723c537ed23b51e7f5b1a75 (patch)
treeafa353259bdf6aa7951d57c746491dee1af40052 /include/mysys_err.h
parent3cecccffaf6690536de46734dfd37086e298a916 (diff)
downloadmariadb-git-0137e02899949d714723c537ed23b51e7f5b1a75.tar.gz
Fix for bug#48451: my_seek and my_tell ignore MY_WME flag
my_seek() and my_tell() functions now honour MY_WME flag. include/mysys_err.h: Fix for bug#48451: my_seek and my_tell ignore MY_WME flag - EE_CANT_SEEK added, used in my_seek() and my_tell() functions. mysys/errors.c: Fix for bug#48451: my_seek and my_tell ignore MY_WME flag - EE_CANT_SEEK added, used in my_seek() and my_tell() functions. mysys/my_seek.c: Fix for bug#48451: my_seek and my_tell ignore MY_WME flag - my_seek() and my_tell() handle MY_WME flag. mysys/my_symlink.c: Fix for bug#48451: my_seek and my_tell ignore MY_WME flag - __attribute__((unused)) removed, as myf MyFlags is actually used in the my_realpath() function. storage/myisam/ha_myisam.cc: Fix for bug#48451: my_seek and my_tell ignore MY_WME flag - check my_seek() result.
Diffstat (limited to 'include/mysys_err.h')
-rw-r--r--include/mysys_err.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/mysys_err.h b/include/mysys_err.h
index 6294b37f773..a902c178772 100644
--- a/include/mysys_err.h
+++ b/include/mysys_err.h
@@ -64,7 +64,8 @@ extern const char * NEAR globerrs[]; /* my_error_messages is here */
#define EE_FILE_NOT_CLOSED 30
#define EE_CHANGE_OWNERSHIP 31
#define EE_CHANGE_PERMISSIONS 32
-#define EE_ERROR_LAST 32 /* Copy last error nr */
+#define EE_CANT_SEEK 33
+#define EE_ERROR_LAST 33 /* Copy last error nr */
/* Add error numbers before EE_ERROR_LAST and change it accordingly. */
/* exit codes for all MySQL programs */