• unknown's avatar
    Make have_ndb.in portable · 506f039b
    unknown authored
    
    mysql-test/include/have_ndb.inc:
      Remove the "exec test" and instead use the portable way to
      check an environment variable using "eval select". The value of 
      $NDB_STATUS_OK will this be replace by mysqltest and the query 
      "select "YES" and ndb_status_ok" will be sent to the server and back.
    mysql-test/mysql-test-run.pl:
      Move initializetion of NDB_STATUS_OK and only do it once in init part of scripot. This will make it possible to  set 
      it to NO if we detect that cluster can't be started.
    506f039b
have_ndb.inc 352 Bytes