List:MySQL++« Previous MessageNext Message »
From:Hiroshi Ayukawa Date:February 15 2006 9:55am
Subject:A patch for connection.cpp
View as plain text  
Hi, all

I found Connection::set_option() and Connection::connect() do not work 
together.

In MySQL C API, mysql_options() should be called after mysql_init() and 
before mysql_real_connect().

Calling apply_pending_options() in Connection::connect() should be so.

------------------------------------------------
Hiroshi Ayukawa


Thread
A patch for connection.cppHiroshi Ayukawa15 Feb
  • Re: A patch for connection.cppWarren Young4 Mar