v0.0.401 bf
All checks were successful
Build Docker and Deploy / Run goext test-suite (push) Successful in 1m27s

This commit is contained in:
Mike Schwörer 2024-03-09 15:07:03 +01:00
parent 42424f4bc2
commit ed53f297bd
Signed by: Mikescher
GPG Key ID: D3C7172E0A70F8CF
2 changed files with 8 additions and 8 deletions

View File

@ -1,5 +1,5 @@
package goext
const GoextVersion = "0.0.400"
const GoextVersion = "0.0.401"
const GoextVersionTimestamp = "2024-03-09T14:59:32+0100"
const GoextVersionTimestamp = "2024-03-09T15:07:03+0100"

View File

@ -34,7 +34,7 @@ type genListener struct {
}
func (g genListener) PrePing(ctx context.Context) error {
if g.prePing == nil {
if g.prePing != nil {
return g.prePing(ctx)
} else {
return nil
@ -42,7 +42,7 @@ func (g genListener) PrePing(ctx context.Context) error {
}
func (g genListener) PreTxBegin(ctx context.Context, txid uint16) error {
if g.preTxBegin == nil {
if g.preTxBegin != nil {
return g.preTxBegin(ctx, txid)
} else {
return nil
@ -50,7 +50,7 @@ func (g genListener) PreTxBegin(ctx context.Context, txid uint16) error {
}
func (g genListener) PreTxCommit(txid uint16) error {
if g.preTxCommit == nil {
if g.preTxCommit != nil {
return g.preTxCommit(txid)
} else {
return nil
@ -58,7 +58,7 @@ func (g genListener) PreTxCommit(txid uint16) error {
}
func (g genListener) PreTxRollback(txid uint16) error {
if g.preTxRollback == nil {
if g.preTxRollback != nil {
return g.preTxRollback(txid)
} else {
return nil
@ -66,7 +66,7 @@ func (g genListener) PreTxRollback(txid uint16) error {
}
func (g genListener) PreQuery(ctx context.Context, txID *uint16, sql *string, params *PP) error {
if g.preQuery == nil {
if g.preQuery != nil {
return g.preQuery(ctx, txID, sql, params)
} else {
return nil
@ -74,7 +74,7 @@ func (g genListener) PreQuery(ctx context.Context, txID *uint16, sql *string, pa
}
func (g genListener) PreExec(ctx context.Context, txID *uint16, sql *string, params *PP) error {
if g.preExec == nil {
if g.preExec != nil {
return g.preExec(ctx, txID, sql, params)
} else {
return nil