• unknown's avatar
    Bug #27758 Restoring NDB backups makes table usable in SQL nodes · d7dadcd7
    unknown authored
    - parse indexname using "split" instead of sscanf, as not to break at space
    - test case with space in key
    - enclose names in printout
    
    
    mysql-test/r/ndb_restore.result:
      Bug #27758 Restoring NDB backups makes table usable in SQL nodes
      - change to using an index with space to reproduce bug
    mysql-test/t/ndb_restore.test:
      Bug #27758 Restoring NDB backups makes table usable in SQL nodes
      - change to using an index with space to reproduce bug
    ndb/tools/restore/consumer_restore.cpp:
      Bug #27758 Restoring NDB backups makes table usable in SQL nodes
      - parse indexname using "split" instead of sscanf, as not to break at space
      - enclose names in printout
    ndb/tools/restore/restore_main.cpp:
      Bug #27758 Restoring NDB backups makes table usable in SQL nodes
      - enclose names in printout
    sql/ha_ndbcluster.cc:
      Bug #27758 Restoring NDB backups makes table usable in SQL nodes
      - correct error message
    d7dadcd7
restore_main.cpp 19.8 KB