[server][testDBAgent] Define a pure virtual method: execSql().