MySQL Forums
Forum List  »  Newbie

Re: MySQL trouble on rollback with update
Posted by: iam iam
Date: August 18, 2004 01:47PM

If you don't specify to use the InnoDB or BDB table types, you won't be able to use transactions. Create your table as follows:

CREATE TABLE process_lock (
type INT NOT NULL,
count INT NOT NULL,
PRIMARY KEY (type)
) TYPE=InnoDB;

You must assure, too, that your MySQL server has InnoDB suport activated. See http://dev.mysql.com/books/mysqlpress/mysql-tutorial/ch10.html for that.


Options: ReplyQuote


Subject
Written By
Posted
Re: MySQL trouble on rollback with update
August 18, 2004 01:47PM


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.