return commit hash for dolt_merge() when --no-ff is not specified (#6281)

This commit is contained in:
James Cor
2023-07-10 02:12:01 -07:00
committed by GitHub
parent 106799fe00
commit ea9839f524
7 changed files with 220 additions and 198 deletions
@@ -47,7 +47,7 @@ def main():
results = cursor.fetchall()
print(exp_results)
print(results)
if (results != exp_results) and ("dolt_commit" not in query):
if (results != exp_results) and ("dolt_commit" not in query) and ("dolt_merge" not in query):
print("Query:")
print(query)
print("Expected:")
@@ -37,7 +37,7 @@ def main():
with connection.cursor() as cursor:
cursor.execute(query)
results = cursor.fetchall()
if (results != exp_results) and ("dolt_commit" not in query):
if (results != exp_results) and ("dolt_commit" not in query) and ("dolt_merge" not in query):
print("Query:")
print(query)
print("Expected:")
@@ -47,7 +47,7 @@ def main():
try:
results = result_proxy.fetchall()
if (results != exp_results) and ("dolt_commit" not in query):
if (results != exp_results) and ("dolt_commit" not in query) and ("dolt_merge" not in query):
print("Query:")
print(query)
print("Expected:")