diff options
author | drh <drh@noemail.net> | 2013-04-06 18:06:51 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2013-04-06 18:06:51 +0000 |
commit | 60625313b04bd9dc09c8f770095b9b02b24a407c (patch) | |
tree | f2fa8c8013549d705c8304326470899004e239e3 /src/vdbeapi.c | |
parent | abd6d84a11781229fb3f09a03c45516f1081a4dc (diff) | |
download | sqlite-60625313b04bd9dc09c8f770095b9b02b24a407c.tar.gz sqlite-60625313b04bd9dc09c8f770095b9b02b24a407c.zip |
Increase the default SQLITE_MAX_SCHEMA_RETRY to 50. Make sure that macro
covers every case where a prepared statement might need to be reprepared due
to a schema change. The sqlite3_exec() interface now uses
sqlite3_prepare_v2().
FossilOrigin-Name: c1d7304c80c4a6244c8a9f6fad1eebd0f339c724
Diffstat (limited to 'src/vdbeapi.c')
-rw-r--r-- | src/vdbeapi.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/vdbeapi.c b/src/vdbeapi.c index 238743835..7c861e2d4 100644 --- a/src/vdbeapi.c +++ b/src/vdbeapi.c @@ -454,14 +454,6 @@ end_of_step: } /* -** The maximum number of times that a statement will try to reparse -** itself before giving up and returning SQLITE_SCHEMA. -*/ -#ifndef SQLITE_MAX_SCHEMA_RETRY -# define SQLITE_MAX_SCHEMA_RETRY 5 -#endif - -/* ** This is the top-level implementation of sqlite3_step(). Call ** sqlite3Step() to do most of the work. If a schema error occurs, ** call sqlite3Reprepare() and try again. |