Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
postgresql-mysql-fdw
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
PostgreSQL
postgresql-mysql-fdw
Commits
52a14a59
Commit
52a14a59
authored
2 years ago
by
Christoph Berg
📡
Browse files
Options
Downloads
Patches
Plain Diff
Adjust tests for changed mysql error messages.
(Closes: #1033836)
parent
3be0d5ea
No related branches found
No related tags found
No related merge requests found
Pipeline
#528230
passed
2 years ago
Stage: provisioning
Stage: build
Stage: test
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
debian/changelog
+6
-0
6 additions, 0 deletions
debian/changelog
debian/patches/mysql-error-text
+22
-0
22 additions, 0 deletions
debian/patches/mysql-error-text
with
28 additions
and
0 deletions
debian/changelog
+
6
−
0
View file @
52a14a59
postgresql-mysql-fdw (2.8.0-4) unstable; urgency=medium
* Adjust tests for changed mysql error messages. (Closes: #1033836)
-- Christoph Berg <myon@debian.org> Mon, 15 May 2023 15:11:37 +0200
postgresql-mysql-fdw (2.8.0-3) unstable; urgency=medium
* Upload for PostgreSQL 15.
...
...
This diff is collapsed.
Click to expand it.
debian/patches/mysql-error-text
+
22
−
0
View file @
52a14a59
...
...
@@ -20,3 +20,25 @@
RAISE NOTICE 'failed to connect to MySQL: Unknown MySQL server host ''localhos''';
ELSE
RAISE NOTICE '%', SQLERRM;
--- a/expected/dml.out
+++ b/expected/dml.out
@@ -83,7 +83,7 @@
$$
BEGIN
INSERT INTO fdw126_ft2 VALUES(2, 'Two');
EXCEPTION WHEN others THEN
- IF SQLERRM LIKE '%SELECT command denied to user ''%''@''%'' for table ''student''' THEN
+ IF SQLERRM LIKE '%SELECT command denied to user ''%''@''%'' for table %student%' THEN
RAISE NOTICE E'failed to execute the MySQL query: \nUnknown database ''public''';
ELSE
RAISE NOTICE '%', SQLERRM;
--- a/sql/dml.sql
+++ b/sql/dml.sql
@@ -70,7 +70,7 @@
$$
BEGIN
INSERT INTO fdw126_ft2 VALUES(2, 'Two');
EXCEPTION WHEN others THEN
- IF SQLERRM LIKE '%SELECT command denied to user ''%''@''%'' for table ''student''' THEN
+ IF SQLERRM LIKE '%SELECT command denied to user ''%''@''%'' for table %student%' THEN
RAISE NOTICE E'failed to execute the MySQL query: \nUnknown database ''public''';
ELSE
RAISE NOTICE '%', SQLERRM;
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment