mirror of
https://github.com/MariaDB/server.git
synced 2025-05-28 13:01:41 +03:00
Added semaphore support to MIT-pthreads. Docs/manual.texi: Updated benchmark data configure.in: Portability fix for compiling MIT-pthreads with gcc 3.0.x (Still not perfect) include/my_semaphore.h: Cleanup mit-pthreads/Changes-mysql: Added semaphore support mit-pthreads/include/Makefile.inc: Added semaphore support mit-pthreads/include/pthread/ac-types.h: Added semaphore support mit-pthreads/pthreads/GNUmakefile.inc: Added semaphore support mit-pthreads/pthreads/Makefile.inc: Added semaphore support mit-pthreads/stdio/xprintf.c: Added semaphore support mysql-test/r/rpl_alter.result: Fixed test results after merge with 3.23 sql/ha_isam.cc: Fixed core dump after merge sql/ha_isam.h: Fixed core dump after merge sql/mini_client.cc: P
22 lines
426 B
Plaintext
22 lines
426 B
Plaintext
slave stop;
|
|
reset master;
|
|
reset slave;
|
|
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
|
|
slave start;
|
|
use test;
|
|
drop database if exists d1;
|
|
create database d1;
|
|
create table d1.t1 ( n int);
|
|
alter table d1.t1 add m int;
|
|
insert into d1.t1 values (1,2);
|
|
create table d1.t2 (n int);
|
|
insert into d1.t2 values (45);
|
|
rename table d1.t2 to d1.t3, d1.t1 to d1.t2;
|
|
select * from d1.t2;
|
|
n m
|
|
1 2
|
|
select * from d1.t3;
|
|
n
|
|
45
|
|
drop database d1;
|