title: Detect what part of MySQL queries works via mysql and mysqli
body: <p>Can I somehow detect how much MySQL queries performed via old <code>mysql</code> and how much via <code>mysqli</code> connections.</p>
  
  <p>My basic work is recode, refactor and support old projects. I migrate from procedural to OOP style and from <code>mysql</code> to <code>mysqli</code>. I need to know how much old requests left from old coders (code is messy and crazy as usual to calculate this in code directly).</p>
  
  <p>Thanks!</p>