sig_handler handle_ctrlc_signal(int sig)
{
  sigint_received= 1;

  /* Skip rest if --sigint-ignore is used. */
  if (opt_sigint_ignore)
    return;

  if (executing_query)
    kill_query("^C");
  /* else, do nothing, just terminate the current line (like /c command). */
  return;
}
sig_handler handle_ctrlc_signal(int sig)
{
  sigint_received= 1;

   
  if (opt_sigint_ignore)
    return;

  if (executing_query)
    kill_query("^C");
   
  return;
}