aboutsummaryrefslogtreecommitdiff
path: root/editors/koffice-kde4/files/patch-kexi_kexidb_drivers_pqxx-pqxxcursor.cpp
blob: 65ded10e000ddd9379f6a4051934887f92f19355 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- kexi/kexidb/drivers/pqxx/pqxxcursor.cpp.orig	Sun Feb 11 16:45:47 2007
+++ kexi/kexidb/drivers/pqxx/pqxxcursor.cpp	Sun Feb 11 16:50:26 2007
@@ -155,7 +155,7 @@
 			m_implicityStarted = true;
 		}
 
-		m_res = new pqxx::result(((pqxxSqlConnection*)connection())->m_trans->data->exec(m_sql.utf8()));
+		m_res = new pqxx::result(((pqxxSqlConnection*)connection())->m_trans->data->exec(m_sql.utf8().data()));
 		((pqxxSqlConnection*)connection())
 			->drv_commitTransaction(((pqxxSqlConnection*)connection())->m_trans);
 //		my_conn->m_trans->commit();