[GRASS5] [bug #2804] (grass) db.select nulls seen on strace

this bug's URL: http://intevation.de/rt/webrt?serial_num=2804
-------------------------------------------------------------------------

Do $ echo "select * from largeG" | strace db.select
Notice all the
write(4, "\0\0\0\0", 4) = 4
read(5, "\0\0\0\0", 4) = 4
stuff? I bet it's some non optimized algorithm.
Reminds me of the waiting for mouse input _bug_.
Of course, I have no idea.
Wait. I suppose it's just normally reading the database file. OK,
never mind. Sorry.

--- Headers Follow ---

From jidanni@jidanni.org Wed Dec 8 00:00:20 2004

Return-Path: <jidanni@jidanni.org>
Delivered-To: grass-bugs@lists.intevation.de
Received: from mail.intevation.de (aktaia [212.95.126.10])
  by lists.intevation.de (Postfix) with ESMTP id 27B4C102C3E
  for <grass-bugs@lists.intevation.de>; Wed, 8 Dec 2004 00:00:20 +0100 (CET)
Received: from localhost (localhost [127.0.0.1])
  by mail.intevation.de (Postfix) with ESMTP id EC1F936DEF
  for <grass-bugs@lists.intevation.de>; Wed, 8 Dec 2004 00:00:19 +0100 (CET)
Received: from frodo.hserus.net (frodo.hserus.net [204.74.68.40])
  by mail.intevation.de (Postfix) with ESMTP id 4DA8536CE0
  for <grass-bugs@intevation.de>; Wed, 8 Dec 2004 00:00:19 +0100 (CET)
Received: from [219.69.72.127] (port=32828 helo=jidanni1)
  by frodo.hserus.net with esmtpsa
  (Cipher TLSv1:RC4-SHA:128) (Exim 4.43 #0)
  id 1CboJa-000O2w-9U by authid <jidanni> with plain
  for <grass-bugs@intevation.de>; Wed, 08 Dec 2004 04:30:15 +0530
To: grass-bugs@intevation.de
Subject: db.select nulls seen on strace
From: Dan Jacobson <jidanni@jidanni.org>
Date: Wed, 08 Dec 2004 03:21:27 +0800
Message-ID: <87k6rtsymg.fsf@jidanni.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Status: No, hits=-4.5 tagged_above=-999.0 required=3.0 tests=BAYES_00,
  DATE_IN_PAST_03_06
X-Spam-Level:

-------------------------------------------- Managed by Request Tracker