Bugs item #1834455, was opened at 2007-11-19 05:23
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=462816&aid=1834455&group_id=51305

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Brian A. Vanderburg II (brianvanderburg)
Assigned to: Nobody/Anonymous (nobody)
Summary: wxSQLITE3 exclusive transation is actually immediate

Initial Comment:
In the code for wxSqlite3Database::Begin, if the transaction type is specified 
as exclusive, wxSqlite3 still uses immediate:

switch (transactionType)
  {
    case WXSQLITE_TRANSACTION_DEFERRED:
      sql << _T("begin deferred transaction");
      break;
    case WXSQLITE_TRANSACTION_IMMEDIATE:
      sql << _T("begin immediate transaction");
      break;
    case WXSQLITE_TRANSACTION_EXCLUSIVE:
      sql << _T("begin immediate transaction");
      break;
    default:
      sql << _T("begin transaction");
      break;
  }

shouldn't this be:

    case WXSQLITE_TRANSACTION_EXCLUSIVE:
      sql << _T("begin exclusive transaction");
      break;

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=462816&aid=1834455&group_id=51305

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
wxCode-users mailing list
wxCode-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxcode-users

Reply via email to