Re: [Drizzle-discuss] Dev team for GSOC

2012-03-26 Thread Olaf van der Spek
On Mon, Mar 26, 2012 at 4:03 PM, Daniel Nichter dan...@percona.com wrote: I don't understand what the different process is?  Being members of a team just means their branches won't be read-only by the rest of us.  In any case, it's no big deal. The difference would be that normally you'd

Re: [Drizzle-discuss] Need to run tests

2012-03-24 Thread Olaf van der Spek
On Sat, Mar 24, 2012 at 3:36 PM, Mohit Srivastava srivastavamohi...@gmail.com wrote: Hi , But when I perform make test.  Get this error drizzled cannot be run as root, use --user to start drizzled up as another user. I want to know , Is there something define in makefile to start drizzle

Re: [Drizzle-discuss] Need to run tests

2012-03-24 Thread Olaf van der Spek
Shame on you. Create a non-root user and use that instead. On Sat, Mar 24, 2012 at 3:39 PM, Mohit Srivastava srivastavamohi...@gmail.com wrote: yeah , I am. On Sat, Mar 24, 2012 at 8:09 PM, Olaf van der Spek olafvds...@gmail.com wrote: On Sat, Mar 24, 2012 at 3:36 PM, Mohit Srivastava

Re: [Drizzle-discuss] can a lite firewall or IDS becum a gsoc project

2012-03-19 Thread Olaf van der Spek
On Mon, Mar 19, 2012 at 3:57 PM, Harsh vardhan verma harshvardhan1...@gmail.com wrote: hii to all,, i wanted to ask something related to security things in drizzle,, IP spoofing is a serious threat on internet today,, It can create DOS attack(Denial Of Service) as well as can poison the

Re: [Drizzle-discuss] Dropping Ubuntu 10.10

2012-03-18 Thread Olaf van der Spek
On Fri, Mar 16, 2012 at 4:21 PM, Eric Bergen eric.ber...@gmail.com wrote: Just because it's inconvenient to support an OS doesn't mean support should be dropped. CentOS 3 is *old*. CentOS 6 hasn't even been out for a year. CentOS 5 is still actively released and widely used. Unfortunately,

Re: [Drizzle-discuss] Dropping Ubuntu 10.10

2012-03-17 Thread Olaf van der Spek
On Wed, Mar 14, 2012 at 10:57 PM, Brian Aker br...@tangent.org wrote: I am going to drop Ubuntu 10.10. EOL for it is April 2012, so I believe we would be better off to focus our attention (and build time), on other releases. Any disagreement? Just wondering, what's the cost of not dropping

Re: [Drizzle-discuss] lp:libdrizzle

2012-02-14 Thread Olaf van der Spek
On Tue, Feb 14, 2012 at 6:53 PM, Clint Byrum cl...@fewbar.com wrote: What kind of testing? Isn't a newer version backwards compatible? Smoke test. ABI must be guaranteed, and while we can detect and scan and try our best, sometimes ABI is a tricky monster, so we require that backports have

Re: [Drizzle-discuss] drizzle.org points nowhere?

2012-02-05 Thread Olaf van der Spek
On Sun, Feb 5, 2012 at 8:17 AM, Henrik Ingo henrik.i...@avoinelama.fi wrote: The problem is we cannot assign the top domain drizzle.org as a CNAME to drupalgardens. So therefore the website is now www.drizzle.org and there is a http redirect from drizzle.org. Why not? A limitation of

Re: [Drizzle-discuss] doubt regarding working of NOW()

2012-02-04 Thread Olaf van der Spek
On Sat, Feb 4, 2012 at 2:18 PM, Harsh vardhan verma harshvardhan1...@gmail.com wrote: hiii,, I actually wanted to confirm the working of function NOW(),, the documentation says that, it returns the local time but for me its returning GMT,, do I explicitly need to set any timezone in drizzle

Re: [Drizzle-discuss] drizzle.org points nowhere?

2012-02-04 Thread Olaf van der Spek
On Sat, Feb 4, 2012 at 11:12 PM, Henrik Ingo henrik.i...@avoinelama.fi wrote: As discussed when we moved the dns to SPI, drizzle.org should point to a server under our control, and there should be a http redirect to www.drizzle.org. What do we need the www. prefix for? I'd do the redirect the

Re: [Drizzle-discuss] How does one actually get to ones own catalog?

2012-01-22 Thread Olaf van der Spek
On Sun, Jan 22, 2012 at 3:56 PM, Henrik Ingo henrik.i...@avoinelama.fi wrote: Why dot? Isn't dot allowed in catalog / schema names? If using this scheme, it would have to be disallowd in catalog names. But why dot? :p For schema names it wouldn't make a difference (which is a deliberate

Re: [Drizzle-discuss] drizzled --daemon waits for what?

2012-01-03 Thread Olaf van der Spek
On Tue, Jan 3, 2012 at 8:10 AM, Clint Byrum cl...@fewbar.com wrote: Trying then to send SIGUSR1 is a bug for sure. There are two ways around it that I see.  Either we must use a pipe to signal the parent that it can exit, or try having the parent actually send itself a SIGSTOP, and then use

Re: [Drizzle-discuss] drizzled --daemon waits for what?

2012-01-02 Thread Olaf van der Spek
On Mon, Jan 2, 2012 at 8:07 AM, Henrik Ingo henrik.i...@avoinelama.fi wrote: Returning non-zero (true) on error is standard. You're right. I suppose it was just weird when it's actually bool and not int, but kind of consistent now that I think about it. (I see it is done like this elsewhere

Re: [Drizzle-discuss] drizzled --daemon waits for what?

2012-01-01 Thread Olaf van der Spek
On Mon, Jan 2, 2012 at 12:05 AM, Henrik Ingo henrik.i...@avoinelama.fi wrote: PS: It's also weird to return true on failure and false on success, even if the calling code uses those correctly (ie freak out on true...). If I fix the above, do you mind if I swap true/false the other way around,

Re: [Drizzle-discuss] Libdrizzle breakout

2011-12-20 Thread Olaf van der Spek
On Sat, Dec 10, 2011 at 2:25 PM, Olaf van der Spek olafvds...@gmail.com wrote: Hi Brian, Update all of libdrizzle per mine and Mark's conversation about how to break out code from interface. Where was this discussed? I don't remember seeing it on the list. Somebody? -- Olaf

Re: [Drizzle-discuss] drizzle no longer supports building libdrizzle 1.0 separately?

2011-12-06 Thread Olaf van der Spek
On Fri, Dec 2, 2011 at 10:18 PM, Henrik Ingo henrik.i...@avoinelama.fi wrote: AFAIK you don't want to write makefiles by hand. Fair enough, maybe not my best idea... It occured to me, since this was supported in Drizzle 7, a good first step would be to go to those sources and dig out the

Re: [Drizzle-discuss] drizzle no longer supports building libdrizzle 1.0 separately?

2011-12-02 Thread Olaf van der Spek
On Fri, Dec 2, 2011 at 9:39 AM, Henrik Ingo henrik.i...@avoinelama.fi wrote: On Thu, Dec 1, 2011 at 5:33 PM, Olaf van der Spek olafvds...@gmail.com wrote: I might be able to do it but I think Brian Monty have much more auto-experience... Yeah, I was especially thinking if the problem can

Re: [Drizzle-discuss] [Merge] lp:~olafvdspek/drizzle/refactor11 into lp:drizzle

2011-12-01 Thread Olaf van der Spek
On Tue, Nov 15, 2011 at 8:37 PM, Olaf van der Spek olafvds...@gmail.com wrote: On Tue, Nov 15, 2011 at 8:28 PM, Monty Taylor mord...@inaugust.com wrote: What are you accomplishing with the atomic_base - atomic_impl move. (not saying it's bad - I just want to know what you wanted to do here

[Drizzle-discuss] Jenkins Param stuck (again)

2011-11-30 Thread Olaf van der Spek
Hi, http://jenkins.drizzle.org/view/Drizzle-param/job/drizzle-param/908/ First 3 are pending. Not sure what's going on. -- Olaf ___ Mailing list: https://launchpad.net/~drizzle-discuss Post to : drizzle-discuss@lists.launchpad.net Unsubscribe

Re: [Drizzle-discuss] drizzle no longer supports building libdrizzle 1.0 separately?

2011-11-28 Thread Olaf van der Spek
On Mon, Nov 28, 2011 at 7:33 AM, agentzh agen...@gmail.com wrote: I wonder if the drizzle development team is willing to add back support for building libdrizzle 1.0 separately and skip all those weird dependency checks in the ./configure script. If yes, then it'll be highly appreciated. I

Re: [Drizzle-discuss] [Merge] lp:~olafvdspek/drizzle/refactor11 into lp:drizzle

2011-11-17 Thread Olaf van der Spek
On Tue, Nov 15, 2011 at 8:40 PM, Olaf van der Spek olafvds...@gmail.com wrote: On Tue, Nov 15, 2011 at 8:28 PM, Monty Taylor mord...@inaugust.com wrote: What are you accomplishing with the atomic_base - atomic_impl move. (not saying it's bad - I just want to know what you wanted to do here

Re: [Drizzle-discuss] Identifier class issues

2011-11-16 Thread Olaf van der Spek
On Tue, Oct 18, 2011 at 3:28 PM, Olaf van der Spek olafvds...@gmail.com wrote: Hi, drizzled\identifier\constants\schema.cc defines a class which is never used. I assume this class should've been used for the static vars declared in this file. Is this correct? This class defines getPath

Re: [Drizzle-discuss] Data from/to File: legacy?

2011-11-09 Thread Olaf van der Spek
regression.676770 On Fri, Oct 21, 2011 at 10:14 AM, Henrik Ingo henrik.i...@avoinelama.fi wrote: On Fri, Oct 21, 2011 at 10:38 AM, Olaf van der Spek olafvds...@gmail.com wrote: On Fri, Oct 21, 2011 at 7:21 AM, Henrik Ingo henrik.i...@avoinelama.fi wrote: So we established that the drizzle

Re: [Drizzle-discuss] Coverage Report?

2011-10-25 Thread Olaf van der Spek
On Sun, Oct 23, 2011 at 7:55 PM, Mark Atwood m...@mark.atwood.name wrote: Hi Olaf, You can install drizzle-automation yourself and run it locally to get lcov reports. Build times are way too high already. I'd rather have something in the cloud. :p Olaf

[Drizzle-discuss] Coverage Report?

2011-10-22 Thread Olaf van der Spek
Hi, Is code coverage reporting back yet? -- Olaf ___ Mailing list: https://launchpad.net/~drizzle-discuss Post to : drizzle-discuss@lists.launchpad.net Unsubscribe : https://launchpad.net/~drizzle-discuss More help :

Re: [Drizzle-discuss] client configuration file

2011-10-21 Thread Olaf van der Spek
On Wed, Oct 19, 2011 at 12:22 AM, Henrik Ingo henrik.i...@avoinelama.fi wrote: On Wed, Oct 19, 2011 at 1:07 AM, Olaf van der Spek olafvds...@gmail.com wrote: On Tue, Oct 18, 2011 at 11:43 PM, Henrik Ingo henrik.i...@avoinelama.fi wrote: # Note that auth_pam authentication will send your

Re: [Drizzle-discuss] client configuration file

2011-10-21 Thread Olaf van der Spek
On Fri, Oct 21, 2011 at 11:02 AM, Henrik Ingo henrik.i...@avoinelama.fi wrote: My proposed configuration is safe and useful for localhost (ie developer desktop). For localhost, we should support peercred auth via unix domain sockets. I was supposed to implement that during GSoC, but that was

Re: [Drizzle-discuss] client configuration file

2011-10-21 Thread Olaf van der Spek
On Fri, Oct 21, 2011 at 11:28 AM, Henrik Ingo henrik.i...@avoinelama.fi wrote: For localhost, we should support peercred auth via unix domain sockets. I was supposed to implement that during GSoC, but that was the only part I didn't manage to do. But is this something that will just work by

Re: [Drizzle-discuss] client configuration file

2011-10-21 Thread Olaf van der Spek
On Fri, Oct 21, 2011 at 12:54 PM, Henrik Ingo henrik.i...@avoinelama.fi wrote: It's Linux-only (AFAIK), but it's available by default. See http://linux.die.net/man/7/socket AFAIK it tells you the user ID of your peer. Ah, so if you're logged in and connect to localhost, no password at all is

Re: [Drizzle-discuss] client configuration file

2011-10-21 Thread Olaf van der Spek
On Fri, Oct 21, 2011 at 2:24 PM, Henrik Ingo henrik.i...@avoinelama.fi wrote: Nope, no client-side support necessary. Why? Are you assuming here that one connects via unix socket and not -h127.0.0.1? Yes. Why would you use TCP on localhost? Something is still missing. The authentication

Re: [Drizzle-discuss] Data from/to File: legacy?

2011-10-20 Thread Olaf van der Spek
On Thu, Oct 20, 2011 at 10:57 PM, Brian Aker br...@tangent.org wrote: Btw if we are to remove this, we need a patch soonish for the beta. https://code.launchpad.net/~olafvdspek/drizzle/outfile Some tests still need to be updated, I'm not sure how to handle some tests. Olaf

Re: [Drizzle-discuss] Data from/to File: legacy?

2011-10-19 Thread Olaf van der Spek
On Wed, Oct 19, 2011 at 9:46 AM, Henrik Ingo henrik.i...@avoinelama.fi wrote: In practice the client-side implementation uses the same code server side (client just sends the file to server, then does LOAD DATA INFILE normally) so you can't then remove the code from the server either. Also

Re: [Drizzle-discuss] Data from/to File: legacy?

2011-10-19 Thread Olaf van der Spek
On Wed, Oct 19, 2011 at 11:11 AM, Henrik Ingo henrik.i...@avoinelama.fi wrote: Right. But the parser for that should not be server-side. Client can parse CSV (or XML or whatever) and generate normal SQL (or noSQL) statements. Yes, if you want to improve on what is currently there, I agree

Re: [Drizzle-discuss] Data from/to File: legacy?

2011-10-19 Thread Olaf van der Spek
On Wed, Oct 19, 2011 at 6:27 PM, Tim Soderstrom t...@moocowproductions.org wrote: For what it's worth, we use SELECT … INTO OUTFILE for a number of small reports which end up going out over e-mail. It's a lo-fi solution but that's all that was desired at the time, and this feature meant it

Re: [Drizzle-discuss] Data from/to File: legacy?

2011-10-19 Thread Olaf van der Spek
On Wed, Oct 19, 2011 at 8:24 PM, David Shrewsbury shrewsbury.d...@gmail.com wrote: I've had occasions, in previous jobs, where being able to use INTO OUTFILE has saved a tremendous amount of time and pain. Not only can you specify the format of the output (field separators, etc), but you can

Re: [Drizzle-discuss] Data from/to File: legacy?

2011-10-19 Thread Olaf van der Spek
On Wed, Oct 19, 2011 at 8:38 PM, David Shrewsbury shrewsbury.d...@gmail.com wrote: It's not the output formatting that is what is attractive, it's that in combination with the ability to be selective about which rows are returned. And to be able to join against other tables to make CSV report

Re: [Drizzle-discuss] Data from/to File: legacy?

2011-10-19 Thread Olaf van der Spek
On Wed, Oct 19, 2011 at 9:09 PM, Tim Soderstrom t...@moocowproductions.org wrote: Executing arbitrary statements can be done just as easily by the scripting language of your choice. Maybe for someone that rocks Python everyday. I have to agree with Shrews - it's very convenient to only have

Re: [Drizzle-discuss] Data from/to File: legacy?

2011-10-19 Thread Olaf van der Spek
On Wed, Oct 19, 2011 at 9:33 PM, Tim Soderstrom t...@moocowproductions.org wrote: Haha well it would still be a plugin so at least I can load it into Drizzle :) And actually some of the non-SQL interfaces I have heard about in the past (but haven't kept up with, to be fair), sounded pretty

Re: [Drizzle-discuss] Data from/to File: legacy?

2011-10-19 Thread Olaf van der Spek
On Wed, Oct 19, 2011 at 9:46 PM, Tim Soderstrom t...@moocowproductions.org wrote: True, although I am curious as to the outcome of this discussion (sorry if I missed any decision!) since it might not make sense to have to maintain CSV exporting with drizzledump and drizzle itself? If some

Re: [Drizzle-discuss] Disable cppcheck warning

2011-10-18 Thread Olaf van der Spek
On Fri, Oct 14, 2011 at 10:25 PM, Mark Atwood m...@mark.atwood.name wrote: drizzle-build-all-warnings is not meant to get it's warning count down to zero, its there to get trend data. If some of the warnings aren't useful, doesn't that make the count and trend less useful? Olaf

[Drizzle-discuss] Identifier class issues

2011-10-18 Thread Olaf van der Spek
Hi, drizzled\identifier\constants\schema.cc defines a class which is never used. I assume this class should've been used for the static vars declared in this file. Is this correct? This class defines getPath(), but this isn't virtual, so it's never called. The Identifier class has virtual

Re: [Drizzle-discuss] client configuration file

2011-10-18 Thread Olaf van der Spek
On Tue, Oct 18, 2011 at 11:43 PM, Henrik Ingo henrik.i...@avoinelama.fi wrote: # Note that auth_pam authentication will send your password unencrypted over the network! # You should only use this kind of login as a convenience when using localhost, otherwise # it is very insecure! Consider

Re: [Drizzle-discuss] Data from/to File: legacy?

2011-10-17 Thread Olaf van der Spek
On Sun, Oct 16, 2011 at 6:35 PM, Henrik Ingo henrik.i...@avoinelama.fi wrote: Eh, my bad. There is LOAD DATA LOCAL INFILE ... but apparently not an equivalent SELECT INTO LOCAL OUTFILE. Funny, I always thought there was... The thing that does this is called simply [mysql|drizzle]dump --tab,

Re: [Drizzle-discuss] Data from/to File: legacy?

2011-10-16 Thread Olaf van der Spek
On Sun, Oct 16, 2011 at 11:08 AM, Henrik Ingo henrik.i...@avoinelama.fi wrote: So, OK to remove? One more question: The feature that selects into a file on client side, where is that located? I don't know. What's the syntax? If it's in the drizzle/mysql client app, then there is a problem

Re: [Drizzle-discuss] call it beta?

2011-10-16 Thread Olaf van der Spek
On Fri, Oct 14, 2011 at 6:36 PM, Mark Atwood m...@mark.atwood.name wrote: HI! I just got Crew's dbqp patch to merge, and its now in trunk. In test right now is Henrik's JS patch, along with some more refactoring by Olaf, and the auth schema by Nichter. Brian is thinking that it's time to call

Re: [Drizzle-discuss] Disable cppcheck warning

2011-10-15 Thread Olaf van der Spek
On Fri, Oct 14, 2011 at 10:25 PM, Mark Atwood m...@mark.atwood.name wrote: drizzle-build-all-warnings is not meant to get it's warning count down to zero, its there to get trend data. Ah. Is that the purpose of cppcheck too? Is valgrind finding any uninit variables now?  The logs are on

Re: [Drizzle-discuss] Disable cppcheck warning

2011-10-14 Thread Olaf van der Spek
On Fri, Oct 14, 2011 at 6:38 PM, Mark Atwood m...@mark.atwood.name wrote: I would prefer to make the warning go away by initializing the variables. What's the gain? Aren't uninitialized vars caught by valgrind already? Suppose a var should be initialized at some other point. If you set it to 0

Re: [Drizzle-discuss] auth_schema

2011-09-30 Thread Olaf van der Spek
On Fri, Sep 30, 2011 at 12:19 PM, Henrik Ingo henrik.i...@avoinelama.fi wrote: But we could copy another practice from Java: namespaces and class names are identical to the directory and filenames where you find them. This would mean: If file is in  drizzled/*.cc = namespace drizzled {  

Re: [Drizzle-discuss] Make --safe-updates the default?

2011-09-11 Thread Olaf van der Spek
On Sat, Sep 10, 2011 at 10:51 PM, Andrew Hutchings and...@linuxjedi.co.uk wrote: This was discussed a long time ago.  I believe Brian had a plan but I'm not sure what it was.  We have to think carefully about behaviour such as this though since some application may do this so that it can be

Re: [Drizzle-discuss] Make --safe-updates the default?

2011-09-11 Thread Olaf van der Spek
On Sun, Sep 11, 2011 at 8:32 PM, Andrew Hutchings and...@linuxjedi.co.uk wrote: How does that affect this issue? In the case of DELETE from t1; I would hope it is obvious.  As part of a Not at first. I didn't know truncate isn't transactional. So the error msg shouldn't mention truncate. What

Re: [Drizzle-discuss] Make --safe-updates the default?

2011-09-11 Thread Olaf van der Spek
On Mon, Sep 12, 2011 at 12:50 AM, Roland Bouman roland.bou...@gmail.com wrote: I see now that the documentation at http://docs.drizzle.org/join.html#different-kinds-of-sql-joins indeed only mentions this case requiring a WHERE (or an ON, which is puzzling - I'm pretty sure FROM t1,t2 ON .. is

Re: [Drizzle-discuss] Make --safe-updates the default?

2011-09-11 Thread Olaf van der Spek
On Mon, Sep 12, 2011 at 1:08 AM, Roland Bouman roland.bou...@gmail.com wrote: These things can never be settled objectively, but my preference would be to have it off by default. So, yes - in my opinion, having autocommit off by default is better. No autocommit is only an option when all

Re: [Drizzle-discuss] Make --safe-updates the default?

2011-09-10 Thread Olaf van der Spek
On Sat, Sep 10, 2011 at 1:42 PM, Henrik Ingo henrik.i...@avoinelama.fi wrote: drizzle command line client inherits from mysql client the following option(s):  -U, --safe-updates  Only allow UPDATE and DELETE that uses keys.  -U, --i-am-a-dummy  Synonym for option --safe-updates, -U. In the

[Drizzle-discuss] Makefile:21279: *** missing separator. Stop.

2011-08-20 Thread Olaf van der Spek
Hi, Makefile:21279: *** missing separator. Stop. It's this error again. Occurs on trunk, I'm using Debian unstable. 21278 -rm -f $(am__CONFIG_DISTCLEAN_FILES) 21279 ility_function/$(DEPDIR) plugin/collation_dictionary/$(DEPDIR) ... Line 21278 appears to be missing a newline escape. Does

Re: [Drizzle-discuss] Editing the current dev tarball on the drizzle home page

2011-08-17 Thread Olaf van der Spek
On Wed, Aug 17, 2011 at 8:35 AM, Henrik Ingo henrik.i...@avoinelama.fi wrote: On Tue, Aug 16, 2011 at 11:39 PM, pcrews glee...@gmail.com wrote: Henrik, Hi just wanted to thank you for setting up the new page.  The ease of editing that information has just made tarball release day a little bit

Re: [Drizzle-discuss] Latest Trunk Broken

2011-08-08 Thread Olaf van der Spek
On Mon, Aug 8, 2011 at 5:35 PM, Muhammad Umair mum...@kth.se wrote: ar: plugin/.libs/libuser_locks_plugin.a: No space left on device Hi Muhammad, What do you think No space left on device means? ;) Olaf ___ Mailing list:

Re: [Drizzle-discuss] Coding Standards

2011-07-13 Thread Olaf van der Spek
On Wed, Jul 13, 2011 at 2:16 PM, David Shrewsbury shrewsbury.d...@gmail.com wrote: For every one way someone prefers to code, there are several others that prefer the other way. Is that a reason to stop trying to improve? Personally, I like the standard we have in place. Is it a big deal

Re: [Drizzle-discuss] Coding Standards

2011-07-13 Thread Olaf van der Spek
On Wed, Jul 13, 2011 at 4:00 PM, pcrews glee...@gmail.com wrote: http://lists.debian.org/debian-devel/2011/01/msg00153.html You seem to have a pattern of expecting people to go into painstaking detail to explain why they don't happen to agree with your ideas. That's not true. It is true that I

Re: [Drizzle-discuss] Coding Standards

2011-07-13 Thread Olaf van der Spek
On Wed, Jul 13, 2011 at 5:08 PM, pcrews glee...@gmail.com wrote: On 07/13/2011 10:38 AM, Olaf van der Spek wrote: snip Of course. However, I already posted why I think the two things should be changed. Without a response to those arguments, I don't see what else I could do. With all due

Re: [Drizzle-discuss] Coding Standards

2011-07-12 Thread Olaf van der Spek
On Sat, Jul 2, 2011 at 7:36 PM, Olaf van der Spek olafvds...@gmail.com wrote: Hi, I think some parts need updating. http://wiki.drizzle.org/Coding_Standards#Pointer_and_Reference_Expressions string foo; IMO it should be string. The is part of the type, not part of the name. return (x

Re: [Drizzle-discuss] auth-pam does not work

2011-07-09 Thread Olaf van der Spek
On Sat, Jul 9, 2011 at 4:56 AM, Brian Aker br...@tangent.org wrote: I have had the current code working recently. The client must be set to use the newer auth (this is an option you have to specify). Exactly what option would that be? Olaf ___

Re: [Drizzle-discuss] [GSoC] C++ Safe Query Builder

2011-07-07 Thread Olaf van der Spek
On Wed, Jul 6, 2011 at 12:59 AM, Stewart Smith stew...@flamingspork.com wrote: On Tue, 5 Jul 2011 20:45:20 +0200, Olaf van der Spek olafvds...@gmail.com wrote: A wrapper I wrote before uses syntax like this: Csql_query q(con, select * from users where uid = ?); q.p(uid); q.execute(); I

[Drizzle-discuss] [GSoC] C++ Safe Query Builder

2011-07-05 Thread Olaf van der Spek
Hi, As part of my GSoC project I'm working on a modern safe C++ API. An initial version can be seen at libdrizzle/libdrizzle.hpp. Drizzletest already uses this. This implements part of the automatic resource management. Another important part is building queries in a safe and easy way. It should

[Drizzle-discuss] PBMS build failures with g++ 4.6

2011-07-04 Thread Olaf van der Spek
Hi, PBMS fails to build with g++ 4.6 due to this: plugin/pbms/src/backup_ms.cc: In member function 'virtual bool MSBackup::doWork()': plugin/pbms/src/backup_ms.cc:467:15: error: variable 'src_repo_id' set but not used [-Werror=unused-but-set-variable] -- Olaf

[Drizzle-discuss] Coding Standards

2011-07-02 Thread Olaf van der Spek
Hi, I think some parts need updating. http://wiki.drizzle.org/Coding_Standards#Pointer_and_Reference_Expressions string foo; IMO it should be string. The is part of the type, not part of the name. return (x == MY_TYPE); Is there any need for those parentheses? -- Olaf

Re: [Drizzle-discuss] auth-pam does not work

2011-07-01 Thread Olaf van der Spek
On Fri, Jul 1, 2011 at 1:15 AM, Daniel Nichter dan...@percona.com wrote: Le 30 juin 2011 à 16:43, Olaf van der Spek a écrit : On Fri, Jul 1, 2011 at 12:23 AM, Daniel Nichter dan...@percona.com wrote: I just recompiled Drizzle from trunk (a day or two ago) on Ubuntu 10 and it still does

Re: [Drizzle-discuss] auth-pam does not work

2011-07-01 Thread Olaf van der Spek
On Fri, Jul 1, 2011 at 1:34 PM, Henrik Ingo henrik.i...@avoinelama.fi wrote: Windows and SQL Server do it all the time. What could go wrong... Are you sure? Isn't that based on Windows domains and security handled by the OS? Seriously, it makes for a good default installation when compared to

Re: [Drizzle-discuss] INI parser (for client)

2011-06-30 Thread Olaf van der Spek
On Thu, Jun 30, 2011 at 8:51 PM, Henrik Ingo henrik.i...@avoinelama.fi wrote: For a client library we want as little dependencies as possible.  In fact I can't see why a library will need a .ini file.  In my opinion the client app should have the .ini parser and use function/method calls to

Re: [Drizzle-discuss] auth-pam does not work

2011-06-30 Thread Olaf van der Spek
On Fri, Jul 1, 2011 at 12:23 AM, Daniel Nichter dan...@percona.com wrote: I just recompiled Drizzle from trunk (a day or two ago) on Ubuntu 10 and it still does not work.  I'm approaching this from the user's point of view so I expect that it just works after --plugin-add auth_pam and drizzle

[Drizzle-discuss] INI parser (for client)

2011-06-29 Thread Olaf van der Spek
Hi, Does the code still contain an INI parser somewhere that could be used for the client lib? -- Olaf ___ Mailing list: https://launchpad.net/~drizzle-discuss Post to : drizzle-discuss@lists.launchpad.net Unsubscribe :

Re: [Drizzle-discuss] INI parser (for client)

2011-06-29 Thread Olaf van der Spek
On Wed, Jun 29, 2011 at 3:37 PM, Andrew Hutchings and...@linuxjedi.co.uk wrote: Hi Olaf, On Wed, 2011-06-29 at 11:06 +0200, Olaf van der Spek wrote: Does the code still contain an INI parser somewhere that could be used for the client lib? There is code for the .ini parser but it is uses

Re: [Drizzle-discuss] INI parser (for client)

2011-06-29 Thread Olaf van der Spek
On Wed, Jun 29, 2011 at 9:55 PM, Henrik Ingo henrik.i...@avoinelama.fi wrote: I don't know exactly what you are doing / talking about here, but... It's for reading defaults (host, port, socket, user, pass, database) from conf files. In MySQL at least, client and server and all utilities use

Re: [Drizzle-discuss] INI parser (for client)

2011-06-29 Thread Olaf van der Spek
On Thu, Jun 30, 2011 at 12:02 AM, Henrik Ingo henrik.i...@avoinelama.fi wrote: A dependency on Boost appears to be unwanted for the client lib. I don't get why. Still the question remains - if Boost is unwanted for Me neither. the client, what additional benefit does the parser provide to

Re: [Drizzle-discuss] INI parser (for client)

2011-06-29 Thread Olaf van der Spek
On Thu, Jun 30, 2011 at 12:20 AM, Andrew Hutchings and...@linuxjedi.co.uk wrote: I don't get why. Still the question remains - if Boost is unwanted for the client, what additional benefit does the parser provide to drizzled. It would make more sense that all components use one and the same

Re: [Drizzle-discuss] INI parser (for client)

2011-06-29 Thread Olaf van der Spek
On Thu, Jun 30, 2011 at 12:33 AM, Andrew Hutchings and...@linuxjedi.co.uk wrote: For a client library we want as little dependencies as possible.  In fact I Why? Most apps should use pre-packaged libs, in which case this compile-time dependency isn't a problem. For a number of reasons.  

[Drizzle-discuss] How to reduce tests time?

2011-06-24 Thread Olaf van der Spek
Hi, It takes about 10 minutes for me to run make test. Is there a way to reduce this time? Spent 236.896 of 589 seconds executing testcases -- Olaf ___ Mailing list: https://launchpad.net/~drizzle-discuss Post to :

Re: [Drizzle-discuss] How to reduce tests time?

2011-06-24 Thread Olaf van der Spek
On Fri, Jun 24, 2011 at 12:06 PM, Andrew Hutchings and...@linuxjedi.co.uk wrote: Hi Olaf, Hi Andrew, On Fri, 2011-06-24 at 09:56 +0200, Olaf van der Spek wrote: It takes about 10 minutes for me to run make test. Is there a way to reduce this time? Spent 236.896 of 589 seconds executing

Re: [Drizzle-discuss] How to reduce tests time?

2011-06-24 Thread Olaf van der Spek
On Fri, Jun 24, 2011 at 2:06 PM, Andrew Hutchings and...@linuxjedi.co.uk wrote: True, but testing is important. I know, that's why I'm looking for ways to speed it up. You can code another branch whilst it is running. That's not ideal. It is what the rest of us do. What speedup can be

Re: [Drizzle-discuss] How to reduce tests time?

2011-06-24 Thread Olaf van der Spek
On Fri, Jun 24, 2011 at 2:14 PM, Andrew Hutchings and...@linuxjedi.co.uk wrote: Can't we just pass a switch to Drizzle to disable syncs (for testing) or would that be more complicated? Yes but we won't do that because we don't want this on the testing servers (and there are times where you

Re: [Drizzle-discuss] How to reduce tests time?

2011-06-24 Thread Olaf van der Spek
On Fri, Jun 24, 2011 at 2:19 PM, pcrews glee...@gmail.com wrote: On 06/24/2011 08:09 AM, Olaf van der Spek wrote: 4)  If waiting 10 minutes is absolutely killing you, I would recommend trying to patch dbqp as test-run.pl will be going away before long. I guess I run tests too often. :p I

Re: [Drizzle-discuss] fsync / eating data

2011-06-24 Thread Olaf van der Spek
On Thu, Mar 17, 2011 at 1:55 PM, Olaf van der Spek olafvds...@gmail.com wrote: Hi Stewart, Just watched your talk Dropping ACID and wanted to respond, might be interesting for others on the list too. open, write, fsync, close, rename is not the atomic equivalent of open, write, close

Re: [Drizzle-discuss] Drizzle Roadmap?

2011-06-22 Thread Olaf van der Spek
On Wed, Jun 22, 2011 at 4:31 AM, Stewart Smith stew...@flamingspork.com wrote: It's not about tracking, it's about being able to comment / edit issues. You can for bugs, you can't fur blueprints. you can edit and write on the whiteboard for them. I think it's a long-standing feature request

Re: [Drizzle-discuss] Drizzle Roadmap?

2011-06-21 Thread Olaf van der Spek
On Tue, Jun 21, 2011 at 2:06 AM, Stewart Smith stew...@flamingspork.com wrote: On Mon, 20 Jun 2011 17:10:24 +0200, Olaf van der Spek olafvds...@gmail.com wrote: Is there a Drizzle roadmap? If so, where can it be found? If not, shouldn't one be created? We have blueprints and milestones

Re: [Drizzle-discuss] Drizzle Roadmap?

2011-06-21 Thread Olaf van der Spek
On Tue, Jun 21, 2011 at 11:50 PM, Brian Aker br...@tangent.org wrote: Hi! On Jun 21, 2011, at 10:16 AM, Olaf van der Spek wrote: Wouldn't it be better to use bugs instead of blueprints for this? The ability to revise bugs make this a pain, but in general I agree with you. Its much simpler

[Drizzle-discuss] Drizzle Roadmap?

2011-06-20 Thread Olaf van der Spek
Hi, Is there a Drizzle roadmap? If so, where can it be found? If not, shouldn't one be created? -- Olaf ___ Mailing list: https://launchpad.net/~drizzle-discuss Post to : drizzle-discuss@lists.launchpad.net Unsubscribe :

Re: [Drizzle-discuss] pbms.basic test failing randomly on Debian

2011-06-19 Thread Olaf van der Spek
On Sat, Jun 18, 2011 at 3:54 AM, BJ Dierkes wdier...@5dollarwhitebox.org wrote: I'm able to reproduce this on Fedora 15 i386 and x86_64.  I accidentally logged a duplicate here: Can you still reproduce this with trunk? -- Olaf ___ Mailing list:

Re: [Drizzle-discuss] Release announcements?

2011-06-17 Thread Olaf van der Spek
On Fri, Jun 17, 2011 at 12:29 PM, pcrews glee...@gmail.com wrote: Que?  AFAIK, they are: https://lists.launchpad.net/drizzle-discuss/msg07961.html Is there something else borked? No subject, no body? To: drizzle-discuss@xxx From: Planet Drizzle emailer@x Date:

Re: [Drizzle-discuss] pbms.basic test failing randomly on Debian

2011-06-16 Thread Olaf van der Spek
On Wed, Jun 15, 2011 at 5:23 PM, Barry Leslie barry.les...@primebase.org wrote: I had a look at this and it looks like I am getting garbage from drizzled::getDataHomeCatalog() Could it be that something is overwriting the static memory being returned by this? getDataHomeCatalog() uses a

Re: [Drizzle-discuss] pbms.basic test failing randomly on Debian

2011-06-15 Thread Olaf van der Spek
On Wed, Jun 15, 2011 at 5:23 PM, Barry Leslie barry.les...@primebase.org wrote: I had a look at this and it looks like I am getting garbage from drizzled::getDataHomeCatalog() Could it be that something is overwriting the static memory being returned by this? I'm not sure why they're

Re: [Drizzle-discuss] pbms.basic test failing randomly on Debian

2011-06-15 Thread Olaf van der Spek
On Wed, Jun 15, 2011 at 10:00 PM, Barry Leslie barry.les...@primebase.org wrote: Hi Olaf, Do you have a build that has been running for 21 hours? I started one a few hours ago but it has vanished and I see that yours is still running. Jenkins Param? I've no idea what's up with it. Olaf

Re: [Drizzle-discuss] OS X build problem

2011-06-14 Thread Olaf van der Spek
On Tue, Jun 14, 2011 at 5:54 PM, Barry Leslie barry.les...@primebase.org wrote: I get the following when trying to build the latest on OS X: flex drizzled/execute/scanner.l drizzled/execute/scanner.l:132: warning, rule cannot be matched bison -y  -p DRIZZLE -d --verbose -o

Re: [Drizzle-discuss] pbms.basic test failing randomly on Debian

2011-06-13 Thread Olaf van der Spek
On Mon, Jun 13, 2011 at 4:23 PM, Barry Leslie barry.les...@primebase.org wrote: This problem has been reported to me before but I have never been able to reproduce it. What I need is to see what is written to the error log, I am sure that PBMS would have logged something when this happened that

Re: [Drizzle-discuss] pbms.basic test failing randomly on Debian

2011-06-13 Thread Olaf van der Spek
On Mon, Jun 13, 2011 at 10:17 PM, Henrik Ingo henrik.i...@avoinelama.fi wrote: Silly question, are the logs not saved by Jenkins? Even sillier, wouldn't it be possible to include the relevant log bits in the output directly? Olaf ___ Mailing list:

Re: [Drizzle-discuss] pbms.basic test failing randomly on Debian

2011-06-13 Thread Olaf van der Spek
On Mon, Jun 13, 2011 at 4:23 PM, Barry Leslie barry.les...@primebase.org wrote: This problem has been reported to me before but I have never been able to reproduce it. What I need is to see what is written to the error log, I am sure that PBMS would have logged something when this happened that

[Drizzle-discuss] pbms.basic test failing randomly on Debian

2011-06-11 Thread Olaf van der Spek
Hi Barry, This test appears to be failing randomly on Debian (both local and on Jenkins). I guess you're the PBMS guru. ;) Could you look into this? Greetings, Olaf pbms.basic [ fail ] drizzletest: At line 6: query 'insert into t1 values (1,

Re: [Drizzle-discuss] You are now invited to join SPI as individuals, contributing member status

2011-06-08 Thread Olaf van der Spek
On Wed, Jun 8, 2011 at 10:04 AM, Henrik Ingo henrik.i...@avoinelama.fi wrote: On Wed, Jun 8, 2011 at 3:03 AM, Stewart Smith stew...@flamingspork.com wrote: On Tue, 7 Jun 2011 23:49:42 +0300, Henrik Ingo henrik.i...@avoinelama.fi wrote: To join SPI as individual member, go to:

Re: [Drizzle-discuss] Merge Process / Latency

2011-06-07 Thread Olaf van der Spek
On Sat, May 28, 2011 at 12:38 PM, Olaf van der Spek olafvds...@gmail.com wrote: Hi, It seems some branches take quite a while to be merged after they've been approved. Is there a way to speed up this process? Somebody? -- Olaf ___ Mailing list

Re: [Drizzle-discuss] Kill drizzleadmin

2011-06-02 Thread Olaf van der Spek
On Thu, Jun 2, 2011 at 4:41 AM, Brian Aker br...@tangent.org wrote: ++ I can document the console plugin if we want to go that way. We can also just all UDS connections that are root/some user. A quick overview would be nice. How does one connect to / use it and what advantage does it have

Re: [Drizzle-discuss] Kill drizzleadmin

2011-05-31 Thread Olaf van der Spek
On Tue, May 31, 2011 at 1:11 PM, Andrew Hutchings and...@linuxjedi.co.uk wrote: Hi guys, So, we created drizzleadmin as a version of the drizzle client which basically is not limited by a protocol's max-connections limitation. How does that technically work? Wouldn't that be just a command

Re: [Drizzle-discuss] Kill drizzleadmin

2011-05-31 Thread Olaf van der Spek
On Tue, May 31, 2011 at 1:50 PM, Andrew Hutchings and...@linuxjedi.co.uk wrote: When compiling the drizzle.cc generates two binaries, one with a defined constant which enables the admin connect option. Wouldn't that be just a command line switch to the client instead of a separate util?

  1   2   >