Skip to content

Commit

Permalink
Merge branch 'master' into smart_switch_db
Browse files Browse the repository at this point in the history
  • Loading branch information
Pterosaur authored Jan 12, 2024
2 parents 9a2424d + b563580 commit cd71777
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions pyext/swsscommon.i
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
#include "decoratortable.h"
#include "countertable.h"
#include "redispipeline.h"
#include "redisreply.h"
#include "redisselect.h"
#include "redistran.h"
#include "producerstatetable.h"
Expand Down Expand Up @@ -258,6 +259,7 @@ T castSelectableObj(swss::Selectable *temp)
%include "select.h"
%include "rediscommand.h"
%include "redispipeline.h"
%include "redisreply.h"
%include "redisselect.h"
%include "redistran.h"
%include "configdb.h"
Expand Down
4 changes: 2 additions & 2 deletions tests/redis_ut.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -851,8 +851,8 @@ TEST(Table, binary_data_get)
DBConnector db("TEST_DB", 0, true);
Table table(&db, "binary_data");

const char* bindata1 = "\x11\x00\x22\x33\x44";
const char* bindata2 = "\x11\x22\x33\x00\x44";
const char bindata1[] = "\x11\x00\x22\x33\x44";
const char bindata2[] = "\x11\x22\x33\x00\x44";
auto v1 = std::string(bindata1, sizeof(bindata1));
auto v2 = std::string(bindata2, sizeof(bindata2));
vector<FieldValueTuple> values_set = {
Expand Down

0 comments on commit cd71777

Please sign in to comment.