1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-12-20 01:42:27 +03:00

Finished first cut of CRP & PosixTasks. No way it builds yet.

This commit is contained in:
Patrick LeBlanc
2019-01-29 09:52:14 -06:00
parent b38c92738c
commit 8d926202ac
13 changed files with 283 additions and 6 deletions

View File

@@ -0,0 +1,30 @@
#ifndef TRUNCATETASK_H_
#define TRUNCATETASK_H_
#include "PosixTask.h"
namespace storagemanager
{
class TruncateTask : public PosixTask
{
public:
TruncateTask(int sock, uint length);
virtual ~TruncateTask();
void run();
private:
TruncateTask();
struct cmd_overlay {
off64_t newSize;
uint flen;
char filename[];
};
};
}
#endif