<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Vijay Samuel&#039;s Blog</title>
	<atom:link href="http://vjsamuel.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://vjsamuel.wordpress.com</link>
	<description>Just another WordPress.com site</description>
	<lastBuildDate>Tue, 01 Jan 2013 12:35:44 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='vjsamuel.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Vijay Samuel&#039;s Blog</title>
		<link>http://vjsamuel.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://vjsamuel.wordpress.com/osd.xml" title="Vijay Samuel&#039;s Blog" />
	<atom:link rel='hub' href='http://vjsamuel.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Drizzle 7.2.4-alpha released</title>
		<link>http://vjsamuel.wordpress.com/2012/09/24/drizzle-7-2-4-alpha-released/</link>
		<comments>http://vjsamuel.wordpress.com/2012/09/24/drizzle-7-2-4-alpha-released/#comments</comments>
		<pubDate>Sun, 23 Sep 2012 19:30:42 +0000</pubDate>
		<dc:creator>vjsamuel</dc:creator>
				<category><![CDATA[Drizzle]]></category>

		<guid isPermaLink="false">http://vjsamuel.wordpress.com/?p=98</guid>
		<description><![CDATA[The 4th release of the GreenLake series is out. Major changes include: Clang support by Brian Aker Sysbench Qewpie testing suite by Sharan and Patrick Crews Numerous bug fixes by coldtobi Dynamic plugin support by Anshu Kumar Improved Documentation On a side note, a proof of concept was done for Drizzle as a backend for [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vjsamuel.wordpress.com&#038;blog=13379184&#038;post=98&#038;subd=vjsamuel&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>The 4th release of the GreenLake series is out. Major changes include:</p>
<p>Clang support by <a href="http://blog.krow.net" target="_blank">Brian Aker</a><br />
Sysbench Qewpie testing suite by <a href="http://sharcorner.wordpress.com" target="_blank">Sharan</a> and <a href="http://www.wc220.com/" target="_blank">Patrick Crews</a><br />
Numerous bug fixes by coldtobi<br />
Dynamic plugin support by <a href="http://anshsays.wordpress.com" target="_blank">Anshu Kumar</a><br />
Improved Documentation</p>
<p>On a side note, a proof of concept was done for Drizzle as a backend for OpenStack during this release as well.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/vjsamuel.wordpress.com/98/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/vjsamuel.wordpress.com/98/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vjsamuel.wordpress.com&#038;blog=13379184&#038;post=98&#038;subd=vjsamuel&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://vjsamuel.wordpress.com/2012/09/24/drizzle-7-2-4-alpha-released/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/780070863ded4c2f33881ccd13b89f10?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">vjsamuel</media:title>
		</media:content>
	</item>
		<item>
		<title>Hello,World with libdrizzle</title>
		<link>http://vjsamuel.wordpress.com/2012/08/31/helloworld-with-libdrizzle/</link>
		<comments>http://vjsamuel.wordpress.com/2012/08/31/helloworld-with-libdrizzle/#comments</comments>
		<pubDate>Fri, 31 Aug 2012 10:53:34 +0000</pubDate>
		<dc:creator>vjsamuel</dc:creator>
				<category><![CDATA[Drizzle]]></category>

		<guid isPermaLink="false">http://vjsamuel.wordpress.com/?p=96</guid>
		<description><![CDATA[Here is a piece of code that illustrates how to create a Drizzle object, a connection object, establish a connection, execute a query, buffer its result and do some basic operations on it. The code is pretty straight forward. DRIZZLE_RETURN_OK indicates the successful execution of a function. Make sure that you have libdrizzle installed in [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vjsamuel.wordpress.com&#038;blog=13379184&#038;post=96&#038;subd=vjsamuel&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Here is a piece of code that illustrates how to create a Drizzle object, a connection object, establish a connection, execute a query, buffer its result and do some basic operations on it. The code is pretty straight forward. DRIZZLE_RETURN_OK indicates the successful execution of a function. Make sure that you have libdrizzle installed in your machine.</p>
<p>#include &lt;libdrizzle/libdrizzle.h&gt;<br />
#include &lt;stdio.h&gt;<br />
#include &lt;stdlib.h&gt;</p>
<p>int main()<br />
{<br />
drizzle_st *drizzle;<br />
drizzle_con_st *con;</p>
<p>if ((drizzle= drizzle_create(NULL)) == NULL)<br />
{<br />
printf(&#8220;Error creating drizzle object\n&#8221;);<br />
return -1;<br />
}<br />
con= drizzle_con_add_tcp(drizzle, NULL, &#8220;localhost&#8221;, 4427, &#8220;root&#8221;, &#8220;password&#8221;, &#8220;db&#8221;, DRIZZLE_NON_BLOCKING);</p>
<p>drizzle_return_t ret= drizzle_con_connect(con);<br />
if (ret == DRIZZLE_RETURN_OK)<br />
{<br />
printf(&#8220;Connection Established\n&#8221;);<br />
}</p>
<p>drizzle_result_st *result;<br />
int count= 0;</p>
<p>result= drizzle_query(con, result, &#8220;SHOW DATABASES&#8221;, strlen(&#8220;SHOW DATABASES&#8221;), &amp;ret);<br />
ret= drizzle_result_buffer(result);<br />
printf(&#8220;%d\n&#8221;, (int)drizzle_result_row_count(result));<br />
drizzle_con_free(con);<br />
drizzle_free(drizzle);<br />
return 0;<br />
}</p>
<p>To compile this program, one needs to link to libdrizzle. Use the following command to compile the code file. (Assuming that the code file is connect.c and that you installed libdrizzle-1.0 headers at /usr/include)<br />
gcc -o connect connect.c -ldrizzle -I /usr/include/libdrizzle-1.0 -L /usr/lib</p>
<p>Hope this helps. Happy hacking folks!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/vjsamuel.wordpress.com/96/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/vjsamuel.wordpress.com/96/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vjsamuel.wordpress.com&#038;blog=13379184&#038;post=96&#038;subd=vjsamuel&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://vjsamuel.wordpress.com/2012/08/31/helloworld-with-libdrizzle/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/780070863ded4c2f33881ccd13b89f10?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">vjsamuel</media:title>
		</media:content>
	</item>
		<item>
		<title>An Eventful Google Summer of Code 2012</title>
		<link>http://vjsamuel.wordpress.com/2012/08/31/an-eventful-google-summer-of-code-2012/</link>
		<comments>http://vjsamuel.wordpress.com/2012/08/31/an-eventful-google-summer-of-code-2012/#comments</comments>
		<pubDate>Fri, 31 Aug 2012 10:52:34 +0000</pubDate>
		<dc:creator>vjsamuel</dc:creator>
				<category><![CDATA[Drizzle]]></category>

		<guid isPermaLink="false">http://vjsamuel.wordpress.com/?p=94</guid>
		<description><![CDATA[This year was my third consecutive Google Summer of Code and I&#8217;ve done all three of my GSoCs for the Drizzle community. The first time I worked on refactoring the commandline options processing system using boost::program_options. The second time I worked on a stored procedure interface for Drizzle. This year I got a very interesting [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vjsamuel.wordpress.com&#038;blog=13379184&#038;post=94&#038;subd=vjsamuel&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>This year was my third consecutive Google Summer of Code and I&#8217;ve done all three of my GSoCs for the <a href="http://drizzle.org">Drizzle </a>community. The first time I worked on refactoring the commandline options processing system using boost::program_options. The second time I worked on a stored procedure interface for Drizzle. This year I got a very interesting project to work on. My mentor,<a href="http://blog.krow.net/"> Brian Aker</a>, asked me if I could work on adding Drizzle backend support for <a href="http://openstack.org">OpenStack</a>. I was very thrilled since I&#8217;ve been long trying to contribute to the OpenStack community and OpenStack is a community that I&#8217;ve admired since its infant days. So, I happily said yes. Brian charted out a plan asking me to try adding a plugin for Collectd which could be used to collect the Drizzle server&#8217;s statistics from time to time. As part of this I had to work with libdrizzle. There were not many concrete examples of libdrizzle usage. I somehow managed to write a simple &#8220;Hello,World&#8221; kind of libdrizzle based C program which I had used as a base to start working on the plugin. But, because of all the relocating and stuff that was happening in my personal life I never got to finish the plugin and it is still left in a half baked state. I will add a blog showing the basic program that I had written using libdrizzle so that people could use it as a base to build on.</p>
<p>I then moved on to modifying devstack to script so that it uses Drizzle as a backend instead of MySQL. <a href="http://inaugust.com/">Monty Taylor</a> had already told me that all the Drizzle support is already built in as a part of SQLAlchemy and I wouldn&#8217;t have to do much. Hence I started to remove all the MySQL related code and adding its equivalent Drizzle code. Diving further in I had noticed that I would have to modify some of the SQLAlchemy library code and some of the code in Nova which I did and got working OpenStack with Drizzle. I will add another blog post covering how I had achieved the backend support as well.</p>
<p>All in all, I had fun working on this project this year and the amount of satisfaction that I got on seeing OpenStack run with Drizzle in the backend is priceless. Ultimately I too have contributed to OpenStack in one form. Now, Drizzle is truely &#8220;on the cloud&#8221;.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/vjsamuel.wordpress.com/94/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/vjsamuel.wordpress.com/94/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vjsamuel.wordpress.com&#038;blog=13379184&#038;post=94&#038;subd=vjsamuel&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://vjsamuel.wordpress.com/2012/08/31/an-eventful-google-summer-of-code-2012/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/780070863ded4c2f33881ccd13b89f10?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">vjsamuel</media:title>
		</media:content>
	</item>
		<item>
		<title>Drizzle 7.1 GA</title>
		<link>http://vjsamuel.wordpress.com/2012/04/04/drizzle-7-1-ga/</link>
		<comments>http://vjsamuel.wordpress.com/2012/04/04/drizzle-7-1-ga/#comments</comments>
		<pubDate>Wed, 04 Apr 2012 16:21:09 +0000</pubDate>
		<dc:creator>vjsamuel</dc:creator>
				<category><![CDATA[Drizzle]]></category>

		<guid isPermaLink="false">http://vjsamuel.wordpress.com/?p=91</guid>
		<description><![CDATA[The GA of Drizzle is available for public use. You can see our blog post for the new improvements available with this release. I&#8217;ve been with Drizzle for two years now and it is good to see Drizzle mature. This release has given more importance to the users as we&#8217;ve done a lot of work [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vjsamuel.wordpress.com&#038;blog=13379184&#038;post=91&#038;subd=vjsamuel&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>The GA of Drizzle is available for public use. You can see our <a href="http://blog.drizzle.org/2012/04/04/drizzle-7-1-33-stable-has-been-released/">blog post</a> for the new improvements available with this release. I&#8217;ve been with Drizzle for two years now and it is good to see Drizzle mature. This release has given more importance to the users as we&#8217;ve done a lot of work on improving documentation and fixing a lot of bugs. We&#8217;ve also moved forward in the quest of bringing true multi tenancy.  The release is right on time for Percona Live MySQL Conference which is scheduled for next week. This release is even more special to me as I have the privilege of being Drizzle&#8217;s Release Manager and had the opportunity to announce to the world the GA of Drizzle 7.1. As always I&#8217;m proud to be a Drizzle dev <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/vjsamuel.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/vjsamuel.wordpress.com/91/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vjsamuel.wordpress.com&#038;blog=13379184&#038;post=91&#038;subd=vjsamuel&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://vjsamuel.wordpress.com/2012/04/04/drizzle-7-1-ga/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/780070863ded4c2f33881ccd13b89f10?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">vjsamuel</media:title>
		</media:content>
	</item>
		<item>
		<title>And it&#8217;s that time of the year again! GSOC 2012</title>
		<link>http://vjsamuel.wordpress.com/2012/03/17/and-its-that-time-of-the-year-again-gsoc-2012/</link>
		<comments>http://vjsamuel.wordpress.com/2012/03/17/and-its-that-time-of-the-year-again-gsoc-2012/#comments</comments>
		<pubDate>Fri, 16 Mar 2012 18:53:24 +0000</pubDate>
		<dc:creator>vjsamuel</dc:creator>
				<category><![CDATA[Drizzle]]></category>

		<guid isPermaLink="false">http://vjsamuel.wordpress.com/?p=84</guid>
		<description><![CDATA[Great news for all Google Summer of Code aspirants. Drizzle has been accepted as a mentoring organization for the 4th time. Students are welcome to look at our wiki page link and find possible projects and mentors. We hangout at #drizzle on IRC Freenode. Feel free to drop by and post your queries. We have [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vjsamuel.wordpress.com&#038;blog=13379184&#038;post=84&#038;subd=vjsamuel&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Great news for all Google Summer of Code aspirants. Drizzle has been accepted as a mentoring organization for the 4th time. Students are welcome to look at our <a href="http://wiki.drizzle.org/GSOC_2012_Project_Ideas">wiki page link</a> and find possible projects and mentors. We hangout at #drizzle on IRC Freenode. Feel free to drop by and post your queries. We have devs from across the globe and so you may get your queries solved at the earliest. If you cant find us on the IRC channel then just shoot out a mail to our mailing list <a href="drizzle-discuss@lists.launchpad.net">Drizzle-Discuss</a>. We have good <a href="http://docs.drizzle.org">documentation</a> on how to get started with code contribution. We would love to see you submit patches for<a href="https://bugs.launchpad.net/drizzle/+bugs?field.tag=low-hanging-fruit"> low hanging fruit </a>when you try to get a fix on your project proposals. We hope to have good talent at Drizzle this year. Put on those thinking hats and get those ready. Happy hacking fellow students!!!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/vjsamuel.wordpress.com/84/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/vjsamuel.wordpress.com/84/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vjsamuel.wordpress.com&#038;blog=13379184&#038;post=84&#038;subd=vjsamuel&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://vjsamuel.wordpress.com/2012/03/17/and-its-that-time-of-the-year-again-gsoc-2012/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/780070863ded4c2f33881ccd13b89f10?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">vjsamuel</media:title>
		</media:content>
	</item>
		<item>
		<title>Drizzle, now a part of Software in the Public Interest</title>
		<link>http://vjsamuel.wordpress.com/2011/10/06/drizzle-now-a-part-of-software-in-the-public-interest/</link>
		<comments>http://vjsamuel.wordpress.com/2011/10/06/drizzle-now-a-part-of-software-in-the-public-interest/#comments</comments>
		<pubDate>Thu, 06 Oct 2011 15:58:08 +0000</pubDate>
		<dc:creator>vjsamuel</dc:creator>
				<category><![CDATA[Drizzle]]></category>

		<guid isPermaLink="false">http://vjsamuel.wordpress.com/?p=79</guid>
		<description><![CDATA[Its been a while since I ve blogged but I couldn&#8217;t think of a better time to resume blogging than when Drizzle was officially became associated to Software in the Public Interest. I ve been a part of Drizzle for almost a year and a half now and my passion for Drizzle seems to grow [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vjsamuel.wordpress.com&#038;blog=13379184&#038;post=79&#038;subd=vjsamuel&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Its been a while since I ve blogged but I couldn&#8217;t think of a better time to resume blogging than when Drizzle was officially became associated to Software in the Public Interest. I ve been a part of Drizzle for almost a year and a half now and my passion for Drizzle seems to grow every day. It is always good to see changes that happen for good and this is one of them I guess. Now that Drizzle is a part of SPI, it has a legal entity behind it which is always good. How can you benefit from this you may ask. If you are a US tax payer, then any donation that you make will be tax deductible and all your valuable contributions will be used towards the betterment of Drizzle. The easiest way to donate is <a href="https://co.clickandpledge.com/advanced/default.aspx?wid=46722" target="_blank">using a credit card at Click &amp; Pledge</a>. The SPI website lists some <a href="http://spi-inc.org/donations/" target="_blank">alternative methods</a> such as using a cheque.  So, please do make your valuable contributions towards Drizzle. As always I feel proud to be a part of the Drizzle family and will continue to strive for the betterment of Drizzle. <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/vjsamuel.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/vjsamuel.wordpress.com/79/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vjsamuel.wordpress.com&#038;blog=13379184&#038;post=79&#038;subd=vjsamuel&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://vjsamuel.wordpress.com/2011/10/06/drizzle-now-a-part-of-software-in-the-public-interest/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/780070863ded4c2f33881ccd13b89f10?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">vjsamuel</media:title>
		</media:content>
	</item>
		<item>
		<title>Stored Procedure Interface for Drizzle</title>
		<link>http://vjsamuel.wordpress.com/2011/03/23/stored-procedure-interface-for-drizzle/</link>
		<comments>http://vjsamuel.wordpress.com/2011/03/23/stored-procedure-interface-for-drizzle/#comments</comments>
		<pubDate>Wed, 23 Mar 2011 07:36:52 +0000</pubDate>
		<dc:creator>vjsamuel</dc:creator>
				<category><![CDATA[Drizzle]]></category>

		<guid isPermaLink="false">http://vjsamuel.wordpress.com/?p=75</guid>
		<description><![CDATA[I &#8216;ve been doing some reading on Stored Procedures and how they are being defined and executed. These are some of the points which I think should be covered in our Stored Procedure Interface and some of my suggestions. I&#8217;m open to suggestions and criticism. According to what we had discussed in the channel we [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vjsamuel.wordpress.com&#038;blog=13379184&#038;post=75&#038;subd=vjsamuel&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>I &#8216;ve been doing some reading on Stored Procedures and how they are being defined and executed. These are some of the points which I think should be covered in our Stored Procedure Interface and some of my suggestions. I&#8217;m open to suggestions and criticism. According to what we had discussed in the channel we need make the stored procedure interface pluggable. So, a part of the interface will reside within drizzled and the client part of the interface will reside within the plugin itself.</p>
<p>I personally feel we could work on this interface on a series of 5 to 6 iterations.</p>
<p>1) Write grammar for our stored procedures, a lexical analyser and some parser code using flex and bison. I think we could abide to the SQL standards as much as possible from the earlier stages so that we don&#8217;t need to refactor much later on. After we write the grammar we need to test thoroughly!!! The earlier we find bugs the better.</p>
<p>2) Update sql_lex and sql_yacc so that the new keywords STORED and PROCEDURE are understood by our SQL grammar. Update the client code so<br />
that we are able to use the STORED and PROCEDURE keywords. Update bison code to CREATE and DROP Stored Procedures. Use EXECUTE_SYM to execute the stored procedures.</p>
<p>3) We need to store our stored procedures on tables so we will have to write protobuffers for the new fragment of code that is going to enable us to store the stored procedures on the tables.</p>
<p>Now, after the third pass we could merge the code into trunk and _technically_ we should be able to run stored procedures that have only SQL statements. Once we get this working we should be able add the rest of the features with patches.</p>
<p>4) Determine a convention for denoting variables. SQL Server uses @ prefixed to names to denote that the given name is a variable. Enable stored procedures to accept input parameters. We will be needing to re write protobuffers because we need to use these variables in our tables and give special meaning to them in the future.( i.e if they are IN, OUT or INOUT). The interface will not support IN, OUT and INOUT in this pass though.</p>
<p>5) Add support for IN, OUT and INOUT. We need to think of a good way to prevent modification of IN variables. I do not know how to make a table<br />
entry readonly. We also need to be able to return values in the case of OUT and INOUT variables. We could have a column that denotes if a variable is IN OUT or INOUT and based on the entry give write permissions on that variable. Just a suggestion.</p>
<p>6) Add SET to the stored procedures grammar. This will enable us to use local variables. The protobuffers need to be re written so that the local variables can be stored in out tables.</p>
<p>I need to do alot of reading on google protobuffers and brush up on flex and bison. The first three iterations are hardest according to me. I hope I made some sense in these notes.</p>
<p>Please do comment on any mistakes that I &#8216;ve made so that I could work on them. Better ways on approaching this problem are also welcome. <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/vjsamuel.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/vjsamuel.wordpress.com/75/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vjsamuel.wordpress.com&#038;blog=13379184&#038;post=75&#038;subd=vjsamuel&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://vjsamuel.wordpress.com/2011/03/23/stored-procedure-interface-for-drizzle/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/780070863ded4c2f33881ccd13b89f10?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">vjsamuel</media:title>
		</media:content>
	</item>
		<item>
		<title>A year at Drizzle</title>
		<link>http://vjsamuel.wordpress.com/2011/03/12/a-year-at-drizzle/</link>
		<comments>http://vjsamuel.wordpress.com/2011/03/12/a-year-at-drizzle/#comments</comments>
		<pubDate>Sat, 12 Mar 2011 13:03:01 +0000</pubDate>
		<dc:creator>vjsamuel</dc:creator>
				<category><![CDATA[Drizzle]]></category>

		<guid isPermaLink="false">http://vjsamuel.wordpress.com/?p=70</guid>
		<description><![CDATA[Its almost a year since I first became a part of the Drizzle family and its been an amazing experience so far. I first came to Drizzle with an aspiration to become a Google Summer of Code intern. I did realise that dream under the guidance of my mentor Brian Aker. Google Summer of Code [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vjsamuel.wordpress.com&#038;blog=13379184&#038;post=70&#038;subd=vjsamuel&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Its almost a year since I first became a part of the Drizzle family and its been an amazing experience so far. I first came to Drizzle with an aspiration to become a Google Summer of Code intern. I did realise that dream under the guidance of my mentor <a href="http://krow.net">Brian Aker</a>. Google Summer of Code was awesome. I got to work on  the command line options processing system alongside Brian, <a href="http://inaugust.com/~mordred">Monty Taylor</a> and <a href="http://www.joinfu.com">Jay Pipes</a>. Summer of Code 2010 was a huge success and I did manage some good work into trunk.</p>
<p>Even though summer of code was over I did hang around at Drizzle and do some struct to class refactoring, a lot of bug fixes and some tamil utf-8 test cases. I feel proud to work along side such great people and learn new technologies with them as Drizzle grows. The number of friends I have made here are countless,<a href="http://www.flamingspork.com/blog/"> Stewart Smith</a>, <a href="http://www.linuxjedi.co.uk">Andrew Hutchings</a>, <a href="http://dshrewsbury.blogspot.com">David Shrewsbury</a>, <a href="http://www.wc220.com/">Patrick Crews</a>, just to name a few. <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I recently approached Brian and Monty regarding what I could do for the coming Summer of Code and Brian was quick to respond. <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  <strong>Stored Procedure Interface</strong> was his reply and SPI is what I am going to propose for the upcoming Summer of Code. Brian is very excited about it and so are many devs at #drizzle including myself. I will be coming up with  a description regarding this project in a few days time and I &#8216;m open to any comments.</p>
<p>I almost forgot about the GA! The GA of Drizzle is coming out in a few days. I&#8217;m pretty excited to be a part of the team and I will definitely contribute more to Drizzle.. Thank you guys! I do love working at #drizzle. <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/vjsamuel.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/vjsamuel.wordpress.com/70/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vjsamuel.wordpress.com&#038;blog=13379184&#038;post=70&#038;subd=vjsamuel&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://vjsamuel.wordpress.com/2011/03/12/a-year-at-drizzle/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/780070863ded4c2f33881ccd13b89f10?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">vjsamuel</media:title>
		</media:content>
	</item>
		<item>
		<title>Why search when you can &#8220;Grabble&#8221;</title>
		<link>http://vjsamuel.wordpress.com/2010/12/04/why-search-when-you-can-grabble/</link>
		<comments>http://vjsamuel.wordpress.com/2010/12/04/why-search-when-you-can-grabble/#comments</comments>
		<pubDate>Sat, 04 Dec 2010 18:11:32 +0000</pubDate>
		<dc:creator>vjsamuel</dc:creator>
				<category><![CDATA[Idle thoughts]]></category>

		<guid isPermaLink="false">http://vjsamuel.wordpress.com/?p=65</guid>
		<description><![CDATA[I guess it has been a while since I updated my blog probably because I ve been caught up in end of semester activities. During that time I got to work on a very interesting project as a part of my college curriculum. I wrote a &#8220;file system search engine&#8221; using C ++ and a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vjsamuel.wordpress.com&#038;blog=13379184&#038;post=65&#038;subd=vjsamuel&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>I guess it has been a while since I updated my blog probably because I ve been caught up in end of semester activities. During that time I got to work on a very interesting project as a part of my college curriculum. I wrote a &#8220;file system search engine&#8221; using C ++ and a lot of standard libraries from Boost and I named it Grabble.</p>
<p>There are a lot of file system search engines out there and many may wonder why would I waste my time on hacking on such an area when there are already a lot of good tools out there. I have noticed that some of the file system search engines do take a while to respond to queries. So it was kind of a &#8220;Need For Speed&#8221; venture.</p>
<p>In the end, I did come up with a search engine that is quite fast, may be even faster than the average engine out there but it does come with a huge constraint of memory requirement. I have given no regard to memory <img src='http://s2.wp.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> . There is a HUGE inverted index inside the heart of the search engines server which is used to service the clients queries. Since an inverted index is used it only takes unit time to retrieve data from the server. The system follows a client-server tcp connection which I had implemented using boost::asio. There are alot of threads running in the system which were implemented using boost::thread. The whole software is built on <a href="http://inaugust.com/~mordred">Monty Taylor</a>. Thank you Monty!!!</p>
<p>As far as performance is concerned, Grabble can retrieve data in under 10ms and report the absence of data in exactly 10ms. There are some bugs(a lot actually <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  ) in the system but I would say that the system is still in its infancy and could be tweaked to attain perfection. So, if you are looking for a very high speed search engine then I guess its probably safe to say that you&#8217;d rather grabble than search for you data. <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  If you have any queries regarding grabble you re always welcome to PM me.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/vjsamuel.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/vjsamuel.wordpress.com/65/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vjsamuel.wordpress.com&#038;blog=13379184&#038;post=65&#038;subd=vjsamuel&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://vjsamuel.wordpress.com/2010/12/04/why-search-when-you-can-grabble/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/780070863ded4c2f33881ccd13b89f10?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">vjsamuel</media:title>
		</media:content>
	</item>
		<item>
		<title>Being a part of the Beta release</title>
		<link>http://vjsamuel.wordpress.com/2010/10/06/being-a-part-of-the-beta-release/</link>
		<comments>http://vjsamuel.wordpress.com/2010/10/06/being-a-part-of-the-beta-release/#comments</comments>
		<pubDate>Wed, 06 Oct 2010 13:23:08 +0000</pubDate>
		<dc:creator>vjsamuel</dc:creator>
				<category><![CDATA[Drizzle]]></category>

		<guid isPermaLink="false">http://vjsamuel.wordpress.com/?p=61</guid>
		<description><![CDATA[I&#8217;m probably the last of all the devs at Drizzle to blog about the big Beta release but I haven&#8217;t had a lot of time on my hands these days to do it. It has been six months now since I first came to the Drizzle community to try and make it into Google Summer [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vjsamuel.wordpress.com&#038;blog=13379184&#038;post=61&#038;subd=vjsamuel&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>I&#8217;m probably the last of all the devs at Drizzle to blog about the big Beta release but I haven&#8217;t had a lot of time on my hands these days to do it. It has been six months now since I first came to the Drizzle community to try and make it into Google Summer of Code and I &#8216;ve seen Drizzle go through a lot of changes. One of the changes have come from myself which is replacing my_getopt with boost:: program_options which I had done as a part of Google Summer of Code under the guidance of <a href="http://krow.net/">Brian Aker</a>. Now, the Beta may not be a big deal to many but it is a huge deal to me as this is the first time I&#8217;m a part of something huge. <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Even though summer of code has ended and I am still spending time in #drizzle in order to contribute patches, utf-8 test cases and bug fixes to Drizzle. (Its difficult to leave such good people and the Drizzle code base is awesome to work on <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  ). I will continue to contribute to Drizzle when ever I had time and see Drizzle grow as time goes by. Cheers to all my mates at #drizzle for making it so far and my wishes to them to take Drizzle even higher.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/vjsamuel.wordpress.com/61/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/vjsamuel.wordpress.com/61/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vjsamuel.wordpress.com&#038;blog=13379184&#038;post=61&#038;subd=vjsamuel&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://vjsamuel.wordpress.com/2010/10/06/being-a-part-of-the-beta-release/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/780070863ded4c2f33881ccd13b89f10?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">vjsamuel</media:title>
		</media:content>
	</item>
	</channel>
</rss>
