Server IP : 104.21.38.3 / Your IP : 162.158.108.156 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/sys_vars/r/ |
Upload File : |
SET @session_start_value = @@session.max_points_in_geometry; SET @global_start_value = @@global.max_points_in_geometry; '#--------------------FN_DYNVARS_001_01------------------------#' SET @@max_points_in_geometry = DEFAULT; SELECT @@max_points_in_geometry = 65536; @@max_points_in_geometry = 65536 1 '#---------------------FN_DYNVARS_001_02-------------------------#' SET @@global.max_points_in_geometry = 1000; select @@global.max_points_in_geometry = @@session.max_points_in_geometry; @@global.max_points_in_geometry = @@session.max_points_in_geometry 0 SET @@session.max_points_in_geometry = 1000; select @@global.max_points_in_geometry = @@session.max_points_in_geometry; @@global.max_points_in_geometry = @@session.max_points_in_geometry 1 '#--------------------FN_DYNVARS_001_03------------------------#' SET @@max_points_in_geometry = 10; SELECT @@max_points_in_geometry, @@session.max_points_in_geometry, @@max_points_in_geometry=@@session.max_points_in_geometry; @@max_points_in_geometry @@session.max_points_in_geometry @@max_points_in_geometry=@@session.max_points_in_geometry 10 10 1 SELECT @@max_points_in_geometry, @@global.max_points_in_geometry, @@max_points_in_geometry=@@global.max_points_in_geometry; @@max_points_in_geometry @@global.max_points_in_geometry @@max_points_in_geometry=@@global.max_points_in_geometry 10 1000 0 '#--------------------FN_DYNVARS_001_04-------------------------#' SET @@max_points_in_geometry = "1"; ERROR 42000: Incorrect argument type to variable 'max_points_in_geometry' SET @@max_points_in_geometry = " "; ERROR 42000: Incorrect argument type to variable 'max_points_in_geometry' SET @@max_points_in_geometry = 'abc'; ERROR 42000: Incorrect argument type to variable 'max_points_in_geometry' SET @@max_points_in_geometry = NULL; ERROR 42000: Incorrect argument type to variable 'max_points_in_geometry' SET @@max_points_in_geometry = 1; Warnings: Warning 1292 Truncated incorrect max_points_in_geometry value: '1' SELECT @@max_points_in_geometry; @@max_points_in_geometry 3 SET @@max_points_in_geometry = 67108865; Warnings: Warning 1292 Truncated incorrect max_points_in_geometry value: '67108865' SELECT @@max_points_in_geometry; @@max_points_in_geometry 1048576 '#----------------------FN_DYNVARS_001_06------------------------#' SELECT @@max_points_in_geometry = VARIABLE_VALUE FROM INFORMATION_SCHEMA.SESSION_VARIABLES WHERE VARIABLE_NAME='max_points_in_geometry'; @@max_points_in_geometry = VARIABLE_VALUE 1 '#---------------------FN_DYNVARS_001_08-------------------------#' SET @@max_points_in_geometry = OFF; ERROR 42000: Incorrect argument type to variable 'max_points_in_geometry' SET @@max_points_in_geometry = ON; ERROR 42000: Incorrect argument type to variable 'max_points_in_geometry' SET @@max_points_in_geometry = TRUE; Warnings: Warning 1292 Truncated incorrect max_points_in_geometry value: '1' SELECT @@max_points_in_geometry; @@max_points_in_geometry 3 SET @@max_points_in_geometry = FALSE; Warnings: Warning 1292 Truncated incorrect max_points_in_geometry value: '0' SELECT @@max_points_in_geometry; @@max_points_in_geometry 3 '#---------------------FN_DYNVARS_001_10----------------------#' SET @@max_points_in_geometry = 123456; SELECT @@max_points_in_geometry = @@local.max_points_in_geometry and @@max_points_in_geometry = @@session.max_points_in_geometry; @@max_points_in_geometry = @@local.max_points_in_geometry and @@max_points_in_geometry = @@session.max_points_in_geometry 1 SET @@max_points_in_geometry = 654321; SELECT @@max_points_in_geometry = @@local.max_points_in_geometry and @@max_points_in_geometry = @@session.max_points_in_geometry; @@max_points_in_geometry = @@local.max_points_in_geometry and @@max_points_in_geometry = @@session.max_points_in_geometry 1 '#---------------------FN_DYNVARS_001_11----------------------#' SET max_points_in_geometry = 100; SELECT @@max_points_in_geometry=100; @@max_points_in_geometry=100 1 SELECT local.max_points_in_geometry; ERROR 42S02: Unknown table 'local' in field list SELECT session.max_points_in_geometry; ERROR 42S02: Unknown table 'session' in field list SELECT max_points_in_geometry = @@session.max_points_in_geometry; ERROR 42S22: Unknown column 'max_points_in_geometry' in 'field list' SET @@max_points_in_geometry = @session_start_value; SET @@global.max_points_in_geometry = @global_start_value;