Remove debug lines
This commit is contained in:
parent
11a39fe3b5
commit
489f34fed7
@ -124,7 +124,6 @@ func (s *queueEDUsStatements) DeleteQueueEDUs(
|
|||||||
jsonNIDs []int64,
|
jsonNIDs []int64,
|
||||||
) error {
|
) error {
|
||||||
deleteSQL := strings.Replace(deleteQueueEDUsSQL, "($2)", sqlutil.QueryVariadicOffset(len(jsonNIDs), 1), 1)
|
deleteSQL := strings.Replace(deleteQueueEDUsSQL, "($2)", sqlutil.QueryVariadicOffset(len(jsonNIDs), 1), 1)
|
||||||
fmt.Println(deleteSQL)
|
|
||||||
deleteStmt, err := txn.Prepare(deleteSQL)
|
deleteStmt, err := txn.Prepare(deleteSQL)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return fmt.Errorf("s.deleteQueueJSON s.db.Prepare: %w", err)
|
return fmt.Errorf("s.deleteQueueJSON s.db.Prepare: %w", err)
|
||||||
|
@ -139,7 +139,6 @@ func (s *queuePDUsStatements) DeleteQueuePDUs(
|
|||||||
jsonNIDs []int64,
|
jsonNIDs []int64,
|
||||||
) error {
|
) error {
|
||||||
deleteSQL := strings.Replace(deleteQueuePDUsSQL, "($2)", sqlutil.QueryVariadicOffset(len(jsonNIDs), 1), 1)
|
deleteSQL := strings.Replace(deleteQueuePDUsSQL, "($2)", sqlutil.QueryVariadicOffset(len(jsonNIDs), 1), 1)
|
||||||
fmt.Println(deleteSQL)
|
|
||||||
deleteStmt, err := txn.Prepare(deleteSQL)
|
deleteStmt, err := txn.Prepare(deleteSQL)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return fmt.Errorf("s.deleteQueueJSON s.db.Prepare: %w", err)
|
return fmt.Errorf("s.deleteQueueJSON s.db.Prepare: %w", err)
|
||||||
|
Loading…
Reference in New Issue
Block a user