invalid operation: y == x (mismatched types ... )
Created by: cryptix
Hi,
I encountered this problem after updating our dependencies. I'm unsure when it was introduced but could pin it down to a last working revision if that information is needed.
It seems to be related to the order in which arguments are passed down. tx.Exec(a,b,c)
throws the error in the title but if i shuffle the arguments in the query around it suddenly works.
I posted code to produce the issues in this gist which throws the following error for me:
panic: invalid operation: 11 == 0.4 (mismatched types int64 and float64)
goroutine 1 [running]:
main.check(0xc12780, 0xc4201539f0)
/home/user/go/src/test/main.go:12 +0x4a
main.main()
/home/user/go/src/test/main.go:99 +0x939
exit status 2