/ 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 Side-by-Side Diffs Ignore Whitespace Patch

Changes to mptest/mptest.c.

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