Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
ddee2fa7
Commit
ddee2fa7
authored
Apr 02, 2005
by
serg@serg.mylan
Browse files
Options
Browse Files
Download
Plain Diff
Merge serg@bk-internal.mysql.com:/home/bk/mysql-4.1/
into serg.mylan:/usr/home/serg/Abk/mysql-4.1
parents
f2deb39f
4a0e73c6
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
41 additions
and
4 deletions
+41
-4
mysql-test/r/drop.result
mysql-test/r/drop.result
+14
-0
mysql-test/t/drop.test
mysql-test/t/drop.test
+22
-0
sql/share/english/errmsg.txt
sql/share/english/errmsg.txt
+1
-1
sql/share/russian/errmsg.txt
sql/share/russian/errmsg.txt
+1
-1
sql/share/ukrainian/errmsg.txt
sql/share/ukrainian/errmsg.txt
+1
-1
sql/sql_table.cc
sql/sql_table.cc
+2
-1
No files found.
mysql-test/r/drop.result
View file @
ddee2fa7
...
@@ -24,6 +24,20 @@ n
...
@@ -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;
ERROR 42S02: 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;
ERROR 42S02: 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;
...
...
mysql-test/t/drop.test
View file @
ddee2fa7
...
@@ -30,6 +30,28 @@ select * from mysqltest.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
...
...
sql/share/english/errmsg.txt
View file @
ddee2fa7
...
@@ -67,7 +67,7 @@ character-set=latin1
...
@@ -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 '%-.
64
s'",
"Unknown table '%-.
180
s'",
"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'",
...
...
sql/share/russian/errmsg.txt
View file @
ddee2fa7
...
@@ -72,7 +72,7 @@ character-set=koi8r
...
@@ -72,7 +72,7 @@ character-set=koi8r
" '%-.64s' NULL",
" '%-.64s' NULL",
" '%-.64s'",
" '%-.64s'",
" '%-.64s' ",
" '%-.64s' ",
" '%-.
64
s'",
" '%-.
175
s'",
" '%-.64s' %-.64s ",
" '%-.64s' %-.64s ",
" ",
" ",
" '%-.64s' '%-.64s'",
" '%-.64s' '%-.64s'",
...
...
sql/share/ukrainian/errmsg.txt
View file @
ddee2fa7
...
@@ -73,7 +73,7 @@ character-set=koi8u
...
@@ -73,7 +73,7 @@ character-set=koi8u
" '%-.64s' ",
" '%-.64s' ",
"צ '%-.64s'",
"צ '%-.64s'",
" '%-.64s' դ",
" '%-.64s' դ",
"צ '%-.
64
s'",
"צ '%-.
180
s'",
" '%-.64s' %-.64s ",
" '%-.64s' %-.64s ",
"դ ",
"դ ",
"צ '%-.64s' '%-.64s'",
"צ '%-.64s' '%-.64s'",
...
...
sql/sql_table.cc
View file @
ddee2fa7
...
@@ -260,7 +260,8 @@ int mysql_rm_table_part2(THD *thd, TABLE_LIST *tables, bool if_exists,
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment