• Davi Arnaut's avatar
    Bug#45611: Minor code cleanup · 4bc939e3
    Davi Arnaut authored
    Remove a self assignment.
    Rework a few constructs to avoid a potential overflow.
    
    Based upon patch contributed by Michal Hrusecky
    
    storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
      Remove self assignment, the object is being initialized.
    storage/ndb/src/mgmsrv/InitConfigFileParser.cpp:
      Setup the string in a single snprintf.
    4bc939e3
Dbdict.cpp 492 KB