summaryrefslogtreecommitdiff
path: root/lib/mariadb_repl.h
blob: c57a810098d2590147a0cc9b64553c1915e791b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef MYGRATE_MARIADB_REPL_H
#define MYGRATE_MARIADB_REPL_H

// This file exists because mariadb_rpl.h alone fails as it's missing dependencies

#include <cstddef>
#include <mysql.h>

#include <mariadb_rpl.h>

#include <string_view>

inline std::string_view
operator*(const MARIADB_STRING & mbstr)
{
	return {mbstr.str, mbstr.length};
}

#endif