Your function is not defined for $x=2$ so there is not a point on his graph with $x=2$. So there is not an inflection point of the graph of the function.
So, the concavity can change also if there is not an inflection point!
Your function is not defined for $x=2$ so there is not a point on his graph with $x=2$. So there is not an inflection point of the graph of the function.
So, the concavity can change also if there is not an inflection point!