Fossil

Check-in [953aa7b4]
Login

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

Overview
Comment:Rig the "fossil sql" command so that it always comes up in --quote mode. This mode is more useful for Fossil repos dues to the many binary blobs.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 953aa7b4f5987d160555b937759e9b4adbdd112b5227b8b079637f8ec60659e3
User & Date: drh 2018-06-20 13:40:24
Context
2018-06-20
18:25
Add the "email" command and basic infrastructure for generating outbound email messages. check-in: 5200323a user: drh tags: trunk
13:40
Rig the "fossil sql" command so that it always comes up in --quote mode. This mode is more useful for Fossil repos dues to the many binary blobs. check-in: 953aa7b4 user: drh tags: trunk
13:16
Add a setup page for email notification. There is no logic behind the setup, yet. check-in: ccf50f06 user: drh tags: trunk
Changes
Hide Diffs Unified Diffs Show Whitespace Changes Patch

Changes to src/sqlcmd.c.

296
297
298
299
300
301
302

303
304
305
306
  fossil_close(1, noRepository);
  sqlite3_shutdown();
#ifndef _WIN32
  linenoiseSetMultiLine(1);
#endif
  atexit(sqlcmd_atexit);
  g.zConfigDbName = zConfigDb;

  sqlite3_shell(g.argc-1, g.argv+1);
  sqlite3_cancel_auto_extension((void(*)(void))sqlcmd_autoinit);
  fossil_close(0, noRepository);
}







>
|



296
297
298
299
300
301
302
303
304
305
306
307
  fossil_close(1, noRepository);
  sqlite3_shutdown();
#ifndef _WIN32
  linenoiseSetMultiLine(1);
#endif
  atexit(sqlcmd_atexit);
  g.zConfigDbName = zConfigDb;
  g.argv[1] = "-quote";
  sqlite3_shell(g.argc, g.argv);
  sqlite3_cancel_auto_extension((void(*)(void))sqlcmd_autoinit);
  fossil_close(0, noRepository);
}