mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
merged
BitKeeper/etc/logging_ok: auto-union BitKeeper/etc/ignore: auto-union acinclude.m4: Auto merged BitKeeper/deleted/.del-rpc_server_ext.h~952741fb85de2b80: Auto merged client/mysqlbinlog.cc: Auto merged mysql-test/r/innodb.result: Auto merged sql-bench/Makefile.am: Auto merged sql/ha_myisam.cc: Auto merged sql/ha_myisammrg.cc: Auto merged sql/sql_list.h: Auto merged sql/sql_parse.cc: Auto merged sql/sql_select.cc: Auto merged sql/sql_show.cc: Auto merged Docs/manual.texi: merge include/mysql_com.h: merge include/mysqld_error.h: merge mysql-test/install_test_db.sh: merge sql/mysql_priv.h: merge sql/mysqld.cc: merge sql/share/czech/errmsg.txt: merge sql/share/danish/errmsg.txt: merge sql/share/dutch/errmsg.txt: merge sql/share/english/errmsg.txt: merge sql/share/estonian/errmsg.txt: merge sql/share/french/errmsg.txt: merge sql/share/german/errmsg.txt: merge sql/share/greek/errmsg.txt: merge sql/share/hungarian/errmsg.txt: merge sql/share/italian/errmsg.txt: merge sql/share/japanese/errmsg.txt: merge sql/share/korean/errmsg.txt: merge sql/share/norwegian-ny/errmsg.txt: merge sql/share/norwegian/errmsg.txt: merge sql/share/polish/errmsg.txt: merge sql/share/portuguese/errmsg.txt: merge sql/share/romanian/errmsg.txt: merge sql/share/russian/errmsg.txt: merge sql/share/slovak/errmsg.txt: merge sql/share/spanish/errmsg.txt: merge sql/share/swedish/errmsg.txt: merge sql/sql_base.cc: merge sql/sql_table.cc: merge
This commit is contained in:
@ -167,3 +167,9 @@ a sec_to_time(sum(time_to_sec(t)))
|
||||
a sec_to_time(sum(time_to_sec(t)))
|
||||
1 00:06:15
|
||||
1 00:36:30
|
||||
a
|
||||
4
|
||||
3
|
||||
a c
|
||||
4 NULL
|
||||
3 NULL
|
||||
|
2
mysql-test/r/fulltext_update.result
Normal file
2
mysql-test/r/fulltext_update.result
Normal file
@ -0,0 +1,2 @@
|
||||
Table Op Msg_type Msg_text
|
||||
test.test check status OK
|
@ -438,7 +438,7 @@ hello 1
|
||||
Table Op Msg_type Msg_text
|
||||
test.t1 optimize error The handler for the table doesn't support check/repair
|
||||
Table Non_unique Key_name Seq_in_index Column_name Collation Cardinality Sub_part Packed Comment
|
||||
t1 0 PRIMARY 1 a A 1 NULL NULL
|
||||
t1 0 PRIMARY 1 a A 2 NULL NULL
|
||||
i j
|
||||
1 2
|
||||
i j
|
||||
|
@ -198,3 +198,12 @@ insert into t2 values (1,1),(2,2),(3,3);
|
||||
select t1.a,sec_to_time(sum(time_to_sec(t))) from t1 left join t2 on (t1.b=t2.a) group by t1.a,t2.b;
|
||||
select distinct t1.a,sec_to_time(sum(time_to_sec(t))) from t1 left join t2 on (t1.b=t2.a) group by t1.a,t2.b;
|
||||
drop table t1,t2;
|
||||
|
||||
#
|
||||
# Test problem with DISTINCT and HAVING
|
||||
#
|
||||
create table t1 (a int not null,b char(5), c text);
|
||||
insert into t1 (a) values (1),(2),(3),(4),(1),(2),(3),(4);
|
||||
select distinct a from t1 group by b,a having a > 2 order by a desc;
|
||||
select distinct a,c from t1 group by b,c,a having a > 2 order by a desc;
|
||||
drop table t1;
|
||||
|
25
mysql-test/t/fulltext_update.test
Normal file
25
mysql-test/t/fulltext_update.test
Normal file
@ -0,0 +1,25 @@
|
||||
#
|
||||
# Test for bug by voi@ims.at
|
||||
#
|
||||
|
||||
drop table if exists test;
|
||||
CREATE TABLE test (
|
||||
gnr INT(10) UNSIGNED NOT NULL AUTO_INCREMENT,
|
||||
url VARCHAR(80) DEFAULT '' NOT NULL,
|
||||
shortdesc VARCHAR(200) DEFAULT '' NOT NULL,
|
||||
longdesc text DEFAULT '' NOT NULL,
|
||||
description VARCHAR(80) DEFAULT '' NOT NULL,
|
||||
name VARCHAR(80) DEFAULT '' NOT NULL,
|
||||
FULLTEXT(url,description,shortdesc,longdesc),
|
||||
PRIMARY KEY(gnr)
|
||||
);
|
||||
|
||||
insert into test (url,shortdesc,longdesc,description,name) VALUES
|
||||
("http:/test.at", "kurz", "lang","desc", "name");
|
||||
insert into test (url,shortdesc,longdesc,description,name) VALUES
|
||||
("http:/test.at", "kurz", "","desc", "name");
|
||||
update test set url='test', description='ddd', name='nam' where gnr=2;
|
||||
update test set url='test', shortdesc='ggg', longdesc='mmm',
|
||||
description='ddd', name='nam' where gnr=2;
|
||||
check table test;
|
||||
drop table test;
|
Reference in New Issue
Block a user