Compare commits

..

1 Commits

Author SHA1 Message Date
Yaniv Kaul
1dc35402ae Fix for Variable defined multiple times
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-12-14 18:09:02 +02:00
2 changed files with 2 additions and 16 deletions

View File

@@ -547,20 +547,6 @@ def testDeleteWithNonoverlappingRange(cql, test_keyspace):
# this query does not overlap the tombstone range above and caused the rows to be resurrected
assertEmpty(execute(cql, table, "SELECT * FROM %s WHERE a=1 and b <= 2"))
def testDeleteWithIntermediateRangeAndOneClusteringColumn(cql, test_keyspace):
with create_table(cql, test_keyspace, "(a int, b int, c text, primary key (a, b))") as table:
execute(cql, table, "INSERT INTO %s (a, b, c) VALUES(1, 1, '1')")
execute(cql, table, "INSERT INTO %s (a, b, c) VALUES(1, 3, '3')")
execute(cql, table, "DELETE FROM %s where a=1 and b >= 2 and b <= 3")
execute(cql, table, "INSERT INTO %s (a, b, c) VALUES(1, 2, '2')")
flush(cql, table)
execute(cql, table, "DELETE FROM %s where a=1 and b >= 2 and b <= 3")
flush(cql, table)
assertRows(execute(cql, table, "SELECT * FROM %s WHERE a = ?", 1),
row(1, 1, "1"))
@pytest.mark.parametrize("forceFlush", [False, True])
def testDeleteWithIntermediateRangeAndOneClusteringColumn(cql, test_keyspace, forceFlush):
with create_table(cql, test_keyspace, "(partitionKey int, clustering int, value int, primary key (partitionKey, clustering))") as table:

View File

@@ -123,7 +123,7 @@ _get_distribution_components() {
continue
;;
esac
echo "$target"
echo $target
done
}
@@ -164,7 +164,7 @@ if [[ "${CLANG_BUILD}" = "INSTALL" ]]; then
echo "[clang-stage3] build the compiler applied CSPGO profile"
cd "${CLANG_BUILD_DIR}"
llvm-profdata merge build/profiles/csir-*.profraw -output=csir.prof
llvm-profdata merge build/csprofiles/default_*.profraw -output=csir.prof
llvm-profdata merge ir.prof csir.prof -output=combined.prof
rm -rf build
# linker flags are needed for BOLT