summaryrefslogtreecommitdiff
path: root/repl-tests
diff options
context:
space:
mode:
authorsasha@mysql.sashanet.com <>2000-10-08 01:48:50 -0600
committersasha@mysql.sashanet.com <>2000-10-08 01:48:50 -0600
commit1fbc40219c6846fc21484d2a75c2c06b2367545e (patch)
tree569e42d920c18f5d5edf91a783fcf98522e11045 /repl-tests
parent1e562819cde901c798cfeeb7b074588ca84f150f (diff)
downloadmariadb-git-1fbc40219c6846fc21484d2a75c2c06b2367545e.tar.gz
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''
Diffstat (limited to 'repl-tests')
-rwxr-xr-xrepl-tests/test-auto-inc/run.test10
-rw-r--r--repl-tests/test-auto-inc/x.master4
2 files changed, 14 insertions, 0 deletions
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