Skip to content

Commit

Permalink
fix backslash escape for unicode escape sequence
Browse files Browse the repository at this point in the history
  • Loading branch information
isacikgoz committed Oct 17, 2024
1 parent 0cfc3e5 commit c17d707
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion queries/fixes/unicode/fix_channelmembers_notifyprops.sql
Original file line number Diff line number Diff line change
@@ -1 +1 @@
UPDATE ChannelMembers SET NotifyProps = REPLACE(NotifyProps, '\u0000', '') WHERE NotifyProps LIKE '%\u0000%';
UPDATE ChannelMembers SET NotifyProps = REPLACE(NotifyProps, '\\u0000', '') WHERE NotifyProps LIKE '%\u0000%';
2 changes: 1 addition & 1 deletion queries/fixes/unicode/fix_jobs_data.sql
Original file line number Diff line number Diff line change
@@ -1 +1 @@
UPDATE Jobs SET Data = REPLACE(Data, '\u0000', '') WHERE Data LIKE '%\u0000%';
UPDATE Jobs SET Data = REPLACE(Data, '\\u0000', '') WHERE Data LIKE '%\u0000%';
2 changes: 1 addition & 1 deletion queries/fixes/unicode/fix_linkmetadata_data.sql
Original file line number Diff line number Diff line change
@@ -1 +1 @@
UPDATE LinkMetadata SET Data = REPLACE(Data, '\u0000', '') WHERE Data LIKE '%\u0000%';
UPDATE LinkMetadata SET Data = REPLACE(Data, '\\u0000', '') WHERE Data LIKE '%\u0000%';
2 changes: 1 addition & 1 deletion queries/fixes/unicode/fix_posts.props.sql
Original file line number Diff line number Diff line change
@@ -1 +1 @@
UPDATE Posts SET Props = REPLACE(Props, '\u0000', '') WHERE Props LIKE '%\u0000%';
UPDATE Posts SET Props = REPLACE(Props, '\\u0000', '') WHERE Props LIKE '%\u0000%';
2 changes: 1 addition & 1 deletion queries/fixes/unicode/fix_recentsearches_query.sql
Original file line number Diff line number Diff line change
@@ -1 +1 @@
UPDATE RecentSearches SET Query = REPLACE(Query, '\u0000', '') WHERE Query LIKE '%\u0000%';
UPDATE RecentSearches SET Query = REPLACE(Query, '\\u0000', '') WHERE Query LIKE '%\u0000%';
2 changes: 1 addition & 1 deletion queries/fixes/unicode/fix_retentionidsfordeletion_ids.sql
Original file line number Diff line number Diff line change
@@ -1 +1 @@
UPDATE RetentionIdsForDeletion SET Ids = REPLACE(Ids, '\u0000', '') WHERE Ids LIKE '%\u0000%';
UPDATE RetentionIdsForDeletion SET Ids = REPLACE(Ids, '\\u0000', '') WHERE Ids LIKE '%\u0000%';
2 changes: 1 addition & 1 deletion queries/fixes/unicode/fix_sessions_props.sql
Original file line number Diff line number Diff line change
@@ -1 +1 @@
UPDATE Sessions SET Props = REPLACE(Props, '\u0000', '') WHERE Props LIKE '%\u0000%';
UPDATE Sessions SET Props = REPLACE(Props, '\\u0000', '') WHERE Props LIKE '%\u0000%';
2 changes: 1 addition & 1 deletion queries/fixes/unicode/fix_threads_participants.sql
Original file line number Diff line number Diff line change
@@ -1 +1 @@
UPDATE Threads SET Participants = REPLACE(Participants, '\u0000', '') WHERE Participants LIKE '%\u0000%';
UPDATE Threads SET Participants = REPLACE(Participants, '\\u0000', '') WHERE Participants LIKE '%\u0000%';
2 changes: 1 addition & 1 deletion queries/fixes/unicode/fix_users_notifyprops.sql
Original file line number Diff line number Diff line change
@@ -1 +1 @@
UPDATE Users SET NotifyProps = REPLACE(NotifyProps, '\u0000', '') WHERE NotifyProps LIKE '%\u0000%';
UPDATE Users SET NotifyProps = REPLACE(NotifyProps, '\\u0000', '') WHERE NotifyProps LIKE '%\u0000%';
2 changes: 1 addition & 1 deletion queries/fixes/unicode/fix_users_props.sql
Original file line number Diff line number Diff line change
@@ -1 +1 @@
UPDATE Users SET Props = REPLACE(Props, '\u0000', '') WHERE Props LIKE '%\u0000%';
UPDATE Users SET Props = REPLACE(Props, '\\u0000', '') WHERE Props LIKE '%\u0000%';
2 changes: 1 addition & 1 deletion queries/fixes/unicode/fix_users_timezone.sql
Original file line number Diff line number Diff line change
@@ -1 +1 @@
UPDATE Users SET Timezone = REPLACE(Timezone, '\u0000', '') WHERE Timezone LIKE '%\u0000%';
UPDATE Users SET Timezone = REPLACE(Timezone, '\\u0000', '') WHERE Timezone LIKE '%\u0000%';

0 comments on commit c17d707

Please sign in to comment.