Server IP : 185.86.78.101 / Your IP : 216.73.216.213 Web Server : Apache System : Linux 675867-vds-valikoshka1996.gmhost.pp.ua 5.4.0-150-generic #167-Ubuntu SMP Mon May 15 17:35:05 UTC 2023 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 : OFF Directory : /www/server/mysql/mysql-test/include/ |
Upload File : |
# ==== Purpose ==== # # Read a binlog.index or relay_log.index file into a table, and strip # away the path separators in a platform-independent way. # # ==== Usage ==== # # --let $index_file= FILE_NAME # --let $table= TABLE_NAME # --source include/rpl_read_binlog_index_into_table.inc # # Parameters: # # $index_file # The index file where the filenames are stored. # # $table # The filenames stored in $index_file will be read into the # 'filename' column of this table. --let $include_filename= rpl_read_binlog_index_into_table.inc --source include/begin_include_file.inc --disable_query_log # Disable escape character since otherwise to avoid that the path # separator under windows is treated as an escape. # # Trim leading .\ (on windows) or ./ (on other platforms). # # mtr does weird things with backslash escapes so we spell backslash # as CHAR(92) instead. eval LOAD DATA INFILE '$index_file' INTO TABLE $table FIELDS ESCAPED BY '' (@binlog_filename) SET filename = REPLACE(REPLACE(@binlog_filename, './', ''), CONCAT('.', CHAR(92)), ''); --let $include_filename= rpl_read_binlog_index_into_table.inc --source include/end_include_file.inc