You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-12-13 23:02:14 +03:00
Made IOCoordinator a singleton vs a global.
This commit is contained in:
@@ -6,7 +6,6 @@
|
||||
#include "TruncateTask.h"
|
||||
#include "ListDirectoryTask.h"
|
||||
#include "PingTask.h"
|
||||
#include "IOCoordinator.h"
|
||||
#include "messageFormat.h"
|
||||
#include <iostream>
|
||||
#include <stdlib.h>
|
||||
@@ -26,8 +25,6 @@
|
||||
using namespace storagemanager;
|
||||
using namespace std;
|
||||
|
||||
IOCoordinator *ioc;
|
||||
|
||||
struct scoped_closer {
|
||||
scoped_closer(int f) : fd(f) { }
|
||||
~scoped_closer() {
|
||||
@@ -403,7 +400,6 @@ bool pingtask()
|
||||
|
||||
int main()
|
||||
{
|
||||
ioc = new IOCoordinator();
|
||||
cout << "connecting" << endl;
|
||||
makeConnection();
|
||||
cout << "connected" << endl;
|
||||
|
||||
Reference in New Issue
Block a user