-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Conversation
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, |
Hi Sergey, would I have done something like this already? (I have had previous work Note, at present, oqgraph is GPL2 ... cheers, On 2016-01-29 01:24, Sergey wrote:
--Andrew Twitter: @andymc73 |
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, |
@@ -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) { |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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
@svoj addresses previous comment re current_thd |
Merged. Will push shortly |
No description provided.