diff options
author | Michael Widenius <monty@askmonty.org> | 2009-11-07 12:34:19 +0200 |
---|---|---|
committer | Michael Widenius <monty@askmonty.org> | 2009-11-07 12:34:19 +0200 |
commit | 166e0683c0d45a79716d8913ec9ecaf3177343fa (patch) | |
tree | 160b78d78c43f2145e86b2da47c36f11d3cf1525 /mysys/errors.c | |
parent | 9b7a0fddbea952372adc04b1c098411b19cb173b (diff) | |
download | mariadb-git-166e0683c0d45a79716d8913ec9ecaf3177343fa.tar.gz |
Added error handling for my_seek() & my_tell() failures
mysys/my_seek.c:
Give error if MY_WME is used
sql/sql_insert.cc:
Fixed compiler warning
storage/maria/ha_maria.cc:
Changed driver of Maria storage engine project
Diffstat (limited to 'mysys/errors.c')
-rw-r--r-- | mysys/errors.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mysys/errors.c b/mysys/errors.c index 7c80fc0f89f..fc63ac9d936 100644 --- a/mysys/errors.c +++ b/mysys/errors.c @@ -51,6 +51,7 @@ const char * NEAR globerrs[GLOBERRS]= "File '%s' not found (Errcode: %d)", "File '%s' (fileno: %d) was not closed", "Can't change mode for file '%s' to 0x%lx (Error: %d)", + "Can't do seek on file '%s' (Errcode: %d)", "Warning: Can't copy ownership for file '%s' (Error: %d)" }; @@ -93,6 +94,7 @@ void init_glob_errs() EE(EE_FILENOTFOUND) = "File '%s' not found (Errcode: %d)"; EE(EE_FILE_NOT_CLOSED) = "File '%s' (fileno: %d) was not closed"; EE(EE_CANT_CHMOD) = "Can't change mode for file '%s' to 0x%lx (Error: %d)"; + EE(EE_CANT_SEEK) = "Can't do seek on file '%s' (Errcode: %d)"; EE(EE_CANT_COPY_OWNERSHIP)= "Warning: Can't copy ownership for file '%s' (Error: %d)"; } #endif |