[GRASS-dev] [GRASS GIS] #2759: v.rast.stats and mySQL

GRASS GIS trac at osgeo.org
Wed Oct 14 03:06:48 PDT 2015


#2759: v.rast.stats and mySQL
-----------------------+---------------------------------
  Reporter:  fpouw     |      Owner:  grass-dev@…
      Type:  defect    |     Status:  new
  Priority:  normal    |  Milestone:  7.0.1
 Component:  Database  |    Version:  7.0.1
Resolution:            |   Keywords:  v.rast.stats, mysql
       CPU:  x86-64    |   Platform:  Linux
-----------------------+---------------------------------
Changes (by neteler):

 * keywords:  v.rast.stats mysql => v.rast.stats, mysql
 * component:  Default => Database
 * milestone:   => 7.0.1


Comment:

 In several Python scripts (like v.rast.stats)

 {{{
 "BEGIN TRANSACTION"
 }}}
 is hardcoded.

 The modules written in C use

 {{{
 ./db/drivers/mysql/execute.c:    if (mysql_query(connection, "START
 TRANSACTION") != 0) {
 }}}

 All of them need an appropriate mySQL wrapper. Perhaps more code places
 are to be identified.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2759#comment:1>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list