[GRASS-dev] [GRASS GIS] #1866: broken SQLite driver in winGRASS 7

GRASS GIS trac at osgeo.org
Fri Feb 1 08:58:50 PST 2013


#1866: broken SQLite driver in winGRASS 7
------------------------------+---------------------------------------------
 Reporter:  martinl           |       Owner:  grass-dev@…              
     Type:  defect            |      Status:  new                      
 Priority:  blocker           |   Milestone:  7.0.0                    
Component:  Database          |     Version:  unspecified              
 Keywords:  sqlite, wingrass  |    Platform:  MSWindows 2K             
      Cpu:  Unspecified       |  
------------------------------+---------------------------------------------

Comment(by martinl):

 To be more specific, when adding some extra debug messages

 {{{
 Index: lib/db/dbmi_base/xdrcolumn.c
 ===================================================================
 --- dbmi_base/xdrcolumn.c       (revision 54829)
 +++ dbmi_base/xdrcolumn.c       (working copy)
 @@ -53,6 +53,8 @@
  int db__recv_column_definition(dbColumn * column)
  {
      DB_RECV_STRING(&column->columnName);
 +    G_debug(0, "col: %s (%d)", db_get_string(&column->columnName),
 +           db_sizeof_string(&column->columnName));
      DB_RECV_STRING(&column->description);
      DB_RECV_INT(&column->sqlDataType);
      DB_RECV_INT(&column->hostDataType);
 }}}

 I am getting

 {{{
 db.describe census
 D0/0: col: cat (4)
 D0/0: col: OBJECTID (9)
 D0/0: col: AREA (5)
 D0/0: col:  (2573)
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/1866#comment:5>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list