fix sql syntax
This commit is contained in:
		
					parent
					
						
							
								098afe144e
							
						
					
				
			
			
				commit
				
					
						0f7fd008d4
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -137,7 +137,7 @@ isInodeKnown i s = readDb query
 | 
				
			||||||
			
 | 
								
 | 
				
			||||||
	likesql = T.concat
 | 
						likesql = T.concat
 | 
				
			||||||
		[ "SELECT key FROM content WHERE "
 | 
							[ "SELECT key FROM content WHERE "
 | 
				
			||||||
		, T.unwords (map mklike (likeInodeCacheWeak i))
 | 
							, T.intercalate " OR " $ map mklike (likeInodeCacheWeak i)
 | 
				
			||||||
		, " LIMIT 1"
 | 
							, " LIMIT 1"
 | 
				
			||||||
		]
 | 
							]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue