| Index: third_party/sqlite/src/src/legacy.c
|
| diff --git a/third_party/sqlite/src/src/legacy.c b/third_party/sqlite/src/src/legacy.c
|
| index 73421032cb88620fa7cb5b3e5e895dceff75619d..ebab2de37d996e1bb4a4d9a84caec76a5eff99ea 100644
|
| --- a/third_party/sqlite/src/src/legacy.c
|
| +++ b/third_party/sqlite/src/src/legacy.c
|
| @@ -13,8 +13,6 @@
|
| ** implement the programmer interface to the library. Routines in
|
| ** other files are for internal use by SQLite and should not be
|
| ** accessed by users of the library.
|
| -**
|
| -** $Id: legacy.c,v 1.35 2009/08/07 16:56:00 danielk1977 Exp $
|
| */
|
|
|
| #include "sqliteInt.h"
|
| @@ -43,6 +41,7 @@ int sqlite3_exec(
|
| int nRetry = 0; /* Number of retry attempts */
|
| int callbackIsInit; /* True if callback data is initialized */
|
|
|
| + if( !sqlite3SafetyCheckOk(db) ) return SQLITE_MISUSE_BKPT;
|
| if( zSql==0 ) zSql = "";
|
|
|
| sqlite3_mutex_enter(db->mutex);
|
|
|