mirror of
https://github.com/sqlite/sqlite.git
synced 2025-11-06 15:49:35 +03:00
Fix some issues with INSTEAD OF triggers. (CVS 930)
FossilOrigin-Name: 206b17397b1d2b55179c935927ff1d8215728c32
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
** This file contains code to implement the "sqlite" command line
|
||||
** utility for accessing SQLite databases.
|
||||
**
|
||||
** $Id: shell.c,v 1.70 2003/04/17 22:57:54 drh Exp $
|
||||
** $Id: shell.c,v 1.71 2003/04/24 01:45:04 drh Exp $
|
||||
*/
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
@@ -1183,7 +1183,7 @@ int main(int argc, char **argv){
|
||||
}
|
||||
}else{
|
||||
extern int isatty();
|
||||
if( isatty(fileno(stdout)) ){
|
||||
if( isatty(fileno(stdout)) && isatty(fileno(stdin)) ){
|
||||
char *zHome;
|
||||
char *zHistory = 0;
|
||||
printf(
|
||||
|
||||
Reference in New Issue
Block a user