diff options
author | holyfoot@deer.(none) <> | 2006-02-17 10:52:32 +0400 |
---|---|---|
committer | holyfoot@deer.(none) <> | 2006-02-17 10:52:32 +0400 |
commit | 053d90a2349964e977ccb2a8aecfd339695fa38d (patch) | |
tree | e1075b7c3e3c1d0a91edf078cf69906180661d4c /sql/slave.cc | |
parent | a9cda1edd321228d2e39938bd08c6ac2a75b1bd0 (diff) | |
download | mariadb-git-053d90a2349964e977ccb2a8aecfd339695fa38d.tar.gz |
WL#2645 (CHECK TABLE FOR UPGRADE)
necessary implementation in the server
mysql_upgrade script added
Diffstat (limited to 'sql/slave.cc')
-rw-r--r-- | sql/slave.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/slave.cc b/sql/slave.cc index 3795cbaf7c0..fa7ccc4427d 100644 --- a/sql/slave.cc +++ b/sql/slave.cc @@ -1622,7 +1622,7 @@ static int create_table_from_dump(THD* thd, MYSQL *mysql, const char* db, save_vio = thd->net.vio; thd->net.vio = 0; /* Rebuild the index file from the copied data file (with REPAIR) */ - error=file->repair(thd,&check_opt) != 0; + error=file->ha_repair(thd,&check_opt) != 0; thd->net.vio = save_vio; if (error) my_error(ER_INDEX_REBUILD, MYF(0), tables.table->s->table_name); |