mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 21:42:35 +01:00
df3b1a54f4
* A more dynamic binlog format which allows small changes (1064) * Log session variables in Query_log_event (1063) It contains a few bugfixes (which I made when running the testsuite). I carefully updated the results of the testsuite (i.e. I checked for every one, if the difference between .reject and .result could be explained). Apparently mysql-test-run --manager is broken in 4.1 and 5.0 currently, so I could neither run the few tests which require --manager, nor check that they pass nor modify their .result. But for builds, we don't run with --manager. Apart from --manager, the full testsuite passes, with Valgrind too (no errors). I'm going to push in the next minutes. Remains: update the manual. Note: by chance I saw that (in 4.1, in 5.0) rpl_get_lock fails when run alone; this is normal at it makes assumptions on thread ids. I will fix this one day in 4.1.
43 lines
1.1 KiB
Text
43 lines
1.1 KiB
Text
stop slave;
|
|
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
|
|
reset master;
|
|
reset slave;
|
|
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
|
|
start slave;
|
|
drop table if exists t1;
|
|
Warnings:
|
|
Note 1051 Unknown table 't1'
|
|
create table t1(a varchar(100),b int);
|
|
set @@session.sql_mode=pipes_as_concat;
|
|
insert into t1 values('My'||'SQL', 1);
|
|
set @@session.sql_mode=default;
|
|
insert into t1 values('My'||'SQL', 2);
|
|
select * from t1 where b<3 order by a;
|
|
a b
|
|
0 2
|
|
MySQL 1
|
|
select * from t1 where b<3 order by a;
|
|
a b
|
|
0 2
|
|
MySQL 1
|
|
set @@session.sql_mode=ignore_space;
|
|
insert into t1 values(password ('MySQL'), 3);
|
|
set @@session.sql_mode=ansi_quotes;
|
|
create table "t2" ("a" int);
|
|
drop table t1, t2;
|
|
set @@session.sql_mode=default;
|
|
create table t1(a int auto_increment primary key);
|
|
create table t2(b int, a int);
|
|
set @@session.sql_auto_is_null=1;
|
|
insert into t1 values(null);
|
|
insert into t2 select 1,a from t1 where a is null;
|
|
set @@session.sql_auto_is_null=0;
|
|
insert into t1 values(null);
|
|
insert into t2 select 2,a from t1 where a is null;
|
|
select * from t2 order by b;
|
|
b a
|
|
1 1
|
|
select * from t2 order by b;
|
|
b a
|
|
1 1
|
|
drop table t1,t2;
|