Skip to content

Commit

Permalink
tables: use 't' for table record and index prefix.
Browse files Browse the repository at this point in the history
  • Loading branch information
siddontang committed Nov 27, 2015
1 parent 29420a9 commit f671485
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions table/tables/tables.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@ func NewTable(tableID int64, tableName string, cols []*column.Col, alloc autoid.
t := &Table{
ID: tableID,
Name: name,
recordPrefix: fmt.Sprintf("%d_r", tableID),
indexPrefix: fmt.Sprintf("%d_i", tableID),
recordPrefix: fmt.Sprintf("t%d_r", tableID),
indexPrefix: fmt.Sprintf("t%d_i", tableID),
alloc: alloc,
Columns: cols,
state: model.StatePublic,
Expand Down

0 comments on commit f671485

Please sign in to comment.