mariadb/tests
unknown 8d0d27b5a4 Bug#28505: mysql_affected_rows() may return wrong result if CLIENT_FOUND_ROWS
flag is set.

When the CLIENT_FOUND_ROWS flag is set then the server should return
found number of rows independently whether they were updated or not.
But this wasn't the case for the INSERT statement which always returned
number of rows that were actually changed thus providing wrong info to
the user.

Now the select_insert::send_eof method and the mysql_insert function
are sending the number of touched rows if the CLIENT_FOUND_ROWS flag is set.


tests/mysql_client_test.c:
  Added a test case for the bug#28505: mysql_affected_rows() may return wrong result
  if CLIENT_FOUND_ROWS flag is set.
sql/sql_insert.cc:
  Bug#28505: mysql_affected_rows() may return wrong result if CLIENT_FOUND_ROWS
  flag is set.
  Now the select_insert::send_eof method and the mysql_insert function
  are sending the number of touched rows if the CLIENT_FOUND_ROWS flag is set.
2007-06-07 00:30:00 +04:00
..
.cvsignore
auto_increment.res
auto_increment.tst
big_record.pl
CMakeLists.txt my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
connect_test.c Many files: 2006-12-23 20:17:15 +01:00
deadlock_test.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
drop_test.pl
export.pl
fork2_test.pl
fork_big.pl
fork_big2.pl
function.res
function.tst
grant.pl
grant.res
index_corrupt.pl
insert_and_repair.pl
insert_test.c Many files: 2006-12-23 20:17:15 +01:00
list_test.c Many files: 2006-12-23 20:17:15 +01:00
lock_test.pl
lock_test.res
mail_to_db.pl
Makefile.am Remove test/udf_test and test/udf_test.res, since udf's are nowadays 2007-03-15 15:52:04 +01:00
myisam-big-rows.tst
mysql_client_test.c Bug#28505: mysql_affected_rows() may return wrong result if CLIENT_FOUND_ROWS 2007-06-07 00:30:00 +04:00
pmail.pl
rename_test.pl
restore-lock.smack
select_test.c Many files: 2006-12-23 20:17:15 +01:00
showdb_test.c Many files: 2006-12-23 20:17:15 +01:00
ssl_test.c Many files: 2006-12-23 20:17:15 +01:00
table_types.pl
test_delayed_insert.pl
thread_test.c Many files: 2006-12-23 20:17:15 +01:00
truncate.pl