openbsd-ports/devel/mysql++/patches/patch-sqlplusint_query2_hh
wilfried bf0e4b3714 a few gcc3 patches
also move the header files to ${LOCALBASE}/include/mysql++
2004-01-06 11:16:53 +00:00

29 lines
743 B
Plaintext

$OpenBSD: patch-sqlplusint_query2_hh,v 1.2 2004/01/06 11:16:53 wilfried Exp $
--- sqlplusint/query2.hh.orig 2001-05-19 18:44:48.000000000 +0200
+++ sqlplusint/query2.hh 2004-01-04 23:31:06.000000000 +0100
@@ -7,7 +7,7 @@
#include "coldata2.hh"
inline bool Query::success() {
- if (!Success) return false;
+ if (!Success_) return false;
return mysql->success();
}
@@ -47,12 +47,12 @@ inline int Query::insert_id () {
return mysql->insert_id();
}
-inline string Query::info() {
+inline std::string Query::info() {
return mysql->info();
}
-inline string Query::error () {
- if (errmsg) return string(errmsg);
+inline std::string Query::error () {
+ if (errmsg) return std::string(errmsg);
return mysql->error();
}