summaryrefslogtreecommitdiff
path: root/storage/connect/myconn.h
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mnogosearch.org>2013-02-07 16:37:44 +0400
committerAlexander Barkov <bar@mnogosearch.org>2013-02-07 16:37:44 +0400
commit40398f3660273a646eb974092a9ddf6f881d700e (patch)
treec621e0d9c16cee544e71c0aafd044d60b453a353 /storage/connect/myconn.h
parent8cfa84ca875ac464f5e37be88dc521bb2dd89091 (diff)
downloadmariadb-git-40398f3660273a646eb974092a9ddf6f881d700e.tar.gz
Fixing some of the compilation warnings.
Diffstat (limited to 'storage/connect/myconn.h')
-rw-r--r--storage/connect/myconn.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/storage/connect/myconn.h b/storage/connect/myconn.h
index 32bcfb802a1..cc07da31c38 100644
--- a/storage/connect/myconn.h
+++ b/storage/connect/myconn.h
@@ -59,8 +59,9 @@ class DllItem MYSQLC {
// int GetCurPos(void) {return (m_Res) ? N : 0;}
// int GetProgCur(void) {return N;}
int GetResultSize(PGLOBAL g, PSZ sql);
- int Open(PGLOBAL g, PSZ host, PSZ db, PSZ user = "root",
- PSZ pwd = "*", int pt = 0);
+ int Open(PGLOBAL g, const char *host, const char *db,
+ const char *user= "root", const char *pwd= "*",
+ int pt= 0);
ulong GetThreadID(void);
ulong ServerVersion(void);
const char *ServerInfo(void);