Commit 679e388f authored by unknown's avatar unknown
Browse files

Fix uninit var.

Fix error printout


ndb/src/kernel/blocks/dbtc/Dbtc.hpp:
  Fix init scan frag record
ndb/src/mgmsrv/main.cpp:
  Fix error printout
parent 76c6b740
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -998,7 +998,12 @@ public:
   * It will receive max 16 tuples in each request
   */
  struct ScanFragRec {
    ScanFragRec(){}
    ScanFragRec(){ 
      stopFragTimer();
      lqhBlockref = 0;
      scanFragState = IDLE;
      scanRec = RNIL;
    }
    /**
     * ScanFragState      
     *  WAIT_GET_PRIMCONF : Waiting for DIGETPRIMCONF when starting a new 
+1 −1
Original line number Diff line number Diff line
@@ -187,7 +187,7 @@ NDB_MAIN(mgmsrv){
	       "Please check if the port is already used,\n"
	       "(perhaps a mgmtsrvr is already running),\n"
	       "and if you are executing on the correct computer", 
	       glob.interface_name, glob.port);
	       (glob.interface_name ? glob.interface_name : "*"), glob.port);
      goto error_end;
    }
    free(glob.interface_name);