and you would not be allowed to delete a parent without also deleting children.<br><br><br><br><div class="gmail_quote">On Mon, Mar 23, 2009 at 11:24 AM, Victor Kane <span dir="ltr">&lt;<a href="mailto:victorkane@gmail.com">victorkane@gmail.com</a>&gt;</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;">Data integrity is understood as respecting the relationships between tables.<br>So, if there are several tables in a one to many relationship with the node table, say, for a CCK based content type, if the node is deleted, then the child records would also be deleted.<div>

<div></div><div class="h5"><br>
<br><div class="gmail_quote">On Mon, Mar 23, 2009 at 11:00 AM, Ivan Sergio Borgonovo <span dir="ltr">&lt;<a href="mailto:mail@webthatworks.it" target="_blank">mail@webthatworks.it</a>&gt;</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;">


On Mon, 23 Mar 2009 09:34:57 -0400<br>
<div>Earnie Boyd &lt;<a href="mailto:earnie@users.sourceforge.net" target="_blank">earnie@users.sourceforge.net</a>&gt; wrote:<br>
<br>
</div><div>&gt; &gt; Of course data integrity is not just about content of tables.<br>
&gt; &gt;<br>
&gt;<br>
&gt; This is why the issue I pointed you to is so important.<br>
&gt;<br>
&gt; &gt;&gt; &gt; - if you&#39;re using advanced features, you&#39;re constrained by<br>
&gt; &gt;&gt; &gt;   concurrent writes, you can&#39;t afford data loss and you didn&#39;t<br>
&gt; &gt;&gt; &gt;   invest too much in MySQL there are better engines to look at.<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; Out of curiosity, what would you suggest? No, I&#39;m not looking to<br>
&gt; &gt;&gt; leave MySQL but I always enjoy learning a little more about<br>
&gt; &gt;&gt; databases.<br>
&gt; &gt;<br>
&gt; &gt; PostgreSQL... but really it depends on your needs.<br>
&gt;<br>
&gt; If only ANSI syntax is used then it shouldn&#39;t really matter which<br>
&gt; transactional DB is used as long is the engine supports ANSI<br>
&gt; transactional syntax.  A transactional DB would allow for less PHP<br>
&gt; code to be needed and a benefit would be the amount of disk i/o would<br>
&gt; be lessened.<br>
<br>
</div>yeah... but is putting the bar much higher in terms of requirements...<br>
that won&#39;t make InnoDB just default but required.<br>
And it is not just a matter of transactions of course.<br>
Once you&#39;re in that league you may exploit many other features...<br>
<br>
But still if you want to keep supporting MyISAM and you want the DB to<br>
take care of relational integrity and such if possible... you&#39;re going<br>
to do twice the work if you still want to support MyISAM and sqlite.<br>
<br>
Maybe in the future there won&#39;t be any good reason to have half-RDBMS<br>
around so support for half-RDBMS could be dropped... but right now<br>
MyISAM and sqlite have their use case, and somehow dropping support for<br>
2 out of 4 supported DB is not going to make DB abstraction any better<br>
right now.<br>
<div><div></div><div>--<br>
[ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br>
</div></div></blockquote></div><br>
</div></div></blockquote></div><br>