Skip to content

Commit

Permalink
*: clean up abandoned storage engine (pingcap#5808)
Browse files Browse the repository at this point in the history
  • Loading branch information
holys authored and tiancaiamao committed Feb 7, 2018
1 parent 274a344 commit ae8e594
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 11 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Evolve TiDB schemas as your requirement changes. You can add new columns and ind

- __Multiple storage engine support__

Power TiDB with your most favorite engines. TiDB supports local storage engines such as GolevelDB and BoltDB, as well as [TiKV](https://github.com/pingcap/tikv), a distributed storage engine.
Power TiDB with your most favorite engines. TiDB supports local storage engines such as GolevelDB, as well as [TiKV](https://github.com/pingcap/tikv), a distributed storage engine.

For more details, see [How we build TiDB](https://pingcap.github.io/blog/2016/10/17/how-we-build-tidb/).

Expand Down
2 changes: 1 addition & 1 deletion config/config.toml.example
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ host = "0.0.0.0"
# TiDB server port.
port = 4000

# Registered store name, [memory, goleveldb, boltdb, tikv, mocktikv]
# Registered store name, [tikv, mocktikv]
store = "mocktikv"

# TiDB storage path.
Expand Down
4 changes: 0 additions & 4 deletions executor/executor_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,6 @@ func (s *testSuite) SetUpSuite(c *C) {
s.store = store
tidb.SetSchemaLease(0)
tidb.SetStatsLease(0)
} else {
store, err := tidb.NewStore("memory://test/test")
c.Assert(err, IsNil)
s.store = store
}
_, err := tidb.BootstrapSession(s.store)
c.Assert(err, IsNil)
Expand Down
4 changes: 0 additions & 4 deletions mysql/const_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,6 @@ func (s *testMySQLConstSuite) SetUpSuite(c *C) {
s.store = store
tidb.SetSchemaLease(0)
tidb.SetStatsLease(0)
} else {
store, err := tidb.NewStore("memory://test/test")
c.Assert(err, IsNil)
s.store = store
}
_, err := tidb.BootstrapSession(s.store)
c.Assert(err, IsNil)
Expand Down
2 changes: 1 addition & 1 deletion tidb-server/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ var (
configPath = flag.String(nmConfig, "", "config file path")

// Base
store = flag.String(nmStore, "mocktikv", "registered store name, [memory, goleveldb, boltdb, tikv, mocktikv]")
store = flag.String(nmStore, "mocktikv", "registered store name, [tikv, mocktikv]")
storePath = flag.String(nmStorePath, "/tmp/tidb", "tidb storage path")
host = flag.String(nmHost, "0.0.0.0", "tidb server host")
port = flag.String(nmPort, "4000", "tidb server port")
Expand Down

0 comments on commit ae8e594

Please sign in to comment.