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 You have an error in your SQL syntax on sql copy #1674

Merged
merged 1 commit into from
Sep 24, 2024

Conversation

erikn69
Copy link
Contributor

@erikn69 erikn69 commented Sep 20, 2024

Apparently when copying, an unsupported character is added, i'm getting:

SQL Error [1064] [42000]: (conn=3930395) 
You have an error in your SQL syntax;
check the manual that corresponds to your MariaDB server version for the right syntax to use near '​' at line 1

The character is ​ from ​

<span title="Copy to clipboard" class="phpdebugbar-widgets-copy-clipboard" style="cursor: pointer;">
    &ZeroWidthSpace;
</span>

Is there any reason why it can't be a simple blank space(&nbsp;)?

@erikn69 erikn69 changed the title Fix You have an error in your SQL syntax Fix You have an error in your SQL syntax on sql copy Sep 20, 2024
@barryvdh
Copy link
Owner

Why would that be copied in the first place?

@barryvdh
Copy link
Owner

Ah because it's in the content.

@barryvdh barryvdh merged commit 850be4e into barryvdh:master Sep 24, 2024
25 checks passed
@barryvdh
Copy link
Owner

I did this in php-debugbar, but there it's not part of the query span;
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants