processor.Execute() must use custom table if provided.
This commit is contained in:
parent
bc3728a18f
commit
3db62520b7
@ -96,6 +96,12 @@ func (p *processor) Execute(db *DB) {
|
||||
}
|
||||
}
|
||||
|
||||
if nil != stmt.Schema {
|
||||
if stmt.Table != stmt.Schema.Table {
|
||||
stmt.Schema.Table = stmt.Table
|
||||
}
|
||||
}
|
||||
|
||||
for _, f := range p.fns {
|
||||
f(db)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user