List:Bugs« Previous MessageNext Message »
From:Uri Even-Chen Date:March 2 2000 11:17pm
Subject:bug report with mysql++
View as plain text  
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: webmaster@stripped
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/
--------------------------------------------------------
Thread
bug report with mysql++Uri Even-Chen3 Mar