Re: Rollback is not take effect on MySQL 5.0.18

2006-03-14 Thread Truong Tan Son
|
| Select_range  | 0|
| Select_range_check| 0|
| Select_scan   | 2|
| Slave_open_temp_tables| 0|
| Slave_retried_transactions| 0|
| Slave_running | OFF  |
| Slow_launch_threads   | 0|
| Slow_queries  | 0|
| Sort_merge_passes | 0|
| Sort_range| 0|
| Sort_rows | 0|
| Sort_scan | 0|
| Table_locks_immediate | 12   |
| Table_locks_waited| 0|
| Tc_log_max_pages_used | 0|
| Tc_log_page_size  | 0|
| Tc_log_page_waits | 0|
| Threads_cached| 0|
| Threads_connected | 1|
| Threads_created   | 2|
| Threads_running   | 1|
| Uptime| 449  |
+---+--+
222 rows in set (0.00 sec)


Please check what is wrong and teach me.

Thanks you,


- Original Message - 
From: Pooly [EMAIL PROTECTED]

To: MySQL General mysql@lists.mysql.com
Sent: Tuesday, March 14, 2006 2:53 PM
Subject: Re: Rollback is not take effect on MySQL 5.0.18


2006/3/14, Truong Tan Son [EMAIL PROTECTED]:

Dear Sir,

I could not find table of  innoDB in mysql.



Tables in the mysql are MyISAM and should stay that way.
Odds are that there is a skip-innodb in your my.cnf on your RHE, and not you XP.
what produces a show status ?


mysql show tables;
+--+
| Tables_in_mysql |
+---+
| columns_priv   |
| db |
| func   |
| host  |
| tables_priv   |
| user  |
+--+


I  set innodb_table_locks=0 in my.cnf , but ROLLBACK is still not effect.


Could you teach me more ?


Thanks and best regards,


- Original Message -
From: Pooly [EMAIL PROTECTED]
To: MySQL General mysql@lists.mysql.com
Sent: Monday, March 13, 2006 5:13 PM
Subject: Re: Rollback is not take effect on MySQL 5.0.18


2006/3/11, Truong Tan Son [EMAIL PROTECTED]:
 Dear Sir,

 On RedHat Enterprise 4, and MySQL 5.0.18, I did :

 mysql set autocommit=0;

 mysql savepoint abc;

 mysql insert  something

 mysql rollback to save point abc;

 Query OK, 0 rows affected, 1 warning (0.00 sec)
 ^^

 RollBack is NOT take effect. But on WindowsXP, it is GOOD.


 What is wrong ?


Did you check if the table are innoDB ?


--
Pooly
Webzine Rock : http://www.w-fenec.org/

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]


--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]





--
Pooly
Webzine Rock : http://www.w-fenec.org/

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]


--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



Re: Rollback is not take effect on MySQL 5.0.18

2006-03-13 Thread Pooly
2006/3/11, Truong Tan Son [EMAIL PROTECTED]:
 Dear Sir,

 On RedHat Enterprise 4, and MySQL 5.0.18, I did :

 mysql set autocommit=0;

 mysql savepoint abc;

 mysql insert  something

 mysql rollback to save point abc;

 Query OK, 0 rows affected, 1 warning (0.00 sec)
 ^^

 RollBack is NOT take effect. But on WindowsXP, it is GOOD.


 What is wrong ?


Did you check if the table are innoDB ?


--
Pooly
Webzine Rock : http://www.w-fenec.org/

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



Re: Rollback is not take effect on MySQL 5.0.18

2006-03-13 Thread Truong Tan Son

Dear Sir,

I could not find table of  innoDB in mysql.

mysql show tables;
+--+
| Tables_in_mysql |
+---+
| columns_priv   |
| db |
| func   |
| host  |
| tables_priv   |
| user  |
+--+


I  set innodb_table_locks=0 in my.cnf , but ROLLBACK is still not effect.


Could you teach me more ?


Thanks and best regards,


- Original Message - 
From: Pooly [EMAIL PROTECTED]

To: MySQL General mysql@lists.mysql.com
Sent: Monday, March 13, 2006 5:13 PM
Subject: Re: Rollback is not take effect on MySQL 5.0.18


2006/3/11, Truong Tan Son [EMAIL PROTECTED]:

Dear Sir,

On RedHat Enterprise 4, and MySQL 5.0.18, I did :

mysql set autocommit=0;

mysql savepoint abc;

mysql insert  something

mysql rollback to save point abc;

Query OK, 0 rows affected, 1 warning (0.00 sec)
^^

RollBack is NOT take effect. But on WindowsXP, it is GOOD.


What is wrong ?



Did you check if the table are innoDB ?


--
Pooly
Webzine Rock : http://www.w-fenec.org/

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]


--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



Re: Rollback is not take effect on MySQL 5.0.18

2006-03-13 Thread Pooly
2006/3/14, Truong Tan Son [EMAIL PROTECTED]:
 Dear Sir,

 I could not find table of  innoDB in mysql.


Tables in the mysql are MyISAM and should stay that way.
Odds are that there is a skip-innodb in your my.cnf on your RHE, and not you XP.
what produces a show status ?

 mysql show tables;
 +--+
 | Tables_in_mysql |
 +---+
 | columns_priv   |
 | db |
 | func   |
 | host  |
 | tables_priv   |
 | user  |
 +--+


 I  set innodb_table_locks=0 in my.cnf , but ROLLBACK is still not effect.


 Could you teach me more ?


 Thanks and best regards,


 - Original Message -
 From: Pooly [EMAIL PROTECTED]
 To: MySQL General mysql@lists.mysql.com
 Sent: Monday, March 13, 2006 5:13 PM
 Subject: Re: Rollback is not take effect on MySQL 5.0.18


 2006/3/11, Truong Tan Son [EMAIL PROTECTED]:
  Dear Sir,
 
  On RedHat Enterprise 4, and MySQL 5.0.18, I did :
 
  mysql set autocommit=0;
 
  mysql savepoint abc;
 
  mysql insert  something
 
  mysql rollback to save point abc;
 
  Query OK, 0 rows affected, 1 warning (0.00 sec)
  ^^
 
  RollBack is NOT take effect. But on WindowsXP, it is GOOD.
 
 
  What is wrong ?


 Did you check if the table are innoDB ?


 --
 Pooly
 Webzine Rock : http://www.w-fenec.org/

 --
 MySQL General Mailing List
 For list archives: http://lists.mysql.com/mysql
 To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]


 --
 MySQL General Mailing List
 For list archives: http://lists.mysql.com/mysql
 To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]




--
Pooly
Webzine Rock : http://www.w-fenec.org/

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



Rollback is not take effect on MySQL 5.0.18

2006-03-11 Thread Truong Tan Son

Dear Sir,

On RedHat Enterprise 4, and MySQL 5.0.18, I did :

mysql set autocommit=0;

mysql savepoint abc;

mysql insert  something

mysql rollback to save point abc;

Query OK, 0 rows affected, 1 warning (0.00 sec)
^^

RollBack is NOT take effect. But on WindowsXP, it is GOOD.


What is wrong ?


Thanks you and best regards,
--




--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]