rollback a table?

2003-02-27 Thread Mark
Hi, Something bad happened the other day, a query hosed all the data in my table, but luckily I had an original dump of the table from 4 months ago and binlogs from then on. I had to load the original table into a separate db and then grep through the binlogs for queries to update it with, stopping

Rollback problem

2003-01-24 Thread Philipp Specht
Hi! I've got the following problem with Version 4.0.9 of Mysql: The page http://www.mysql.com/doc/en/COMMIT.html says: 'If you do a ROLLBACK when you have updated a non-transactional table you will get an error (ER_WARNING_NOT_COMPLETE_ROLLBACK) as a warning. All transactional safe t

RE: Unknown auto ROLLBACK

2002-09-30 Thread Noor Dawod
ROLLBACK Because you did not set autocommit on? Noor Dawod wrote: >Hi all, > >I found out today that MySQL is adding a 'ROLLBACK' command to each >session connecting to it, without explicitly ordering this. >This is new since we never had this behavior before. Why is this

Re: Unknown auto ROLLBACK

2002-09-30 Thread gerald_clark
Because you did not set autocommit on? Noor Dawod wrote: >Hi all, > >I found out today that MySQL is adding a 'ROLLBACK' command to each >session connecting to it, without explicitly ordering this. >This is new since we never had this behavior before. Why is this

Unknown auto ROLLBACK

2002-09-28 Thread Noor Dawod
Hi all, I found out today that MySQL is adding a 'ROLLBACK' command to each session connecting to it, without explicitly ordering this. This is new since we never had this behavior before. Why is this happening, and how can I revert to the old beahvior (each command sent is carri

BeginTrans - Commit - Rollback on MySQL

2002-09-05 Thread Christos Vorkas
Hi All, I am trying to establish a transaction-oriented method of posting changes on the MySQL database. I'm using MyODBC 3.51 and VB6. Using the ADO Controls, I use connection.BeginTrans to start the transaction, followed by a series of ado.updates, and finally a connection.committrans to close

Re: Re: Commit and rollback problem and mm.mysql

2002-08-19 Thread forum mail
Hi. Thanks for the reply... I curious with what you mean by mysql not supporting commit and rollback coz I found this in the site : http://www.mysql.com/documentation/mysql/bychapter/manual_Refere nce.html#COMMIT Actually, Ive already tested it in my app under weblogic(and worked). I was

Commit and rollback problem

2002-08-18 Thread forum mail
Hi List! Hope you can help me with my problem... I am trying to incorporate commit and rollback in my sql statements... I have tried it in my web application which runs on weblogic and it work fine. However, when I migrated my web app to Tomcat, it failed to rollback when it encountered an

Re: How can i RollBack or Commit using PHP in MYSQL

2001-12-20 Thread Durga_Prasad
MySQL with MyISAM Tables does not provide the facility of Commit or Rollback. You need to compile MySQL with InnoDB tables to have above mentioned features. Check out: www.innodb.com regards, Durga Prasad Placed At : "sreedhar&quo

How can i RollBack or Commit using PHP in MYSQL

2001-12-20 Thread sreedhar
Hi all, How can i RollBack or Commit using PHP in MYSQL. i have not found any commands through PHP Doc. regards, sreedhar - Before posting, please check: http://www.mysql.com/manual.php (the manual) http

commit and rollback commands through php

2001-12-19 Thread sreedhar
How can i say commit or rollback using php. i didnot find any commands for commit or rollback for mysql in php. regards, sreedhar - Before posting, please check: http://www.mysql.com/manual.php (the manual) http

automatic rollback

2001-11-24 Thread Cristiana Amza
cs: ~/personal >> mail [EMAIL PROTECTED] Subject: automatic roll-back I am using BDB tables as offered by MySQL version 3.23.43-max. My question is related to aborting transactions. I am implementing a global transaction manager and using several MySQL engines. Suppose the GTM fails, what happen

Re: using InnoDB ==> transactions (rollback) don't work

2001-07-18 Thread Heikki Tuuri
George, the default in MySQL is set autocommit = 1; To be able to do rollbacks you have to execute set autocommit = 0; Then you can do insert into ...; rollback; I assume you specified in CREATE TABLE ... (...) TYPE=INNODB? Regards, Heikki Copied message: . Hello everybody

Re: Perl DBI and rollback()

2001-06-23 Thread Ilya Martynov
gt;disconnect(), MySQL (or >> is it the Perl DBI module) will run rollback() with an error message: >> Issuing rollback() for database handle being DESTROY'd without explicit >> disconnect(). >> >> My question is, is there any bad effect for MySQL to run the rollba

Re: Perl DBI and rollback()

2001-06-22 Thread Paul DuBois
gt; If I run Perl DBI's $dbh->connect() without $dbh->disconnect(), MySQL (or >> is it the Perl DBI module) will run rollback() with an error message: >> Issuing rollback() for database handle being DESTROY'd without explicit >> disconnect(). >> >> My ques

Re: Perl DBI and rollback()

2001-06-22 Thread Trond Eivind Glomsrød
Batara Kesuma <[EMAIL PROTECTED]> writes: > Hello, > > I think it might not be a right mailing list for this question, but I > don't know where else should I post it. > > If I run Perl DBI's $dbh->connect() without $dbh->disconnect(), MySQL (or > i

Perl DBI and rollback()

2001-06-22 Thread Batara Kesuma
Hello, I think it might not be a right mailing list for this question, but I don't know where else should I post it. If I run Perl DBI's $dbh->connect() without $dbh->disconnect(), MySQL (or is it the Perl DBI module) will run rollback() with an error message: Issuing rollbac

[PATCH]:mysqld (InnoDB) crashes on ROLLBACK of LOAD DATA INFILE

2001-06-04 Thread Heikki Tuuri
Hi! It was the same rollback bug which caused also crash in the case you ran out of tablespace. I had overlooked that the same bug causes problems also if you rollback a transaction which has updated the same row more than once. You can download the fixed /mysql/innobase/row/row0undo.c from my

mysqld (InnoDB) crashes on ROLLBACK of LOAD DATA INFILE

2001-06-03 Thread jshelman
>Description: InnoDB crashes when a ROLLBACK of multiple "LOAD DATA INFILE 'file' REPLACE INTO 'table' commands. mysqld will not startup again because InnoDB attempts the rollback and crashes again. >How-To-Repeat: #create a data file (100,000 lines

Re: Commit and Rollback.

2001-05-08 Thread William R. Mussatto
On Tue, 8 May 2001, Rajeev Ramanujan wrote: > Date: Tue, 8 May 2001 19:49:11 +0530 > From: Rajeev Ramanujan <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: Commit and Rollback. > > Hi, > >Will MySQL support COMMIT and ROLLBACK. >

Re:Commit and Rollback.

2001-05-08 Thread Heikki Tuuri
Rajeev, with the transaction-safe table types InnoDB and BDB, MySQL supports commit and rollback. They are available in the Unix source distribution and in the MySQL -Max binary distribution. Monty said he already has also Windows sources ready and will post them once he has time. Regards

Commit and Rollback.

2001-05-08 Thread Rajeev Ramanujan
Hi, Will MySQL support COMMIT and ROLLBACK. Thank You Rajeev Ramanujan

Re: commit/rollback?

2001-04-12 Thread Thalis A. Kalfigopoulos
gt; It's called from the command line with mysql -u root -p db_name < > file; > > I would like to undo the first operation on table_1 in case the second query (on > table_2) returns an error. > I believe this could be done by using commit/rollback if I used BDB tables. But &

commit/rollback?

2001-04-12 Thread Jochen Mielke
ond query (on table_2) returns an error. I believe this could be done by using commit/rollback if I used BDB tables. But I'm using MyISAM. Any hints how could I make this? Thanks, Jochen - Before posting, please check: ht

Re: BEGIN, COMMIT, ROLLBACK

2001-04-10 Thread John Barton
Roselli wrote: > Hi. How to use Begin, Commit and Rollback in my tables type MyISAM ? > > mysql> BEGIN; > Query OK, 0 rows affected (0.00 sec) > > mysql> UPDATE tabgral set codigo=2 where codigo=1 and nrotab=99; > Query OK, 1 row affected (0.00 sec) > Rows match

Re: BEGIN, COMMIT, ROLLBACK

2001-04-10 Thread Peter Skipworth
**READ THE MANUAL BEFORE POSTING TO THE LIST** http://www.mysql.com/docs On Tue, 10 Apr 2001, Bruno Roselli wrote: > Hi. How to use Begin, Commit and Rollback in my tables type MyISAM ? > > mysql> BEGIN; > Query OK, 0 rows affected (0.00 sec) > > mysql> UPDATE ta

BEGIN, COMMIT, ROLLBACK

2001-04-10 Thread Bruno Roselli
Hi. How to use Begin, Commit and Rollback in my tables type MyISAM ? mysql> BEGIN; Query OK, 0 rows affected (0.00 sec) mysql> UPDATE tabgral set codigo=2 where codigo=1 and nrotab=99; Query OK, 1 row affected (0.00 sec) Rows matched: 1 Changed: 1 Warnings: 0 mysql> ROLLBACK; E

Re: beggin, commit, and rollback

2001-04-05 Thread role+mysql-readers
KB> Doesn't mysql support begin and rollback transactions? I *believe* it went like this -- syntax supported and returned success without doing anything in older versions, then functionality was actually *implemented* more recently -- maybe only most recent stable release

Re: beggin, commit, and rollback

2001-04-04 Thread Miguel Angel Solórzano
ql> select * from host_info; +--+ | hostname | +--+ | Kris | +--+ 1 row in set (0.00 sec) mysql> delete from host_info where hostname="Kris"; Query OK, 1 row affected (0.00 sec) mysql> select * from host_info; Empty set (0.00 sec) mysql> roll

Re: beggin, commit, and rollback

2001-04-04 Thread Gary Huntress
The MySQL manual is one of the best I've seen 1) http://www.mysql.com/documentation/mysql/bychapter/manual_Compatibility.html #Commit-rollback 2) http://www.mysql.com/documentation/mysql/bychapter/manual_Reference.html#JOI N Regards, Gary "SuperID

Re: beggin, commit, and rollback

2001-04-04 Thread Jeremy Zawodny
On Wed, Apr 04, 2001 at 02:52:39PM -0700, Kristopher Briscoe wrote: > > Doesn't mysql support begin and rollback transactions? If so what > is the correct procedure to make it happen. I logged in and ran my > query.. Depends on the table type. Check the manual for details

beggin, commit, and rollback

2001-04-04 Thread Kristopher Briscoe
Sorry if this is mundane for some, but I have searched the manual and I cannot find the answer to itTwo issues here . 1) Doesn't mysql support begin and rollback transactions? If so what is the correct procedure to make it happen. I logged in and ran my query.. >select * from h

Re: ROLLBACK not working in Red Hat Linux 7 but does in RedHat Linux 6.2 (MySQL3.23.33)

2001-02-25 Thread Tomi Junnila
* Irmund Thum <[EMAIL PROTECTED]> wrote on 25.02.01 17:20: > ERROR 1196: Warning: Some non-transactional changed tables couldn't be > rolled back > *** > so I'm not that expert knowing what "non-transactional changed tables" > exactly means You're probably using the RPM version or otherwise just

Re: ROLLBACK not working in Red Hat Linux 7 but does in RedHat Linux 6.2 (MySQL3.23.33)

2001-02-25 Thread Irmund Thum
[EMAIL PROTECTED] schrieb: > > create table bdbtest (pk int primary key, name varchar(20)) type=bdb; > begin; > insert into bdbtest values (1, 'tim'); > rollback; > select * from bdbtest; > (I see the row but should not) on RH7 I get *** mysql> select * from

ROLLBACK not working in Red Hat Linux 7 but does in RedHat Linux 6.2 (MySQL3.23.33)

2001-02-25 Thread Timothy_Dyck
Hi all, has anyone also seen problems with ROLLBACK not working when installing MySQL on Red Hat Linux 7.0? On Red Hat Linux 7.0, ROLLBACK does nothing (though it doesn't generate an error either, and the table is listed as a BDB in show table status, and locking works as expected with a

BDB rollback still not working in 3.23.32

2001-01-23 Thread Tomi Junnila
>Description: Rollback still does not work with MySQL 3.23.32 and BDB 3.2.3h. This same problem has been encountered with earlier versions of MySQL as well. However, all hosts on which this has been noticed have been running Red Hat Linux 7.0, which could be

<    1   2