[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-informix
Subject:    Re: Bugs in SE 7.24
From:       "ART KAGEL, BLOOMBERG/  NEW YORK" <KAGEL () bloomberg ! net>
Date:       1998-10-27 14:40:22
[Download RAW message or body]

The floating point problems may be in the libraries.  The different versions of
library code may convert to string differently.  Try to get a copy of the libs
from one of the releases where this works correctly and see if that fixes the
problem on your release.
---- Original Msg from: F Fernandez  <linux-informix@iiug.org> At: 10/26  8:40

Dimitri wrote:
> 1. Bug in float to string conversions:
> 
> via dbaccess:
> 
> create table test( i int, f float );
> 
> insert into test values( 1, 0.1 );
> insert into test values( 2, 2.1 );

> insert into test values( 3, 0.01 );
> insert into test values( 4, 20.1 );
> insert into test values( 5, 4.0 );
> 
> select * from test;
> 
>             i              f
> 
>           1          0.0.1
>           2 2.181000000000
>           3         0.0.01
>           4 22.0.100000000
>           5 4.380000000000
> 


I just tried with mine (Same version on Debian 2.0) and it worked OK.

The select responded:

          i              f

          1            0.1
          2 2.100000000000
          3           0.01
          4 20.10000000000
          5 4.000000000000

My ENV includes:

   HOSTNAME=ninja
   INFORMIXSERVER=ninja
   MACHTYPE=i486-pc-linux-gnu
   INFORMIXDIR=/usr/informix.linux
   LOGNAME=informix
   HOSTTYPE=i486
   OSTYPE=linux-gnu

> Session 2:
> set lock mode to wait;
> select * from test;
> ===> Error: no more process

This one seems to be the need to reconfigure the kernel. Read the

release notes to see what Kernel Parameters must be reconfigured.

Fernando

-- 
Fernando Fernandez
http://despodata.pt/ddata/pessoal/ferdez.htm

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic