28 lines
1.1 KiB
Plaintext
28 lines
1.1 KiB
Plaintext
$OpenBSD: patch-sqlplusint_connection1_hh,v 1.1 2002/08/10 20:07:02 wilfried Exp $
|
|
--- sqlplusint/connection1.hh.orig Sat May 19 18:44:49 2001
|
|
+++ sqlplusint/connection1.hh Fri Aug 9 16:09:35 2002
|
|
@@ -31,12 +31,12 @@ private:
|
|
MYSQL mysql;
|
|
bool is_connected;
|
|
bool locked;
|
|
- bool Success;
|
|
+ bool Success_;
|
|
|
|
public:
|
|
Connection () : throw_exceptions(true), locked(false)
|
|
{mysql_init(&mysql);} //:
|
|
- Connection (bool te) : throw_exceptions(te), is_connected(false), locked(true), Success(false) //:
|
|
+ Connection (bool te) : throw_exceptions(te), is_connected(false), locked(true), Success_(false) //:
|
|
{mysql_init(&mysql);} //:
|
|
Connection (const char *db, const char *host = "", const char *user = "",
|
|
const char *passwd = "", bool te = true); //:
|
|
@@ -57,7 +57,7 @@ public:
|
|
bool connected() const {return is_connected;}
|
|
//: returns true if a successful connection was made
|
|
|
|
- bool success() {return Success;}
|
|
+ bool success() {return Success_;}
|
|
//: returns true of the last query was successful
|
|
|
|
bool connect (cchar *db = "", cchar *host = "",
|