diff options
author | drh <drh@noemail.net> | 2013-10-15 14:10:44 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2013-10-15 14:10:44 +0000 |
commit | 9327c70f6834c532679e66e7198d1844a6067509 (patch) | |
tree | 0170d9b72a8cb5d74841b6f8d3b0a04af6139cbd /src/shell.c | |
parent | a63b85299290b7eca076ea6e031e7f43d4feadcf (diff) | |
parent | a2617433a9482bca122cd97caf364256d54f491b (diff) | |
download | sqlite-9327c70f6834c532679e66e7198d1844a6067509.tar.gz sqlite-9327c70f6834c532679e66e7198d1844a6067509.zip |
Merge the latest trunk changes into the sessions branch. This merge
should fix the build for WinRT.
FossilOrigin-Name: e111e4edf9d7b2d4d6d6673a7576801839e9537d
Diffstat (limited to 'src/shell.c')
-rw-r--r-- | src/shell.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shell.c b/src/shell.c index 9f0e3530b..41ea56492 100644 --- a/src/shell.c +++ b/src/shell.c @@ -1204,7 +1204,7 @@ static int shell_exec( /* extract the data and data types */ for(i=0; i<nCol; i++){ aiTypes[i] = x = sqlite3_column_type(pStmt, i); - if( x==SQLITE_BLOB && pArg->mode==MODE_Insert ){ + if( x==SQLITE_BLOB && pArg && pArg->mode==MODE_Insert ){ azVals[i] = ""; }else{ azVals[i] = (char*)sqlite3_column_text(pStmt, i); |