config root man

Current Path : /home/usr.opt/mysql57/mysql-test/suite/ndb_binlog/t/

FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64
Upload File :
Current File : //home/usr.opt/mysql57/mysql-test/suite/ndb_binlog/t/ndb_binlog_eventbuffer.test

-- source include/have_ndb.inc
-- source include/have_binlog_format_mixed_or_row.inc

# Basic test : Read the default settings, change, show and set them back

SET @default_max_alloc = @@global.ndb_eventbuffer_max_alloc;
SET @default_free_percent = @@global.ndb_eventbuffer_free_percent;

set global ndb_eventbuffer_max_alloc=1048576;
set global ndb_eventbuffer_free_percent=35;

SELECT @@global.ndb_eventbuffer_free_percent;
SELECT @@global.ndb_eventbuffer_max_alloc;

#Set these variables to session, should fail

--error 1229
set @@session.ndb_eventbuffer_free_percent=45;

set global ndb_eventbuffer_max_alloc= @default_max_alloc;
set global ndb_eventbuffer_free_percent= @default_free_percent;

Man Man