• unknown's avatar
    Bug#16795 ndb_cache_multi2 · 93f7eca4
    unknown authored
     - Change && to ||
     - Check for return value != 0 in "ndb->init()"
    
    
    mysql-test/r/ndb_cache_multi2.result:
      Update test result
    mysql-test/t/ndb_cache_multi2.test:
      Update test case
      - add printouts for what server the queries are from
      - Run the query from "while" once on server1 to cache it
    sql/ha_ndbcluster.cc:
      && => ||, to call both the function "thd->store_global()" and "ndb->init()" 
      ndb_init returns 0 on sucess. Fail if not zero.
    93f7eca4
ha_ndbcluster.cc 214 KB