Ignore:
Timestamp:
04/09/10 14:02:26 (12 years ago)
Author:
kirilma <kirilma@…>
Branches:
master, qt5
Children:
f548c17
Parents:
5bd6aba
Message:

use transactions to make import faster

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sql/schedulexmlparser.cpp

    r5bd6aba r1bad318  
    3737
    3838    QDomElement scheduleElement = document.firstChildElement("schedule");
     39
     40    SqlEngine::beginTransaction();
    3941
    4042    int confId = 0;
     
    145147        } // parsing day elements
    146148    } // schedule element
     149    SqlEngine::commitTransaction();
    147150
    148151    return confId;
Note: See TracChangeset for help on using the changeset viewer.