| List: | General Discussion | « Previous MessageNext Message » | |
| From: | Gordon | Date: | May 13 2005 5:21pm |
| Subject: | RE: Read past Equivalent in MySQL | ||
| View as plain text | |||
If you can add a table structure why not create a SELECTED table with REPORT ID and PERSON ID as the 2 field PRIMARY KEY. Then you could INSERT IGNORE into this table [with no BEGN/COMMIT] and the IGNORE would throw away those already selected. -----Original Message----- From: Duncan Hill [mailto:duncanh@stripped] Sent: Friday, May 13, 2005 10:25 AM To: mysql@stripped Subject: Re: Read past Equivalent in MySQL On Friday 13 May 2005 16:19, Eric Bergen typed: > I agree. It sounds like you could use plain repeatable read isolation > transactions. If someone else is modifying those rows you get an older > version from when your transaction was started. No need for skipping > anything. In the case of what I'm programming, I need to be able to skip records that have been selected by another instance of the program (don't want to send the same person 40 reports with the same content). Hence why I use flags on the table to say 'in progress, don't read me'. -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/mysql?unsub=1
| Thread | ||
|---|---|---|
| • Read past Equivalent in MySQL | Ramesh G | 13 May |
| • Re: Read past Equivalent in MySQL | mfatene | 13 May |
| • Re: Read past Equivalent in MySQL | mfatene | 13 May |
| • Re: Read past Equivalent in MySQL | Ramesh G | 13 May |
| • Re: Read past Equivalent in MySQL | Martijn Tonies | 13 May |
| • Re: Read past Equivalent in MySQL | Martijn Tonies | 13 May |
| • Re: Read past Equivalent in MySQL | mfatene | 13 May |
| • Re: Read past Equivalent in MySQL | Martijn Tonies | 13 May |
| • Re: Read past Equivalent in MySQL | Ramesh G | 13 May |
| • Re: Read past Equivalent in MySQL | Martijn Tonies | 13 May |
| • Re: Read past Equivalent in MySQL | Ramesh G | 13 May |
| • Re: Read past Equivalent in MySQL | Duncan Hill | 13 May |
| • Re: Read past Equivalent in MySQL | Martijn Tonies | 13 May |
| • Re: Read past Equivalent in MySQL | Eric Bergen | 13 May |
| • Re: Read past Equivalent in MySQL | Duncan Hill | 13 May |
| • RE: Read past Equivalent in MySQL | Gordon | 13 May |
| • Re: Read past Equivalent in MySQL | Duncan Hill | 14 May |
| • Re: Read past Equivalent in MySQL | mfatene | 14 May |
