|
From: Christoph H. <c.h...@gm...> - 2011-01-28 12:30:40
|
Hello there in libdbi-devel ! -------- Original-Nachricht -------- Return-Path: <gnu...@gn...> Delivered-To: GMX delivery to c.h...@gm... Received: (qmail invoked by alias); 28 Jan 2011 12:23:46 -0000 Received: from code.gnucash.org (EHLO code.gnucash.org) [204.107.200.65] by mx0.gmx.net (mx018) with SMTP; 28 Jan 2011 13:23:46 +0100 Received: from code.gnucash.org (code.gnucash.org [127.0.0.1]) by code.gnucash.org (8.14.3/8.14.3) with ESMTP id p0SCMAZe027930; Fri, 28 Jan 2011 07:22:21 -0500 Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.22]) by code.gnucash.org (8.14.3/8.14.3) with SMTP id p0SCM797027922 for <gnu...@gn...>; Fri, 28 Jan 2011 07:22:08 -0500 Received: (qmail invoked by alias); 28 Jan 2011 12:22:06 -0000 Received: from unknown (EHLO [192.168.2.100]) [89.204.137.70] by mail.gmx.net (mp060) with SMTP; 28 Jan 2011 13:22:06 +0100 X-Provags-ID: V01U2FsdGVkX19CrL5pJdxCnC254TCFzOsVSc57daN1VR2GLy9dFG QCb60oki2VcSMY Message-ID: <4D4...@gm...> Date: Fri, 28 Jan 2011 13:26:30 +0100 From: Christoph Holtermann <c.h...@gm...> User-Agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.2.13) Gecko/20101206 SUSE/3.1.7 Thunderbird/3.1.7 MIME-Version: 1.0 To: John Ralls <jr...@ce...> Subject: Re: I can't find working libdbi version References: <4D3...@gm...> <7AF...@ce...> <4D4...@gm...> <768...@ce...> <AAN...@ma...> <4D4...@gm...> <81B...@ce...> <4D4...@gm...> <4D4...@gm...> <4D4...@gm...> <AD4...@ce...> In-Reply-To: <AD4...@ce...> X-Enigmail-Version: 1.1.2 X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=failed version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on code.gnucash.org Cc: gnu...@gn... X-BeenThere: gnu...@gn... X-Mailman-Version: 2.1.11 Precedence: list List-Id: GnuCash Software Design and Development Discussions <gnucash-devel.gnucash.org> List-Unsubscribe: <https://lists.gnucash.org/mailman/options/gnucash-devel>, <mailto:gnu...@gn...?subject=unsubscribe> List-Archive: <http://lists.gnucash.org/pipermail/gnucash-devel> List-Post: <mailto:gnu...@gn...> List-Help: <mailto:gnu...@gn...?subject=help> List-Subscribe: <https://lists.gnucash.org/mailman/listinfo/gnucash-devel>, <mailto:gnu...@gn...?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: gnu...@gn... Errors-To: gnu...@gn... X-GMX-Antivirus: 0 (no virus found) X-GMX-Antispam: 0 (Mail was not recognized as spam); Detail=5D7Q89H36p5xOp9NadjzZ5MhTPz63H/pEfdV0RMD619L6yJOmtlDcnS/nnWmPd7e+iGQS r6zhL3+CSmJIyok1pE3XoGTdXiZsce+VDYOnkXx7Cn1Un261peDOKUkVLldCnSeTVAZUi9i086pU FrAAHFvtCL+/O0DV1; Hello ! > Good catch. I've changed the way doubles are serialized in r20177; please give it a try. > > Regards, > John Ralls > Thanks ! "make check" runs through without errors. gnucash still doesn't like libdbi. Log says : * 13:13:08 WARN <gnc.backend.dbi> [conn_test_dbi_library()] Test_DBI_Library: Double Failed 1,797692e+307 != 1,000000e+00 Well these two values are surely not the same. Mysql log is /usr/sbin/mysqld, Version: 5.1.54-log (SUSE MySQL RPM). started with: Tcp port: 3306 Unix socket: /var/run/mysql/mysql.sock Time Id Command Argument 110128 13:15:29 4 Connect christoph@localhost on gnucash 4 Query CREATE TEMPORARY TABLE numtest ( test_int BIGINT, test_unsigned BIGINT, test_double FLOAT8 ) 4 Query INSERT INTO numtest VALUES (-9223372036854775807, 9223372036854775807, 1.7976921348623158e+307) 4 Query SELECT * FROM numtest 110128 13:15:32 4 Query SHOW TABLES FROM gnucash LIKE 'gnclock' 4 Query BEGIN 4 Query SELECT * FROM gnclock WHERE Hostname = 'Holtermann' AND PID = '2705' 4 Query ROLLBACK 4 Quit 110128 13:15:40 3 Quit IT looks like this time only the part BEFORE the decimal separator has been READ. Because the correct value has been stored as far as i understand the log. ;-) regards, Christoph Holtermann _______________________________________________ gnucash-devel mailing list gnu...@gn... https://lists.gnucash.org/mailman/listinfo/gnucash-devel |