403Webshell
Server IP : 104.21.38.3  /  Your IP : 172.70.208.30
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/funcs_1/datadict/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /www/server/mysql/src/mysql-test/suite/funcs_1/datadict/datadict_bug_12777.inc
#### --source suite/funcs_1/datadict/datadict_bug_12777.inc
#

# columns in INFORMATION_SCHEMA with VARCHAR(4096) on Linux and Intel or AMD
# processor are shown as VARCHAR(512) on Windows, VARCHAR(1023) on AIX and HPUX,
# VARCHAR(1024) on Solaris10, ... see below and in bug #12777 for details.
# So we need to replace the output for these systems. There may be other still
# not tested / detected systems.
#
# Setting the variables used below has been moved to the beginning of the datadict
# tests to "suite/funcs_1/datadict/datadict_load.inc".
#
# SELECT character_maximum_length INTO @CML
#   FROM information_schema.columns
#  WHERE table_schema = 'information_schema'
#    AND table_name   = 'columns'
#    AND column_name  = 'table_catalog';

# this enables the --replace_result only if needed, using this we never replace
# results on 'simple Linux' and so we will see any changes that might be
# suppressed by the - only on some systems used - replacements.


# Windows XP 32bit
if ($bug_12777_0512)
{
   # switch next 2 lines on for debugging the correct detection of the operating systems
   # let $message= value 512 detected - 1st replace statement activated!;
   # --source include/show_msg.inc
   #                nnnn       3*n
   --replace_result 512 4096  1536 12288
}

# aix52, aix52-64bit, hp3750, hp3750-64bit, hpux11, hpux11-64bit,
if ($bug_12777_1023)
{
   #                nnnn       3*n
   --replace_result 1023 4096  3069 12288
}

# Solaris10, 32bit
if ($bug_12777_1024)
{
   #                nnnn       3*n
   --replace_result 1024 4096  3072 12288
}

# Linux Suse 9.3 32bit Intel/AMD
if ($bug_12777_2048)
{
   #                nnnn       3*n
   --replace_result 2048 4096  6144 12288
}

# build-5.0-standard
if ($bug_12777_4095)
{
   #                nnnn       3*n
   --replace_result 4095 4096  12285 12288
}

Youez - 2016 - github.com/yon3zu
LinuXploit