0

Detect ExecSQL/TDataSet.Open erroneus pair

il2 9 years ago updated 9 years ago 0

Would it be nice to detect these cases?


ADOQuery1.ExecSQL;
ADOQuery1.Open;

...

ADOStoredProc1.ExecProc;
ADOStoredProc1.Open;


i.e. Exec* and Open are doing the same thing and first Exec* is just unnecessary.