[PR #80] [CLOSED] Fixes issues with database names needing backticks (`) #253

Closed
opened 2026-03-07 20:42:31 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/DBDiff/DBDiff/pull/80
Author: @IncubuzzCC
Created: 7/2/2018
Status: Closed

Base: masterHead: master


📝 Commits (1)

  • 4792fa4 Fixes issues with database names needing backticks (`)

📊 Changes

1 file changed (+6 additions, -6 deletions)

View changed files

📝 src/DB/Data/LocalTableData.php (+6 -6)

📄 Description

Quotes database names with backticks (`) to prevent "PHP Fatal error: Uncaught PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax;" for names containing characters like '-'.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/DBDiff/DBDiff/pull/80 **Author:** [@IncubuzzCC](https://github.com/IncubuzzCC) **Created:** 7/2/2018 **Status:** ❌ Closed **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (1) - [`4792fa4`](https://github.com/DBDiff/DBDiff/commit/4792fa409f305b4ce7d0321937667bfba7a642d1) Fixes issues with database names needing backticks (`) ### 📊 Changes **1 file changed** (+6 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `src/DB/Data/LocalTableData.php` (+6 -6) </details> ### 📄 Description Quotes database names with backticks (`) to prevent "PHP Fatal error: Uncaught PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax;" for names containing characters like '-'. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-07 20:42:31 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/DBDiff#253
No description provided.