projects
/
ccbs
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
2dc4660
)
Replace transaction<> with work.
author
Steinar H. Gunderson
<sesse@samfundet.no>
Fri, 18 Feb 2005 17:40:21 +0000
(17:40 +0000)
committer
Steinar H. Gunderson
<sesse@samfundet.no>
Fri, 18 Feb 2005 17:40:21 +0000
(17:40 +0000)
bigscreen/ccbs_bigscreen.cpp
patch
|
blob
|
history
diff --git
a/bigscreen/ccbs_bigscreen.cpp
b/bigscreen/ccbs_bigscreen.cpp
index
2dbb34a
..
6afc0a0
100644
(file)
--- a/
bigscreen/ccbs_bigscreen.cpp
+++ b/
bigscreen/ccbs_bigscreen.cpp
@@
-8,7
+8,7
@@
int main(int argc, char **argv)
GLWindow glw("CCBS bigscreen", 800, 600, 32, false, 16, -1);
try {
pqxx::connection conn("dbname=ccbs host=sql.samfundet.no user=ccbs password=GeT|>>B_");
GLWindow glw("CCBS bigscreen", 800, 600, 32, false, 16, -1);
try {
pqxx::connection conn("dbname=ccbs host=sql.samfundet.no user=ccbs password=GeT|>>B_");
- pqxx::
transaction<>
t(conn, "trx");
+ pqxx::
work
t(conn, "trx");
// fetch all songs
pqxx::result res( t.exec("SELECT * FROM songs") );
// fetch all songs
pqxx::result res( t.exec("SELECT * FROM songs") );