| Server IP : 45.40.142.9 / Your IP : 216.73.216.250 Web Server : Apache System : Linux s45-40-142-9.secureserver.net 2.6.32-754.35.1.el6.x86_64 #1 SMP Sat Nov 7 12:42:14 UTC 2020 x86_64 User : bayspec ( 506) PHP Version : 5.6.40 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/share/mysql-test/include/ |
Upload File : |
# to mask out the error - never abort neither log in result file - in setting # to read-only variable. # It is assumed that the new value is equal to one the var was set to. # Such situation happens particularily with binlog_format that becomes read-only # with ndb default storage. # # when generate results always watch the file to find what is expected, # the SET query may fail # script accepts $maybe_ro_var the var name and $val4var the value ### USAGE: ### let $maybe_ro_var= ... ### let $val4var= ... ### include/safe_set_to_maybe_ro_var.inc --disable_result_log --disable_abort_on_error eval SET $maybe_ro_var = $val4var; --enable_abort_on_error --enable_result_log eval SELECT $maybe_ro_var;