Check out the SMF Function DB!
For rc2 is this behavior normal
[attach id=xxx]test.png[/attach]
Well i got the pr running how reduce the amount of queries to one.https://github.com/SimpleMachines/SMF2.1/pull/5615