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

Fix for MDEV-8206, as per Jira comments of 2015-11-16 and 2015-11-30 #153

Closed
wants to merge 2 commits into from

Conversation

pastcompute
Copy link
Contributor

No description provided.

@svoj
Copy link

svoj commented Jan 28, 2016

Hi Andrew,

Thanks for your contribution. JIRA task link just for the record: https://mariadb.atlassian.net/browse/MDEV-8206

This task was added to 10.0.24 backlog, which is planned to be handled between 2016-02-10 and 2016-02-17.

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,
Sergey

@pastcompute
Copy link
Contributor Author

Hi Sergey,

would I have done something like this already? (I have had previous work
accepted into MariaDB) or is this a new procedure?

Note, at present, oqgraph is GPL2 ...

cheers,
Andrew

On 2016-01-29 01:24, Sergey wrote:

Hi Andrew,

Thanks for your contribution. JIRA task link just for the record:
https://mariadb.atlassian.net/browse/MDEV-8206 [1]

This task was added to 10.0.24 backlog, which is planned to be handled
between 2016-02-10 and 2016-02-17.

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/ [2]

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,
Sergey

Reply to this email directly or view it on GitHub [3].

Links:

[1] https://mariadb.atlassian.net/browse/MDEV-8206
[2] https://mariadb.com/kb/en/mariadb/mca/
[3] #153 (comment)

--Andrew

Twitter: @andymc73
http://blog.oldcomputerjunk.net

@svoj
Copy link

svoj commented Jan 29, 2016

Hi Andrew,

you're right. As soon as you didn't change anything but the engine (and you're the owner of the engine) you don't need to clarify the license.

Thanks,
Sergey

@@ -1099,6 +1099,10 @@ int ha_oqgraph::info(uint flag)

int ha_oqgraph::extra(enum ha_extra_function operation)
{
if (graph->get_thd() != current_thd) {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd suggest to use ha_thd() instead of current_thd here as it normally returns table->in_use, which is cheaper than current_thd.

The trace Elena provided is generated by debug build. In release build tc_acquire_table() won't call this particular extra(HA_EXTRA_IS_ATTACHED_CHILDREN). The question is what if we call another handler method before calling any extra() in release build? Though I didn't check if that's the case.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @svoj thanks for the suggestion, TBH I never quite got a handle on all of the interfaces when I ported this code from mariadb5 and had to muddle through
I wont be able to push this until next week though I'm away atm

pastcompute added a commit to pastcompute/server that referenced this pull request Apr 9, 2016
@pastcompute
Copy link
Contributor Author

@svoj addresses previous comment re current_thd

@vuvova
Copy link
Member

vuvova commented Apr 21, 2016

Merged. Will push shortly

@vuvova vuvova closed this Apr 21, 2016
vuvova pushed a commit that referenced this pull request Apr 21, 2016
vuvova pushed a commit that referenced this pull request Apr 24, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants