Opened 9 years ago
Closed 9 years ago
#2759 closed defect (fixed)
v.rast.stats and mySQL
Reported by: | fpouw | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 7.0.3 |
Component: | Database | Version: | 7.0.1 |
Keywords: | v.rast.stats, mysql | Cc: | |
CPU: | x86-64 | Platform: | Linux |
Description
v.rast.stats fails to run when using a mysql database because it attempts to execute a BEGIN TRANSACTION command. This syntax is not supported by mysql which uses the syntax: START TRANSACTION.
Change History (7)
comment:1 by , 9 years ago
Component: | Default → Database |
---|---|
Keywords: | v.rast.stats mysql → v.rast.stats, mysql |
Milestone: | → 7.0.1 |
follow-up: 5 comment:2 by , 9 years ago
Probably candidate for new functions in Python Scripting Library (db
package): db_begin_transaction()
and db_commit_transaction()
?
comment:3 by , 9 years ago
Milestone: | 7.0.1 → 7.0.3 |
---|
follow-up: 6 comment:5 by , 9 years ago
comment:6 by , 9 years ago
comment:7 by , 9 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
In several Python scripts (like v.rast.stats)
is hardcoded.
The modules written in C use
All of them need an appropriate mySQL wrapper. Perhaps more code places are to be identified.