• unknown's avatar
    Bug#16795 ndb_cache_multi2 · 701bd9ed
    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.
    701bd9ed
ndb_cache_multi2.result 1.68 KB