1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

after pull fixes

This commit is contained in:
serg@serg.mylan
2005-12-29 21:29:02 +01:00
parent 49e294de70
commit a2689bae45
5 changed files with 22 additions and 17 deletions

View File

@ -135,18 +135,20 @@ static my_bool show_plugins(THD *thd, st_plugin_int *plugin,
DBUG_ASSERT(0);
}
table->field[3]->store(STRING_WITH_LEN(plugin_type_names[plug->type]), cs);
table->field[3]->store(plugin_type_names[plug->type].str,
plugin_type_names[plug->type].length,
cs);
table->field[4]->store(version_buf,
make_version_string(version_buf, sizeof(version_buf),
make_version_string(version_buf, sizeof(version_buf),
*(uint *)plug->info), cs);
if (plugin->plugin_dl)
{
table->field[5]->store(plugin->plugin_dl->dl.str,
table->field[5]->store(plugin->plugin_dl->dl.str,
plugin->plugin_dl->dl.length, cs);
table->field[5]->set_notnull();
table->field[6]->store(version_buf,
make_version_string(version_buf, sizeof(version_buf),
make_version_string(version_buf, sizeof(version_buf),
plugin->plugin_dl->version),
cs);
table->field[6]->set_notnull();