summaryrefslogtreecommitdiff
path: root/mysys/errors.c
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
commitcc1288349f7af7937d30921d80d761889e88e9b6 (patch)
treeafa353259bdf6aa7951d57c746491dee1af40052 /mysys/errors.c
parenta9d18aaf3e6274ef016d76b0e0264494570864aa (diff)
downloadmariadb-git-cc1288349f7af7937d30921d80d761889e88e9b6.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.
Diffstat (limited to 'mysys/errors.c')
-rw-r--r--mysys/errors.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mysys/errors.c b/mysys/errors.c
index a5ad4a956ab..da9f3122a19 100644
--- a/mysys/errors.c
+++ b/mysys/errors.c
@@ -52,6 +52,7 @@ const char * NEAR globerrs[GLOBERRS]=
"File '%s' (fileno: %d) was not closed",
"Can't change ownership of the file '%s' (Errcode: %d)",
"Can't change permissions of the file '%s' (Errcode: %d)",
+ "Can't seek in file '%s' (Errcode: %d)"
};
void init_glob_errs(void)
@@ -94,6 +95,7 @@ void init_glob_errs()
EE(EE_FILE_NOT_CLOSED) = "File '%s' (fileno: %d) was not closed";
EE(EE_CHANGE_OWNERSHIP) = "Can't change ownership of the file '%s' (Errcode: %d)";
EE(EE_CHANGE_PERMISSIONS) = "Can't change permissions of the file '%s' (Errcode: %d)";
+ EE(EE_CANT_SEEK) = "Can't seek in file '%s' (Errcode: %d)";
}
#endif