<br><br>---------- Forwarded message ----------<br><span class="gmail_quote">From: <b class="gmail_sendername">Mike McGonagle</b> &lt;<a href="mailto:mjmogo@gmail.com">mjmogo@gmail.com</a>&gt;<br>Date: Dec 9, 2007 4:21 PM<br>
Subject: Re: [PD] [psql] object hand-holding<br>To: Mathieu Bouchard &lt;<a href="mailto:matju@artengine.ca">matju@artengine.ca</a>&gt;<br><br></span><br><br><div><span class="q"><span class="gmail_quote">On 12/7/07, <b class="gmail_sendername">
Mathieu Bouchard</b> &lt;<a href="mailto:matju@artengine.ca" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">matju@artengine.ca</a>&gt; wrote:</span><blockquote class="gmail_quote" style="margin:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex">

On Fri, 7 Dec 2007, Hans-Christoph Steiner wrote:<br><br>&gt; That is done by sending the [submit( message to the hot inlet.&nbsp;&nbsp;Or do you<br>&gt; mean having multiple SQL calls separated by semi-colons?&nbsp;&nbsp;If you wanted to<br>

&gt; add semicolons, there would have to be a special message, I think we could<br>&gt; just reuse the &quot;addsemi&quot;, &quot;addcomma&quot;, &quot;adddollar&quot; messages from message<br>&gt; boxes.<br><br>The only SQL interface I&#39;d really be happy to use (if I had to use SQL) is
<br>something using placeholders, sort of like [expr], but perhaps written in<br>the usual SQL style:<br><br>[sql select * from candies where flavour=? and colour=?]</blockquote><div><br>&nbsp;</div>
<div><br>&nbsp;</div></span><div>I am actually considering going back to this idea, as I can&#39;t seem to figure out why my current version of [sqlite] is crashing. Hans said that PD generally doesn&#39;t crash, and for other externals that I have written, I was able to track down the bugs because it was crashing within my external. Here it is crashing while executing PD code, and that tells me that PD DOES crash.
</div><div><br>&nbsp;</div><div>I wish there were some sort of tutorial on troubleshooting problems like this, mostly because I don&#39;t really know where to start with something like &#39;gdb&#39;.
</div><span class="q"><div><br>&nbsp;</div><blockquote class="gmail_quote" style="margin:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex">you wouldn&#39;t modify the statement any more than you modify an [expr] at
<br>runtime. this allows the statement to be precompiled by the server. you
<br>could still allow runtime change but perhaps it would get messy with<br>multiple inlets, so let&#39;s assume for now that it is not supported.</blockquote><div><br>&nbsp;</div></span><div>This is why I thought of this in the first place. You generally don&#39;t modify the SQL, except to insert data.
</div><div>&nbsp;</div></div><div>Mike</div><div><span class="e" id="q_116c0ffced599eda_5"><div><br>&nbsp;</div><br>-- <br>Peace may sound simple—one beautiful word— but it requires everything we have, every quality, every strength, every dream, every high ideal.
<br>—Yehudi Menuhin (1916–1999), musician
</span></div><br clear="all"><br>-- <br>Peace may sound simple—one beautiful word— but it requires everything we have, every quality, every strength, every dream, every high ideal.<br>—Yehudi Menuhin (1916–1999), musician