MINI MINI MANI MO

Path : /opt/mysql/mysql-test/suite/ndb_memcache/include/
File Upload :
Current File : //opt/mysql/mysql-test/suite/ndb_memcache/include/wait_for_reconf.inc

#
# Wait for the memcached server to finish online reconfiguration
#

--perl RECONF_SCRIPT

  use strict;
  use lib "lib/";
  use My::Memcache;
  
  my $port = $ENV{NDB_MEMCACHED_1_PORT} or die "Need NDB_MEMCACHED_1_PORT";

  my $mc = My::Memcache->new();
  my $r = $mc->connect("localhost",$port);
  $mc->wait_for_reconf() if ($r);

RECONF_SCRIPT

OHA YOOOO