• unknown's avatar
    bug#12220 - ndb - node recovery with charsets · 93498009
    unknown authored
      LQH computes incorrect hash values during NR (as it doesn't concider charsets)
    
      Solution: make LQH compute correct hash :-)
               1) move xfrm_key into SimulatedBlock so that there's _one_ impl.
               2) make TC, ACC, LQH use same impl.
    
    
    ndb/include/kernel/AttributeDescriptor.hpp:
      Make SimulatedBlock use AttributeDescriptor (to xfrm)
    ndb/src/kernel/blocks/dbacc/Dbacc.hpp:
      Move xfrm handling into SimulatedBlock
    ndb/src/kernel/blocks/dbacc/DbaccInit.cpp:
      Move xfrm handling into SimulatedBlock
    ndb/src/kernel/blocks/dbacc/DbaccMain.cpp:
      Move xfrm handling into SimulatedBlock
    ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
      Move xfrm handling into SimulatedBlock
    ndb/src/kernel/blocks/dblqh/Dblqh.hpp:
      Move xfrm handling into SimulatedBlock
    ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
      Move xfrm handling into SimulatedBlock
    ndb/src/kernel/blocks/dbtc/Dbtc.hpp:
      Move xfrm handling into SimulatedBlock
    ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
      Move xfrm handling into SimulatedBlock
    ndb/src/kernel/vm/SimulatedBlock.cpp:
      Move xfrm handling into SimulatedBlock
    ndb/src/kernel/vm/SimulatedBlock.hpp:
      Move xfrm handling into SimulatedBlock
    93498009
DbtcMain.cpp 430 KB