mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
auto-merge
This commit is contained in:
@@ -126,7 +126,7 @@ id
|
|||||||
# Run CHECK TABLE, it should indicate table need a REPAIR TABLE
|
# Run CHECK TABLE, it should indicate table need a REPAIR TABLE
|
||||||
CHECK TABLE t1 FOR UPGRADE;
|
CHECK TABLE t1 FOR UPGRADE;
|
||||||
Table Op Msg_type Msg_text
|
Table Op Msg_type Msg_text
|
||||||
test.t1 check error Table upgrade required. Please do "REPAIR TABLE `t1`" to fix it!
|
test.t1 check error Table upgrade required. Please do "REPAIR TABLE `t1`" or dump/reload to fix it!
|
||||||
# REPAIR old table USE_FRM should fail
|
# REPAIR old table USE_FRM should fail
|
||||||
REPAIR TABLE t1 USE_FRM;
|
REPAIR TABLE t1 USE_FRM;
|
||||||
Table Op Msg_type Msg_text
|
Table Op Msg_type Msg_text
|
||||||
|
@@ -38,7 +38,7 @@ length(a) length(b)
|
|||||||
255 3
|
255 3
|
||||||
CHECK TABLE t1 FOR UPGRADE;
|
CHECK TABLE t1 FOR UPGRADE;
|
||||||
Table Op Msg_type Msg_text
|
Table Op Msg_type Msg_text
|
||||||
test.t1 check error Table upgrade required. Please do "REPAIR TABLE `t1`" to fix it!
|
test.t1 check error Table upgrade required. Please do "REPAIR TABLE `t1`" or dump/reload to fix it!
|
||||||
REPAIR TABLE t1;
|
REPAIR TABLE t1;
|
||||||
Table Op Msg_type Msg_text
|
Table Op Msg_type Msg_text
|
||||||
test.t1 repair status OK
|
test.t1 repair status OK
|
||||||
|
20
mysql-test/suite/ibmdb2i/include/have_i61.inc
Normal file
20
mysql-test/suite/ibmdb2i/include/have_i61.inc
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
# Check for IBM i 6.1 or later
|
||||||
|
--disable_query_log
|
||||||
|
system uname -rv > $MYSQLTEST_VARDIR/tmp/version;
|
||||||
|
--disable_warnings
|
||||||
|
drop table if exists uname_vr;
|
||||||
|
--enable_warnings
|
||||||
|
create temporary table uname_vr (r int, v int);
|
||||||
|
--disable_warnings
|
||||||
|
eval LOAD DATA INFILE "$MYSQLTEST_VARDIR/tmp/version" into table uname_vr fields terminated by ' ';
|
||||||
|
--enable_warnings
|
||||||
|
let $ok = `select count(*) from uname_vr where v > 5`;
|
||||||
|
drop table uname_vr;
|
||||||
|
remove_file $MYSQLTEST_VARDIR/tmp/version;
|
||||||
|
--enable_query_log
|
||||||
|
if (!$ok)
|
||||||
|
{
|
||||||
|
skip "Need IBM i 6.1 or later";
|
||||||
|
}
|
||||||
|
|
||||||
|
|
6
mysql-test/suite/ibmdb2i/include/have_ibmdb2i.inc
Normal file
6
mysql-test/suite/ibmdb2i/include/have_ibmdb2i.inc
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
if (!`SELECT count(*) FROM information_schema.engines WHERE
|
||||||
|
(support = 'YES' OR support = 'DEFAULT') AND
|
||||||
|
engine = 'ibmdb2i'`)
|
||||||
|
{
|
||||||
|
skip Need ibmdb2i engine;
|
||||||
|
}
|
11
mysql-test/suite/ibmdb2i/r/ibmdb2i_bug_44020.result
Normal file
11
mysql-test/suite/ibmdb2i/r/ibmdb2i_bug_44020.result
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
create schema `A12345_@$#`;
|
||||||
|
create table `A12345_@$#`.t1 (i int) engine=ibmdb2i;
|
||||||
|
show create table `A12345_@$#`.t1;
|
||||||
|
Table Create Table
|
||||||
|
t1 CREATE TABLE `t1` (
|
||||||
|
`i` int(11) DEFAULT NULL
|
||||||
|
) ENGINE=IBMDB2I DEFAULT CHARSET=latin1
|
||||||
|
select * from `A12345_@$#`.t1;
|
||||||
|
i
|
||||||
|
drop table `A12345_@$#`.t1;
|
||||||
|
drop schema `A12345_@$#`;
|
4
mysql-test/suite/ibmdb2i/r/ibmdb2i_bug_44025.result
Normal file
4
mysql-test/suite/ibmdb2i/r/ibmdb2i_bug_44025.result
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
create table t1 (c char(10) collate utf8_swedish_ci, index(c)) engine=ibmdb2i;
|
||||||
|
drop table t1;
|
||||||
|
create table t1 (c char(10) collate ucs2_swedish_ci, index(c)) engine=ibmdb2i;
|
||||||
|
drop table t1;
|
9
mysql-test/suite/ibmdb2i/t/ibmdb2i_bug_44020.test
Normal file
9
mysql-test/suite/ibmdb2i/t/ibmdb2i_bug_44020.test
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
source suite/ibmdb2i/include/have_ibmdb2i.inc;
|
||||||
|
source include/have_case_sensitive_file_system.inc;
|
||||||
|
|
||||||
|
create schema `A12345_@$#`;
|
||||||
|
create table `A12345_@$#`.t1 (i int) engine=ibmdb2i;
|
||||||
|
show create table `A12345_@$#`.t1;
|
||||||
|
select * from `A12345_@$#`.t1;
|
||||||
|
drop table `A12345_@$#`.t1;
|
||||||
|
drop schema `A12345_@$#`;
|
9
mysql-test/suite/ibmdb2i/t/ibmdb2i_bug_44025.test
Normal file
9
mysql-test/suite/ibmdb2i/t/ibmdb2i_bug_44025.test
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
source suite/ibmdb2i/include/have_ibmdb2i.inc;
|
||||||
|
source suite/ibmdb2i/include/have_i61.inc;
|
||||||
|
|
||||||
|
|
||||||
|
create table t1 (c char(10) collate utf8_swedish_ci, index(c)) engine=ibmdb2i;
|
||||||
|
drop table t1;
|
||||||
|
|
||||||
|
create table t1 (c char(10) collate ucs2_swedish_ci, index(c)) engine=ibmdb2i;
|
||||||
|
drop table t1;
|
@@ -5614,7 +5614,7 @@ ER_SP_WRONG_NAME 42000
|
|||||||
eng "Incorrect routine name '%-.192s'"
|
eng "Incorrect routine name '%-.192s'"
|
||||||
ger "Ung<6E>ltiger Routinenname '%-.192s'"
|
ger "Ung<6E>ltiger Routinenname '%-.192s'"
|
||||||
ER_TABLE_NEEDS_UPGRADE
|
ER_TABLE_NEEDS_UPGRADE
|
||||||
eng "Table upgrade required. Please do \"REPAIR TABLE `%-.32s`\" to fix it!"
|
eng "Table upgrade required. Please do \"REPAIR TABLE `%-.32s`\" or dump/reload to fix it!"
|
||||||
ger "Tabellenaktualisierung erforderlich. Bitte zum Reparieren \"REPAIR TABLE `%-.32s`\" eingeben!"
|
ger "Tabellenaktualisierung erforderlich. Bitte zum Reparieren \"REPAIR TABLE `%-.32s`\" eingeben!"
|
||||||
ER_SP_NO_AGGREGATE 42000
|
ER_SP_NO_AGGREGATE 42000
|
||||||
eng "AGGREGATE is not supported for stored functions"
|
eng "AGGREGATE is not supported for stored functions"
|
||||||
|
Reference in New Issue
Block a user