mirror of
https://github.com/MariaDB/server.git
synced 2025-11-18 07:48:43 +03:00
merge 5.0->5.0-ndb
This commit is contained in:
@@ -48,6 +48,9 @@ tcx.se .se
|
||||
select concat(':',ltrim(' left '),':',rtrim(' right '),':');
|
||||
concat(':',ltrim(' left '),':',rtrim(' right '),':')
|
||||
:left : right:
|
||||
select concat(':',trim(leading from ' left '),':',trim(trailing from ' right '),':');
|
||||
concat(':',trim(leading from ' left '),':',trim(trailing from ' right '),':')
|
||||
:left : right:
|
||||
select concat(':',trim(LEADING FROM ' left'),':',trim(TRAILING FROM ' right '),':');
|
||||
concat(':',trim(LEADING FROM ' left'),':',trim(TRAILING FROM ' right '),':')
|
||||
:left: right:
|
||||
@@ -703,3 +706,9 @@ NULL
|
||||
select trim('xyz' from null) as "must_be_null";
|
||||
must_be_null
|
||||
NULL
|
||||
select trim(leading NULL from 'kate') as "must_be_null";
|
||||
must_be_null
|
||||
NULL
|
||||
select trim(trailing NULL from 'xyz') as "must_be_null";
|
||||
must_be_null
|
||||
NULL
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
DROP TABLE IF EXISTS t1, `"t"1`;
|
||||
DROP TABLE IF EXISTS t1, `"t"1`, t1aa,t2aa;
|
||||
drop database if exists mysqldump_test_db;
|
||||
CREATE TABLE t1(a int);
|
||||
INSERT INTO t1 VALUES (1), (2);
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
drop table if exists t1,t2;
|
||||
drop table if exists t1aa,t2aa;
|
||||
drop database if exists mysqltest;
|
||||
delete from mysql.user where user='mysqltest_1' || user='mysqltest_2' || user='mysqltest_3';
|
||||
delete from mysql.db where user='mysqltest_1' || user='mysqltest_2' || user='mysqltest_3';
|
||||
|
||||
@@ -1639,12 +1639,9 @@ yz,yz
|
||||
drop procedure bug3368|
|
||||
drop table t3|
|
||||
drop table if exists t3|
|
||||
create table t3 (f1 int, f2 int);
|
||||
insert into t3 values (1,1);
|
||||
--disable_warnings|
|
||||
create table t3 (f1 int, f2 int)|
|
||||
insert into t3 values (1,1)|
|
||||
drop procedure if exists bug4579_1|
|
||||
Warnings:
|
||||
Note 1305 PROCEDURE bug4579_1 does not exist
|
||||
create procedure bug4579_1 ()
|
||||
begin
|
||||
declare sf1 int;
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
drop table if exists t1;
|
||||
CREATE TABLE t1 (x1 int);
|
||||
ALTER TABLE t1 CHANGE x1 x2 int;
|
||||
CREATE TABLE t2 LIKE t1;
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
drop table if exists t1,t1aa,t2aa;
|
||||
show tables;
|
||||
Tables_in_db
|
||||
columns_priv
|
||||
|
||||
Reference in New Issue
Block a user