1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-12-18 13:54:11 +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,20 @@
#include "PingTask.h"
namespace storagemanager
{
PingTask::PingTask(int sock, uint len) : PosixTask(sock, len)
{
}
PingTask::~PingTask()
{
}
void PingTask::run()
{
// not much to check on for Milestone 1
uint32_t buf[3] = { SM_MSG_START, 4, 0 }; // generic success response
write((uint8_t *) buf, 12);
}