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
de445fe9
Commit
de445fe9
authored
Dec 02, 2000
by
sasha@mysql.sashanet.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix for SunPro CC
parent
07b36014
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
sql/slave.cc
sql/slave.cc
+2
-2
No files found.
sql/slave.cc
View file @
de445fe9
...
@@ -135,7 +135,7 @@ int tables_ok(THD* thd, TABLE_LIST* tables)
...
@@ -135,7 +135,7 @@ int tables_ok(THD* thd, TABLE_LIST* tables)
int
add_table_rule
(
HASH
*
h
,
const
char
*
table_spec
)
int
add_table_rule
(
HASH
*
h
,
const
char
*
table_spec
)
{
{
char
*
dot
=
strchr
(
table_spec
,
'.'
);
c
onst
c
har
*
dot
=
strchr
(
table_spec
,
'.'
);
if
(
!
dot
)
return
1
;
if
(
!
dot
)
return
1
;
uint
len
=
(
uint
)
strlen
(
table_spec
);
uint
len
=
(
uint
)
strlen
(
table_spec
);
if
(
!
len
)
return
1
;
if
(
!
len
)
return
1
;
...
@@ -152,7 +152,7 @@ int add_table_rule(HASH* h, const char* table_spec)
...
@@ -152,7 +152,7 @@ int add_table_rule(HASH* h, const char* table_spec)
int
add_wild_table_rule
(
DYNAMIC_ARRAY
*
a
,
const
char
*
table_spec
)
int
add_wild_table_rule
(
DYNAMIC_ARRAY
*
a
,
const
char
*
table_spec
)
{
{
char
*
dot
=
strchr
(
table_spec
,
'.'
);
c
onst
c
har
*
dot
=
strchr
(
table_spec
,
'.'
);
if
(
!
dot
)
return
1
;
if
(
!
dot
)
return
1
;
uint
len
=
(
uint
)
strlen
(
table_spec
);
uint
len
=
(
uint
)
strlen
(
table_spec
);
if
(
!
len
)
return
1
;
if
(
!
len
)
return
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