diff options
author | Sergei Golubchik <serg@mariadb.org> | 2016-04-26 20:58:29 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2016-04-26 20:58:29 +0200 |
commit | 30d9d4e26d2e0f8cbbd1220df077fe809c8bbfe4 (patch) | |
tree | 38cbf0bdf6721bfa58b549cb0e14f5adcfb8df6c /storage/tokudb/tokudb_information_schema.cc | |
parent | 9a957a5b56005f1387aedb77509e1a0c31b7da9a (diff) | |
download | mariadb-git-30d9d4e26d2e0f8cbbd1220df077fe809c8bbfe4.tar.gz |
5.6.29-76.2
Diffstat (limited to 'storage/tokudb/tokudb_information_schema.cc')
-rw-r--r-- | storage/tokudb/tokudb_information_schema.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/storage/tokudb/tokudb_information_schema.cc b/storage/tokudb/tokudb_information_schema.cc index 7ea3b8abbdd..1d4ca2e0181 100644 --- a/storage/tokudb/tokudb_information_schema.cc +++ b/storage/tokudb/tokudb_information_schema.cc @@ -1119,9 +1119,9 @@ void background_job_status_callback( table->field[3]->store(type, strlen(type), system_charset_info); table->field[4]->store(params, strlen(params), system_charset_info); if (user_scheduled) - table->field[5]->store("USER", sizeof("USER"), system_charset_info); + table->field[5]->store("USER", strlen("USER"), system_charset_info); else - table->field[5]->store("AUTO", sizeof("AUTO"), system_charset_info); + table->field[5]->store("AUTO", strlen("AUTO"), system_charset_info); field_store_time_t(table->field[6], scheduled_time); field_store_time_t(table->field[7], started_time); |