/ Check-in [8c28fde0]
Login

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

Overview
Comment:Minor #include change to speedtest1.c so that it will compile under MSVC.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | speedtest1
Files: files | file ages | folders
SHA1: 8c28fde004678c85524770969eb001719b109179
User & Date: drh 2016-12-31 14:33:05
Context
2016-12-31
18:37
In speedtest1.c, make the "--lookaside 0 0" option completely disable lookaside. Closed-Leaf check-in: 52b99bcb user: drh tags: speedtest1
14:33
Minor #include change to speedtest1.c so that it will compile under MSVC. check-in: 8c28fde0 user: drh tags: speedtest1
2016-12-30
17:40
Fix a crash that could occur following an OOM in the group_concat() function if the second argument is an SQLITE_BLOB value. check-in: 14d855d2 user: dan tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to test/speedtest1.c.

    46     46   #include "sqlite3.h"
    47     47   #include <assert.h>
    48     48   #include <stdio.h>
    49     49   #include <stdlib.h>
    50     50   #include <stdarg.h>
    51     51   #include <string.h>
    52     52   #include <ctype.h>
    53         -#include <unistd.h>
           53  +#ifndef _WIN32
           54  +# include <unistd.h>
           55  +#else
           56  +# include <io.h>
           57  +#endif
    54     58   #define ISSPACE(X) isspace((unsigned char)(X))
    55     59   #define ISDIGIT(X) isdigit((unsigned char)(X))
    56     60   
    57     61   #if SQLITE_VERSION_NUMBER<3005000
    58     62   # define sqlite3_int64 sqlite_int64
    59     63   #endif
    60     64   #ifdef SQLITE_ENABLE_RBU