On Fri, 2 Aug 2019 at 15:07, Yuriy Nikolaev <yuriy.nikol...@moex.com> wrote:
>
> Be sure I've tried to execute `SET TRANSACTION...ISOLATION LEVEL...;`. It was 
> the first thing I've done:)))))))))
> But the result is:
>
> terminate called after throwing an instance of 'soci::firebird_soci_error'
>   what():  invalid transaction handle (expecting explicit transaction start)
> Aborted (core dumped)
>
> Code fragment here:
>
> session sql(firebird, "service=/opt/firebird/examples/empbuild/employee.fdb 
> user=SYSDBA password=masterkey");
> sql.once << "SET TRANSACTION READ ONLY ISOLATION LEVEL SNAPSHOT NO WAIT"; 
> <<<<<< Core dump on this line exactly.
>
> Maybe I'm doing smth wrong?..

I'm no Firebird user or expert, so Web search is your friend.
If you feed an engine with the exception message, you should
get quite a result set back
e.g. https://stackoverflow.com/q/37268541/151641

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


_______________________________________________
soci-users mailing list
soci-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/soci-users

Reply via email to