Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | In "fossil sqlite", if three or more interrupt signals (control-c) are received in a row without a response from sqlite3_interrupt() then call exit(1) immediately. This allows control-C to interrupt the shell even if it is stuck in a computation or loop that does not involve the VDBE. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
a74d100a121219b8ae9ed5500b58c5b8 |
| User & Date: | jan.nijtmans 2014-05-24 06:27:01.088 |
Context
|
2014-05-24
| ||
| 17:22 | Update the built-in SQLite to the lastest 3.8.5 beta from trunk. check-in: 85d2a1120e user: drh tags: trunk | |
| 06:27 | In "fossil sqlite", if three or more interrupt signals (control-c) are received in a row without a response from sqlite3_interrupt() then call exit(1) immediately. This allows control-C to interrupt the shell even if it is stuck in a computation or loop that does not involve the VDBE. check-in: a74d100a12 user: jan.nijtmans tags: trunk | |
| 02:23 | Clarify the documentation on shunning happening automatically by default on a "pull" operation. check-in: 03f0317c79 user: andybradford tags: trunk | |
Changes
Changes to src/shell.c.
| ︙ | ︙ | |||
693 694 695 696 697 698 699 |
#ifdef SIGINT
/*
** This routine runs when the user presses Ctrl-C
*/
static void interrupt_handler(int NotUsed){
UNUSED_PARAMETER(NotUsed);
| | > | 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 |
#ifdef SIGINT
/*
** This routine runs when the user presses Ctrl-C
*/
static void interrupt_handler(int NotUsed){
UNUSED_PARAMETER(NotUsed);
seenInterrupt++;
if( seenInterrupt>2 ) exit(1);
if( db ) sqlite3_interrupt(db);
}
#endif
/*
** This is the callback routine that the shell
** invokes for each row of a query result.
|
| ︙ | ︙ |