| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:27c87f6d-986a-9d16-28fd-61a4d50122ab |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E4BC:151641:E824C2:141DD6E:6AFA2F8A |
| html-safe-nonce | ee665c543b502d99737fa97f6569999ec841ba8ff67207ea2f42513ca1dfcbc7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNEJDOjE1MTY0MTpFODI0QzI6MTQxREQ2RTo2QUZBMkY4QSIsInZpc2l0b3JfaWQiOiIyNzg1NDAyNjUyNTA0NzY0Mjk4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 7a5328187518e5b0e6064b6419c5a70ef9346fc9cbe3e1a8779d88de1c59419f |
| hovercard-subject-tag | pull_request:3367772217 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/wp-cli/db-command/314/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/74cbba994543be04455f9b14af4afb7e986cfe03606067a7c979fb73734c1622/wp-cli/db-command/pull/314 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/74cbba994543be04455f9b14af4afb7e986cfe03606067a7c979fb73734c1622/wp-cli/db-command/pull/314 |
| og:image:alt | Fixes #313
Description
wp db query silently swallows SELECT results when the query contains the MySQL REPLACE() string function. The command outputs Success: Query succeeded. Rows affected: -1 inst... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | chubes4 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 612d3e6ffd693e7ea8d9fcf452370995872baef31d825b1fedef704cd3d24ac7 |
| turbo-cache-control | no-cache |
| go-import | github.com/wp-cli/db-command git https://github.com/wp-cli/db-command.git |
| octolytics-dimension-user_id | 1570774 |
| octolytics-dimension-user_login | wp-cli |
| octolytics-dimension-repository_id | 83558179 |
| octolytics-dimension-repository_nwo | wp-cli/db-command |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 83558179 |
| octolytics-dimension-repository_network_root_nwo | wp-cli/db-command |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 072e34035c13c31543fba9f025cbbbda4210dae4 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/wp-cli/db-command/pull/314#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fwp-cli%2Fdb-command%2Fpull%2F314 |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fwp-cli%2Fdb-command%2Fpull%2F314 |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=wp-cli%2Fdb-command |
| Reload | https://github.com/wp-cli/db-command/pull/314 |
| Reload | https://github.com/wp-cli/db-command/pull/314 |
| Reload | https://github.com/wp-cli/db-command/pull/314 |
| wp-cli | https://github.com/wp-cli |
| db-command | https://github.com/wp-cli/db-command |
| Code | https://github.com/wp-cli/db-command |
| Issues9 (9) | https://github.com/wp-cli/db-command/issues |
| Pull requests7 (7) | https://github.com/wp-cli/db-command/pulls |
| Actions | https://github.com/wp-cli/db-command/actions |
| Security and quality | https://github.com/wp-cli/db-command/security |
| Insights | https://github.com/wp-cli/db-command/pulse |
| https://github.com/wp-cli/db-command |
| swissspidy | https://github.com/swissspidy |
| wp-cli:main | https://github.com/wp-cli/db-command/tree/main |
| chubes4:fix/replace-function-false-positive | https://github.com/chubes4/db-command/tree/fix/replace-function-false-positive |
| Conversation | https://github.com/wp-cli/db-command/pull/314 |
| Commits1 (1) | https://github.com/wp-cli/db-command/pull/314/commits |
| Checks | https://github.com/wp-cli/db-command/pull/314/checks |
| Files changed | https://github.com/wp-cli/db-command/pull/314/files |
| Fix: REPLACE() string function misidentified as write query | https://github.com/wp-cli/db-command/pull/314#top |
| swissspidy | https://github.com/swissspidy |
| wp-cli:main | https://github.com/wp-cli/db-command/tree/main |
| chubes4:fix/replace-function-false-positive | https://github.com/chubes4/db-command/tree/fix/replace-function-false-positive |
|
| https://github.com/chubes4 |
| chubes4 | https://github.com/chubes4 |
| Mar 7, 2026 | https://github.com/wp-cli/db-command/pull/314#issue-4038807358 |
| Please reload this page | https://github.com/wp-cli/db-command/pull/314 |
| #313 | https://github.com/wp-cli/db-command/issues/313 |
| #277 | https://github.com/wp-cli/db-command/pull/277 |
| contribution guidelines | https://make.wordpress.org/cli/handbook/contributing/ |
| Please reload this page | https://github.com/wp-cli/db-command/pull/314 |
|
| https://github.com/chubes4 |
| Fix REPLACE() string function being misidentified as write query | https://github.com/wp-cli/db-command/pull/314/commits/f96946acfac6e21f1b6654e5fc26520da13026ff |
| f96946a | https://github.com/wp-cli/db-command/pull/314/commits/f96946acfac6e21f1b6654e5fc26520da13026ff |
| wp-cli#313 | https://github.com/wp-cli/db-command/issues/313 |
| https://github.com/chubes4 |
| chubes4 | https://github.com/chubes4 |
| code owner | https://github.com/wp-cli/db-command/blob/a959fd36ca469642743b7654e812b2cb87b9ab7e/.github/CODEOWNERS#L1 |
| March 7, 2026 16:09 | https://github.com/wp-cli/db-command/pull/314#event-23359789473 |
| https://github.com/apps/github-actions |
| github-actions | https://github.com/apps/github-actions |
| Mar 7, 2026 | https://github.com/wp-cli/db-command/pull/314#issuecomment-4016807646 |
| contributing guidelines | https://make.wordpress.org/cli/handbook/contributions/contributing/ |
| handbook | https://make.wordpress.org/cli/handbook/references/behat-steps/ |
| Please reload this page | https://github.com/wp-cli/db-command/pull/314 |
| https://github.com/apps/gemini-code-assist |
| gemini-code-assist | https://github.com/apps/gemini-code-assist |
| Mar 7, 2026 | https://github.com/wp-cli/db-command/pull/314#issuecomment-4016807716 |
| 1 | https://github.com/wp-cli/db-command/pull/314#user-content-fn-1-969ee5b85d07d5e56987730d17a3f867 |
| documentation page | https://developers.google.com/gemini-code-assist/docs/review-github-code |
| @gemini-code-assist | https://github.com/gemini-code-assist |
| here | https://developers.google.com/gemini-code-assist/docs/customize-gemini-behavior-github |
| @gemini-code-assist | https://github.com/gemini-code-assist |
| here | https://google.qualtrics.com/jfe/form/SV_2cyuGuTWsEw84yG |
| Gemini Code Assist IDE Extension | https://cloud.google.com/products/gemini/code-assist |
| Privacy Notices | https://policies.google.com/privacy |
| Generative AI Prohibited Use Policy | https://policies.google.com/terms/generative-ai/use-policy |
| Terms of Service | https://policies.google.com/terms |
| here | https://developers.google.com/gemini-code-assist/docs/customize-gemini-behavior-github |
| use code with caution | https://support.google.com/legal/answer/13505487 |
| ↩ | https://github.com/wp-cli/db-command/pull/314#user-content-fnref-1-969ee5b85d07d5e56987730d17a3f867 |
| Please reload this page | https://github.com/wp-cli/db-command/pull/314 |
| https://github.com/apps/github-actions |
| github-actions | https://github.com/apps/github-actions |
|
command:db-query
| https://github.com/wp-cli/db-command/issues?q=state%3Aopen%20label%3Acommand%3Adb-query |
|
scope:testing
| https://github.com/wp-cli/db-command/issues?q=state%3Aopen%20label%3Ascope%3Atesting |
| Mar 7, 2026 | https://github.com/wp-cli/db-command/pull/314#event-23359792146 |
| https://github.com/apps/gemini-code-assist |
| gemini-code-assist | https://github.com/apps/gemini-code-assist |
|
Mar 7, 2026
| https://github.com/wp-cli/db-command/pull/314#pullrequestreview-3909027392 |
|
View reviewed changes
| https://github.com/wp-cli/db-command/pull/314/files/f96946acfac6e21f1b6654e5fc26520da13026ff |
| gemini-code-assist | https://github.com/apps/gemini-code-assist |
| https://github.com/wp-cli/db-command/pull/314#pullrequestreview-3909027392 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/wp-cli/db-command/pull/314 |
| src/DB_Command.php | https://github.com/wp-cli/db-command/pull/314/files/f96946acfac6e21f1b6654e5fc26520da13026ff#diff-05204d21545cbb6f6cd7e6889b62ff8d88e4feca85a967189532296cf910f3c0 |
| gemini-code-assist | https://github.com/apps/gemini-code-assist |
| Mar 7, 2026 | https://github.com/wp-cli/db-command/pull/314#discussion_r2899976282 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| https://camo.githubusercontent.com/508ba0af8fcc5b69c2f7fd05896fc39957428ba34e1b99c6508db43cf217da8d/68747470733a2f2f7777772e677374617469632e636f6d2f636f64657265766965776167656e742f6d656469756d2d7072696f726974792e737667 |
| Please reload this page | https://github.com/wp-cli/db-command/pull/314 |
| https://github.com/swissspidy |
| swissspidy | https://github.com/swissspidy |
|
Mar 8, 2026
| https://github.com/wp-cli/db-command/pull/314#pullrequestreview-3912067878 |
|
View reviewed changes
| https://github.com/wp-cli/db-command/pull/314/files/f96946acfac6e21f1b6654e5fc26520da13026ff |
| swissspidy | https://github.com/swissspidy |
| https://github.com/wp-cli/db-command/pull/314#pullrequestreview-3912067878 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/wp-cli/db-command/pull/314 |
| https://github.com/swissspidy |
| swissspidy | https://github.com/swissspidy |
| 2.1.5 | https://github.com/wp-cli/db-command/milestone/48 |
| Mar 8, 2026 | https://github.com/wp-cli/db-command/pull/314#event-23377418180 |
| https://github.com/swissspidy |
| swissspidy | https://github.com/swissspidy |
| 768a128 | https://github.com/wp-cli/db-command/commit/768a128641e722613a72527203eb6a8d82448485 |
| Mar 8, 2026 | https://github.com/wp-cli/db-command/pull/314#event-23377418885 |
| Please reload this page | https://github.com/wp-cli/db-command/pull/314 |
| https://github.co/hiddenchars |
| https://github.com/wp-cli/db-command/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fwp-cli%2Fdb-command%2Fpull%2F314 |
|
| https://github.com/swissspidy |
|
swissspidy
| https://github.com/swissspidy |
|
| https://github.com/wp-cli/db-command/pull/314/files/f96946acfac6e21f1b6654e5fc26520da13026ff |
|
| https://github.com/apps/gemini-code-assist |
|
gemini-code-assist[bot]
| https://github.com/apps/gemini-code-assist |
|
| https://github.com/wp-cli/db-command/pull/314/files/f96946acfac6e21f1b6654e5fc26520da13026ff |
| Please reload this page | https://github.com/wp-cli/db-command/pull/314 |
|
command:db-query
| https://github.com/wp-cli/db-command/issues?q=state%3Aopen%20label%3Acommand%3Adb-query |
|
scope:testing
| https://github.com/wp-cli/db-command/issues?q=state%3Aopen%20label%3Ascope%3Atesting |
|
2.1.5
| https://github.com/wp-cli/db-command/milestone/48 |
|
wp db query misidentifies MySQL REPLACE() string function as REPLACE INTO write statement
| https://github.com/wp-cli/db-command/issues/313 |
| Please reload this page | https://github.com/wp-cli/db-command/pull/314 |
|
| https://github.com/chubes4 |
|
| https://github.com/swissspidy |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |