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

Changes to src/sqlcmd.c.

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