Skip to content

fix(mssql): optimize formatError RegEx - #11725

Merged
sushantdhiman merged 1 commit into
sequelize:masterfrom
pellejacobs:master
Dec 12, 2019
Merged

fix(mssql): optimize formatError RegEx#11725
sushantdhiman merged 1 commit into
sequelize:masterfrom
pellejacobs:master

Conversation

@pellejacobs

@pellejacobs pellejacobs commented Dec 2, 2019

Copy link
Copy Markdown
Contributor

Pull Request check-list

Please make sure to review and check all of these items:

  • Does npm run test or npm run test-DIALECT pass with this change (including linting)?
  • Does the description below contain a link to an existing issue (Closes #[issue]) or a description of the issue you are solving?
  • Have you added new tests to prevent regressions?
  • Is a documentation update included (if this change modifies existing APIs, or introduces new ones)? N/A
  • Did you update the typescript typings accordingly (if applicable)? N/A
  • Did you follow the commit message conventions explained in CONTRIBUTING.md?

Description of change

Fixes #11695.

@codecov

codecov Bot commented Dec 2, 2019

Copy link
Copy Markdown

Codecov Report

Merging #11725 into master will increase coverage by 0.42%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #11725      +/-   ##
==========================================
+ Coverage   95.83%   96.26%   +0.42%     
==========================================
  Files          91       94       +3     
  Lines        8987     9190     +203     
==========================================
+ Hits         8613     8847     +234     
+ Misses        374      343      -31
Impacted Files Coverage Δ
lib/dialects/mssql/query.js 95.53% <100%> (ø) ⬆️
lib/dialects/mariadb/index.js 100% <0%> (ø)
lib/dialects/mariadb/connection-manager.js 100% <0%> (ø)
lib/dialects/mariadb/query.js 87.96% <0%> (ø)
lib/sequelize.js 95.93% <0%> (+0.62%) ⬆️
lib/dialects/postgres/connection-manager.js 95.77% <0%> (+1.4%) ⬆️
lib/query-interface.js 92.19% <0%> (+1.46%) ⬆️
lib/dialects/mariadb/data-types.js 100% <0%> (+49.01%) ⬆️
lib/dialects/mariadb/query-generator.js 100% <0%> (+85.71%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update beeff96...38cb1c2. Read the comment docs.

@sushantdhiman
sushantdhiman merged commit 816f20b into sequelize:master Dec 12, 2019
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.

Inefficient RegEx for formatError in mssql.

2 participants