Skip to content

Commit db8b5de

Browse files
committed
modify put_container() for rowKeyAssigned and GSTimeSeriesProperties
1 parent 79f6df2 commit db8b5de

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/Store.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,10 @@ namespace griddb {
6767
rowKeyAssigned,
6868
columnOrderIgnorable
6969
};
70+
GSTimeSeriesProperties timeSeriesProp;
7071
if (rowExpirationTime && rowExpirationTimeUnit
7172
&& expirationDivisionCount) {
72-
GSTimeSeriesProperties timeSeriesProp = { rowExpirationTime,
73+
timeSeriesProp = { rowExpirationTime,
7374
rowExpirationTimeUnit,
7475
-1, //compressionWindowSize : unlimited
7576
0, //compressionWindowSizeUnit

src/gstype_php.i

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -517,3 +517,6 @@
517517
ZVAL_STRINGL(&o, (const char*)pValue$argnum.data, pValue$argnum.size);
518518
t_output_helper($result, &o);
519519
}
520+
521+
// Type check for GSBool type
522+
%php_typecheck2(GSBool, SWIG_TYPECHECK_BOOL, IS_TRUE, IS_FALSE)

0 commit comments

Comments
 (0)