Server IP : 104.21.38.3 / Your IP : 172.70.92.154 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/engines/rr_trx/r/ |
Upload File : |
SET autocommit = 0; START TRANSACTION; *** Disabling result log SELECT @pk:=`pk`, @unique:=`int1_unique` FROM t1 WHERE `pk` MOD 5 <> 0 AND `pk` > 200 + (CONNECTION_ID() MOD 1000) AND `int1_unique` NOT IN (SELECT `int1_unique` FROM t1 WHERE (`pk` < 1000 AND `pk` MOD 5 = 0) OR `is_consistent` = 0) AND -`int1_unique` NOT IN (SELECT `int2_unique` FROM t1 WHERE (`pk` < 1000 AND `pk` MOD 5 = 0) OR `is_consistent` = 0) AND `is_consistent`= 1 LIMIT 1 FOR UPDATE; *** Enabling result log REPLACE INTO t1 SET `pk` = @pk, `id` = 7, `int1` = 7, `int1_key` = -7, `int1_unique` = @unique, `int2` = -7, `int2_key` = 7, `int2_unique` = -@unique, `connection_id` = CONNECTION_ID(), `is_consistent` = 1; COMMIT; START TRANSACTION; REPLACE INTO t1 SELECT * FROM t1 WHERE `pk` > 1000 + CONNECTION_ID() MOD 777 AND `int1_unique` NOT IN (SELECT `int1_unique` FROM t1 WHERE `pk` < 1000 OR `is_consistent` = 0) AND `int2_unique` NOT IN (SELECT `int2_unique` FROM t1 WHERE `pk` < 1000 OR `is_consistent` = 0) AND `pk` MOD 5 <> 0 AND `is_consistent` = 1 ORDER BY `pk` LIMIT 1; *** Updating replaced row (if applicable) COMMIT;