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 and truncating text

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.EntryPointNotFoundException:
LocalAlloc
  at (wrapper managed-to-native)
System.Data.Common.SafeNativeMethods:LocalAlloc (int,intptr)
  at System.Data.ProviderBase.DbBuffer..ctor (System.Int32 initialSize,
System.Boolean zeroBuffer) [0x0002f] in <23f11074adc346a7bcd76c006d949301>:0
  at System.Data.ProviderBase.DbBuffer..ctor (System.Int32 initialSize)
[0x00000] in <23f11074adc346a7bcd76c006d949301>:0
  at System.Data.Odbc.CNativeBuffer..ctor (System.Int32 initialSize)
[0x00000] in <23f11074adc346a7bcd76c006d949301>:0
  at System.Data.Odbc.OdbcCommand.GetStatementHandle () [0x00033] in
<23f11074adc346a7bcd76c006d949301>:0
  at System.Data.Odbc.OdbcCommand.ExecuteReaderObject
(System.Data.CommandBehavior behavior, System.String method, System.Boolean
needReader, System.Object[] methodArguments, System.Data.Odbc.ODBC32+SQL_API
odbcApiMethod) [0x00019] in <23f11074adc346a7bcd76c006d949301>:0
  at System.Data.Odbc.OdbcCommand.ExecuteReaderObject
(System.Data.CommandBehavior behavior, System.String method, System.Boolean
needReader) [0x0001c] in <23f11074adc346a7bcd76c006d949301>:0
  at System.Data.Odbc.OdbcCommand.ExecuteNonQuery () [0x0000a] in
<23f11074adc346a7bcd76c006d949301>:0
  at OdbcVarchars.Program.Main (System.String[] args) [0x00023] in
<873514a817794f1297b9f0b2be86f821>:0




--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Reply via email to