[td-225] update the page size
This commit is contained in:
parent
b1173807fa
commit
8b3ed9e50f
|
@ -29,7 +29,7 @@ extern "C" {
|
||||||
|
|
||||||
#define MAX_TMPFILE_PATH_LENGTH PATH_MAX
|
#define MAX_TMPFILE_PATH_LENGTH PATH_MAX
|
||||||
#define INITIAL_ALLOCATION_BUFFER_SIZE 64
|
#define INITIAL_ALLOCATION_BUFFER_SIZE 64
|
||||||
#define DEFAULT_PAGE_SIZE (4096L) // 16k larger than the SHistoInfo
|
#define DEFAULT_PAGE_SIZE (1024L) // 16k larger than the SHistoInfo
|
||||||
|
|
||||||
typedef enum EXT_BUFFER_FLUSH_MODEL {
|
typedef enum EXT_BUFFER_FLUSH_MODEL {
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -12,15 +12,14 @@
|
||||||
* You should have received a copy of the GNU Affero General Public License
|
* You should have received a copy of the GNU Affero General Public License
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
#include "qExtbuffer.h"
|
|
||||||
#include "os.h"
|
#include "os.h"
|
||||||
|
#include "qExtbuffer.h"
|
||||||
#include "queryLog.h"
|
#include "queryLog.h"
|
||||||
#include "taos.h"
|
#include "taos.h"
|
||||||
#include "taosdef.h"
|
#include "taosdef.h"
|
||||||
#include "taosmsg.h"
|
#include "taosmsg.h"
|
||||||
#include "tsqlfunction.h"
|
#include "tsqlfunction.h"
|
||||||
#include "tulog.h"
|
#include "tulog.h"
|
||||||
#include "tutil.h"
|
|
||||||
|
|
||||||
#define COLMODEL_GET_VAL(data, schema, allrow, rowId, colId) \
|
#define COLMODEL_GET_VAL(data, schema, allrow, rowId, colId) \
|
||||||
(data + (schema)->pFields[colId].offset * (allrow) + (rowId) * (schema)->pFields[colId].field.bytes)
|
(data + (schema)->pFields[colId].offset * (allrow) + (rowId) * (schema)->pFields[colId].field.bytes)
|
||||||
|
|
Loading…
Reference in New Issue