summaryrefslogtreecommitdiff
path: root/sources/db
diff options
context:
space:
mode:
authorJochen Topf <jochen@topf.org>2014-09-29 16:55:32 +0200
committerJochen Topf <jochen@topf.org>2014-09-29 16:55:32 +0200
commit957ee90110ecaad81129a27ca144e8940853a6f0 (patch)
treefd1d0fc76eb8566dd28ea8391fed0a2dc22c9740 /sources/db
parentea89e135fb09a7698f2687ae3352c304ee15dd77 (diff)
downloadtaginfo-957ee90110ecaad81129a27ca144e8940853a6f0.tar
taginfo-957ee90110ecaad81129a27ca144e8940853a6f0.tar.gz
Remove spaces at line endings.
Diffstat (limited to 'sources/db')
-rw-r--r--sources/db/post.sql2
-rw-r--r--sources/db/pre.sql4
-rwxr-xr-xsources/db/update_characters.rb2
3 files changed, 4 insertions, 4 deletions
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|