From 957ee90110ecaad81129a27ca144e8940853a6f0 Mon Sep 17 00:00:00 2001 From: Jochen Topf Date: Mon, 29 Sep 2014 16:55:32 +0200 Subject: Remove spaces at line endings. --- sources/db/post.sql | 2 +- sources/db/pre.sql | 4 ++-- sources/db/update_characters.rb | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'sources/db') diff --git a/sources/db/post.sql b/sources/db/post.sql index 08f33b0..bd23643 100644 --- a/sources/db/post.sql +++ b/sources/db/post.sql @@ -10,7 +10,7 @@ PRAGMA journal_mode = OFF; PRAGMA synchronous = OFF; PRAGMA count_changes = OFF; PRAGMA temp_store = MEMORY; -PRAGMA cache_size = 5000000; +PRAGMA cache_size = 5000000; CREATE UNIQUE INDEX keys_key_idx ON keys (key); CREATE INDEX tags_key_idx ON tags (key); diff --git a/sources/db/pre.sql b/sources/db/pre.sql index 91bd7e7..1c752be 100644 --- a/sources/db/pre.sql +++ b/sources/db/pre.sql @@ -81,7 +81,7 @@ CREATE TABLE key_combinations ( count_all INTEGER, count_nodes INTEGER, count_ways INTEGER, - count_relations INTEGER + count_relations INTEGER ); DROP TABLE IF EXISTS tag_combinations; @@ -94,7 +94,7 @@ CREATE TABLE tag_combinations ( count_all INTEGER, count_nodes INTEGER, count_ways INTEGER, - count_relations INTEGER + count_relations INTEGER ); DROP TABLE IF EXISTS relation_types; diff --git a/sources/db/update_characters.rb b/sources/db/update_characters.rb index a729818..1b2faaf 100755 --- a/sources/db/update_characters.rb +++ b/sources/db/update_characters.rb @@ -55,7 +55,7 @@ db.execute("SELECT key FROM keys").map{ |row| row['key'] }.each do |key| keys[key] = type break end - end + end end db.transaction do |db| -- cgit v1.2.3