<br><div class="gmail_quote">On Thu, Oct 1, 2009 at 2:57 PM, Jon Zeppieri <span dir="ltr"><<a href="mailto:zeppieri@gmail.com" target="_blank">zeppieri@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
My bug. Fixed in version 1.5 of mysql.plt, which I just uploaded to PLaneT.<br><br>Thanks for the report!<br><font color="#888888"></font></blockquote><div><br>Jon - thanks for chiming in and fix it so quickly. <br><br>
</div>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div><div class="gmail_quote">On Thu, Oct 1, 2009 at 4:46 PM, Scott Hickey <span dir="ltr"><<a href="mailto:sshickey@qwest.net" target="_blank">sshickey@qwest.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
Also, I added code that is MySQL specific to return the row id for the row inserted. Is there a database agnostic way to get that id using the dbi module?<br></blockquote></div></div></div></blockquote><div><br>Scott - <br>
<br>DBI will depend on the underlying driver for such functionalities. jaz/mysql appears to return the last inserted id in its side-effect struct. Until I have it wrapped with the next release - you can retrieve the data by explicitly requiring (require (planet jaz/mysql)) and then use side-effect-insert-id to get the data back.<br>
<br>I'll have to think about how to approach this since each database returns different side effects. If anyone have thoughts into this matter please let me know - I would love to hear it. <br><br>Thanks,<br>yc<br><br>
</div></div>