summaryrefslogtreecommitdiff
path: root/src/shell.c.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/shell.c.in')
-rw-r--r--src/shell.c.in8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/shell.c.in b/src/shell.c.in
index aab6a445a2..d76114526a 100644
--- a/src/shell.c.in
+++ b/src/shell.c.in
@@ -4188,7 +4188,13 @@ static int shell_exec(
if( pArg->mode.bAutoScreenWidth ){
spec.nScreenWidth = shellScreenWidth();
}
- if( spec.eBlob==QRF_BLOB_Auto ){
+ if( spec.eBlob==QRF_BLOB_Auto
+ && eStyle!=QRF_STYLE_Json
+ && eStyle!=QRF_STYLE_JObject
+ && eStyle!=QRF_STYLE_Insert
+ ){
+ /* The JSON and INSERT styles override eText, so for them the blob
+ ** format is chosen later, within QRF. */
switch( spec.eText ){
case QRF_TEXT_Relaxed: /* fall through */
case QRF_TEXT_Sql: spec.eBlob = QRF_BLOB_Sql; break;