1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-04 04:42:30 +03:00

Wrote a component test, which has a stand-in server thread

in place of an actual StorageManager.  The server thread
returns the same error over and over again.

Used that test to debug some basic comm stuff & find
errors in error handling.
This commit is contained in:
Patrick LeBlanc
2019-01-24 16:52:26 -06:00
parent f063f78242
commit acb464618c
7 changed files with 256 additions and 31 deletions

View File

@ -90,7 +90,7 @@ IDBDataFile* SMFileFactory::open(const char *filename, const char *mode, unsigne
SMComm *comm = SMComm::get();
struct stat _stat;
int err = comm->open(filename, posix_flags, &_stat);
if (!err)
if (err)
return NULL;
SMDataFile *ret = new SMDataFile(filename, posix_flags, _stat);