Re: [Maria-developers] Possible race condition or NULL pointer triggered by OQGraph

2014-06-02 Thread Andrew McDonnell
and the crash still happened in the same spot. So I think my next step at this point is valgrind... --A On 02/06/14 20:53, Sergei Golubchik wrote: > Hi, Andrew! > > On Jun 02, Andrew McDonnell wrote: >> Hi all >> >> (Cross-posted to oqgraph-developers, maria-developers)

[Maria-developers] Possible race condition or NULL pointer triggered by OQGraph

2014-06-02 Thread Andrew McDonnell
Hi all (Cross-posted to oqgraph-developers, maria-developers) I am trying to track down a segfault apparently triggered by concurrent execution of queries through OQGraph - for context, see: https://mariadb.atlassian.net/browse/MDEV-6282 I am however a bit confused as to what is going on, becau

Re: [Maria-developers] MariaDB 10.1 is now on github!

2014-05-26 Thread Andrew McDonnell
Awesome job! I note the last tag is mariadb-10.0.10; just wondering if say I fix a bug or make an improvement (in my case, in oqgraph) and make a pull request against this repo, what the procedure would be for backporting to 10.0.12 say? Would the process be as simple as generating a patch from t

[Maria-developers] Problems with Launchpad?

2014-04-17 Thread Andrew McDonnell
Hi, my mariab bzr branch on launchpad doesnt update the summary page properly, and hasn't done so for a while now, which means recent work I committed is not visible unless you drill right down into the branch change history (My related question on Launchpad Answers - https://answers.launchpad.ne

Re: [Maria-developers] Using MariaDB SQL for other storage engine

2014-02-24 Thread Andrew McDonnell
Hi Amith the O'Reilly book MySQL Internals has a chapter on developing storage engines, e.g. Chapter 7. The Storage Engine Interface. This book is geared to MySQL not MariaDB but the concepts are much the same. There is also https://dev.mysql.com/doc/internals/en/custom-engine.html, again specif

Re: [Maria-developers] Problems installing mariadb published debian packages when using tmpfs for /tmp

2014-02-16 Thread Andrew McDonnell
I managed to get mysqld to run in this context using strace. (Aside - took a bit of trickery using a secondary script, because although mysql_install_db lets you choose the program to run for mysqldb it is quoted and so you cant just use 'strace mysqld' as the exec) pwrite(7, "\0\0\0\0\0\0\0\0

Re: [Maria-developers] Problems installing mariadb published debian packages when using tmpfs for /tmp

2014-02-16 Thread Andrew McDonnell
Hi, I dont know enough about that issue to have a proper opinion; but in, my case at least, /var/lib/mysql is not on a tmpfs filesystem so I dont understand why the error is triggered. If Maria is creating other tmp files and failing, then should those filenames instead be reported on the error

[Maria-developers] Problems installing mariadb published debian packages when using tmpfs for /tmp

2014-02-16 Thread Andrew McDonnell
Hiya, I followed the instructions here: https://downloads.mariadb.org/mariadb/repositories/#mirror=aarnet_pty_ltd&distro=Debian&distro_release=wheezy&version=10.0 cluminating with: apt-get install mariadb-server mariadb-client -t wheezy and eventually after almost everything appears to ha

Re: [Maria-developers] Minor glitch when doing out of tree cmake build

2014-02-08 Thread Andrew McDonnell
Sorry, replied to wrong message O__o On 08/02/14 23:53, Andrew McDonnell wrote: > Hi Ian, > > as an aside, the use of numeric latches is deprecated, we retained it to > assist users migrating from OQGraph v2, because the intention is to implement > additional graph algorithms ov

Re: [Maria-developers] Updating OQGRAPH tables

2014-02-08 Thread Andrew McDonnell
time to do! Regardless, your query should still have worked as you expected... thanks, --Andrew On 08/02/14 23:37, Andrew McDonnell wrote: > Hello Ian > > I just tried to repeat what you found and I got the expected value for weight > (weight=4) in my output. > > Howeve

Re: [Maria-developers] Minor glitch when doing out of tree cmake build

2014-02-08 Thread Andrew McDonnell
time to do! Regardless, your query should still have worked as you expected... thanks, --Andrew On 08/02/14 22:31, Andrew McDonnell wrote: > Hi, > > I like to build MariaDB in a separate directory to keep the source tree clean. > > This works for me as follows: > > cd

Re: [Maria-developers] Updating OQGRAPH tables

2014-02-08 Thread Andrew McDonnell
Hello Ian I just tried to repeat what you found and I got the expected value for weight (weight=4) in my output. However I think it quite probable there is a bug that manifests under the right conditions, so I need you to provide some configuration information: * your system (32-bit, 64-bit, num

[Maria-developers] Minor glitch when doing out of tree cmake build

2014-02-08 Thread Andrew McDonnell
Hi, I like to build MariaDB in a separate directory to keep the source tree clean. This works for me as follows: cd path/to/maria/source mkdir mybuildir cd mybuildir cmake .. "-DWITH_PLUGIN_ARIA=1 (etc...)" make mysql-test/mysql-test-run --suite oqgraph (etc) However when I want to

[Maria-developers] Hello, and broken source tree information / links on askmonty.org wiki

2012-12-19 Thread Andrew McDonnell
Hello all just joined the development list recently, looking at doing a little bit of development maybe. Apologies in advance if this is the wrong list to ask my question. I have been working through the information at https://kb.askmonty.org/en/Getting_the_MariaDB_Source_Code/ and related pages.