/ Check-in [9bd9bd9c]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:On Minix, disable the ".timer" command in the shell in order to avoid calling getrusage().
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 9bd9bd9cab8c804c1a51d472199459176044a633
User & Date: drh 2013-02-20 00:54:21
Context
2013-02-25
13:31
Merge the incr-vacuum-opt branch with the trunk. check-in: 26e235b7 user: dan tags: trunk
2013-02-22
20:16
Avoid moving pages more than once in an incremental vacuum operation. check-in: c3939d24 user: dan tags: incr-vacuum-opt
19:34
Two new SQL functions: unicode() and char(). Closed-Leaf check-in: 209b2108 user: drh tags: unicode-function
2013-02-20
00:54
On Minix, disable the ".timer" command in the shell in order to avoid calling getrusage(). check-in: 9bd9bd9c user: drh tags: trunk
2013-02-19
22:26
Enhance the showdb tool with options to show PTRMAP usage and content. check-in: 06bd9130 user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Show Whitespace Changes Patch

Changes to src/shell.c.

    86     86   static int enableTimer = 0;
    87     87   
    88     88   /* ctype macros that work with signed characters */
    89     89   #define IsSpace(X)  isspace((unsigned char)X)
    90     90   #define IsDigit(X)  isdigit((unsigned char)X)
    91     91   #define ToLower(X)  (char)tolower((unsigned char)X)
    92     92   
    93         -#if !defined(_WIN32) && !defined(WIN32) && !defined(_WRS_KERNEL)
           93  +#if !defined(_WIN32) && !defined(WIN32) && !defined(_WRS_KERNEL) \
           94  + && !defined(__minux)
    94     95   #include <sys/time.h>
    95     96   #include <sys/resource.h>
    96     97   
    97     98   /* Saved resource information for the beginning of an operation */
    98     99   static struct rusage sBegin;
    99    100   
   100    101   /*