Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
72 commits
Select commit Hold shift + click to select a range
0fa3ed2
First pass at refactoring. Many memory leaks present
juliannguyen4 Jan 9, 2026
b9d6ecd
fix
juliannguyen4 Jan 9, 2026
5dab352
fix
juliannguyen4 Jan 9, 2026
8b524a3
fix
juliannguyen4 Jan 10, 2026
e666b80
list_sort doesn't take in a list_order arg
juliannguyen4 Jan 10, 2026
2e2b84f
fix index param related errors
juliannguyen4 Jan 10, 2026
d6d5d01
Add missing breaks
juliannguyen4 Jan 10, 2026
3250d01
Fix some operations not receiving the return type in python
juliannguyen4 Jan 10, 2026
c2c56f4
fix.
juliannguyen4 Jan 12, 2026
8b9fc85
fix
juliannguyen4 Jan 12, 2026
fd97333
Fix
juliannguyen4 Jan 12, 2026
2155493
Move switch cases in ascending order so there is a greater chance the…
juliannguyen4 Jan 12, 2026
3e6ebb1
fix...
juliannguyen4 Jan 12, 2026
43e959f
fix
juliannguyen4 Jan 12, 2026
80797cb
fix
juliannguyen4 Jan 12, 2026
d075896
Revert "fix"
juliannguyen4 Jan 12, 2026
ca3a433
fix
juliannguyen4 Jan 12, 2026
935373b
Fix
juliannguyen4 Jan 12, 2026
799f8eb
fix
juliannguyen4 Jan 12, 2026
efe8f4a
fix
juliannguyen4 Jan 12, 2026
c61d4a4
Create a variable to get the results of the ternary operation. This m…
juliannguyen4 Jan 12, 2026
114c568
list_append and list_insert take in a different key for the list of v…
juliannguyen4 Jan 12, 2026
77531b5
fix
juliannguyen4 Jan 12, 2026
7135611
Also refactor list_policy code to reduce number of times ternary oper…
juliannguyen4 Jan 12, 2026
23b4821
fix...
juliannguyen4 Jan 12, 2026
0cf272f
fix
juliannguyen4 Jan 12, 2026
86a21f5
Fix mem leaks
juliannguyen4 Jan 12, 2026
982816e
Fix
juliannguyen4 Jan 12, 2026
ed26bbd
as_val shouldn't be destroyed since C client already takes ownership …
juliannguyen4 Jan 12, 2026
a1ed9b7
fix
juliannguyen4 Jan 12, 2026
f372b80
Curly brackets only needed after case if local variable is initialized
juliannguyen4 Jan 12, 2026
a339e89
use X-macro to map operation codes to operation names
juliannguyen4 Jan 12, 2026
23f5b55
Define global variable in C source file instead of header to avoid du…
juliannguyen4 Jan 12, 2026
6f34f7c
Fix memory error
juliannguyen4 Jan 13, 2026
940a704
move heap allocations further down the function for performance
juliannguyen4 Jan 13, 2026
4207bf3
Fix bug where get_cdt_ctx calls a C client API even though the conver…
juliannguyen4 Jan 13, 2026
18e9a3e
get_cdt_ctx must set status local var or it will be AEROSPIKE_OK
juliannguyen4 Jan 13, 2026
4f41534
Clear up why we have this flag instead of using succeed flag
juliannguyen4 Jan 13, 2026
5e73947
Add test case for list_remove_by_index_range receiving count = None
juliannguyen4 Jan 13, 2026
22094f1
Revert "Add test case for list_remove_by_index_range receiving count …
juliannguyen4 Jan 13, 2026
f257041
Those stack vars belong to specific cases so they should be in their …
juliannguyen4 Jan 13, 2026
8478474
Merge remote-tracking branch 'origin/dev' into CLIENT-4055-refactor-c…
juliannguyen4 Jan 16, 2026
21c27ed
Merge remote-tracking branch 'origin/dev' into CLIENT-4055-refactor-c…
juliannguyen4 Jan 29, 2026
9e5f6d1
Merge remote-tracking branch 'origin/dev' into CLIENT-4055-refactor-c…
juliannguyen4 Feb 25, 2026
401800c
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Feb 25, 2026
beb0b1c
Merge remote-tracking branch 'origin/dev' into CLIENT-4055-refactor-c…
juliannguyen4 Apr 23, 2026
c44b6a6
List ops aren't new anymore
juliannguyen4 Apr 23, 2026
c1a8785
Simplify code by using only 2 as_val variables instead of four. This …
juliannguyen4 Apr 23, 2026
534f1ad
Fix compiler error
juliannguyen4 Apr 23, 2026
a6e13fd
test is negative.
juliannguyen4 Apr 23, 2026
a8fd0cc
add more positive test cases to address missing code coverage
juliannguyen4 Apr 23, 2026
5381dd5
Merge remote-tracking branch 'origin/dev' into CLIENT-4697-refactor-o…
juliannguyen4 May 8, 2026
fe09cb4
Rm unused struct from last refactor PR
juliannguyen4 May 8, 2026
dc9e001
WIP
juliannguyen4 May 8, 2026
2f57d86
more wip
juliannguyen4 May 8, 2026
fe230ad
Merge remote-tracking branch 'origin/dev' into CLIENT-4697-refactor-o…
juliannguyen4 Jul 1, 2026
0dc23e7
Merge remote-tracking branch 'origin/dev' into CLIENT-4697-refactor-o…
juliannguyen4 Jul 2, 2026
6197d96
Merge remote-tracking branch 'origin/dev' into CLIENT-4697-refactor-o…
juliannguyen4 Jul 7, 2026
b676159
Refactor ctx code to be consistent with the other ops
juliannguyen4 Jul 7, 2026
0a94dd3
Rename list_and_string_operate.c to operate_helper.c. Incorporate cdt…
juliannguyen4 Jul 7, 2026
57e488b
Address bad implementation that would likely fail..
juliannguyen4 Jul 7, 2026
5e46ff5
Address compiler errors
juliannguyen4 Jul 7, 2026
3ef114c
Address compiler error - get_map_return_type shouldnt be static
juliannguyen4 Jul 7, 2026
b559236
Address compiler error
juliannguyen4 Jul 7, 2026
5729c0c
Address test regressions
juliannguyen4 Jul 7, 2026
04dde75
Address test regressions
juliannguyen4 Jul 7, 2026
6338b8e
Address test regressions
juliannguyen4 Jul 7, 2026
6dfacac
Bump aerospike-client-c from `785fa24` to `bce75a6`
dependabot[bot] Jul 7, 2026
3fd4d7e
Merge branch 'dependabot/submodules/dev/aerospike-client-c-bce75a6' i…
juliannguyen4 Jul 7, 2026
256d93e
Add new abort status ABORT_COMMIT_FAILED and txn state TXN_STATE_COMM…
juliannguyen4 Jul 8, 2026
639146f
Merge branch 'dependabot/submodules/dev/aerospike-client-c-bce75a6' i…
juliannguyen4 Jul 8, 2026
7fd6cfd
Merge remote-tracking branch 'origin/dev' into CLIENT-4697-refactor-o…
juliannguyen4 Jul 8, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions src/include/cdt_list_operations.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,10 @@
#include <aerospike/as_vector.h>
#include "types.h"

as_status add_list_or_string_op(AerospikeClient *self, as_error *err,
PyObject *op_dict, as_vector *unicodeStrVector,
as_static_pool *static_pool, as_operations *ops,
long operation_code, long *ret_type,
int serializer_type);
as_status as_operations_add_from_pyobject(AerospikeClient *self, as_error *err,
PyObject *op_dict,
as_vector *unicodeStrVector,
as_static_pool *static_pool,
as_operations *ops,
long operation_code, long *ret_type,
int serializer_type);
5 changes: 5 additions & 0 deletions src/include/cdt_operation_utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@
#include "types.h"

#define AS_PY_BIN_KEY "bin"
#define AS_PY_RETURN_INVERTED_KEY "inverted"
#define AS_PY_VAL_KEY "val"
#define AS_PY_MAP_KEY_KEY "key"
#define AS_PY_VALUES_KEY "value_list"
#define AS_PY_VAL_BEGIN_KEY "value_begin"
#define AS_PY_VAL_END_KEY "value_end"
Expand Down Expand Up @@ -81,3 +83,6 @@ as_status get_list_return_type(as_error *err, PyObject *op_dict,
as_status get_list_policy(as_error *err, PyObject *op_dict,
as_list_policy *policy, bool *found,
bool validate_keys);

as_status get_map_return_type(as_error *err, PyObject *op_dict,
int *return_type);
Loading
Loading