mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 20:42:30 +01:00
BackupInit.cpp:
quick fix for wrong allocation of size
This commit is contained in:
parent
60f909a446
commit
3e9db5ab2e
1 changed files with 2 additions and 1 deletions
|
@ -44,7 +44,8 @@ Backup::Backup(const Configuration & conf) :
|
|||
Uint32 noBackups = 0, noTables = 0, noAttribs = 0;
|
||||
ndbrequire(!ndb_mgm_get_int_parameter(p, CFG_DB_DISCLESS, &m_diskless));
|
||||
ndb_mgm_get_int_parameter(p, CFG_DB_PARALLEL_BACKUPS, &noBackups);
|
||||
ndbrequire(!ndb_mgm_get_int_parameter(p, CFG_DB_NO_TABLES, &noTables));
|
||||
// ndbrequire(!ndb_mgm_get_int_parameter(p, CFG_DB_NO_TABLES, &noTables));
|
||||
ndbrequire(!ndb_mgm_get_int_parameter(p, CFG_DICT_TABLE, &noTables));
|
||||
ndbrequire(!ndb_mgm_get_int_parameter(p, CFG_DB_NO_ATTRIBUTES, &noAttribs));
|
||||
|
||||
noAttribs++; //RT 527 bug fix
|
||||
|
|
Loading…
Reference in a new issue