403Webshell
Server IP : 104.21.38.3  /  Your IP : 162.158.189.75
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/extra/binlog_tests/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /www/server/mysql/src/mysql-test/extra/binlog_tests/mysqlbinlog_start_stop_2.inc
# ==== Purpose ====
#
# Auxiliary file used by include/mysqlbinlog_start_stop_1.inc
#
# This prints a header, then runs mysqlbinlog once with given parameters.
#
# ==== Usage ====
#
# --let $extra_options= X
# --let $options= Y
# --source include/mysqlbinlog-start-stop-2.inc
#
# Parameters:
#
#   $extra_options
#     Options that will be passed to mysqlbinlog but not printed to the test log
#
#   $options
#     Options that will be printed as a header in the test log.


# Pretty-print $option_text
--let $option_text= `SELECT REPLACE('$options', '"', '')`
--let $eq_pos= `SELECT LOCATE('=', '$option_text')`
while ($eq_pos != 0)
{
  --let $dash_pos= `SELECT LOCATE('--', '$option_text', $eq_pos)`
  --let $left_part= `SELECT SUBSTR('$option_text', 1, $eq_pos - 1)`
  --let $right_part=
  if ($dash_pos != 0) {
    --let $right_part= `SELECT CONCAT(' ', SUBSTR('$option_text', $dash_pos + 2))`
  }
  --let $option_text= $left_part$right_part
  --let $eq_pos= `SELECT LOCATE('=', '$option_text')`
}
--let $option_text= `SELECT REPLACE('$option_text', '--', '')`

--echo
--echo ---- $option_text ----

# Print output
--let $mysqlbinlog_parameters= --short-form $options $extra_options
--source include/mysqlbinlog.inc

Youez - 2016 - github.com/yon3zu
LinuXploit