mirror of
https://github.com/MariaDB/server.git
synced 2026-05-16 20:07:13 +02:00
merged
mysql-test/r/drop.result: Auto merged mysql-test/t/drop.test: Auto merged sql/share/english/errmsg.txt: Auto merged sql/share/russian/errmsg.txt: Auto merged sql/share/ukrainian/errmsg.txt: Auto merged
This commit is contained in:
commit
5f8c654a0a
6 changed files with 41 additions and 4 deletions
|
|
@ -24,6 +24,20 @@ n
|
||||||
drop database if exists mysqltest;
|
drop database if exists mysqltest;
|
||||||
affected rows: 1
|
affected rows: 1
|
||||||
create database mysqltest;
|
create database mysqltest;
|
||||||
|
use mysqltest;
|
||||||
|
drop table table1, table2, table3, table4, table5, table6,
|
||||||
|
table7, table8, table9, table10, table11, table12, table13,
|
||||||
|
table14, table15, table16, table17, table18, table19, table20,
|
||||||
|
table21, table22, table23, table24, table25, table26, table27,
|
||||||
|
table28;
|
||||||
|
Unknown table 'table1,table2,table3,table4,table5,table6,table7,table8,table9,table10,table11,table12,table13,table14,table15,table16,table17,table18,table19,table20,table21,table22,table23,table'
|
||||||
|
drop table table1, table2, table3, table4, table5, table6,
|
||||||
|
table7, table8, table9, table10, table11, table12, table13,
|
||||||
|
table14, table15, table16, table17, table18, table19, table20,
|
||||||
|
table21, table22, table23, table24, table25, table26, table27,
|
||||||
|
table28, table29, table30;
|
||||||
|
Unknown table 'table1,table2,table3,table4,table5,table6,table7,table8,table9,table10,table11,table12,table13,table14,table15,table16,table17,table18,table19,table20,table21,table22,table23,table'
|
||||||
|
use test;
|
||||||
drop database mysqltest;
|
drop database mysqltest;
|
||||||
flush tables with read lock;
|
flush tables with read lock;
|
||||||
create database mysqltest;
|
create database mysqltest;
|
||||||
|
|
|
||||||
|
|
@ -30,6 +30,28 @@ select * from mysqltest.mysqltest;
|
||||||
drop database if exists mysqltest;
|
drop database if exists mysqltest;
|
||||||
--disable_info
|
--disable_info
|
||||||
create database mysqltest;
|
create database mysqltest;
|
||||||
|
|
||||||
|
#
|
||||||
|
# drop many tables - bug#3891
|
||||||
|
# we'll do it in mysqltest db, to be able to use longer table names
|
||||||
|
# (tableN instead on tN)
|
||||||
|
#
|
||||||
|
use mysqltest;
|
||||||
|
--error 1051
|
||||||
|
drop table table1, table2, table3, table4, table5, table6,
|
||||||
|
table7, table8, table9, table10, table11, table12, table13,
|
||||||
|
table14, table15, table16, table17, table18, table19, table20,
|
||||||
|
table21, table22, table23, table24, table25, table26, table27,
|
||||||
|
table28;
|
||||||
|
|
||||||
|
--error 1051
|
||||||
|
drop table table1, table2, table3, table4, table5, table6,
|
||||||
|
table7, table8, table9, table10, table11, table12, table13,
|
||||||
|
table14, table15, table16, table17, table18, table19, table20,
|
||||||
|
table21, table22, table23, table24, table25, table26, table27,
|
||||||
|
table28, table29, table30;
|
||||||
|
|
||||||
|
use test;
|
||||||
drop database mysqltest;
|
drop database mysqltest;
|
||||||
|
|
||||||
# test drop/create database and FLUSH TABLES WITH READ LOCK
|
# test drop/create database and FLUSH TABLES WITH READ LOCK
|
||||||
|
|
|
||||||
|
|
@ -67,7 +67,7 @@ character-set=latin1
|
||||||
"Column '%-.64s' cannot be null",
|
"Column '%-.64s' cannot be null",
|
||||||
"Unknown database '%-.64s'",
|
"Unknown database '%-.64s'",
|
||||||
"Table '%-.64s' already exists",
|
"Table '%-.64s' already exists",
|
||||||
"Unknown table '%-.64s'",
|
"Unknown table '%-.180s'",
|
||||||
"Column '%-.64s' in %-.64s is ambiguous",
|
"Column '%-.64s' in %-.64s is ambiguous",
|
||||||
"Server shutdown in progress",
|
"Server shutdown in progress",
|
||||||
"Unknown column '%-.64s' in '%-.64s'",
|
"Unknown column '%-.64s' in '%-.64s'",
|
||||||
|
|
|
||||||
|
|
@ -72,7 +72,7 @@ character-set=koi8r
|
||||||
"Столбец '%-.64s' не может принимать величину NULL",
|
"Столбец '%-.64s' не может принимать величину NULL",
|
||||||
"Неизвестная база данных '%-.64s'",
|
"Неизвестная база данных '%-.64s'",
|
||||||
"Таблица '%-.64s' уже существует",
|
"Таблица '%-.64s' уже существует",
|
||||||
"Неизвестная таблица '%-.64s'",
|
"Неизвестная таблица '%-.175s'",
|
||||||
"Столбец '%-.64s' в %-.64s задан неоднозначно",
|
"Столбец '%-.64s' в %-.64s задан неоднозначно",
|
||||||
"Сервер находится в процессе остановки",
|
"Сервер находится в процессе остановки",
|
||||||
"Неизвестный столбец '%-.64s' в '%-.64s'",
|
"Неизвестный столбец '%-.64s' в '%-.64s'",
|
||||||
|
|
|
||||||
|
|
@ -73,7 +73,7 @@ character-set=koi8u
|
||||||
"Стовбець '%-.64s' не може бути нульовим",
|
"Стовбець '%-.64s' не може бути нульовим",
|
||||||
"Нев╕дома база данних '%-.64s'",
|
"Нев╕дома база данних '%-.64s'",
|
||||||
"Таблиця '%-.64s' вже ╕сну╓",
|
"Таблиця '%-.64s' вже ╕сну╓",
|
||||||
"ξΕΧ¦ΔΟΝΑ ΤΑΒΜΙΓΡ '%-.64s'",
|
"ξΕΧ¦ΔΟΝΑ ΤΑΒΜΙΓΡ '%-.180s'",
|
||||||
"Стовбець '%-.64s' у %-.64s визначений неоднозначно",
|
"Стовбець '%-.64s' у %-.64s визначений неоднозначно",
|
||||||
"Завершу╓ться работа сервера",
|
"Завершу╓ться работа сервера",
|
||||||
"Нев╕домий стовбець '%-.64s' у '%-.64s'",
|
"Нев╕домий стовбець '%-.64s' у '%-.64s'",
|
||||||
|
|
|
||||||
|
|
@ -260,7 +260,8 @@ int mysql_rm_table_part2(THD *thd, TABLE_LIST *tables, bool if_exists,
|
||||||
if (wrong_tables.length())
|
if (wrong_tables.length())
|
||||||
{
|
{
|
||||||
if (!foreign_key_error)
|
if (!foreign_key_error)
|
||||||
my_error(ER_BAD_TABLE_ERROR,MYF(0), wrong_tables.c_ptr());
|
my_printf_error(ER_BAD_TABLE_ERROR, ER(ER_BAD_TABLE_ERROR), MYF(0),
|
||||||
|
wrong_tables.c_ptr());
|
||||||
else
|
else
|
||||||
my_error(ER_ROW_IS_REFERENCED, MYF(0));
|
my_error(ER_ROW_IS_REFERENCED, MYF(0));
|
||||||
error= 1;
|
error= 1;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue