Re: Synchronizing InnoDB tables

2005-05-03 Thread Gleb Paharenko
Hello. As for me, SELECT ... FOR UPDATE could help in your situation. See: http://dev.mysql.com/doc/mysql/en/innodb-locking-reads.html Locking the whole InnoDB table is usually not a very good solution, because it does row-level locking. Marcin Lewandowski <[EMAIL PROTECTED]> wrote

Re: Synchronizing InnoDB tables

2005-05-02 Thread Heikki Tuuri
Marcin, - Original Message - From: "Marcin Lewandowski" <[EMAIL PROTECTED]> Newsgroups: mailing.database.myodbc Sent: Sunday, May 01, 2005 7:25 PM Subject: Synchronizing InnoDB tables Hi, I want to use InnoDB tables in my project, because I can use transactions with the

Synchronizing InnoDB tables

2005-05-01 Thread Marcin Lewandowski
Hi, I want to use InnoDB tables in my project, because I can use transactions with them. I would write a hotel room's reservation system and sometimes I would need to get from particular SELECT query exact state - whether room is reserved or not. Because, when I'm using innodb I work only on co