diff options
author | Daniel Black <grooverdan@users.sourceforge.net> | 2017-07-02 15:40:37 +1000 |
---|---|---|
committer | Sergey Vojtovich <svoj@mariadb.org> | 2017-07-03 11:47:44 +0400 |
commit | cb870674d437d1f544ad0ccb2c759207b1735e8e (patch) | |
tree | 8af87c794b80c75836a6529ddb0e982bff38f457 | |
parent | 9fc71eebb6b96d76a2688a08bb810f2856b7a113 (diff) | |
download | mariadb-git-cb870674d437d1f544ad0ccb2c759207b1735e8e.tar.gz |
ha_archive::info remove hidden assignment
max_data_file_size is overwritten in next statement
so this assignment didn't ever get used.
Found by Coverity (ID 1409644)
-rw-r--r-- | storage/archive/ha_archive.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/storage/archive/ha_archive.cc b/storage/archive/ha_archive.cc index 872373bbeb6..d39d1187ce6 100644 --- a/storage/archive/ha_archive.cc +++ b/storage/archive/ha_archive.cc @@ -1640,7 +1640,6 @@ int ha_archive::info(uint flag) stats.update_time= (ulong) file_stat.st_mtime; if (flag & HA_STATUS_CONST) { - stats.max_data_file_length= share->rows_recorded * stats.mean_rec_length; stats.max_data_file_length= MAX_FILE_SIZE; stats.create_time= (ulong) file_stat.st_ctime; } |