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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
e3275468
Commit
e3275468
authored
Jan 24, 2008
by
istruewing@stella.local
Browse files
Options
Browse Files
Download
Plain Diff
Merge stella.local:/home2/mydev/mysql-5.1-bug29182
into stella.local:/home2/mydev/mysql-5.1-axmrg
parents
a07d4d72
8aebd394
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
34 additions
and
0 deletions
+34
-0
mysql-test/r/myisam.result
mysql-test/r/myisam.result
+19
-0
mysql-test/t/myisam.test
mysql-test/t/myisam.test
+14
-0
storage/myisam/ha_myisam.cc
storage/myisam/ha_myisam.cc
+1
-0
No files found.
mysql-test/r/myisam.result
View file @
e3275468
...
@@ -2185,4 +2185,23 @@ CHECK TABLE t1 EXTENDED;
...
@@ -2185,4 +2185,23 @@ CHECK TABLE t1 EXTENDED;
Table Op Msg_type Msg_text
Table Op Msg_type Msg_text
test.t1 check status OK
test.t1 check status OK
DROP TABLE t1;
DROP TABLE t1;
CREATE TABLE t1 (
c1 VARCHAR(10) NOT NULL,
c2 CHAR(10) DEFAULT NULL,
c3 VARCHAR(10) NOT NULL,
KEY (c1),
KEY (c2)
)
ENGINE=MyISAM DEFAULT CHARSET=utf8 PACK_KEYS=0;
MyISAM file: MYSQLTEST_VARDIR/master-data/test/t1
Record format: Packed
Character set: utf8_general_ci (33)
Data records: 0 Deleted blocks: 0
Recordlength: 94
table description:
Key Start Len Index Type
1 2 30 multip. varchar
2 33 30 multip. char NULL
DROP TABLE t1;
End of 5.1 tests
End of 5.1 tests
mysql-test/t/myisam.test
View file @
e3275468
...
@@ -1448,5 +1448,19 @@ CHECK TABLE t1;
...
@@ -1448,5 +1448,19 @@ CHECK TABLE t1;
CHECK
TABLE
t1
EXTENDED
;
CHECK
TABLE
t1
EXTENDED
;
DROP
TABLE
t1
;
DROP
TABLE
t1
;
#
# Bug#29182 - MyISAMCHK reports wrong character set
#
CREATE
TABLE
t1
(
c1
VARCHAR
(
10
)
NOT
NULL
,
c2
CHAR
(
10
)
DEFAULT
NULL
,
c3
VARCHAR
(
10
)
NOT
NULL
,
KEY
(
c1
),
KEY
(
c2
)
)
ENGINE
=
MyISAM
DEFAULT
CHARSET
=
utf8
PACK_KEYS
=
0
;
--
replace_result
$MYSQLTEST_VARDIR
MYSQLTEST_VARDIR
--
exec
$MYISAMCHK
-
d
$MYSQLTEST_VARDIR
/
master
-
data
/
test
/
t1
DROP
TABLE
t1
;
--
echo
End
of
5.1
tests
--
echo
End
of
5.1
tests
storage/myisam/ha_myisam.cc
View file @
e3275468
...
@@ -1859,6 +1859,7 @@ int ha_myisam::create(const char *name, register TABLE *table_arg,
...
@@ -1859,6 +1859,7 @@ int ha_myisam::create(const char *name, register TABLE *table_arg,
share
->
avg_row_length
);
share
->
avg_row_length
);
create_info
.
data_file_name
=
ha_create_info
->
data_file_name
;
create_info
.
data_file_name
=
ha_create_info
->
data_file_name
;
create_info
.
index_file_name
=
ha_create_info
->
index_file_name
;
create_info
.
index_file_name
=
ha_create_info
->
index_file_name
;
create_info
.
language
=
share
->
table_charset
->
number
;
if
(
ha_create_info
->
options
&
HA_LEX_CREATE_TMP_TABLE
)
if
(
ha_create_info
->
options
&
HA_LEX_CREATE_TMP_TABLE
)
create_flags
|=
HA_CREATE_TMP_TABLE
;
create_flags
|=
HA_CREATE_TMP_TABLE
;
...
...
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