Skip to content

Commit

Permalink
mysql: remove obsolete comment about broken PARTITIONing support
Browse files Browse the repository at this point in the history
Using NEO 0.9.1 and partitioning enabled, I could reproduce the issue with
MariaDB 5.3.5, but not with MariaDB 5.3.12 and 5.5.23. I suppose it was fixed.

In testOudatedCellsOnDownStorage,
  'select count(*) from obj' returned a wrong value (always 1).

Strangely, 'select count(*) from test_neo0.obj' was always correct (102).
  • Loading branch information
jmuchemb committed Jun 15, 2017
1 parent d75e7b8 commit 3bd2fbc
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions neo/storage/database/mysqldb.py
Expand Up @@ -53,9 +53,6 @@ class MySQLDatabaseManager(DatabaseManager):
ENGINES = "InnoDB", "RocksDB", "TokuDB"
_engine = ENGINES[0] # default engine

# Disabled even on MySQL 5.1-5.5 and MariaDB 5.2-5.3 because
# 'select count(*) from obj' sometimes returns incorrect values
# (tested with testOudatedCellsOnDownStorage).
_use_partition = False

_max_allowed_packet = 32769 * 1024
Expand Down

0 comments on commit 3bd2fbc

Please sign in to comment.