mORMot and Open Source friends
Check-in [a39ab48ff9]
Not logged in

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:SynDBOracle: SQL logging WITHOUT inline parameter to get more realistic query execution plan during log analyse
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: a39ab48ff9c698e6f29af0efafc23673dbde6fe9
User & Date: pavel.mash 2015-10-16 06:12:21
Context
2015-10-16
06:32
SynDBOracle: Oracle Wallet support check-in: fd9933dfbb user: pavel.mash tags: trunk
06:12
SynDBOracle: SQL logging WITHOUT inline parameter to get more realistic query execution plan during log analyse check-in: a39ab48ff9 user: pavel.mash tags: trunk
2015-10-15
16:33
{2001} fixed DateTimeToIso8601() when FirstChar=#0 as reported by [f7a3f0fcd7d6705] check-in: 88676ed6a5 user: ab tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to SynDBOracle.pas.

2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
    str_val: POCIString;
label txt;
begin
  if (fStatement=nil) then
    raise ESQLDBOracle.CreateUTF8('%.ExecutePrepared without previous Prepare',[self]);
  with SynDBLog.Add do
    if sllSQL in Family.Level then
      Log(sllSQL,SQLWithInlinedParams,self,2048);
  fTimeElapsed.ProfileCurrentMethod;
  ociArraysCount := 0;
  Env := (Connection as TSQLDBOracleConnection).fEnv;
  Context := TSQLDBOracleConnection(Connection).fContext;
  Status := OCI_ERROR;
  try
    fRowFetchedEnded := false;






|







2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
    str_val: POCIString;
label txt;
begin
  if (fStatement=nil) then
    raise ESQLDBOracle.CreateUTF8('%.ExecutePrepared without previous Prepare',[self]);
  with SynDBLog.Add do
    if sllSQL in Family.Level then
      Log(sllSQL,SQL,self,2048);	
  fTimeElapsed.ProfileCurrentMethod;
  ociArraysCount := 0;
  Env := (Connection as TSQLDBOracleConnection).fEnv;
  Context := TSQLDBOracleConnection(Connection).fContext;
  Status := OCI_ERROR;
  try
    fRowFetchedEnded := false;