mirror of
				https://github.com/superseriousbusiness/gotosocial.git
				synced 2025-10-31 09:42:26 -05:00 
			
		
		
		
	update go-sqlite3 => v0.20.0 (#3483)
This commit is contained in:
		
					parent
					
						
							
								d8a83860bc
							
						
					
				
			
			
				commit
				
					
						51cb6cae16
					
				
			
		
					 41 changed files with 841 additions and 263 deletions
				
			
		
							
								
								
									
										9
									
								
								vendor/github.com/ncruces/go-sqlite3/util/sql3util/sql3util.go
									
										
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								vendor/github.com/ncruces/go-sqlite3/util/sql3util/sql3util.go
									
										
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							|  | @ -0,0 +1,9 @@ | |||
| // Package sql3util implements SQLite utilities. | ||||
| package sql3util | ||||
| 
 | ||||
| // ValidPageSize returns true if s is a valid page size. | ||||
| // | ||||
| // https://sqlite.org/fileformat.html#pages | ||||
| func ValidPageSize(s int) bool { | ||||
| 	return 512 <= s && s <= 65536 && s&(s-1) == 0 | ||||
| } | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue