Sounds like a good idea, indeed.

Ken,
You wrote "I just patched it into my own code".

If you want, you can always create a feature request ticket at
https://github.com/SOCI/soci/issues
and paste sketch of your code there.

Mateusz

On 31 October 2012 16:21, Pawel Aleksander Fedorynski <[email protected]> wrote:
> [+soci-users]
>
> Thanks Ken!  I think it's best to make it an option to be enabled by the
> connection string.  I'll do it when I have a moment.
>
> Best,
>
> Aleksander
>
> On Wed, Oct 31, 2012 at 12:24 AM, Ken Feng <[email protected]> wrote:
>>
>> Hi Pawel,
>>
>> Great work on SOCI - I'm in the process of replacing my cppconn code
>> complete with SOCI.
>>
>> I ran into a tiny problem while migrating from Mysql 5.1 to 5.5
>> (Ubuntu Oneiric to Quantal) - my calls to LOAD DATA INFILE stopped
>> working!
>> After a bit of research, I found that the Mysql developers decided to
>> tighten down on LOAD DATA INFILE access, requiring us to do extra work
>> to gain access.
>>
>> In particular, I needed to call:
>>
>> mysql_options( conn_, MYSQL_OPT_LOCAL_INFILE, 0 );
>>
>> before mysql_real_connect().  Since I'm not sure how this type of
>> option should fit into SOCI, I just patched it into my own code.
>> If you manage to incorporate some kind of more appropriate fix/option
>> to SOCI, I would greatly appreciate it.
>>
>> Thank you.
>>
>> Regards,
>> Ken
>
>
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_sfd2d_oct
> _______________________________________________
> Soci-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/soci-users
>



-- 
Mateusz Loskot, http://mateusz.loskot.net

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
Soci-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/soci-users

Reply via email to