Re: New records not visible to client - 3rd posting!
Posted by: Mark Matthews
Date: January 17, 2006 08:20AM

Martin Woolley wrote:
> Also.... if I insert a new record using the MySQL
> command line SQL processor it also is not visible
> to App B so I think we can elliminate App A from
> this.


Martin,

If you're running on Windows, most likely InnoDB is your default table type. This means you're running with REPEATABLE_READ as your isolation level. If this is the case, the behavior you speak of is what's expected. The application that's "looking" for new data needs to commit or rollback the connection to get a new "snapshot" of the data. Otherwise it will be looking at its "stable snapshot", which means it will only see data as it was before the transaction started.

-Mark

Mark Matthews
Consulting Member Technical Staff - MySQL Enterprise Tools
Oracle
http://www.mysql.com/products/enterprise/monitor.html

Options: ReplyQuote


Subject
Written By
Posted
Re: New records not visible to client - 3rd posting!
January 17, 2006 08:20AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.