diff --git a/adapter.go b/adapter.go index bb8278d..e5944cb 100644 --- a/adapter.go +++ b/adapter.go @@ -173,7 +173,7 @@ func NewAdapterByEngineWithTableName(engine *xorm.Engine, tableName string, tabl func (a *Adapter) getFullTableName() string { if a.tablePrefix != "" { - return a.tablePrefix + "_" + a.tableName + return a.tablePrefix + a.tableName } return a.tableName }