/ Check-in [a0bae686]
Login

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

Overview
Comment:Get the build of mptest working on mac.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | mptest
Files: files | file ages | folders
SHA1:a0bae686c9d7f08afac00f66067f5147be6231e0
User & Date: drh 2013-04-06 14:16:41
Context
2013-04-06
14:30
Add SQLITE_CONFIG_LOG error logging to the mptest program. check-in: 716c25bd user: drh tags: mptest
14:16
Get the build of mptest working on mac. check-in: a0bae686 user: drh tags: mptest
14:04
Get the mptest program running on windows. check-in: 3966b332 user: drh tags: mptest
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to mptest/mptest.c.

539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
** Start up a client process for iClient, if it is not already
** running.  If the client is already running, then this routine
** is a no-op.
*/
static void startClient(int iClient){
  runSql("INSERT OR IGNORE INTO client VALUES(%d,0)", iClient);
  if( sqlite3_changes(g.db) ){
#if defined(__unix__)
    char *zSys;
    zSys = sqlite3_mprintf(
                 "%s \"%s\" --client %d --trace %d %s&",
                 g.argv0, g.zDbFile, iClient, g.iTrace,
                 g.bSqlTrace ? "--sqltrace " : "");
    system(zSys);
    sqlite3_free(zSys);







|







539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
** Start up a client process for iClient, if it is not already
** running.  If the client is already running, then this routine
** is a no-op.
*/
static void startClient(int iClient){
  runSql("INSERT OR IGNORE INTO client VALUES(%d,0)", iClient);
  if( sqlite3_changes(g.db) ){
#if !defined(_WIN32)
    char *zSys;
    zSys = sqlite3_mprintf(
                 "%s \"%s\" --client %d --trace %d %s&",
                 g.argv0, g.zDbFile, iClient, g.iTrace,
                 g.bSqlTrace ? "--sqltrace " : "");
    system(zSys);
    sqlite3_free(zSys);