diff options
author | Alexander Barkov <bar@mnogosearch.org> | 2013-02-07 16:37:44 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mnogosearch.org> | 2013-02-07 16:37:44 +0400 |
commit | 40398f3660273a646eb974092a9ddf6f881d700e (patch) | |
tree | c621e0d9c16cee544e71c0aafd044d60b453a353 /storage/connect/myconn.h | |
parent | 8cfa84ca875ac464f5e37be88dc521bb2dd89091 (diff) | |
download | mariadb-git-40398f3660273a646eb974092a9ddf6f881d700e.tar.gz |
Fixing some of the compilation warnings.
Diffstat (limited to 'storage/connect/myconn.h')
-rw-r--r-- | storage/connect/myconn.h | 5 |
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); |