summaryrefslogtreecommitdiff
path: root/sql/ha_myisam.cc
diff options
context:
space:
mode:
authorndbdev@dl145b.mysql.com <>2005-06-15 20:07:31 +0200
committerndbdev@dl145b.mysql.com <>2005-06-15 20:07:31 +0200
commitbe7c5c19002aaff6d8e2af20ff5e6f8633c5a177 (patch)
treed7d1e5fc0e2c71cdea39f6dcfc07949843391d24 /sql/ha_myisam.cc
parent3e2622377396af85c84f7a89e42ee4435bbbb91d (diff)
parentc7f9c0d871ef79cd8ed3b0e3241f7a02507c0224 (diff)
downloadmariadb-git-be7c5c19002aaff6d8e2af20ff5e6f8633c5a177.tar.gz
Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.0
into dl145b.mysql.com:/home/ndbdev/tomas/mysql-5.1
Diffstat (limited to 'sql/ha_myisam.cc')
-rw-r--r--sql/ha_myisam.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/ha_myisam.cc b/sql/ha_myisam.cc
index 3f756eab0ee..27023ba4c64 100644
--- a/sql/ha_myisam.cc
+++ b/sql/ha_myisam.cc
@@ -1068,7 +1068,7 @@ bool ha_myisam::check_and_repair(THD *thd)
old_query_length= thd->query_length;
pthread_mutex_lock(&LOCK_thread_count);
thd->query= (char*) table->s->table_name;
- thd->query_length= strlen(table->s->table_name);
+ thd->query_length= (uint32) strlen(table->s->table_name);
pthread_mutex_unlock(&LOCK_thread_count);
if ((marked_crashed= mi_is_crashed(file)) || check(thd, &check_opt))