summaryrefslogtreecommitdiff
path: root/include/SQL.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/SQL.h')
-rw-r--r--include/SQL.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/SQL.h b/include/SQL.h
index 4d794d5..120d022 100644
--- a/include/SQL.h
+++ b/include/SQL.h
@@ -9,9 +9,9 @@ typedef std::map<String, String> AssocArray;
class SQLConnection : public Base {
public:
- SQLConnection(String host, String user, String passwd, String db, int port = 3306, String socket = "", unsigned long clags = 0) throw (GeneralException);
+ SQLConnection(const String & host, const String & user, const String & passwd, const String & db, int port = 3306, const String & socket = "", unsigned long clags = 0) throw (GeneralException);
~SQLConnection();
- int query(String);
+ int query(const String &);
int numrows();
int numfields();
AssocArray fetchrow();