Move AvroSession initialization inside the class
The AvroSession now has the AvroSession::create method for creation new sessions. The destructor handles the freeing of all allocated resources.
This commit is contained in:
@ -97,7 +97,7 @@ void avro_index_file(Avro *router, const char* filename)
|
||||
return;
|
||||
}
|
||||
|
||||
gtid_pos_t prev_gtid = {0, 0, 0, 0, 0};
|
||||
gtid_pos_t prev_gtid;
|
||||
|
||||
if (sqlite3_exec(router->sqlite_handle, "BEGIN", NULL, NULL, &errmsg) != SQLITE_OK)
|
||||
{
|
||||
|
Reference in New Issue
Block a user