Ecere Software
/
sdk
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
defbb71
)
eda: Added Database::Begin & Commit to speed up Saving from Editor with SQLite driver
author
Jerome St-Louis
<jerome@ecere.com>
Fri, 30 Sep 2011 07:24:37 +0000
(
03:24
-0400)
committer
Jerome St-Louis
<jerome@ecere.com>
Fri, 30 Sep 2011 07:26:59 +0000
(
03:26
-0400)
eda/libeda/src/gui.ec
patch
|
blob
|
history
diff --git
a/eda/libeda/src/gui.ec
b/eda/libeda/src/gui.ec
index
d49c420
..
5d4de9a
100644
(file)
--- a/
eda/libeda/src/gui.ec
+++ b/
eda/libeda/src/gui.ec
@@
-1005,12
+1005,13
@@
public:
OldLink link;
String name = null;
+ editRow.tbl.db.Begin();
for(link = editBoxes.first; link; link = link.next)
{
FieldDataBox dataBox = link.data;
dataBox.Save();
}
-
+ editRow.tbl.db.Commit();
// ADDED THIS HERE FOR SQLITE TO REFRESH
editRow.Find(list.fldId, middle, nil, list.list.currentRow.tag);