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
759387b0
Commit
759387b0
authored
Jul 11, 2003
by
serg@sergbook.mylan
Browse files
Options
Browse Files
Download
Plain Diff
Merge bk-internal.mysql.com:/home/bk/mysql-4.1
into sergbook.mylan:/usr/home/serg/Abk/mysql-4.1
parents
db22d366
c994482f
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
12 additions
and
10 deletions
+12
-10
mysql-test/r/create.result
mysql-test/r/create.result
+2
-2
mysql-test/r/drop.result
mysql-test/r/drop.result
+3
-3
mysql-test/r/rpl000009.result
mysql-test/r/rpl000009.result
+3
-3
mysql-test/r/symlink.result
mysql-test/r/symlink.result
+1
-1
mysql-test/r/warnings.result
mysql-test/r/warnings.result
+1
-1
sql/field_conv.cc
sql/field_conv.cc
+2
-0
No files found.
mysql-test/r/create.result
View file @
759387b0
...
@@ -50,7 +50,7 @@ create table t1 (t1.index int);
...
@@ -50,7 +50,7 @@ create table t1 (t1.index int);
drop table t1;
drop table t1;
drop database if exists test_$1;
drop database if exists test_$1;
Warnings:
Warnings:
Note 1008 Can't drop database 'test_$1'
. D
atabase doesn't exist
Note 1008 Can't drop database 'test_$1'
; d
atabase doesn't exist
create database test_$1;
create database test_$1;
create table test_$1.$test1 (a$1 int, $b int, c$ int);
create table test_$1.$test1 (a$1 int, $b int, c$ int);
insert into test_$1.$test1 values (1,2,3);
insert into test_$1.$test1 values (1,2,3);
...
@@ -252,7 +252,7 @@ id name
...
@@ -252,7 +252,7 @@ id name
drop table t2, t3;
drop table t2, t3;
drop database if exists test_$1;
drop database if exists test_$1;
Warnings:
Warnings:
Note 1008 Can't drop database 'test_$1'
. D
atabase doesn't exist
Note 1008 Can't drop database 'test_$1'
; d
atabase doesn't exist
create database test_$1;
create database test_$1;
create table test_$1.t3 like t1;
create table test_$1.t3 like t1;
create temporary table t3 like test_$1.t3;
create temporary table t3 like test_$1.t3;
...
...
mysql-test/r/drop.result
View file @
759387b0
...
@@ -13,7 +13,7 @@ n
...
@@ -13,7 +13,7 @@ n
1
1
drop database if exists mysqltest;
drop database if exists mysqltest;
Warnings:
Warnings:
Note 1008 Can't drop database 'mysqltest'
. D
atabase doesn't exist
Note 1008 Can't drop database 'mysqltest'
; d
atabase doesn't exist
create database mysqltest;
create database mysqltest;
drop database if exists mysqltest;
drop database if exists mysqltest;
create database mysqltest;
create database mysqltest;
...
@@ -27,7 +27,7 @@ create database mysqltest;
...
@@ -27,7 +27,7 @@ create database mysqltest;
drop database mysqltest;
drop database mysqltest;
drop database if exists mysqltest;
drop database if exists mysqltest;
Warnings:
Warnings:
Note 1008 Can't drop database 'mysqltest'
. D
atabase doesn't exist
Note 1008 Can't drop database 'mysqltest'
; d
atabase doesn't exist
flush tables with read lock;
flush tables with read lock;
create database mysqltest;
create database mysqltest;
Got one of the listed errors
Got one of the listed errors
...
@@ -48,4 +48,4 @@ Database
...
@@ -48,4 +48,4 @@ Database
mysql
mysql
test
test
drop database mysqltest;
drop database mysqltest;
ERROR HY000: Can't drop database 'mysqltest'
. D
atabase doesn't exist
ERROR HY000: Can't drop database 'mysqltest'
; d
atabase doesn't exist
mysql-test/r/rpl000009.result
View file @
759387b0
...
@@ -21,7 +21,7 @@ n m
...
@@ -21,7 +21,7 @@ n m
drop database mysqltest;
drop database mysqltest;
drop database if exists mysqltest2;
drop database if exists mysqltest2;
drop database mysqltest;
drop database mysqltest;
ERROR HY000: Can't drop database 'mysqltest'
. D
atabase doesn't exist
ERROR HY000: Can't drop database 'mysqltest'
; d
atabase doesn't exist
drop database mysqltest2;
drop database mysqltest2;
set sql_log_bin = 0;
set sql_log_bin = 0;
create database mysqltest2;
create database mysqltest2;
...
@@ -48,8 +48,8 @@ mysql
...
@@ -48,8 +48,8 @@ mysql
test
test
load data from master;
load data from master;
Warnings:
Warnings:
Note 1008 Can't drop database 'mysqltest'
. D
atabase doesn't exist
Note 1008 Can't drop database 'mysqltest'
; d
atabase doesn't exist
Note 1008 Can't drop database 'mysqltest2'
. D
atabase doesn't exist
Note 1008 Can't drop database 'mysqltest2'
; d
atabase doesn't exist
show databases;
show databases;
Database
Database
mysql
mysql
...
...
mysql-test/r/symlink.result
View file @
759387b0
...
@@ -46,7 +46,7 @@ rename table t7 to t9;
...
@@ -46,7 +46,7 @@ rename table t7 to t9;
drop table t1;
drop table t1;
Got one of the listed errors
Got one of the listed errors
Warnings:
Warnings:
Note 1008 Can't drop database 'test_mysqltest'
. D
atabase doesn't exist
Note 1008 Can't drop database 'test_mysqltest'
; d
atabase doesn't exist
Got one of the listed errors
Got one of the listed errors
Got one of the listed errors
Got one of the listed errors
Got one of the listed errors
Got one of the listed errors
...
...
mysql-test/r/warnings.result
View file @
759387b0
...
@@ -32,7 +32,7 @@ Level Code Message
...
@@ -32,7 +32,7 @@ Level Code Message
Note 1051 Unknown table 'not_exists_table'
Note 1051 Unknown table 'not_exists_table'
drop database if exists not_exists_db;
drop database if exists not_exists_db;
Warnings:
Warnings:
Note 1008 Can't drop database 'not_exists_db'
. D
atabase doesn't exist
Note 1008 Can't drop database 'not_exists_db'
; d
atabase doesn't exist
show count(*) warnings;
show count(*) warnings;
@@session.warning_count
@@session.warning_count
1
1
...
...
sql/field_conv.cc
View file @
759387b0
...
@@ -489,6 +489,8 @@ void (*Copy_field::get_copy_func(Field *to,Field *from))(Copy_field*)
...
@@ -489,6 +489,8 @@ void (*Copy_field::get_copy_func(Field *to,Field *from))(Copy_field*)
if
(
!
to
->
eq_def
(
from
))
if
(
!
to
->
eq_def
(
from
))
return
do_field_string
;
return
do_field_string
;
}
}
else
if
(
to
->
charset
()
!=
from
->
charset
())
return
do_field_string
;
else
if
(
to
->
real_type
()
==
FIELD_TYPE_VAR_STRING
&&
to_length
!=
else
if
(
to
->
real_type
()
==
FIELD_TYPE_VAR_STRING
&&
to_length
!=
from_length
)
from_length
)
return
do_varstring
;
return
do_varstring
;
...
...
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