From: Warren Young Date: March 4 2006 8:56am Subject: Re: A patch for connection.cpp List-Archive: http://lists.mysql.com/plusplus/5520 Message-Id: <44095659.8020008@etr-usa.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit Hiroshi Ayukawa wrote: > > 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. Can you please supply a patch for this, against the 2.1 branch? I'm not sure I understand what you're saying, and I wouldn't like to guess. Working code will speak most clearly.