summaryrefslogtreecommitdiff
path: root/src/sql/mysql/updates/update_19_to_20.sql
AgeCommit message (Collapse)AuthorFilesLines
2013-04-13Actually use transactions for mysql updatesErik Schilling1-2/+2
BEGIN; END; does not work similar to sqlite here.
2012-03-13Fixed problems with map-bound world state variablesThorbjørn Lindeijer1-0/+25
Due to a wrong primary key, which covered only the state name, it was impossible to use the same state name on different maps. This has now been fixed. Another problem was that the map variables were being included in the global variables, because the related database query did not filter on the map_id column properly. While fixing that, the map_id column now allows explicitly marking a state variable as global (with the value 0) or system variables (with the value -1). System variables are currently not accessible from scripts, but that could be changed later. Reviewed-by: Yohann Ferreira Reviewed-by: Erik Schilling