Commit graph

5 commits

Author SHA1 Message Date
unknown
3dce070ac5 Loop wait with timeout until 5000 records are in table after mysqlslap with INSERT DELAYED
mysql-test/t/rpl_insert.test:
  Wait after mysqlslap execution until all INSERT DELAYED operations has completed(i.e there are 5000 records in the table)
2006-07-21 12:39:06 +02:00
unknown
a92e1c4aea BUG#20821 (INSERT DELAYED failes to write some rows to binlog):
Fixing typo and potential memory problem.
Reducing number of concurrent mysqlslap threads since tests fail
in pushbuild due to too many threads.


mysql-test/r/rpl_insert.result:
  Result change.
mysql-test/t/rpl_insert.test:
  Reducing number of threads since it doesn't pass pushbuild.
sql/sql_insert.cc:
  Fixing typo and potential memory problem.
2006-07-08 06:15:24 +02:00
unknown
98311625fa Adding sleep to allow mysqlslap to finish it's job on systems under high load.
mysql-test/t/rpl_insert.test:
  Adding sleep to allow mysqlslap to finish.
2006-07-07 09:25:12 +02:00
unknown
ae0e8aff42 Switching to use INSERT DELAYED, which it should be, for rpl_insert.
mysql-test/t/rpl_insert.test:
  Fixing to use INSERT DELAYED.
2006-07-05 21:17:00 +02:00
unknown
53def7bda7 BUG#20821 (INSERT DELAYED fails to write some rows to binlog):
Reverting to old behaviour of writing the query before all rows
have been written.


mysql-test/r/rpl_row_delayed_ins.result:
  Result change
sql/sql_class.cc:
  Adding debug message to binlog_query()
sql/sql_insert.cc:
  - Changing write_delayed() to use a LEX_STRING for the query.
  - Adding query string to class delayed_row.
  - Removing query string from class delayed_insert.
  - Adding code to copy query string and delete it when the row
    is executed.
  - Logging query at first row instead of after all rows are 
    inserted (reverting to old behaviour).
  - Flushing the pending row event after all rows have been inserted.
    This is necessary since binlog_query() is called before all rows
    instead of after.
mysql-test/r/rpl_insert.result:
  New BitKeeper file ``mysql-test/r/rpl_insert.result''
mysql-test/t/rpl_insert.test:
  New BitKeeper file ``mysql-test/t/rpl_insert.test''
2006-07-05 16:58:56 +02:00