refact
This commit is contained in:
parent
8cfcade69d
commit
b8304e818d
|
@ -22,6 +22,7 @@
|
||||||
#include "metaIdx.h"
|
#include "metaIdx.h"
|
||||||
#include "metaOptions.h"
|
#include "metaOptions.h"
|
||||||
#include "metaTbUid.h"
|
#include "metaTbUid.h"
|
||||||
|
#include "metaTbOptions.h"
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
|
|
||||||
int metaCreateTable(SMeta *pMeta, const STbOptions *pTbOptions) {
|
int metaCreateTable(SMeta *pMeta, const STbOptions *pTbOptions) {
|
||||||
// Validate the tbOptions
|
// Validate the tbOptions
|
||||||
if (metaValidateTbOptions(pTbOptions) < 0) {
|
if (metaValidateTbOptions(pMeta, pTbOptions) < 0) {
|
||||||
// TODO: handle error
|
// TODO: handle error
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue