projects
/
profile
/
ivi
/
rygel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
184ed72
)
core: add sqlite pragmas
author
Jens Georg
<mail@jensge.org>
Wed, 30 Sep 2009 14:57:46 +0000
(16:57 +0200)
committer
Zeeshan Ali (Khattak)
<zeeshanak@gnome.org>
Sat, 24 Oct 2009 13:43:26 +0000
(16:43 +0300)
src/rygel/rygel-database.vala
patch
|
blob
|
history
diff --git
a/src/rygel/rygel-database.vala
b/src/rygel/rygel-database.vala
index
0982938
..
84e6407
100644
(file)
--- a/
src/rygel/rygel-database.vala
+++ b/
src/rygel/rygel-database.vala
@@
-44,6
+44,10
@@
internal class Rygel.Database : Object {
db.errmsg ());
return;
}
+ this.db.exec ("PRAGMA cache_size = 32768");
+ this.db.exec ("PRAGMA synchronous = OFF");
+ this.db.exec ("PRAGMA temp_store = MEMORY");
+ this.db.exec ("PRAGMA count_changes = OFF");
}
public int exec (string sql,