1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00

WL 2059 Engine-specific status variables framework and WL 1922

InnoDB status variables
This commit is contained in:
petr@mysql.com
2004-11-18 13:00:42 +03:00
parent 0fa5496a18
commit 890211a7c4
23 changed files with 784 additions and 290 deletions

View File

@@ -468,6 +468,21 @@ int ha_release_temporary_latches(THD *thd)
return 0;
}
/*
Export statistics for different engines. Currently we use it only for
InnoDB.
*/
int ha_update_statistics()
{
#ifdef HAVE_INNOBASE_DB
if (opt_innodb)
innodb_export_status();
#endif
return 0;
}
int ha_commit_trans(THD *thd, THD_TRANS* trans)
{
int error=0;