title: informix ODBC stored procedure always return incorrect same value
body: <p>I have a simple sp created in Informix</p>
  
  <pre><code>create procedure test(arg1 int) returning  int;
  if arg1 &gt; 1 then return 10;
  else return 0;
  end if;
  end procedure;
  </code></pre>
  
  <p>It works as expected when called directly into Informix but when I call it from VB.NET using ODBC, it returns always 1.</p>
  
  <p>Here's my vb code</p>
  
  <pre><code>Dim cmd As OdbcCommand = New OdbcCommand("{call test()}", conn)
  With cmd
      .CommandType = CommandType.StoredProcedure
      .Parameters.AddWithValue("@arg1", 0)
  End With
  conn.Open()
  Dim dt As DataTable = New System.Data.DataTable("resultTableFromDB")
  Dim da As OdbcDataAdapter = New OdbcDataAdapter(cmd)
  da.Fill(dt)
  conn.Close()
  </code></pre>