Server IP : 172.67.216.182 / Your IP : 172.69.176.86 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/binlog/r/ |
Upload File : |
set global log_bin_trust_function_creators=0; set binlog_format=STATEMENT; create function fn16456() returns int begin return unix_timestamp(); end| ERROR HY000: This function has none of DETERMINISTIC, NO SQL, or READS SQL DATA in its declaration and binary logging is enabled (you *might* want to use the less safe log_bin_trust_function_creators variable) set global log_bin_trust_function_creators=1; create function fn16456() returns int begin return unix_timestamp(); end| set global log_bin_trust_function_creators=0; set binlog_format=ROW; select fn16456(); fn16456() timestamp set binlog_format=STATEMENT; select fn16456(); ERROR HY000: This function has none of DETERMINISTIC, NO SQL, or READS SQL DATA in its declaration and binary logging is enabled (you *might* want to use the less safe log_bin_trust_function_creators variable) drop function fn16456; set global log_bin_trust_function_creators=0; create function fn16456() returns int deterministic begin return unix_timestamp(); end| set binlog_format=ROW; select fn16456(); fn16456() timestamp set binlog_format=STATEMENT; select fn16456(); fn16456() timestamp drop function fn16456; set global log_bin_trust_function_creators=0; create function fn16456() returns int no sql begin return unix_timestamp(); end| set binlog_format=ROW; select fn16456(); fn16456() timestamp set binlog_format=STATEMENT; select fn16456(); fn16456() timestamp drop function fn16456; set global log_bin_trust_function_creators=0; create function fn16456() returns int reads sql data begin return unix_timestamp(); end| set binlog_format=ROW; select fn16456(); fn16456() timestamp set binlog_format=STATEMENT; select fn16456(); fn16456() timestamp drop function fn16456;