in reply to Re: Topics in Perl Programming: Table-Mutation Tolerant Database Fetches with DBI
in thread Topics in Perl Programming: Table-Mutation Tolerant Database Fetches with DBI
Yes, because it's probably working by mind control.
Uh, more seriously, the only way that you could reliably (and this probably needs several levels of qualification) avoid this breaking your code would be to interrogate the database prior to each select (and this still wouldn't save you in the event that the database is changed in the time between your first 'interrogation' select and your second 'data' select).
What you'd need to do is either:
Obviously, I lean towards the latter solution, but it requires that you be able to restrict modifications to the tables to the tools that you provide.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Topics in Perl Programming: Table-Mutation Tolerant Database Fetches with DBI
by repson (Chaplain) on Nov 29, 2000 at 04:26 UTC | |
by Dominus (Parson) on Nov 29, 2000 at 04:32 UTC | |
|
Re^3: Topics in Perl Programming: Table-Mutation Tolerant Database Fetches with DBI
by twotone (Beadle) on May 29, 2009 at 05:07 UTC |