Skip to content

Fix delimiter parsing #28

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

Merged
merged 1 commit into from
Mar 3, 2025
Merged

Conversation

nvierge-addactis
Copy link
Contributor

@nvierge-addactis nvierge-addactis commented Dec 18, 2024

Checklist

  • I have read the Contributing Guide
  • I have checked to ensure this does not introduce an unintended breaking changes
  • I have considered appropriate testing for my change

Description

SQL scripts are not correctly parsed into commands when there are delimiters.
Scripts generated by EF Core do not work correctly.

IndexOf return a position that is already relative to the entire string.

Close #29

@nvierge-addactis nvierge-addactis mentioned this pull request Dec 18, 2024
@nvierge-addactis
Copy link
Contributor Author

@droyad, can you please review this PR, i cannot use the last prerelease with scripts generated by efcore.

@nvierge-addactis
Copy link
Contributor Author

Hello,
In my opinion, the version 6.0.0-beta.44 is unusable without a correction to the problem mentioned. Would it be possible for a maintainer to take a look at this PR ?

@droyad droyad self-assigned this Jan 28, 2025
@droyad droyad added this to the 6.0.0 milestone Jan 28, 2025
@droyad droyad merged commit 1619805 into DbUp:release/6.0.0 Mar 3, 2025
1 check passed
droyad added a commit that referenced this pull request Mar 3, 2025
* Add NpgsqlDataSource support to PostgresqlConnectionManager

* Used new GHA workflows

* Updated to dbup-core 6.0 beta, targeted netstandard2 and update Npgsql reference

* Bump to the next beta of dbup-core

* Merge fix

* Removed stray #If

* fix: #680 PostgreSQL statements split implemented (#19)

* fix: #680 PostgreSQL statements split implemented



Co-authored-by: shokurov <[email protected]>

* Updated approval file

---------

Co-authored-by: shokurov <[email protected]>
Co-authored-by: Robert Wagner <[email protected]>

* Update of libs

* File scoped namespaces and primary ctors

* Target `net8` so we can use the latest version of Npgsql (#24)

* Target net8 so we can use the latest version of Npgsql

* Used new APIs

* Added Npgsql licence information (#25)

* fix(#26): avoid NullReferenceException when creating database (#27)

* fix(#26): avoid NullReferenceException when creating database

* Updated approval file

---------

Co-authored-by: Robert Wagner <[email protected]>

* fix: fix delimiter parsing (#28)

* Lowered Connection string printing to debug, resolves #30

---------

Co-authored-by: Sébastien Crocquesel <[email protected]>
Co-authored-by: Campbell Harding-Deason <[email protected]>
Co-authored-by: shokurov <[email protected]>
Co-authored-by: nvierge-addactis <[email protected]>
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