Re: Apache Ignite & unixODBC and truncating text

2018-03-01 Thread Igor Sapego
Ok, can you enable ODBC logging [1] and share a logfile for this scenario? [1] - https://www.easysoft.com/support/kb/kb00946.html Best Regards, Igor On Thu, Mar 1, 2018 at 9:01 AM, bagsiur wrote: > Yes, > > Here is my libignite-odvc.so. Command "ldd /usr/local/lib/libignite-odbc. > so" > show:

Re: Apache Ignite & unixODBC and truncating text

2018-02-28 Thread bagsiur
Yes, Here is my libignite-odvc.so. Command "ldd /usr/local/lib/libignite-odbc.so" show: linux-vdso.so.1 (0x7fff18aad000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x7f96a60f7000) libignite-binary-2.5.0.26265.so.0 => not found libodbcinst.so.2 => /usr/

Re: Apache Ignite & unixODBC and truncating text

2018-02-28 Thread Igor Sapego
The results for me for the code you provided: array(14) { ["ID"]=> string(1) "0" [0]=> string(1) "0" ["USERKEY"]=> string(73) "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do elit, sed" [1]=> string(73) "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed d

Re: Apache Ignite & unixODBC and truncating text

2018-02-28 Thread bagsiur
I'm try to execute fallowing code: setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); $sql = 'CREATE TABLE IF NOT EXISTS test_md5 (id int PRIMARY KEY, userkey LONGVARCHAR, server LONGVARCHAR, tsession LONGVARCHAR, tpost LONGVARCHAR, tget LONGVARCHAR, adddate i

Re: Apache Ignite & unixODBC and truncating text

2018-02-28 Thread Igor Sapego
Hello, How long is the value you are trying to put/fetch? Do you get any kind of error, or just NULL value? Best Regards, Igor On Wed, Feb 28, 2018 at 5:54 PM, bagsiur wrote: > Hello, > > So, I was testing today fix of this bug and well... I have similar error. > Different is that before I had

Re: Apache Ignite & unixODBC and truncating text

2018-02-28 Thread bagsiur
Hello, So, I was testing today fix of this bug and well... I have similar error. Different is that before I had truncated string and now I have NULL when I try to add more longer string. My Ignite version is: Ignite ver. 2.5.0-SNAPSHOT#20180228-sha1:6641267df826e74213c9921e1d0c3490f09aae45 When

Re: Apache Ignite & unixODBC and truncating text

2018-02-26 Thread Igor Sapego
The issue is fixed and the fix is already in master. Best Regards, Igor On Thu, Feb 1, 2018 at 1:26 PM, Igor Sapego wrote: > I'm currently working on the fix. > Sorry guys, I was not able to fit it in 2.4. > I can share a separate patch when it will be ready though if you like. > > Best Regard

Re: Apache Ignite & unixODBC and truncating text

2018-02-01 Thread Igor Sapego
I'm currently working on the fix. Sorry guys, I was not able to fit it in 2.4. I can share a separate patch when it will be ready though if you like. Best Regards, Igor On Tue, Jan 30, 2018 at 5:45 AM, Rick Alexander wrote: > Hey Igor or anyone who knows, > > Looking to see when this will be re

Re: Apache Ignite & unixODBC and truncating text

2018-01-29 Thread Rick Alexander
Hey Igor or anyone who knows, Looking to see when this will be released as well. You mention 2.4 but the task says 2.5 release. Please help! My project is at a stand-still... On Mon, Jan 15, 2018 at 9:33 AM, bagsiur wrote: > ok, > > I ask becouse I wont to be sure. Fix will be included in Ign

Re: Apache Ignite & unixODBC and truncating text

2018-01-15 Thread bagsiur
ok, I ask becouse I wont to be sure. Fix will be included in Ignite 2.4 or 2.5? On the ticket: https://issues.apache.org/jira/browse/IGNITE-7362 in details is write that fix this bug is planning for 2.5 version... -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Apache Ignite & unixODBC and truncating text

2018-01-12 Thread Igor Sapego
Well, yes, it's a bug. I hope to close it by the end of the next week, so the fix could be included in the Ignite 2.4 Best Regards, Igor On Wed, Jan 10, 2018 at 3:42 PM, bagsiur wrote: > Ok, thank you very much for your time nad reply. > > So, if I understend corectly, this is bug of Apache Ign

Re: Apache Ignite & unixODBC and truncating text

2018-01-10 Thread bagsiur
Ok, thank you very much for your time nad reply. So, if I understend corectly, this is bug of Apache Ignite. How much time will take to resolve and fix this problem? I will track progress :) -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Apache Ignite & unixODBC and truncating text

2018-01-09 Thread Igor Sapego
I've checked the scenario with the pure ODBC and it seems like the issue is not with the ODBC driver, as it lets you insert and select varchar data of any length, but with the tools, which truncate any data that user passes to column size, which set to 64 by default for variable length columns. I'

RE: Apache Ignite & unixODBC and truncating text

2018-01-09 Thread bagsiur
Yes, and maybe will difficult to find solution on this error: https://bugzilla.xamarin.com/show_bug.cgi?id=37368 If will be nessesery I can try to prepare VS 2017 and compile it one more time... So, here is my simple script: setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);

RE: Apache Ignite & unixODBC and truncating text

2018-01-08 Thread Alexey Popov
Hi Bagsiur, It is some mono lib error below, not a user-code. Can you share a simple code reproducer? Just to see the order of actions in your code. Thank you, Alexey From: bagsiur Sent: Tuesday, January 9, 2018 10:36 AM To: user@ignite.apache.org Subject: Re: Apache Ignite & unixODBC

Re: Apache Ignite & unixODBC and truncating text

2018-01-08 Thread bagsiur
So, I use Apache Ignite in 2.3.0 version. Im not C# programmer but I compile attached C# example by mono: mcs -out:odbcvarchar.exe -r:System.dll -r:System.Data.dll odbcvarchar.cs And after when I run it I have fallowing errors: [ERROR] FATAL UNHANDLED EXCEPTION: System.EntryPointNotFoundExcepti

Re: Apache Ignite & unixODBC and truncating text

2018-01-08 Thread Alexey Popov
Hi Bagsuir, What Ignite version are you using? Could you please share a reproducible example of the issue you have? Or can you try the C# example attached (VS 2017)? Thank you, Alexey odbcvarchar.cs -- Sent from: ht

Re: Apache Ignite & unixODBC and truncating text

2018-01-07 Thread bagsiur
Hello, I refresh this post -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/