We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c1513d3 commit e61577eCopy full SHA for e61577e
1 file changed
src/cloudsync.c
@@ -563,6 +563,7 @@ void cloudsync_set_auxdata (cloudsync_context *data, void *xdata) {
563
}
564
565
void cloudsync_set_schema (cloudsync_context *data, const char *schema) {
566
+ if (data->current_schema == schema) return;
567
if (data->current_schema) cloudsync_memory_free(data->current_schema);
568
data->current_schema = NULL;
569
if (schema) data->current_schema = cloudsync_string_dup_lowercase(schema);
0 commit comments