Source
34
34
#define __zbx_DBexecute __wrap___zbx_DBexecute
35
35
#define DBexecute_multiple_query __wrap_DBexecute_multiple_query
36
36
#define DBbegin __wrap_DBbegin
37
37
#define DBcommit __wrap_DBcommit
38
38
#include "db.h"
39
39
#undef __zbx_DBexecute
40
40
#undef DBexecute_multiple_query
41
41
#undef DBbegin
42
42
#undef DBcommit
43
43
44
+
int __wrap_zbx_db_commit(void);
45
+
44
46
#define ZBX_MOCK_DB_RESULT_COLUMNS_MAX 128
45
47
46
48
typedef struct
47
49
{
48
50
char *data_source;
49
51
int num;
50
52
}
51
53
zbx_mockdb_query_t;
52
54
53
55
typedef struct