Add confirm=? query-param to delete-user route and confirm dialog in flutter [skip-tests]
This commit is contained in:
@@ -101,23 +101,23 @@ func (pp *DBPreprocessor) Init(ctx context.Context) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (pp *DBPreprocessor) PrePing(ctx context.Context) error {
|
||||
func (pp *DBPreprocessor) PrePing(ctx context.Context, meta sq.PrePingMeta) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (pp *DBPreprocessor) PreTxBegin(ctx context.Context, txid uint16) error {
|
||||
func (pp *DBPreprocessor) PreTxBegin(ctx context.Context, txid uint16, meta sq.PreTxBeginMeta) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (pp *DBPreprocessor) PreTxCommit(txid uint16) error {
|
||||
func (pp *DBPreprocessor) PreTxCommit(txid uint16, meta sq.PreTxCommitMeta) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (pp *DBPreprocessor) PreTxRollback(txid uint16) error {
|
||||
func (pp *DBPreprocessor) PreTxRollback(txid uint16, meta sq.PreTxRollbackMeta) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (pp *DBPreprocessor) PreQuery(ctx context.Context, txID *uint16, sql *string, params *sq.PP) error {
|
||||
func (pp *DBPreprocessor) PreQuery(ctx context.Context, txID *uint16, sql *string, params *sq.PP, meta sq.PreQueryMeta) error {
|
||||
sqlOriginal := *sql
|
||||
|
||||
pp.lock.Lock()
|
||||
@@ -223,30 +223,30 @@ func (pp *DBPreprocessor) PreQuery(ctx context.Context, txID *uint16, sql *strin
|
||||
return nil
|
||||
}
|
||||
|
||||
func (pp *DBPreprocessor) PreExec(ctx context.Context, txID *uint16, sql *string, params *sq.PP) error {
|
||||
func (pp *DBPreprocessor) PreExec(ctx context.Context, txID *uint16, sql *string, params *sq.PP, meta sq.PreExecMeta) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (pp *DBPreprocessor) PostPing(result error) {
|
||||
func (pp *DBPreprocessor) PostPing(result error, meta sq.PostPingMeta) {
|
||||
//
|
||||
}
|
||||
|
||||
func (pp *DBPreprocessor) PostTxBegin(txid uint16, result error) {
|
||||
func (pp *DBPreprocessor) PostTxBegin(txid uint16, result error, meta sq.PostTxBeginMeta) {
|
||||
//
|
||||
}
|
||||
|
||||
func (pp *DBPreprocessor) PostTxCommit(txid uint16, result error) {
|
||||
func (pp *DBPreprocessor) PostTxCommit(txid uint16, result error, meta sq.PostTxCommitMeta) {
|
||||
//
|
||||
}
|
||||
|
||||
func (pp *DBPreprocessor) PostTxRollback(txid uint16, result error) {
|
||||
func (pp *DBPreprocessor) PostTxRollback(txid uint16, result error, meta sq.PostTxRollbackMeta) {
|
||||
//
|
||||
}
|
||||
|
||||
func (pp *DBPreprocessor) PostQuery(txID *uint16, sqlOriginal string, sqlReal string, params sq.PP) {
|
||||
func (pp *DBPreprocessor) PostQuery(txID *uint16, sqlOriginal string, sqlReal string, params sq.PP, result error, meta sq.PostQueryMeta) {
|
||||
//
|
||||
}
|
||||
|
||||
func (pp *DBPreprocessor) PostExec(txID *uint16, sqlOriginal string, sqlReal string, params sq.PP) {
|
||||
func (pp *DBPreprocessor) PostExec(txID *uint16, sqlOriginal string, sqlReal string, params sq.PP, result error, meta sq.PostExecMeta) {
|
||||
//
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user