mirror of
				https://github.com/superseriousbusiness/gotosocial.git
				synced 2025-10-31 05:02:25 -05:00 
			
		
		
		
	[performance] Add further indexes to mitigate laggy queries (#586)
* start adding more indexes as a migration * update sqlite version
This commit is contained in:
		
					parent
					
						
							
								5ef41ba3f2
							
						
					
				
			
			
				commit
				
					
						f4b0d76cd4
					
				
			
		
					 236 changed files with 395899 additions and 195070 deletions
				
			
		
							
								
								
									
										16
									
								
								vendor/modernc.org/libc/musl_netbsd_amd64.go
									
										
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										16
									
								
								vendor/modernc.org/libc/musl_netbsd_amd64.go
									
										
									
										generated
									
									
										vendored
									
									
								
							|  | @ -1,4 +1,4 @@ | |||
| // Code generated by 'ccgo -export-externs X -hide __syscall0,__syscall1,__syscall2,__syscall3,__syscall4,__syscall5,__syscall6,getnameinfo,gethostbyaddr_r, -nostdinc -nostdlib -o ../musl_netbsd_amd64.go -pkgname libc -static-locals-prefix _s -Iarch/x86_64 -Iarch/generic -Iobj/src/internal -Isrc/include -Isrc/internal -Iobj/include -Iinclude copyright.c ../netbsd/ctype_.cpp.c src/ctype/isalnum.c src/ctype/isalpha.c src/ctype/isdigit.c src/internal/floatscan.c src/internal/intscan.c src/internal/shgetc.c src/math/copysignl.c src/math/fabsl.c src/math/fmodl.c src/math/rint.c src/math/scalbn.c src/math/scalbnl.c src/network/freeaddrinfo.c src/network/getaddrinfo.c src/network/gethostbyaddr.c src/network/gethostbyaddr_r.c src/network/gethostbyname.c src/network/gethostbyname2.c src/network/gethostbyname2_r.c src/network/getnameinfo.c src/network/h_errno.c src/network/inet_aton.c src/network/inet_ntop.c src/network/inet_pton.c src/network/lookup_ipliteral.c src/network/lookup_name.c src/network/lookup_serv.c src/stdio/__toread.c src/stdio/__uflow.c src/stdlib/bsearch.c src/stdlib/strtod.c src/stdlib/strtol.c src/string/strdup.c src/string/strnlen.c src/string/strspn.c', DO NOT EDIT. | ||||
| // Code generated by 'ccgo -export-externs X -hide __syscall0,__syscall1,__syscall2,__syscall3,__syscall4,__syscall5,__syscall6,getnameinfo,gethostbyaddr_r, -nostdinc -nostdlib -o ../musl_netbsd_amd64.go -pkgname libc -static-locals-prefix _s -Iarch/x86_64 -Iarch/generic -Iobj/src/internal -Isrc/include -Isrc/internal -Iobj/include -Iinclude copyright.c ../netbsd/ctype_.cpp.c src/ctype/isalnum.c src/ctype/isalpha.c src/ctype/isdigit.c src/ctype/isprint.c src/internal/floatscan.c src/internal/intscan.c src/internal/shgetc.c src/math/copysignl.c src/math/fabsl.c src/math/fmodl.c src/math/rint.c src/math/scalbn.c src/math/scalbnl.c src/network/freeaddrinfo.c src/network/getaddrinfo.c src/network/gethostbyaddr.c src/network/gethostbyaddr_r.c src/network/gethostbyname.c src/network/gethostbyname2.c src/network/gethostbyname2_r.c src/network/getnameinfo.c src/network/h_errno.c src/network/inet_aton.c src/network/inet_ntop.c src/network/inet_pton.c src/network/lookup_ipliteral.c src/network/lookup_name.c src/network/lookup_serv.c src/stdio/__toread.c src/stdio/__uflow.c src/stdlib/bsearch.c src/stdlib/strtod.c src/stdlib/strtol.c src/string/strdup.c src/string/strnlen.c src/string/strspn.c', DO NOT EDIT. | ||||
| 
 | ||||
| package libc | ||||
| 
 | ||||
|  | @ -893,6 +893,14 @@ func X__isdigit_l(tls *TLS, c int32, l locale_t1) int32 { /* isdigit.c:9:5: */ | |||
| 	return Xisdigit(tls, c) | ||||
| } | ||||
| 
 | ||||
| func Xisprint(tls *TLS, c int32) int32 { /* isprint.c:4:5: */ | ||||
| 	return Bool32(uint32(c)-uint32(0x20) < uint32(0x5f)) | ||||
| } | ||||
| 
 | ||||
| func X__isprint_l(tls *TLS, c int32, l locale_t1) int32 { /* isprint.c:9:5: */ | ||||
| 	return Xisprint(tls, c) | ||||
| } | ||||
| 
 | ||||
| type uintptr_t = uint64 /* alltypes.h:55:24 */ | ||||
| 
 | ||||
| type intptr_t = int64 /* alltypes.h:70:15 */ | ||||
|  | @ -2884,7 +2892,7 @@ func Xgethostbyaddr(tls *TLS, a uintptr, l socklen_t, af int32) uintptr { /* get | |||
| 	// var res uintptr at bp, 8 | ||||
| 
 | ||||
| 	var err int32 | ||||
| 	for ok := true; ok; ok = err == 34 { | ||||
| 	for __ccgo := true; __ccgo; __ccgo = err == 34 { | ||||
| 		Xfree(tls, _sh) | ||||
| 		_sh = Xmalloc(tls, AssignAddUint64(&size, size+uint64(1))) | ||||
| 		if !(_sh != 0) { | ||||
|  | @ -2914,7 +2922,7 @@ func Xgethostbyname2(tls *TLS, name uintptr, af int32) uintptr { /* gethostbynam | |||
| 	// var res uintptr at bp, 8 | ||||
| 
 | ||||
| 	var err int32 | ||||
| 	for ok := true; ok; ok = err == 34 { | ||||
| 	for __ccgo := true; __ccgo; __ccgo = err == 34 { | ||||
| 		Xfree(tls, _sh1) | ||||
| 		_sh1 = Xmalloc(tls, AssignAddUint64(&size, size+uint64(1))) | ||||
| 		if !(_sh1 != 0) { | ||||
|  | @ -3203,7 +3211,7 @@ type res_sym = struct { | |||
| func itoa(tls *TLS, p uintptr, x uint32) uintptr { /* getnameinfo.c:18:13: */ | ||||
| 	p += uintptr(uint64(3) * uint64(unsafe.Sizeof(int32(0)))) | ||||
| 	*(*int8)(unsafe.Pointer(PreDecUintptr(&p, 1))) = int8(0) | ||||
| 	for ok := true; ok; ok = x != 0 { | ||||
| 	for __ccgo := true; __ccgo; __ccgo = x != 0 { | ||||
| 		*(*int8)(unsafe.Pointer(PreDecUintptr(&p, 1))) = int8(uint32('0') + x%uint32(10)) | ||||
| 		x = x / uint32(10) | ||||
| 	} | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue