mariadb/mysql-test/suite/rpl/r/rpl_default.result
Sergei Golubchik 180065ebb0 Item::print(): remove redundant parentheses
by introducing new Item::precedence() method and using it
to decide whether parentheses are required
2016-12-12 20:44:41 +01:00

19 lines
494 B
Text

include/master-slave.inc
[connection master]
connection master;
create table t1 (a int DEFAULT (1+1), b bigint default uuid_short(), u blob default user());
insert into t1 (a) values(1);
connection slave;
connection slave;
show create table t1;
Table Create Table
t1 CREATE TABLE `t1` (
`a` int(11) DEFAULT (1 + 1),
`b` bigint(20) DEFAULT uuid_short(),
`u` blob DEFAULT user()
) ENGINE=MyISAM DEFAULT CHARSET=latin1
a uuid user
1 1 1
connection master;
drop table t1;
include/rpl_end.inc