While rewriting the cms queryies, I tested the affect of wrong input type and it seam that mysql don't care. Is this normal? Or maybe I did something wrong... If this expected i would like to suggest to test the type in our db layer and throw an exception if it's wrong.