Commit Graph

23 Commits

Author SHA1 Message Date
Sascha L. Teichmann
f4baf63247 Added interleved implementation of spatial query in LevelDB backend. 2014-09-01 18:04:48 +02:00
Sascha L. Teichmann
5246a62c34 Forget to call Next() on iterator ... again. :-( 2014-09-01 16:15:16 +02:00
Sascha L. Teichmann
bebe776e54 Added plain spatial query for LevelDB backend. 2014-09-01 16:12:24 +02:00
Sascha L. Teichmann
caf2cbbcfe Introduced non standard HSPATIAL hash first second which performs a spatial query between coords first and second. TODO: Implement in backends. Write documentation. 2014-09-01 00:19:47 +02:00
Sascha L. Teichmann
3929ffc3b2 Stop leaking go routines if something with AllKeys went wrong. 2014-08-31 19:21:58 +02:00
Sascha L. Teichmann
35130a5202 Enabled interleaving in LevelDB backend. 2014-08-23 19:00:43 +02:00
Sascha L. Teichmann
712708f87c Added transcoder functions to LevelDB backend. 2014-08-22 22:26:03 +02:00
Sascha L. Teichmann
120531ed78 LevelDB backend: Recycle iterator in all keys fetch. 2014-08-11 17:07:23 +02:00
Sascha L. Teichmann
d54af34288 LevelDB: Seeked to start to get all the keys in HKEYS command. 2014-08-11 15:13:18 +02:00
Sascha L. Teichmann
d321d1888b Added experimental support for HKEYS to make minetestmapper happy. 2014-08-11 14:56:01 +02:00
Sascha L. Teichmann
2e47262ce8 LevelDB: Do not create cache if cache size <= 0. 2014-08-08 10:05:03 +02:00
Sascha L. Teichmann
787ea5d0ee Mute logging a bit. 2014-08-08 00:16:00 +02:00
Sascha L. Teichmann
f474ef6920 Removed pos recalc from leveldb backend. 2014-08-07 20:20:04 +02:00
Sascha L. Teichmann
c09d74ae0f Free memory of write batches in LevelDB backend. Use an extra r/w mutex. 2014-08-07 15:16:12 +02:00
Sascha L. Teichmann
3f97399a82 Introduced a backend session to track transactions more clearly. 2014-08-06 01:11:41 +02:00
Sascha L. Teichmann
eabcd53f6b Removed another defer. 2014-08-04 22:23:16 +02:00
Sascha L. Teichmann
913ae0d2c7 go fmt'ed 2014-08-04 21:06:41 +02:00
Sascha L. Teichmann
35d05ba9c8 LevelDB needs re-coding of positions with zero components. 2014-08-04 17:10:19 +02:00
Sascha L. Teichmann
de9f738306 Simplified LevelDB data storing. 2014-08-04 15:29:26 +02:00
Sascha L. Teichmann
12e0516929 Simplified LevelDB writing. 2014-08-04 15:28:01 +02:00
Sascha L. Teichmann
749c22e83a Added license: MIT 2014-08-03 15:59:56 +02:00
Sascha L. Teichmann
ccb6849903 Added SQLite3 backend support. 2014-08-03 14:52:24 +02:00
Sascha L. Teichmann
da0b5ebba6 Abstracted backend as an interface and implemented the LevelDB stuff as such. 2014-08-03 11:25:25 +02:00