aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/shell.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/shell.c b/src/shell.c
index 6fe9324a6..a72cf3ac2 100644
--- a/src/shell.c
+++ b/src/shell.c
@@ -12,7 +12,7 @@
** This file contains code to implement the "sqlite" command line
** utility for accessing SQLite databases.
**
-** $Id: shell.c,v 1.174 2008/01/21 16:22:46 drh Exp $
+** $Id: shell.c,v 1.175 2008/02/15 17:38:06 drh Exp $
*/
#include <stdlib.h>
#include <string.h>
@@ -336,10 +336,9 @@ struct callback_data {
#define MODE_Insert 5 /* Generate SQL "insert" statements */
#define MODE_Tcl 6 /* Generate ANSI-C or TCL quoted elements */
#define MODE_Csv 7 /* Quote strings, numbers are plain */
-#define MODE_NUM_OF 8 /* The number of modes (not a mode itself) */
-#define MODE_Explain 9 /* Like MODE_Column, but do not truncate data */
+#define MODE_Explain 8 /* Like MODE_Column, but do not truncate data */
-static const char *modeDescr[MODE_NUM_OF] = {
+static const char *modeDescr[] = {
"line",
"column",
"list",
@@ -348,6 +347,7 @@ static const char *modeDescr[MODE_NUM_OF] = {
"insert",
"tcl",
"csv",
+ "explain",
};
/*