1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-14 00:22:38 +03:00

Add the experimental and scary pragma "writable_schema". (CVS 2027)

FossilOrigin-Name: 39f7870a54d90d5163fcad3f08cd63699c4bb567
This commit is contained in:
drh
2004-10-22 20:29:21 +00:00
parent 887dc4c275
commit f404083e56
5 changed files with 16 additions and 15 deletions

View File

@@ -11,7 +11,7 @@
*************************************************************************
** This file contains code used to implement the PRAGMA command.
**
** $Id: pragma.c,v 1.70 2004/10/06 15:41:17 drh Exp $
** $Id: pragma.c,v 1.71 2004/10/22 20:29:22 drh Exp $
*/
#include "sqliteInt.h"
#include <ctype.h>
@@ -137,12 +137,12 @@ static int flagPragma(Parse *pParse, const char *zLeft, const char *zRight){
{ "vdbe_trace", SQLITE_VdbeTrace },
{ "sql_trace", SQLITE_SqlTrace },
{ "vdbe_listing", SQLITE_VdbeListing },
#if 1 /* FIX ME: Remove the following pragmas */
{ "full_column_names", SQLITE_FullColNames },
{ "short_column_names", SQLITE_ShortColNames },
{ "count_changes", SQLITE_CountRows },
{ "empty_result_callbacks", SQLITE_NullCallback },
#endif
/* The following is VERY experimental */
{ "writable_schema", SQLITE_WriteSchema },
};
int i;
for(i=0; i<sizeof(aPragma)/sizeof(aPragma[0]); i++){