Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix retrieval of get_post_table_characterset #231

Merged
merged 1 commit into from
Oct 28, 2022
Merged

Fix retrieval of get_post_table_characterset #231

merged 1 commit into from
Oct 28, 2022

Conversation

lipemat
Copy link
Contributor

@lipemat lipemat commented Oct 14, 2022

Query command run through assoc_args_to_str get double quotes truncated and fail to execute.

Using single quotes in the query prevent error.

Warning: Failed to get current character set of the posts table. Reason: ERROR at line 1: Unknown command '\_'

Error may be more prominent on windows.

Query command run through `assoc_args_to_str` get double quotes truncated and fail to execute. 

Using single quotes in the query prevent error.

`Warning: Failed to get current character set of the posts table. Reason: ERROR at line 1: Unknown command '\_'`

Error may be more prominent on windows.
Copy link
Member

@danielbachhuber danielbachhuber left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @lipemat !

Landing so we can let it soak and see if any issues come up: wp-cli/wp-cli#5521 (comment)

@danielbachhuber danielbachhuber merged commit 196f4d3 into wp-cli:master Oct 28, 2022
danielbachhuber pushed a commit that referenced this pull request Nov 18, 2022
Query command run through `assoc_args_to_str` get double quotes truncated and fail to execute. 

Using single quotes in the query prevent error.

`Warning: Failed to get current character set of the posts table. Reason: ERROR at line 1: Unknown command '\_'`

Error may be more prominent on windows.
@lipemat lipemat deleted the fix-get-posts-table-charset branch February 24, 2023 06:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants