summaryrefslogtreecommitdiff
path: root/sql/ha_federated.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/ha_federated.cc')
-rw-r--r--sql/ha_federated.cc39
1 files changed, 18 insertions, 21 deletions
diff --git a/sql/ha_federated.cc b/sql/ha_federated.cc
index 6944dc5a030..9c2f73912ea 100644
--- a/sql/ha_federated.cc
+++ b/sql/ha_federated.cc
@@ -2596,30 +2596,27 @@ int ha_federated::info(uint flag)
if (!(row= mysql_fetch_row(result)))
goto error;
- if (flag & HA_STATUS_VARIABLE | HA_STATUS_CONST)
- {
- /*
- deleted is set in ha_federated::info
- */
- /*
- need to figure out what this means as far as federated is concerned,
- since we don't have a "file"
+ /*
+ deleted is set in ha_federated::info
+ */
+ /*
+ need to figure out what this means as far as federated is concerned,
+ since we don't have a "file"
- data_file_length = ?
- index_file_length = ?
- delete_length = ?
- */
- if (row[4] != NULL)
- records= (ha_rows) my_strtoll10(row[4], (char**) 0, &error);
+ data_file_length = ?
+ index_file_length = ?
+ delete_length = ?
+ */
+ if (row[4] != NULL)
+ records= (ha_rows) my_strtoll10(row[4], (char**) 0, &error);
- mean_rec_length= table->s->reclength;
- data_file_length= records * mean_rec_length;
+ mean_rec_length= table->s->reclength;
+ data_file_length= records * mean_rec_length;
- if (row[12] != NULL)
- update_time= (time_t) my_strtoll10(row[12], (char**) 0, &error);
- if (row[13] != NULL)
- check_time= (time_t) my_strtoll10(row[13], (char**) 0, &error);
- }
+ if (row[12] != NULL)
+ update_time= (time_t) my_strtoll10(row[12], (char**) 0, &error);
+ if (row[13] != NULL)
+ check_time= (time_t) my_strtoll10(row[13], (char**) 0, &error);
/*
size of IO operations (This is based on a good guess, no high science