diff options
author | Vladislav Vaintroub <wlad@montyprogram.com> | 2012-03-15 15:06:06 +0100 |
---|---|---|
committer | Vladislav Vaintroub <wlad@montyprogram.com> | 2012-03-15 15:06:06 +0100 |
commit | eb30253d690c302f0219be36b71bb40559d3a054 (patch) | |
tree | be89ddbe710294a1accb9725fd0f16dc0b64077e /storage/xtradb | |
parent | 44ea4e7c1f90f80ab5cf55f435856acca7a176db (diff) | |
download | mariadb-git-eb30253d690c302f0219be36b71bb40559d3a054.tar.gz |
Fix access to uninitialized variable in innodb error message in case WriteFile() fails.
Diffstat (limited to 'storage/xtradb')
-rw-r--r-- | storage/xtradb/os/os0file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/xtradb/os/os0file.c b/storage/xtradb/os/os0file.c index 1e863109bed..b502be1eb00 100644 --- a/storage/xtradb/os/os0file.c +++ b/storage/xtradb/os/os0file.c @@ -2785,7 +2785,7 @@ retry: "InnoDB: Check also that the disk is not full" " or a disk quota exceeded.\n", name, (ulong) offset_high, (ulong) offset, - (ulong) n, (ulong) len, (ulong) err); + (ulong) n, ret ? len : 0, (ulong) err); if (strerror((int)err) != NULL) { fprintf(stderr, |