1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-12 13:01:09 +03:00

Remove a test from the index build logic which is no longer needed and is

in fact unreachable.

FossilOrigin-Name: 9b20ee10ff86c1f79706180310e02b6f78863e02b179062d8966573ae33a252f
This commit is contained in:
drh
2019-03-25 21:55:44 +00:00
parent 346f4e264a
commit ccf6e7d0f0
3 changed files with 7 additions and 8 deletions

View File

@@ -3161,7 +3161,6 @@ void sqlite3CreateIndex(
#ifdef SQLITE_ALLOW_SQLITE_MASTER_INDEX
&& sqlite3StrICmp(&pTab->zName[7],"master")!=0
#endif
&& sqlite3StrNICmp(&pTab->zName[7],"altertab_",9)!=0
){
sqlite3ErrorMsg(pParse, "table %s may not be indexed", pTab->zName);
goto exit_create_index;