FS-11727: [core] Add SWITCH_DATABASE_FLAG_ROW_SIZE_LIMIT for databases unable to create wide tables.

This commit is contained in:
Andrey Volk
2019-03-24 12:13:26 +04:00
parent 07e0d4f90c
commit 7fc9eafa74
4 changed files with 71 additions and 1 deletions
+2
View File
@@ -619,6 +619,8 @@ struct switch_directory_handle {
struct switch_database_interface {
/*! the name of the interface */
const char *interface_name;
/*! flags indicating database specifics, see switch_database_flag_t */
uint32_t flags;
switch_status_t(*handle_new)(char *dsn, switch_database_interface_handle_t **dih);
switch_status_t(*handle_destroy)(switch_database_interface_handle_t **dih);
switch_status_t(*flush)(switch_database_interface_handle_t *dih);