bug in MySQL 5?

2005-12-13 Thread Octavian Rasnita
Hi, I have tried: mysql create table z(id int unsigned not null primary key, first_name varchar(20), last_name varchar(20)); Query OK, 0 rows affected (0.06 sec) mysql insert into z values(1, 'John', 'Smith'), (2, 'George', 'Washington'); Query OK, 2 rows affected (0.00 sec) Records: 2

Re: bug in MySQL 5?

2005-12-13 Thread Gleb Paharenko
Hello. In my opinion, it is not a bug. REPLACE has returned the sum of affected rows - one was deleted, and one was inserted. See: http://dev.mysql.com/doc/refman/5.1/en/replace.html Octavian Rasnita wrote: Hi, I have tried: mysql create table z(id int unsigned not null

Re: bug in MySQL 5?

2005-12-13 Thread Octavian Rasnita
From: Gleb Paharenko [EMAIL PROTECTED] Hello. In my opinion, it is not a bug. REPLACE has returned the sum of affected rows - one was deleted, and one was inserted. See: http://dev.mysql.com/doc/refman/5.1/en/replace.html Thank you. I have seen that's the true. Is there any MySQL

Re: bug in MySQL 5?

2005-12-13 Thread Michael Stassen
Octavian Rasnita wrote: From: Gleb Paharenko [EMAIL PROTECTED] Hello. In my opinion, it is not a bug. REPLACE has returned the sum of affected rows - one was deleted, and one was inserted. See: http://dev.mysql.com/doc/refman/5.1/en/replace.html Thank you. I have seen that's the true. Is