1 message in com.mysql.lists.bugsbug report with mysql++
FromSent OnAttachments
Uri Even-Chen02 Mar 2000 15:17 
Subject:bug report with mysql++
From:Uri Even-Chen (webm@speedy.co.il)
Date:03/02/2000 03:17:05 PM
List:com.mysql.lists.bugs

hi.

// The full format for the Connection constructor is // Connection(cchar *db, cchar *host="", // cchar *user="", cchar *passwd="") // You may need to specify some of them if the database is not on // the local machine or you database username is not the same as your // login name, etc..

I want to report a bug with mysql++ - if I use this constructor with 4 strings, there is an ambiguity with the constructors:

call of overloaded `MysqlConnection(char[11], char[1], char[7], char[11])' is ambiguous /usr/local/include/mysql++/connection1.hh:52: candidates are: MysqlConnection::MysqlConnectio n(const char *, const char *, const char *, const char *, bool) /usr/local/include/mysql++/connection1.hh:56: MysqlConnection::MysqlConnectio n(const char *, const char *, const char *, const char *, unsigned int, my_bool, unsigned int , bool, const cchar *)

same goes for other numbers of arguments. there is no constructor with 4 arguments like mentioned.

by the way, using mysql++ also causes a "Segmentation fault (core dumped)" problem.

P.S. "mysqlbug" got me stuck in an unknown environment, without the ability to exit, and I had to reset the terminal.

Uri.

------------------------------- MySQL license: #7259 MySQL basic email support: #489

-------------------------------------------------------- Uri Even-Chen Speedy Software Raanana, Israel. E-mail: webm@speedy.co.il ICQ Number: 7461268 Phone Number: 09-7715013

-------------------------------------------------------- Welcome to Speedy Net (In Hebrew): http://www.speedy.co.il/ Speedy Dating (In Hebrew): http://www.speedy.co.il/dating/ Speedy Composer (In English): http://www.speedy.co.il/composer/

--------------------------------------------------------