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
59ffad87
Commit
59ffad87
authored
Jan 18, 2005
by
jimw@mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge mysql.com:/home/jimw/my/mysql-4.1-6913
into mysql.com:/home/jimw/my/mysql-4.1-clean
parents
2fac8bd0
dbe43d34
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletion
+12
-1
sql/table.cc
sql/table.cc
+12
-1
No files found.
sql/table.cc
View file @
59ffad87
...
...
@@ -145,8 +145,19 @@ int openfrm(const char *name, const char *alias, uint db_stat, uint prgflag,
outparam
->
table_charset
=
get_charset
((
uint
)
head
[
38
],
MYF
(
0
));
null_field_first
=
1
;
}
if
(
!
outparam
->
table_charset
)
/* unknown charset in head[38] or pre-3.23 frm */
if
(
!
outparam
->
table_charset
)
{
/* unknown charset in head[38] or pre-3.23 frm */
if
(
use_mb
(
default_charset_info
))
{
/* Warn that we may be changing the size of character columns */
sql_print_warning
(
"'%s' had no or invalid character set, "
"and default character set is multi-byte, "
"so character column sizes may have changed"
,
name
);
}
outparam
->
table_charset
=
default_charset_info
;
}
outparam
->
db_record_offset
=
1
;
if
(
db_create_options
&
HA_OPTION_LONG_BLOB_PTR
)
outparam
->
blob_ptr_size
=
portable_sizeof_char_ptr
;
...
...
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