mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 03:29:02 +01:00 
			
		
		
		
	fix closing parenthesis
This commit is contained in:
		
							parent
							
								
									8eb091445b
								
							
						
					
					
						commit
						0f4eb8ff4c
					
				| @ -33,7 +33,7 @@ function execute(req) { | |||||||
|         for (let query of queries) { |         for (let query of queries) { | ||||||
|             query = query.trim(); |             query = query.trim(); | ||||||
| 
 | 
 | ||||||
|             while (query.startsWith('-- ') { |             while (query.startsWith('-- ')) { | ||||||
|                 // Query starts with one or more SQL comments, discard these before we execute.
 |                 // Query starts with one or more SQL comments, discard these before we execute.
 | ||||||
|                 const pivot = query.indexOf('\n'); |                 const pivot = query.indexOf('\n'); | ||||||
|                 query = pivot > 0 ? query.substr(pivot + 1).trim() : ""; |                 query = pivot > 0 ? query.substr(pivot + 1).trim() : ""; | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 dymani
						dymani