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
bfe8ba7d
Commit
bfe8ba7d
authored
Jul 26, 2005
by
bar@mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge mysql.com:/usr/home/bar/mysql-4.1
into mysql.com:/usr/home/bar/mysql-5.0
parents
a009ec4a
92e7d181
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
16 deletions
+18
-16
mysys/charset.c
mysys/charset.c
+18
-16
No files found.
mysys/charset.c
View file @
bfe8ba7d
...
@@ -383,7 +383,8 @@ static my_bool init_available_charsets(myf myflags)
...
@@ -383,7 +383,8 @@ static my_bool init_available_charsets(myf myflags)
while we may changing the cs_info_table
while we may changing the cs_info_table
*/
*/
pthread_mutex_lock
(
&
THR_LOCK_charset
);
pthread_mutex_lock
(
&
THR_LOCK_charset
);
if
(
!
charset_initialized
)
{
bzero
(
&
all_charsets
,
sizeof
(
all_charsets
));
bzero
(
&
all_charsets
,
sizeof
(
all_charsets
));
init_compiled_charsets
(
myflags
);
init_compiled_charsets
(
myflags
);
...
@@ -403,6 +404,7 @@ static my_bool init_available_charsets(myf myflags)
...
@@ -403,6 +404,7 @@ static my_bool init_available_charsets(myf myflags)
strmov
(
get_charsets_dir
(
fname
),
MY_CHARSET_INDEX
);
strmov
(
get_charsets_dir
(
fname
),
MY_CHARSET_INDEX
);
error
=
my_read_charset_file
(
fname
,
myflags
);
error
=
my_read_charset_file
(
fname
,
myflags
);
charset_initialized
=
1
;
charset_initialized
=
1
;
}
pthread_mutex_unlock
(
&
THR_LOCK_charset
);
pthread_mutex_unlock
(
&
THR_LOCK_charset
);
}
}
return
error
;
return
error
;
...
...
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