From 9e7f2c9f2d910b2556b46738429cb2b0e77ff9e3 Mon Sep 17 00:00:00 2001 From: unknown Date: Sun, 8 Oct 2000 01:48:50 -0600 Subject: Docs/manual.texi replication updates sql/opt_range.h fixed compiler warning sql/slave.cc fixed handling of long usernames fixed insert_id + query log event processing atomicity in the case of slave death fix edcharset coversion to not be global to all threads sql/sql_class.h fix to make insert_id event and the subsequent query event be still processed atomically if slave dies in the middle sql/sql_select.cc temp fix to make it compile repl-tests/test-auto-inc/run.test@1.1 New BitKeeper file ``repl-tests/test-auto-inc/run.test'' repl-tests/test-auto-inc/x.master@1.1 New BitKeeper file ``repl-tests/test-auto-inc/x.master'' Docs/manual.texi: replication updates sql/opt_range.h: fixed compiler warning sql/slave.cc: fixed handling of long usernames fixed insert_id + query log event processing atomicity in the case of slave death fix edcharset coversion to not be global to all threads sql/sql_class.h: fix to make insert_id event and the subsequent query event be still processed atomically if slave dies in the middle sql/sql_select.cc: temp fix to make it compile --- repl-tests/test-auto-inc/run.test | 10 ++++++++++ repl-tests/test-auto-inc/x.master | 4 ++++ 2 files changed, 14 insertions(+) create mode 100755 repl-tests/test-auto-inc/run.test create mode 100644 repl-tests/test-auto-inc/x.master (limited to 'repl-tests/test-auto-inc') diff --git a/repl-tests/test-auto-inc/run.test b/repl-tests/test-auto-inc/run.test new file mode 100755 index 00000000000..8405329f458 --- /dev/null +++ b/repl-tests/test-auto-inc/run.test @@ -0,0 +1,10 @@ +source ../include/master-slave.inc; +connection master; +drop table if exists x; +create table x(n int auto_increment primary key); +set insert_id = 2000; +insert into x values (NULL),(NULL),(NULL); +connection slave; +sleep 3; +@x.master select * from x; + diff --git a/repl-tests/test-auto-inc/x.master b/repl-tests/test-auto-inc/x.master new file mode 100644 index 00000000000..c76fc46ae97 --- /dev/null +++ b/repl-tests/test-auto-inc/x.master @@ -0,0 +1,4 @@ +n +2000 +2001 +2002 -- cgit v1.2.1