• Davi Arnaut's avatar
    Bug#45611: Minor code cleanup · 8c7c09cc
    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.
    8c7c09cc
Dbdict.cpp 492 KB