Server IP : 172.67.216.182 / Your IP : 162.158.190.53 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/t/ |
Upload File : |
-- source include/not_embedded.inc -- source include/have_ndb.inc --echo # We are using some debug-only features in this test -- source include/have_debug.inc -- source have_ndb_error_insert.inc --echo # bulk delete with timeout error 4012 create table t4(id int primary key, val int) engine=ndb; insert into t4 values (1,1), (2,2), (3,3), (4,4), (5,5); --exec $NDB_MGM --no-defaults --ndb-connectstring="$NDB_CONNECTSTRING" -e "all error 8108" >> $NDB_TOOLS_OUTPUT set @save_debug = @@session.debug; --echo # Error injection in Ndb::waitCompletedTransactions so that transaction times out quickly SET SESSION debug="+d,early_trans_timeout"; --error 1296 delete from t4 where id > 0; SET SESSION debug=@save_debug; --exec $NDB_MGM --no-defaults --ndb-connectstring="$NDB_CONNECTSTRING" -e "all error 0" >> $NDB_TOOLS_OUTPUT drop table t4; --echo # bulk delete ignore with timeout error 4012 create table t4(id int primary key, val int) engine=ndb; insert into t4 values (1,1), (2,2), (3,3), (4,4), (5,5); --exec $NDB_MGM --no-defaults --ndb-connectstring="$NDB_CONNECTSTRING" -e "all error 8108" >> $NDB_TOOLS_OUTPUT set @save_debug = @@session.debug; --echo # Error injection in Ndb::waitCompletedTransactions so that transaction times out quickly SET SESSION debug="+d,early_trans_timeout"; # The statement fails although it's using IGNORE since the provoked error is # not in the list of errors to IGNORE, see Ignore_error_handler --error 1296 delete ignore from t4 where id > 0; SET SESSION debug=@save_debug; --exec $NDB_MGM --no-defaults --ndb-connectstring="$NDB_CONNECTSTRING" -e "all error 0" >> $NDB_TOOLS_OUTPUT drop table t4; --echo # bulk update with timeout error 4012 create table t4(id int primary key, val int) engine=ndb; insert into t4 values (1,1), (2,2), (3,3), (4,4), (5,5); --exec $NDB_MGM --no-defaults --ndb-connectstring="$NDB_CONNECTSTRING" -e "all error 8108" >> $NDB_TOOLS_OUTPUT set @save_debug = @@session.debug; --echo # Error injection in Ndb::waitCompletedTransactions so that transaction times out quickly SET SESSION debug="+d,early_trans_timeout"; --error 1296 update t4 set val = 0 where id > 0; SET SESSION debug=@save_debug; --exec $NDB_MGM --no-defaults --ndb-connectstring="$NDB_CONNECTSTRING" -e "all error 0" >> $NDB_TOOLS_OUTPUT drop table t4; --echo # bulk update ignore is not possible because 'ignore' disables bulk updates --echo # mysqld gets timeout error 4008 on CREATE TABLE --exec $NDB_MGM --no-defaults --ndb-connectstring="$NDB_CONNECTSTRING" -e "all error 6216" >> $NDB_TOOLS_OUTPUT set @save_debug = @@session.debug; SET SESSION debug="+d,ndb_timeout_gettabinforeq"; --error 1296 create table t4(id int primary key, val int)engine=ndb; show warnings; --exec $NDB_MGM --no-defaults --ndb-connectstring="$NDB_CONNECTSTRING" -e "all error 0" >> $NDB_TOOLS_OUTPUT SET SESSION debug=@save_debug;