Hi Michael,

Thank you for reporting this.  Looks like another incompatibility in
5.5--your code snippet works perfectly on 5.0.

In any case, the cause of the error is that the value you select has the
type LONG BLOB which wasn't correctly recognized by SOCI.  I just fixed it
and also added a test case with your code snippet.  Can you pull from
github and confirm that the new version works for you?

Thanks,

Aleksander


On Wed, Dec 5, 2012 at 7:29 AM, Michael Evdokimov
<[email protected]>wrote:

> 05.12.2012 18:44, Daniel Walter пишет:
> > On 05.12.2012 15:09, Michael Evdokimov wrote:
> >> Hello!
> >>
> >> It seems like it is an error in mysql soci driver.
> >> Attached example terminates with the exception "Unknown data type.".
> >>
> >>
> >>
> >>
> ------------------------------------------------------------------------------
> >> LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
> >> Remotely access PCs and mobile devices and provide instant support
> >> Improve your efficiency, and focus on delivering more value-add services
> >> Discover what IT Professionals Know. Rescue delivers
> >> http://p.sf.net/sfu/logmein_12329d2d
> >>
> >>
> >>
> >> _______________________________________________
> >> soci-users mailing list
> >> [email protected]
> >> https://lists.sourceforge.net/lists/listinfo/soci-users
> >>
> > Hi Michael,
> >
> > this way "select cast(concat(@day,' ',@mm,' ',@year) as char(64))" your
> > query is working.
> >
> > Mit freundlichen Grüßen,
> > B.Sc. Daniel Walter
> >
>
> Here you are right. But in my case I cannot change the request.
> Plugin for my system gives my the request and I have to pass it to mysql
> AS IS.
>
> I beleave SOCI should correctly execute any mysql valid request.
> Please let me know I am wrong.
>
> --
> Best regards, Michael Evdokimov
> Network Solutions, Moscow, Russia, Office: +7-495-7950677, Mobile:
> +7-963-6054013
> Web: www.lanbilling.ru, www.lanbilling.tv, www.helpdesk2.ru
>
>
>
> ------------------------------------------------------------------------------
> LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
> Remotely access PCs and mobile devices and provide instant support
> Improve your efficiency, and focus on delivering more value-add services
> Discover what IT Professionals Know. Rescue delivers
> http://p.sf.net/sfu/logmein_12329d2d
> _______________________________________________
> soci-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/soci-users
>
------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
soci-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/soci-users

Reply via email to