File tree Expand file tree Collapse file tree 1 file changed +13
-15
lines changed Expand file tree Collapse file tree 1 file changed +13
-15
lines changed Original file line number Diff line number Diff line change @@ -1124,6 +1124,19 @@ void cleanup_items(Item *item)
1124
1124
DBUG_VOID_RETURN;
1125
1125
}
1126
1126
1127
+ #ifdef WITH_WSREP
1128
+ static bool wsrep_tables_accessible_when_detached (const TABLE_LIST *tables)
1129
+ {
1130
+ for (const TABLE_LIST *table= tables; table; table= table->next_global )
1131
+ {
1132
+ LEX_CSTRING db= table->db , tn= table->table_name ;
1133
+ if (get_table_category (&db, &tn) < TABLE_CATEGORY_INFORMATION)
1134
+ return false ;
1135
+ }
1136
+ return true ;
1137
+ }
1138
+ #endif /* WITH_WSREP */
1139
+ #ifndef EMBEDDED_LIBRARY
1127
1140
static enum enum_server_command fetch_command (THD *thd, char *packet)
1128
1141
{
1129
1142
enum enum_server_command
@@ -1140,21 +1153,6 @@ static enum enum_server_command fetch_command(THD *thd, char *packet)
1140
1153
DBUG_RETURN (command);
1141
1154
}
1142
1155
1143
-
1144
- #ifdef WITH_WSREP
1145
- static bool wsrep_tables_accessible_when_detached (const TABLE_LIST *tables)
1146
- {
1147
- for (const TABLE_LIST *table= tables; table; table= table->next_global )
1148
- {
1149
- LEX_CSTRING db= table->db , tn= table->table_name ;
1150
- if (get_table_category (&db, &tn) < TABLE_CATEGORY_INFORMATION)
1151
- return false ;
1152
- }
1153
- return true ;
1154
- }
1155
- #endif /* WITH_WSREP */
1156
- #ifndef EMBEDDED_LIBRARY
1157
-
1158
1156
/* *
1159
1157
Read one command from connection and execute it (query or simple command).
1160
1158
This function is called in loop from thread function.
You can’t perform that action at this time.
0 commit comments