summaryrefslogtreecommitdiff
path: root/repl-tests
diff options
context:
space:
mode:
authorunknown <sasha@mysql.sashanet.com>2000-10-08 01:48:50 -0600
committerunknown <sasha@mysql.sashanet.com>2000-10-08 01:48:50 -0600
commit9e7f2c9f2d910b2556b46738429cb2b0e77ff9e3 (patch)
tree569e42d920c18f5d5edf91a783fcf98522e11045 /repl-tests
parent4af074054be434b73e3b449ca1babc982c4df5fb (diff)
downloadmariadb-git-9e7f2c9f2d910b2556b46738429cb2b0e77ff9e3.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'' 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
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