Skip to content
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

Take maxFieldSize only if length is larger. #121

Merged
merged 4 commits into from Feb 20, 2018

Conversation

arthurvl
Copy link
Contributor

@arthurvl arthurvl commented Feb 8, 2018

Enforcing maxFieldSize in BinaryRowProtocol and TextRowProtocol is quite obviously broken. This pull request fixes the brokenness.

arthurvl and others added 4 commits February 8, 2018 15:56
The logic for enforcing maxFieldSize was highly obviously wrong; one should take the smaller of maximum size and actual size, not the larger.
The logic for enforcing maxFieldSize was highly obviously wrong; one should take the smaller of maximum size and actual size, not the larger.
 Take maxFieldSize only if length is larger
@rusher
Copy link
Collaborator

rusher commented Feb 13, 2018

Hi @arthurvl,

Thanks for your contribution!

Similar to other open source projects, the MariaDB Foundation needs to have shared ownership of all code that is included in the MariaDB distribution. The easiest way to achieve this is by submitting your code under the BSD-new license.

The other alternative is to sign the code contribution agreement which can be found here: https://mariadb.com/kb/en/mariadb/mca/

Please indicate in a comment below that you are contributing your new code of the whole pull request, including one or several files that are either new files or modified ones, under the BSD-new license or that you have filled out the contribution agreement and sent it.

Thanks,
Diego

@arthurvl
Copy link
Contributor Author

Hi @rusher,

ofcourse, this is something I should have realized :).

All new and modified code in this pullrequest is hereby placed under the 3-clause BSD license, as may be found under https://opensource.org/licenses/BSD-3-Clause, and marked as Copyright 2018 Nedap B.V.

It is our definite intention that this code will become part of the MariaDB Connector/J source code and that MariaDB gains rights to distribute and maintain it.

With kind regards, Arthur van Leeuwen.

@rusher rusher merged commit 1dbc32a into mariadb-corporation:master Feb 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants