1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-08 14:02:16 +03:00

Remove an ALWAYS() that can sometimes be false, with wildly incorrect SQL

inputs.  dbsqlfuzz 707afcf73930de2624cdeca0ad1f0deea982dfea

FossilOrigin-Name: 766cf5535b9f51decd88c1736b988def929a90f68eb6a52bcaa21bb321586a08
This commit is contained in:
drh
2024-09-24 00:53:27 +00:00
parent 253695caf3
commit 7d24e6b080
3 changed files with 9 additions and 9 deletions

View File

@@ -486,7 +486,7 @@ static int lookupName(
*/
if( cntTab==0
|| (cntTab==1
&& ALWAYS(pMatch!=0)
&& pMatch!=0
&& ALWAYS(pMatch->pSTab!=0)
&& (pMatch->pSTab->tabFlags & TF_Ephemeral)!=0
&& (pTab->tabFlags & TF_Ephemeral)==0)