Skip to content
This repository has been archived by the owner on Dec 8, 2021. It is now read-only.

refactor!: prepare for new field in SqlParams #1265

Merged
merged 1 commit into from
Feb 13, 2020

Conversation

devjgm
Copy link
Contributor

@devjgm devjgm commented Feb 13, 2020

We're going to be adding a new field to SqlParams fairly soon, so to
prevent an API break later, this PR adds a dummy field in the struct so
that we can take the API breakage now rather than later. The struct
field is named such that users should not use it by name, but its
existence should require that it gets default initialized.


This change is Reviewable

We're going to be adding a new field to SqlParams fairly soon, so to
prevent an API break later, this PR adds a dummy field in the struct so
that we can take the API breakage now rather than later. The struct
field is named such that users *should* not use it by name, but its
existence should require that it gets default initialized.
@devjgm devjgm requested a review from coryan February 13, 2020 18:24
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Feb 13, 2020
@codecov
Copy link

codecov bot commented Feb 13, 2020

Codecov Report

Merging #1265 into master will decrease coverage by 0.12%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1265      +/-   ##
==========================================
- Coverage   94.95%   94.82%   -0.13%     
==========================================
  Files         185      185              
  Lines       13814    13817       +3     
==========================================
- Hits        13117    13102      -15     
- Misses        697      715      +18
Impacted Files Coverage Δ
google/cloud/spanner/connection.h 100% <ø> (ø) ⬆️
google/cloud/spanner/client.cc 97.08% <100%> (-0.69%) ⬇️
google/cloud/spanner/query_partition.cc 96.15% <100%> (ø) ⬆️
...tegration_tests/instance_admin_integration_test.cc 86.36% <0%> (-9.1%) ⬇️
google/cloud/spanner/internal/polling_loop.h 91.89% <0%> (-2.71%) ⬇️
...on_tests/rpc_failure_threshold_integration_test.cc 85.55% <0%> (-2.23%) ⬇️
...ud/spanner/integration_tests/client_stress_test.cc 81.57% <0%> (-1.76%) ⬇️
google/cloud/spanner/internal/spanner_stub.cc 69.56% <0%> (-1.09%) ⬇️
google/cloud/spanner/samples/samples.cc 87.57% <0%> (-0.29%) ⬇️
... and 2 more

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 23b3570...094f0f9. Read the comment docs.

@devjgm devjgm merged commit 4b648a0 into googleapis:master Feb 13, 2020
@devjgm devjgm deleted the sql-params-dummy branch February 13, 2020 18:59
devjgm added a commit to devjgm/google-cloud-cpp that referenced this pull request May 7, 2020
…d-cpp-spanner#1265)

We're going to be adding a new field to SqlParams fairly soon, so to
prevent an API break later, this PR adds a dummy field in the struct so
that we can take the API breakage now rather than later. The struct
field is named such that users *should* not use it by name, but its
existence should require that it gets default initialized.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants