Server IP : 172.67.216.182 / Your IP : 162.158.170.245 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/innodb/t/ |
Upload File : |
--source include/have_innodb.inc --source include/have_innodb_max_16k.inc let $ps16 = `SELECT truncate(@@innodb_page_size / 16, 0)`; let $ps316 = `SELECT truncate(3 * @@innodb_page_size / 16, 0)`; # Test creating too big undo log record for a table. --disable_query_log eval CREATE TABLE t0 (a blob, b blob, c blob, d blob, e blob, f blob, index(a($ps316)), index(b($ps16)), index(c($ps16)), index(d($ps16)), index(e($ps16)), index(f($ps16))) row_format=dynamic; --enable_query_log BEGIN; INSERT INTO t0 VALUES( repeat('a',10000),repeat('b',10000),repeat('c',10000), repeat('d',10000),repeat('e',10000),repeat('f',10000)); --error ER_UNDO_RECORD_TOO_BIG UPDATE t0 SET a=substr(a,9999),b=substr(b,9999),c=substr(c,9999), d=substr(d,9999),e=substr(e,9999),f=substr(f,9999); UPDATE t0 SET a=substr(a,9999); SELECT LENGTH(a) FROM t0; ROLLBACK; SELECT * FROM t0; DROP TABLE t0; --disable_query_log eval CREATE TEMPORARY TABLE t0 (a blob, b blob, c blob, d blob, e blob, f blob, index(a($ps316)), index(b($ps16)), index(c($ps16)), index(d($ps16)), index(e($ps16)), index(f($ps16))) row_format=dynamic; --enable_query_log BEGIN; INSERT INTO t0 VALUES( repeat('a',10000),repeat('b',10000),repeat('c',10000), repeat('d',10000),repeat('e',10000),repeat('f',10000)); --error ER_UNDO_RECORD_TOO_BIG UPDATE t0 SET a=substr(a,9999),b=substr(b,9999),c=substr(c,9999), d=substr(d,9999),e=substr(e,9999),f=substr(f,9999); UPDATE t0 SET a=substr(a,9999); SELECT LENGTH(a) FROM t0; ROLLBACK; SELECT * FROM t0; DROP TABLE t0;