You've already forked mariadb-columnstore-engine
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user