You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
log.Warningf("error getting rows affected from DML event query: %s. i'm going to assume that the DML affected a single row, but this may result in inaccurate statistics", err)
1242
-
rowsAffected=1
1243
-
}
1244
-
// each DML is either a single insert (delta +1), update (delta +0) or delete (delta -1).
1245
-
// multiplying by the rows actually affected (either 0 or 1) will give an accurate row delta for this DML event
1246
-
totalDelta+=buildResult.rowsDelta*rowsAffected
1235
+
multiArgs=append(multiArgs, buildResult.args...)
1236
+
multiQueryBuilder.WriteString(buildResult.query)
1237
+
multiQueryBuilder.WriteString(";\n")
1247
1238
}
1248
1239
}
1240
+
// TODO: get rows affected from each query in multi statement
1241
+
log.Warningf("error getting rows affected from DML event query: %s. i'm going to assume that the DML affected a single row, but this may result in inaccurate statistics", err)
// log.Warningf("error getting rows affected from DML event query: %s. i'm going to assume that the DML affected a single row, but this may result in inaccurate statistics", err)
1250
+
// rowsAffected = 1
1251
+
// }
1252
+
// each DML is either a single insert (delta +1), update (delta +0) or delete (delta -1).
1253
+
// multiplying by the rows actually affected (either 0 or 1) will give an accurate row delta for this DML event
0 commit comments