diff options
author | unknown <monty@mashka.mysql.fi> | 2003-08-07 20:16:37 +0300 |
---|---|---|
committer | unknown <monty@mashka.mysql.fi> | 2003-08-07 20:16:37 +0300 |
commit | fa1613be0a54ba87321501a52d62d4e99d237945 (patch) | |
tree | 0175c785de8b8892ceba2db249cf74c6362b2137 /myisam | |
parent | 3b013646e1550d22dff01dd02c8d12118a563fe2 (diff) | |
download | mariadb-git-fa1613be0a54ba87321501a52d62d4e99d237945.tar.gz |
Review of changesets since last pull.
(Mostly code cleanups)
include/my_sys.h:
Removed not used define
myisam/mi_check.c:
Indentation change
mysql-test/t/rpl_insert_id.test:
Add test if server supports innodb
mysys/mf_format.c:
Remove QUOTE handling from fn_format()
(fn_format() should not have anything to do with quoting things)
sql/log_event.cc:
Removed some unnecessary casts (by changing functions to use const char *)
Cleaned up some error messages to make them shorter and (hopefully) more readable.
Fixed wrong format strings
Restored 'thd->options' on error.
sql/mini_client.cc:
Changed order of include files to remove compilation warning
sql/mysqld.cc:
Add proper quoting of service arguments (don't use fn_format)
sql/slave.cc:
Simple optimization and cleanup.
Changed rewrite_db() and print_slave_db_safe() to use const char* to avoid casting of arguments when calling functions.
Cleanup of some error messages.
sql/slave.h:
Changed protypes to use const char *
sql/sql_acl.cc:
Simple optimization
vio/viosslfactories.c:
Changed order of include files to remove compilation warning
Diffstat (limited to 'myisam')
-rw-r--r-- | myisam/mi_check.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/myisam/mi_check.c b/myisam/mi_check.c index 4b28a88fc6e..0d7d7fae628 100644 --- a/myisam/mi_check.c +++ b/myisam/mi_check.c @@ -3563,11 +3563,13 @@ int update_state_info(MI_CHECK *param, MI_INFO *info,uint update) share->state.rec_per_key_rows=info->state->records; share->state.changed&= ~STATE_NOT_ANALYZED; if (info->state->records) + { for (i=0; i<key_parts; i++) { if (!(share->state.rec_per_key_part[i]=param->rec_per_key_part[i])) share->state.changed|= STATE_NOT_ANALYZED; } + } } if (update & (UPDATE_STAT | UPDATE_SORT | UPDATE_TIME | UPDATE_AUTO_INC)) { |